Linux Install Guide

Discussion on technical issues (installation, launching).
image357
Level 0
Posts: 1
Joined: Mon 08 Nov, 2021 7:22 pm

Linux Install Guide

Postby image357 » Mon 08 Nov, 2021 10:25 pm

I've figured out how to play the Steam version of Dawn of War 2 Retribution with the Elite mod under Linux.


1. Install Dawn of War 2 Retribution (DoW2R) as normal.

2. Make sure you can start DoW2R from Steam.

3. In Steam right-click the Game and choose "Properties" -> "Compatability" -> "Force use of a specific Steam Play compatibility tool" -> Choose any recent Proton version.

4. Start the game, wait for the first setup install scripts to finish, watch the game not work, close the game.

5. Install Winetricks: https://github.com/Winetricks/winetricks

6. Install Protontricks: https://github.com/Matoking/protontricks. For instance:

Code: Select all

pip install protontricks --upgrade --user


7. In your Linux terminal run

Code: Select all

protontricks 56400 d3dx9 win7


8. Download and extract https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/6.1-GE-2 under "$HOME/.steam/steam/compatibilitytools.d/"

9. Restart Steam

10. In Steam right-click the Game and choose "Properties" -> "Compatability" -> "Force use of a specific Steam Play compatibility tool" -> Choose Proton-6.1-GE-2

11. In Steam right-click the Game and choose "Properties" -> "General". Set the following launch options

Code: Select all

PROTON_USE_WINED3D=1 %command% -nomovies -modname Elite


12. Download Elite Mod

13. In your Linux terminal run the following command:

Code: Select all

STEAM_COMPAT_DATA_PATH="$HOME/.steam/steam/steamapps/compatdata/56400" WINEPREFIX="$HOME/.steam/steam/steamapps/compatdata/56400/pfx" "$HOME/.steam/steam/compatibilitytools.d/Proton-6.1-GE-2/proton" run /path/to/dow2_elite_installer.exe

Replace /path/to/dow2_elite_installer.exe with the installer you have just downloaded.

14. Follow the installer instructions. The install path should be on the drive letter Z (not C!), which is your ordinary Linux root:

Code: Select all

Z:\home\USERNAME\.steam\steam\steamapps\common\Dawn of War II - Retribution

Replace USERNAME with your login username or browse to the desired location. Do note that you install outside of your wine prefix.

15. Start the game.

16. Enjoy.



------
Some links that I found usefull:
https://www.protondb.com/app/56400#aQJr3spKPe
https://gist.github.com/michaelbutler/f364276f4030c5f449252f2c4d960bd2
https://dawnofwar.info/forum/viewtopic.php?f=13&t=1437&p=57639&hilit=linux#p57639
https://github.com/GloriousEggroll/proton-ge-custom#installation
Paranoid Kamikaze
Level 4
Posts: 590
Joined: Tue 02 Feb, 2016 5:12 am

Re: Linux Install Guide

Postby Paranoid Kamikaze » Tue 09 Nov, 2021 7:22 am

I tried Linux before. What turned me off was how there were all sorts of technical workarounds for everything. In Windows things just tend to work. Usually.

Glad you found something so people on Linux can play though.
User avatar
Impregnable
Level 4
Posts: 875
Joined: Tue 02 Apr, 2013 2:58 pm
Location: SEGMENTUM TEMPESTUS

Re: Linux Install Guide

Postby Impregnable » Wed 10 Nov, 2021 1:41 am

Thank you very much for your contribution. :)
- Now, along with contribution regarding how to run Elite Mod on Mac a few years ago by another member, we now have ways to play Elite Mod on all 3 major OS systems. viewtopic.php?f=13&t=3635
"Excalibur!"
"Excalibur!"
"From the United Kingdom!"
"I'm looking for heaven!"
"I'm going to California!"
"Excalibur!"
"Excalibur!"

Return to “Technical Issues”



Who is online

Users browsing this forum: No registered users and 16 guests