This guide is based on one I found here: https://verybadfrags.com/2019/04/14/play-age-of-empires-iii-on-linux/
It was done with the following system:
Date: 2019-04-20
OS: Ubuntu 19.04
Steam Play Version: 4.2-3
Graphics: Nvidia GTX 860m with proprietary driver
This is to fix the error that you get when trying to run Age of Empires III: “Invalid CD Key! – Error loading the PID Generator DLL. The DLL could not be found! Please make sure the file is available in the installation directory and try again.”
- Enable steam play for all titles. Go to “Settings” -> “Steam Play” -> check “Enable Steam Play for all other titles”
- Launch Steam and install ‘Age of Empires III: Complete Collection’
- Run AoE3 for the first time, and let perform the first time setup. One you get to the “Product Key” box, click “Cancel”
- You now need to install “winetricks.” See https://github.com/Winetricks/winetricks. The easiest way to install on Ubuntu is to run
sudo apt install winetricks
- You also need to install “protontricks”, which is a wrapper for winetricks that runs it against Steam Play installations. The version on the original article is out of date, so the newer version is here: https://github.com/Matoking/protontricks. To install this, run:
sudo apt install python3-pip python3-setuptools python3-venv
python3 -m pip install --user pipx
~/.local/bin/pipx ensurepath
pipx install protontricks
- Now install the extra dependencies with protontricks:
protontricks 105450 mfc42 winxp l3codecx corefonts
- Now you can relaunch the game and enter the CD Key.
2 replies on “How to Play Age of Empires 3 on Ubuntu Linux using Steam Play – Solving the “Invalid CD Key – Error loading the PID Generator DLL””
will this work on macOS catalina?
I don’t think so, as I don’t think Steam Play works on macOS. You might have some luck with normal wine, but I don’t know whether it will work:
https://duckduckgo.com/?q=does+wine+work+on+macOS