Repository navigation
Running Development Clients on Linux
To run the development version of the game via Proton, the default launch command used by Steam needs to be modified. For this we need to create a shim that will strip the default parameters passed to Red Orchestra executable and allow us to replace them with our own.
Navigate to Darkest Hour: Europe '44-'45 properties in the Steam library and add the line below to Launch Options.
exe=RedOrchestraLargeAddressAware.exe; cmd=$(sed -re "s/$exe('?) .*'?--'? /$exe\1 /" -e "s/ '?--multi'?//g" <<< "%command%"); [[ "%command%" == *"--multi"* ]] && { exe0=${exe/.exe/_0.exe}; cp -up System/$exe System/$exe0; cmd="${cmd//waitforexitandrun/run}"; eval "$cmd & ${cmd/$exe/$exe0}"; } || eval "$cmd"Once the shim is in place, launching the game from Steam GUI or via command line (without any external parameters) will behave as usual and run the non-development version of the game.
steam -applaunch 1280 # launches non-development clientTo override the default behavior, we can launch the game via Steam CLI and append -- to the command, followed by our own options.
steam -applaunch 1280 -- -mod=DarkestHourDev # launches dev clientsteam -applaunch 1280 -- 127.0.0.1 -mod=DarkestHourDev # launch dev client and connect to a local serversteam -applaunch 1280 -- DH-Target_Range.rom?quickstart=true -mod=DarkestHourDev -log # launch dev client on Target Range and show log windowThe shim we added to the launch options implements a --multi parameter; when used, it will launch two clients simultaneously.
steam -applaunch 1280 -- 127.0.0.1 -mod=DarkestHourDev --multi # run and connect two dev clients to a local serverThis wiki is a work in progress. If you require more in-depth support, please contact us on Discord.
- IMPORTANT: Disclaimer For Server Owners
- Dedicated Server Installation
- Basic Server Configuration
- Server Troubleshooting
- Debug & Admin Commands
- Development Environment Installation
- Development Pipeline
- Running Development Clients on Linux
- Running SDK on Linux