Skip to content

Instantly share code, notes, and snippets.

@sebask
Last active February 16, 2024 21:10
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sebask/9d45c8aa6c397a2505ddbef676b88f3d to your computer and use it in GitHub Desktop.
Save sebask/9d45c8aa6c397a2505ddbef676b88f3d to your computer and use it in GitHub Desktop.
Tweaks and Hacks for the classic Age of Mythology

Age of Mythology

Custom resolution

Create user.cfg in /startup and add the following lines (replace the values with suitable dimensions):

+nointrocinematics
xres=2880
yres=1800

Custom resolution using shortcuts

Append the shortcut to the executable(s), and append the value target with xres=2880 yres=1800 (replace the values with suitable dimensions):

"C:\Games\Age of Mythology\aom.exe" xres=2880 yres=1800

Add world movement with WASD

  1. Comment out map ("a", "game", "enterAttackMoveMode") in game.con and gamex.con located in /startup.
  2. Create or append user.con located in /startup with the following lines:
// World movement with WASD
map("+w", "world", "cameraWorldForward")
map("+s", "world", "cameraWorldBackward")
map("+d", "world", "cameraRight")
map("+a", "world", "cameraLeft")

Add Zoom In/Out with Shift-E/Shift-D

Create or append user.con located in /startup with the following lines:

// Zoom In/Out with Shift-E/Shift-D
map("+shift-e", "world", "cameraForward")
map("+shift-d", "world", "cameraBackward")

Add rotate buildings with the scroll wheel

Create or append user.con located in /startup with the following lines:

// Rotate buildings with the scroll wheel
map ("shift-mousez", "building", "uiWheelRotatePlacedUnit")

Player's colors hack

Append playercolors.xml located in C:\Games\Age of Mythology\data. And switch the number (0-12) with the number of an other player to change the color.

Custom network parameter

Append the shortcut to the executable(s), and append the value target with OverrideAddress="123.456.789.987" +directIPConnectivity (replace the OverrideAddress with your value):

"C:\Games\Age of Mythology\aom.exe" +OverrideAddress="123.456.789.987" +directIPConnectivity

Intel HD Graphics texture fix

Backup i845.gfx and geforce3.gfx located in C:\Games\Age of Mythology\gfxconfig2. Duplicate and rename geforce3.gfx to i845.gfx.

@ItaloYeltsin
Copy link

Hello @sebask,

thank you in advance for the tutorial!
Have you tested this on the extended edition? For me is not getting the ZeroTier ip that I set.

@sebask
Copy link
Author

sebask commented Oct 23, 2023

@ItaloYeltsin No, unfortunately not. So not sure if it will work with that particular version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment