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
EDIT: Never mind there is an offline installer that must be used.
Where you guys able to get this running nicely?
For me the game and capture age need to be in the foreground.
Also the capture age program has no sound, which is fairly annoying.
I also cant change user perspective as the shortcuts (shift right-click, or ctrl + shift + F1-F8) do not work.
I also cannot spectate any matches. CaptureAge does not show them, the links on the spectator dashboard do not work.
How to fix that?