In the game folder, find Launcher.exe and rename it to Launcher_old.exe . Find AoK HD.exe , right-click it, and select .
Many AoE2 players use mods from the Steam Workshop that alter the game’s UI or multiplayer functionality. If a mod that depends on an external DLL (like steam-apirajas.dll ) fails to download completely, or if the mod author updates the file without proper version control, your game will look for a file that is either broken or missing.
This is the first and most reliable solution. Steam will compare every file of AoE2: DE—including steam-apirajas.dll—against the master copy on its servers and replace any missing or corrupted files.
: This is the most reliable method. It instructs Steam to check for missing or corrupted files and redownload them automatically. Right-click Age of Empires II (2013) in your Steam Library. Properties Installed Files Verify integrity of game files Run as Administrator steam-apirajas.dll age of empires 2
During a game update or an abrupt Steam client shutdown, files can be written incorrectly to the hard drive. If a patch for Age of Empires II is interrupted by a loss of internet connection or a system crash, steam-apirajas.dll may end up corrupted, rendering it unreadable by the game launcher. 3. Unofficial Game Modifications or Piracy
The safest and most effective way to restore a missing or corrupted game file is through the built-in Steam verification tool. This process scans your local installation against official Steam servers and replaces any altered or missing files. Launch the on your PC. Navigate to your Library tab.
This is the safest and most effective way to restore missing DLLs without downloading potentially risky files from the internet. Open your . Right-click Age of Empires II (2013) and select Properties . Go to the Installed Files (or Local Files) tab. In the game folder, find Launcher
If you are using the older HD Edition and still can't launch the game, users on Reddit suggest this technical fix:
: The file acts as a bridge that tricks the game into thinking it is connected to a legitimate Steam account, allowing it to run without a valid license or the Steam client being active. Security Risk steam-apirajas.dll
is not an official file from Microsoft or Valve, it is frequently flagged by antivirus software as a If a mod that depends on an external
When the executable ( AoK HD.exe ) searches for this file and fails to locate or read it, Windows shuts down the startup sequence to prevent a critical memory fault. Primary Causes of the DLL Failure
: Once the installation is complete, it's a best practice to verify the integrity of your game files. In your Steam Library, right-click on Age of Empires II , select Properties , go to the Installed Files tab, and click on Verify integrity of game files . This will scan every file and replace any that may be corrupted, missing, or incorrect, ensuring your game is in an official, stable state.
In legitimate copies of the game, Age of Empires II uses the official steam_api64.dll to communicate with the Steam client for achievements, multiplayer matchmaking, and cloud saves.
If this guide solved your issue, consider sharing it with the Age of Empires 2 community on Reddit or the official forums. For persistent problems, contact Xbox Game Studios Support or visit the Steam Community Hub for AoE2.