522
submitted 7 months ago by Muehe@lemmy.ml to c/linuxmemes@lemmy.world

WINE_SIMULATE_WRITECOPY=1 %command% + Proton Experimental = working Battle.net

you are viewing a single comment's thread
view the rest of the comments
[-] citrusface@lemmy.world 8 points 7 months ago

I use Linux but I'm an idiot.

What does %command% mean / do?

What was the actual line you used in terminal to install battle.net to steam bc I'd rather not use lutris if I don't need too

[-] Muehe@lemmy.ml 5 points 7 months ago

The WINE_SIMULATE_WRITECOPY=1 %command% is the Steam launch option you set, with %command% meaning roughly "what Steam would do without any launch options set".

The whole process was a bit finicky and I did it a few month ago, but from what I remember it went something like this:

  • Download battle.net installer
  • Add it as non-Steam game to run it
  • Locate the newly created prefix in Steam directory
  • Add the Battle.net.exe in it as a non-Steam game, then remove the installer (not the other way around or the prefix will be deleted)
[-] citrusface@lemmy.world 3 points 7 months ago

I thank you so much. I will try this in a bit and report back

[-] Rentlar@lemmy.ca 4 points 7 months ago

It's to puts stuff before the game run command.

Normally if you just add options in that box like -fullscreen they appear after the run command.

[-] Confetti_Camouflage@pawb.social 4 points 7 months ago

It is used in the Launch Options of a Steam game. %command% just gets replaced by whatever Steam would use to launch the game. It's useful to set up anything before the game actually launches, such as setting environment variables or run scripts.

[-] JTskulk@lemmy.world 1 points 7 months ago* (last edited 7 months ago)

Installing battle.net in steam is really easy. Just add non-steam game in steam and choose the battle.net installer, then right click on it in steam and click properties, then compatibility, and choose Force the user of a specific Steam Play compatibility tool and choose Proton Experimental. Then just run it and install it like normal. Once it's finished you just repeat the process for the actual installed battle.net program or whatever blizzard game you want. With this, you don't have to mess with running custom commands. The blizzard launcher will be located somewhere like "/home/me/.local/share/Steam/steamapps/compatdata/2806461641/pfx/drive_c/Program Files (x86)/StarCraft II/StarCraft II.exe" where the big number after compatdata is something else. You can run the command find ~/.local/share/Steam/steamapps/compatdata -iname '*battle*.exe to help find it. Also you can tell Steam to always use proton experimental if you want, it's been good to me. Good luck!

[-] DmMacniel@feddit.de 1 points 7 months ago

Why though? It's just a simple install script you can search and install via the lutris application righ there.

[-] citrusface@lemmy.world 1 points 7 months ago

I just want everything in one spot. Personal preference. :)

this post was submitted on 24 Apr 2024
522 points (97.8% liked)

linuxmemes

21281 readers
159 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS