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

  • citrusface@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 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

    • macniel@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

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

    • Confetti Camouflage@pawb.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 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.

    • Muehe@lemmy.ml
      cake
      OP
      link
      fedilink
      arrow-up
      0
      ·
      2 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)
    • Rentlar@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      2 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.

    • helenslunch@feddit.nl
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      I don’t know why people go through all this trouble just to give money to publishers that don’t give a shit about you. There’s nothing on Blizzard worth buying anymore. Don’t bother. Blizzard is, for all intents and purposes, dead.