The latest version of CaptureAge (1.16.0) will now work with Linux. To get it working, here are some steps:
- Download the installer from the CaptureAge website
- Save the
captureagescript and place it in a location of your choice (e.g.~/.local/bin/). Ensure it's executable - Find out the pathto the
protonexecutable used by Steam for Age of Empires II and adjustPROTON_EXECaccordingly (read throughFiguring out the path to protonbelow). - Uncomment the line to run the installer and adjust the path if needed. Comment the last line.
- Check that the windows version is set to at least windows 10 with
protontricks 813780 winecfg - Run
protontricks 813780 d3dcompiler_47 - Now run the
captureagescript. Install captureage. It should run! - Check if your CaptureAge is installed in AppData/Local/Programs/CaptureAge or AppData/Local/Programs/CADE and adjust accordingly.
- Change the
captureagescript to not run the installation exe anymore, but directly CaptureAge - Profit
To figure out the path to the proton executable used by Age of Empires II, set the Launch Options to echo %command% > ~/steam_cmd.txt.
Start the game (it will not run, but exit immediately). Set back the Launch options to what they were.
You now have a file in your home directory that includes the full path to the proton executable.
The executable will be under the folder for the proton version you are running under the Properties > Compatibility menu in Steam. For example, if you are on the Proton Hotfix version, your proton executable path should look something like /home/<yourusername>/.local/share/Steam/steamapps/common/Proton Hotfix/proton
To register the aoe2de:// URL handler, you need a desktop file and a script. Here is how to set it up:
- Copy the
aoe2urlfile in a location of your choice, preferably~/.local/bin. Ensure it's executable. - Adjust the path to proton in the script. Same as above.
- Save the
AoE2UrlHelper.desktopfile in~/.local/share/applications/ - Adjust the path the
aoe2urlscript on line 4 - Run
sudo update-desktop-databaseto add the application to the database - Run
xdg-mime default AoE2UrlHelper.desktop x-scheme-handler/aoe2deto associate the URL Helper with the aoe2de:// scheme.
Now you can open games by typing the game url (e.g.: aoe2de://123456789) in the browser. You can also open games directly from the Spectator Dashboard