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
captureage
script and place it in a location of your choice (e.g.~/.local/bin/
). Ensure it's executable - Find out the path to the
proton
executable used by Steam for Age of Empires II and adjustPROTON_EXEC
accordingly - 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
captureage
script. 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
captureage
script 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.
To register the aoe2de:// URL handler, you need a desktop file and a script. Here is how to set it up:
- Copy the
aoe2url
file 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.desktop
file in~/.local/share/applications/
- Adjust the path the
aoe2url
script on line 4 - Run
sudo update-desktop-database
to add the application to the database - Run
xdg-mime default AoE2UrlHelper.desktop x-scheme-handler/aoe2de
to 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