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 path to the
protonexecutable used by Steam for Age of Empires II and adjustPROTON_EXECaccordingly - 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.
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
Hello @Kjir 👋
First of all, thanks a lot for this guide: it's been a relief for me to find that after all these years of being sooo close, someone not only had managed to run CA:DE on Linux, but also had taken the time to document how! ❤️
Yesterday was the first time the approach worked for me, so I'm super happy 🎉
I've a small question, though:
While trying to avoid anything that isn't strictly required, starting from a fresh prefix after upgrading to Proton 10.0-4, I didn't have to do all the preliminary steps and exports you've listed, so I'm wondering if I'm missing some potential issues that you've run into, or if things are actually simpler with the latest versions of Proton / AoE2:DE / CA:DE (in which case, even better!).
To install, the following was enough for me:
In other words:
d3dcompiler_47was not neededprotontrickswas not needed eitherWINEPREFIXwas not neededSimilarly, the following was enough to start:
On the other hand, as you've already mentioned in a comment above, it seems that CA:DE has to be started after AoE2:DE, for some reason. (edit: well, not always… this time CA managed to start the game itself; weird…)
Thanks again!