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

  • citrusface
    link
    English
    88 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

    • @[email protected]OP
      link
      fedilink
      58 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
        link
        English
        38 months ago

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

    • Confetti Camouflage
      link
      fedilink
      English
      48 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.

    • Rentlar
      link
      fedilink
      48 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.

      • @[email protected]OP
        link
        fedilink
        18 months ago

        I’m involved in the development of an addon for the Classic WoW versions (Questie), and the thing I do there is such a convoluted process that not doing it feels like letting my fellow devs and the users down. But you can do development on the PTRs and beta servers, so I haven’t given money to Blizzard in a long time. Now you could argue that this is even worse in regards to supporting Blizzard than just paying for a game, but I rationalise it to myself with the fact that the newer clients will inevitably be used for private servers just like the old ones were (some already are actually).

      • citrusface
        link
        English
        18 months ago

        I struggle with it, but still manage to find fun in what blizzard made. I understand that blizz is not what blizz was. I gave up hearthstone. But still enjoy d2 and d3 and I’m hoping the changes they made to d4 will be good. I played wow 20 years ago, coming back now feels like a new game and it does manage to spark nostalgia in me. I hear what you are saying, but I’m not quite done with blizz yet… Looking at you POE2.

    • macniel
      link
      fedilink
      18 months ago

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

      • citrusface
        link
        English
        18 months ago

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

    • @JTskulk
      link
      English
      1
      edit-2
      8 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!