Difference between revisions of "Linux guide"

From Eurobattle.net WiKi
Jump to navigation Jump to search
 
Line 59: Line 59:
 
# Wait for a while and restart Steam. Then launch xpam.exe from your library. It should now be fully functional
 
# Wait for a while and restart Steam. Then launch xpam.exe from your library. It should now be fully functional
 
# If you have nvidia GPU you can force Proton to run the game on it by adding this command to Properties -> Shortcut -> Launch Options: <pre> __NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD=1__GLX_VENDOR_LIBRARY_NAME=nvidia %command%</pre>
 
# If you have nvidia GPU you can force Proton to run the game on it by adding this command to Properties -> Shortcut -> Launch Options: <pre> __NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD=1__GLX_VENDOR_LIBRARY_NAME=nvidia %command%</pre>
 
=== Starting the Client and the Game ===
 

Latest revision as of 18:21, 7 May 2025

Running Eurobattle and Warcraft III with Wine

This tutorial was tested with wine-10.4 (Staging) on Debian 12. Players reported that Wine Stable also works.

You need:

  • Warcraft III 1.26a and/or 1.28.5
  • Eurobattle.net Installer

Installation Steps

  1. wine installer.exe
  2. If prompted to install wine-mono, accept.
  3. Untick "I already have Visual C++" on the first step.
  4. Continue through the installation steps.
  5. For game paths, I prefer /home/me/games/<w3>, which maps in the dialog to e.g. Z:\home\me\games\Warcraft III 1.26. For the target install directory, you could also use a place in your home, e.g. Z:\home\me\programs\Eurobattle.net.
  6. Click Install and wait for it to finish.

Starting the Client and the Game

In the terminal:

  1. Open the Wine Registry Editor:
    regedit
  2. Navigate to:
    HKEY_CURRENT_USER/Software/Blizzard Entertainment/Warcraft III/Misc
    Set seenintromovie to 1. This disables the intro movie, which is broken under Wine. If this key does not exist yet, create it as DWORD.
  3. cd /home/me/programs/Eurobattle.net && wine xpam.exe

Everything in the client should work except the News tab, which uses Qt WebEngine and is broken under Wine.


Enjoy!

Running Eurobattle and Warcraft III with Steam Proton

Tested on Ubuntu 24 with wine 9.0 and Proton Hotfix

You need:

  • Warcraft III 1.26a and/or 1.28.5
  • Eurobattle.net Client
  • Steam
  • This regedit:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III]
"InstallPath"="Z:\\home\\user\\Warcraft III 1.26"
"InstallPathX"="Z:\\home\\user\\Warcraft III 1.26"

[HKEY_CURRENT_USER\SOFTWARE\Eurobattle.net]
"europath"="Z:\\home\\user\\Eurobattle.net"
"patch"=dword:00000000

You can create it with nano eurobattle.reg and copy the content above with adjusted paths. Notice that paths are windows-styled and the drive letter will probably be Z: for your home directory (You can check it with wine regedit with Registry -> Import Registry File and navigating to your home directory)

Installation Steps

  1. Add xpam.exe from your Eurobattle.net folder to your Steam library as a non-steam game
  2. Go to Steam library -> xpam.exe -> Properties -> Compatibility and tick the "Force the use of a specific Steam Play compatibility tool" checkbox. Choose Proton Hotfix
  3. Run xpam.exe from your library and wait until Proton binaries are downloaded. The client should start but it won't be able to use any paths yet
  4. Proton should create a folder for the game at /home/user/.steam/steam/steamapps/compatdata/<GAMEID>/pfx where GAMEID is a random number
  5. Run regedit with wine to open the registry located in that folder with Run WINEPREFIX=/home/user/.steam/steam/steamapps/compatdata/<GAMEID>/pfx wine regedit. Regedit should open. Go to Registry -> Import Registry File and import eurobattle.reg
  6. Wait for a while and restart Steam. Then launch xpam.exe from your library. It should now be fully functional
  7. If you have nvidia GPU you can force Proton to run the game on it by adding this command to Properties -> Shortcut -> Launch Options:
     __NV_PRIME_RENDER_OFFLOAD=1 __NV_PRIME_RENDER_OFFLOAD=1__GLX_VENDOR_LIBRARY_NAME=nvidia %command%