WineHQ

Age of Empires III

Retail CD Release, with subsequent patches

Application Details:

Version: 1.x
License: Retail
URL: http://www.ageofempires3.com/
Votes: 21
Latest Rating: Gold
Latest Wine Version Tested: 8.21

Maintainers: About Maintainership

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Installer ... sort of

What does not

Installer

Workarounds

What was not tested

Program

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

You MUST copy mfc42.dll to the windows system32 directory, or you get a 1158 error. You must remove the d:: link from the dosdevices directory. This version is even stranger. I tried to do the whole directory bit where you copy all cd contents to one directory, then ran wine.cmd, changed to the d: directory, and ran setup. It starts to copy the files, and gets about 1/4 done, then it asks for cd 1 again. All files are there. But strange things are happening, because I tried to set the d: drive thru winecfg. It edits ok, but if I run winecfg again, the drive is gone. If I just do a link to the directory manually, that works ok, but sometimes when I tried that, the drive is not accessible. Says drive not ready. Here is the output of the directory, and subsequent wine output. ------------------------------------------------------------- Autorun.inf [autorun] open=autorun.exe icon=autorun.exe Name=AOE III Disk 1 shell\setup=Age of Empires III &installieren shell\setup\command=setup.exe shell\directx=&DirectX 9.0c installieren shell\directx\command=DirectX9\dxsetup.exe -------------------------------------------------------------- D:\>dir Volume in drive D is Volume Serial Number is 0000-0000 Directory of D:\ 8/11/2003 7:24 PM 1,945,600 00001.tmp 11/19/2002 12:38 PM 46,291 00002.tmp 4/3/2005 10:40 PM 5,515 0x0409.ini 8/22/2005 2:52 PM 68 Age 3 Survey.url 10/13/2005 4:15 PM Age of Empires III 9/19/2005 5:27 PM 1,603,072 Age of Empires III.msi 9/16/2005 2:51 PM 999,424 autorun.exe 9/14/2005 9:14 AM 235 Autorun.inf 5/10/2007 7:59 PM directx9 9/19/2005 5:23 PM 485,227,924 Disk1C~1.cab 10/13/2005 4:11 PM docs 9/26/2005 3:50 PM 86,985 info.rtf 4/3/2005 10:35 PM 1,708,856 instmsia.exe 4/3/2005 10:35 PM 1,822,520 instmsiw.exe 10/13/2005 4:24 PM 982,016 ISScript11.Msi 8/22/2005 6:20 PM 81,920 mgspid.dll 8/19/2005 8:48 PM 39,424 PidGen.dll 9/19/2005 5:04 PM 253,952 setup.exe 9/19/2005 5:26 PM 2,127 Setup.ini 8/30/2005 10:28 AM 1,298,296 setup.isn 7/28/2005 4:19 PM 33,792 SetupENU.dll 6/17/2003 3:22 PM 28,097 setupInc.idx 8/4/2003 11:46 PM 81,920 splash.exe 9/16/2005 8:31 PM 921,656 splashimage.bmp 8/12/2005 11:48 AM 40,960 SSE.dll 11/19/2002 12:38 PM 4,000 SSIFSDAT.SYS 4/13/2005 1:19 PM 2,587,408 WindowsInstaller-KB893803-x86.exe 24 files 499,802,058 bytes 4 directories 186,042,748,928 bytes free ---------------------------------------------------------------- D:\>setup D:\>fixme:process:IsWow64Process (0xffffffff 0x34b65c) stub! fixme:advapi:LookupAccountNameW (null) L"ken" (nil) 0x34b158 (nil) 0x34b154 0x34b160 - stub fixme:advapi:LookupAccountNameW (null) L"ken" 0x174e60 0x34b158 0x170b68 0x34b154 0x34b160 - stub fixme:msi:ITERATE_DuplicateFiles We should track these duplicate files as well fixme:msi:deformat_component component key L"IDriverT.exe" fixme:msi:deformat_component component key L"IDriverT.exe" fixme:msi:msi_unimplemented_action_stub RemoveFolders -> 2 ignored L"CreateFolder" table values fixme:advapi:LookupAccountNameW (null) L"ken" (nil) 0x34cc7c (nil) 0x34cc78 0x34cc84 - stub fixme:advapi:LookupAccountNameW (null) L"ken" 0x6de980 0x34cc7c 0x6dd380 0x34cc78 0x34cc84 - stub err:msi:deformat_environment Unknown environment variable L"ALLUSERSPROFILE" fixme:process:IsWow64Process (0xffffffff 0x34dc80) stub! fixme:process:IsWow64Process (0xffffffff 0x34dc80) stub! fixme:process:IsWow64Process (0xffffffff 0x34dc80) stub! fixme:process:IsWow64Process (0xffffffff 0x34dc80) stub! fixme:process:IsWow64Process (0xffffffff 0x34dc80) stub! fixme:process:IsWow64Process (0xffffffff 0x340f5c) stub! fixme:process:IsWow64Process (0xffffffff 0x341368) stub! fixme:reg:GetNativeSystemInfo (0x341344) using GetSystemInfo() fixme:ole:CoInitializeSecurity (0x4202d8,-1,(nil),(nil),4,3,(nil),0,(nil)) - stub! fixme:advapi:RegisterEventSourceA ((null),"IDriverT"): stub fixme:advapi:RegisterEventSourceW (L"",L"IDriverT"): stub fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000000,(nil),0x0001,0x00000000,0x7d68b968,(nil)): stub fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000000,(nil),0x0001,0x00000000,0x183ad8,(nil)): stub fixme:advapi:DeregisterEventSource (0xcafe4242) stub fixme:ole:PSFacBuf_CreateStub stubbing not implemented for ({00000010-0000-0000-c000-000000000046}) yet! err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory for {00000010-0000-0000-c000-000000000046} with error 0x80004005 err:rpc:I_RpcReceive we got fault packet with status 0x6be err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002 err:msi:remove_tracked_tempfiles failed to delete L"C:\\windows\\temp\\msi30bb.tmp" fixme:advapi:LookupAccountNameW (null) L"ken" (nil) 0x7cf38e78 (nil) 0x7cf38e74 0x7cf38e80 - stub fixme:advapi:LookupAccountNameW (null) L"ken" 0x1956cd8 0x7cf38e78 0x1957e00 0x7cf38e74 0x7cf38e80 - stub fixme:ole:PSFacBuf_CreateStub stubbing not implemented for ({00000010-0000-0000-c000-000000000046}) yet! err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory for {00000010-0000-0000-c000-000000000046} with error 0x80004005 err:rpc:I_RpcReceive we got fault packet with status 0x6be err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002 fixme:rpc:RpcMgmtWaitServerListen not waiting for server calls to finish fixme:msi:ACTION_HandleStandardAction unhandled standard action L"SetODBCFolders" fixme:rpc:RpcImpersonateClient (0x1ef89d8): stub fixme:rpc:RpcRevertToSelfEx (0x1ef89d8): stub fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled fixme:rpc:RpcImpersonateClient (0x1ef8fb0): stub fixme:rpc:RpcRevertToSelfEx (0x1ef8fb0): stub fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled fixme:rpc:RpcImpersonateClient (0x1ef9a60): stub fixme:rpc:RpcRevertToSelfEx (0x1ef9a60): stub fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled fixme:rpc:RpcImpersonateClient (0x1efa3b8): stub fixme:rpc:RpcRevertToSelfEx (0x1efa3b8): stub fixme:msi:msi_unimplemented_action_stub MsiUnpublishAssemblies -> 2 ignored L"MsiAssembly" table values fixme:msi:msi_unimplemented_action_stub UnpublishFeatures -> 127 ignored L"FeatureComponents" table values fixme:msi:msi_unimplemented_action_stub SelfUnregModules -> 1 ignored L"SelfReg" table values fixme:msi:msi_unimplemented_action_stub RemoveFolders -> 5 ignored L"CreateFolder" table values fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled fixme:rpc:RpcImpersonateClient (0x1f13c10): stub fixme:rpc:RpcRevertToSelfEx (0x1f13c10): stub

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowArch LinuxDec 27 20238.21Yes Yes YesGoldBastien DUMONT 
ShowLinux Mint 20.3Jan 30 20238.0No Not installable NoGarbagePhil 
ShowArch Linux x86_64Dec 09 20184.0-rc1Yes Yes YesGoldIsaac Horvath 
ShowmacOS 10.13 "High Sierra"Nov 26 20183.0.3Yes Yes YesGoldYVES 
ShowmacOS 10.13 "High Sierra"Dec 13 20172.0.3Yes Yes YesGoldYVES 

Known Bugs

Bug # Description Status Resolution Other apps affected
657 Many games and applications need 'mfc42.dll' ('winetricks -q mfc42' is a workaround) NEW View
20456 Multiple applications have text rendering issues with 'Courier New' font using distro provided Liberation fonts (cut off/partial text display)(FEAR, AoE 3, Supreme Commander, fasmw 1.x) STAGED View

Show all bugs

HowTo / Notes

HOWTO

Installing Age of Empires III

The Age Of Empires III install will require 4 DLLs

mfc42.dll - dlldump
quartz.dll - dllfiles
d3dx9_36.dll - dllfiles
l3codecx.ax - This one is not available on the Internet to acquire this file please see the section below about "Acquiring l3codecx.ax".

Place all but the Quartz.dll file above in C:\WINDOWS\SYSTEM32 and set them to "Native" or "Native, Builtin" in winecfg -> libraries. Backup any pre-existing files in case you need them later.

Open a terminal and cd to the C:\WINDOWS\SYSTEM32 directory and type "wine regsvr32 l3codecx.ax" (Without quotes)

Install Age of Empires III as usual.

When prompted to switch disks use "wine eject" to eject the cd and place the next in.

Once installed copy the Quartz.dll file into C:\WINDOWS\SYSTEM32 directory and set it to "Native" in winecfg, then run the game with CD1 in the drive and the game should start.

Next time you run the game you must remove the ~/My Games/Age of Empires 3/Users/NewProfile.xml file in order for the game to start again.

 2015-02-11 Admin note: some users have also reported needing native dsound.dll in addition to the above DLLs.

Acquiring the l3codecx.ax file

There are a few ways you are able to get this file. Choose one of the following:

  1. Copy the file from an existing Windows install (C:\WINDOWS\SYSTEM32)
  2. Copy it from a Windows XP install cd by issuing the following command "wine d:/i386/expand.exe d:/i386/l3codecx.ax_ h:/.wine/l3codecx.ax" assuming wine has d:/ mapped to a cd drive with a Windows XP install cd and h:/ is mapped to your home directory.
  3. Install a codec pack with the file:
    -Download this file.
    -Run BCM1043.exe with wine, it will ask for installing Gecko HTML engine too, install it. After installing, it will create a folder called ~/.wine/drive_c/Program Files/BCM/. Copy the file l3codecx.ax under 'Codecs/DIRECTS/Fraunhofer/' to ~/.wine/drive_c/windows/system32/.

Adding Registry Keys

When trying to patch AoE III or install an expansion if the install complains about a problem is the AoE III installation and suggests you reinstall to fix the problem, you are probably just missing a few Registry Keys.

-Run "wine regedit" from a terminal
-Navigate to HKEY_LOCAL_MACHINE->SOFTWARE->Microsoft->Microsoft Games->Age of Empires 3->1.0
-Right click in the right pane and click "New->String Value" Name it "CDPath".
-Right click on the new key and select "Modify".
-For "Value Data" enter wine's path to your cd drive, ex: "D:\".
-Click "OK".

Do the same for the following Key/Value pairs:

Type: String
Key: CheckAccess
Value: 1

Type: String
Key: PendingVersion
Value: Leave it blank

Type: String
Key: SetupPath
Value: wine's path to your install, ex: "C:\Program Files\Microsoft Games\Age of Empires III\"

Type: String
Key: Version
Value: 1.00

Now re-run the patch or expansion install and it should complete.

 

Installing Expansions

If when you try to install an expansion you get an error that says "Age of Empires III was not installed for all users or the current user..." do the following:

  1. Navigate to ~/.wine/drive_c/windows/profiles/All Users/Start Menu/Programs.
  2. Create a directory named "Microsoft Games"
  3. Inside "Microsoft Games" create a directory called "Age of Empires III"
  4. Install the expansion.

____________________________________________________________________


Alternative but Reliable How to:

 

This how-to explains how to get AOEIII working if you've tried the other how-tos and just want the game to get running.  Wine-0.9.53 was the latest version of wine that ran AOE without ANY bugs (including the VSYNC/newprofile.xml bug).  You will need the above DLLs put into your system32 directory and the library links in winecfg made (see above instructions). 

Step 1:

Install wine-0.9.53.  You will most likely have to compile, but if you use Ubuntu there are still binaries available here: http://wine.budgetdedicated.com/archive/index.html  If you have to compile, download the source and make sure that you have all the dependencies.  (You can actually look on the 64bit page for the list, although you will only need the 32bit packages.  If you are compiling on 64 bit, look at this page. http://wiki.winehq.org/WineOn64bit

 

Step 2:

Get the DLLs mentioned above and install them exactly as prescribed.  d3dx9_36.dll (You may also need d3dx9_25.dll, depending on your system.)  mfc42.dll, and quartz.dll.  Make sure to add the appropriate library references in winecfg.  If you want MP3s to work, also get l3codecx.ax, and remember to register the file using 'wine regsvr32 l3codecx.ax'.

Step 3:

Install the game.  Remember to use 'wine eject' when it asks for the next disc.

 Step 4:

Play!  The amazing thing is, there is no VSYNC/newprofile error!  I have tried to work on a patch to fix the regression that took place after wine-0.9.53, but my patch would apparently hurt other programs.  For those of you who gave up, though, I've never failed to get AOE working on 0.9.53.  Good luck!

(Alternative How-to written by D.M.)

 

 

______________________________________________________________________________

 

Supposedly, there is a Play on Linux script that installs/patches/runs AoE III.  The script may be found here:

Age of Empires III - PlayonLinux

 

Although I have not tested it, I will post my own results if I do.  Good luck with it...

 

- D.M.

 


WARNING

If Age of Empires III is crashing when you start it, make sure you have deleted the ~/My Games/Age of Empires 3/Users/NewProfile.xml file.

--Edit--  This problem shouldn't exist if you set VSYNC to "ON" the very first time you start the game.

WARNING
Turn off 'allow pixel shader' in winecfg under Graphics!  This usually only applies to Ubuntu users because the wine pixel shader is broken under recent releases of Ubuntu.
Alternative HowTo's

These HowTo's may be needed for older versions of wine.  If you are experiencing problem with the main HowTo try one of these.

Alternative HowTo 1

** Note ** Where there is a quote, it means to type everything in between the quotes.  If there is a word enclosed in brackets, the word will be printed on a key on the keyboard.

1. Copy all .dll's from Disk1 to .wine/drive_c/windows/system32
2. Download mfc42.dll (or copy from XP) and put it in your .wine/drive_c/windows/system32 directory otherwise it will complain that the file is missing.  If you have any problems complaining about mfc42.dll, it means you have a bad copy of it.
3. Set your Windows version to Windows XP using the winecfg tool or it will complain that this game can only be installed on Windows XP
4. At a command prompt, type "mkdir ~/tempaoe3". Copy all 3 CD contents into ~/tempaoe3.
5. Change to .wine/dosdevices
6. Delete d: (At a command prompt, type "rm d:"). Type "ln -s ~/tempaoe3 d:" This will change d: to the ~/tempaoe3 directory you copied all your files to from step 4.
7.
At a command prompt, type "wine cmd.exe"
8.
At the DOS prompt, type "d:" and press [ENTER].
9.
At the DOS prompt, Type "setup" and press [ENTER].
10. Once you see the first screen click next
11. Click I agree and move the window to the lower right corner (just leave enough of the window, to drag it back up, after the next step, you have to move it because if you don't you will not see the serial input screen and you will need to restart the installation), Then press ENTER. (You are actually pressing the NEXT button, but you can't see it)
12. Enter the serial and click next.
13. Now drag the other window back up, and Choose custom or standard installation (whichever you like and click next).
14. Now AOE3 will begin to install, and though it appears to hang, again be patient it takes about 3 minutes for the installation to react).
15. If it asks for Disk 1 again, just quit the installer.
16. Once you are done click finish, go to the console and kill the IDriver.exe and IDriverT.exe as it will have created the nescassary registry entries, but the installer will keep hanging in the memory.

Read the note below titled "MP3 sound/speeches issue workaround!" for speech issues.

Alternative HowTo 2

1. Copy all ".dll" of disc 1 in "~/.wine/drive_c/windows/system32"
2. Download "mfc42.dll" and "d3dx9_25.dll" in "~/.wine/drive_c/windows/system32"
3. Open two Terminal windows.
4. In the first console, type "wine cmd", to start the WIne's CMD shell, also make the same to the second console.
5. In the first console, type "d:\autorun", to start the game's installation (CD1 must be inserted).
6. Follow the on-screen instructions. The installation should run normally, without delays.
7. When the installer asks for the next CD, switch to the second console and type: "eject d:". It will eject the Cd flawlessly.
8. Put in the next CD, and wait for it to mount.
9. It's better waiting about 15-20 seconds before click on "Retry" button, or the installer fails.
10. Repeat the act 7,8,9 as necessary when switch a CD.
11. Copy CD crack to Installation path

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Resolution issues with CD Key
by Ethan Bustad on Thursday September 6th 2018, 12:07
At the beginning of the installation, when asked to enter the Product Key, I was unable to enter in the key properly because the first input box (for the first 5 characters of the key) would only accept 4 characters (the other boxes would accept 5 as expected). This was across several wine versions.

I was able to work around it by messing with the DPI settings in wine config before running the installation.

Just in case anyone else encounters this problem :)
Back