Selected Test Results (selected in 'Test Results' table below)
What does not
What was not tested
Works flawlessly after updating to v1.0c and applying a No-CD crack.
The game must be run with the game directory or the executable directory as the current working directory, otherwise it doesn't start at all.
This game requires a NoCD patch to run. (you can play using aocsetup.exe from the cd, if you can’t afford to NoCD)
If the game wont start (and wine hasn’t hang up(wineserver -k)), either remove dpwsockx.dll from your system32 folder or follow the steps for multi-player below. ¹
With recent wine version(atleast with 1.1.20) you can play backround music with no problem too. While using the nocd crack, just keep your cd on cd drive and the game is able to play the music. Am I right that AoEII doesn’t have an option to install _backround music_ tracks to harddisk?
One should be able to rip the audiocd track from the cd and set it as a cd drive, so that AoEII would be able to play the music from that. It might need empty first track, though. Hacking AoEII executable to change the playing format from audiocd to raw cda tracks from game dir should be possible, though cumbersome, task...
One word of warning, though: Keeping cd on cd drive slows the game even more...
¹ I haven’t been able to confirm that this annoyance exists.
HOWTO PLAY ONLINE
Multiplayer To get multiplayer working you have to use by now the directplay libraries from microsoft, still (since 2006) no open source libraries for direct play that include libraries to open sockets and close to play games, so install winetricks:
(in ubuntu/debian) sudo apt-get install winetricks
and then exec: winetricks directplay
It will download the directplay libraries from microsoft and install them, that's all, tcp/ip will work with direct connect.
The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
Unhandled exception: page fault on read access
by Connor on Wednesday February 18th 2015, 0:37
This doesn't happen with the Age of Kings; just the conquerors - no matter what I do. Different versions of wine sometimes form a different crash, but all the latest ones look like this:
Unhandled exception: page fault on read access to 0x752e5694 in 32-bit code (0x0040e41d).
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:0040e41d ESP:0032f1b4 EBP:0032fcd8 EFLAGS:00010206( R- -- I - -P- )
EAX:00400000 EBX:7b8a4610 ECX:0032fee0 EDX:00000067
0x0032f1b4: 727a002b 84ffab2b f3366778 3cb59a30
0x0032f1c4: 99717afd def1cd95 766c377f 31c9e784
0x0032f1d4: 237ad629 5c739dba f87c1f3e ef17147e
0x0032f1e4: b75aab64 566f526c d041696a 647b7edd
0x0032f1f4: 11fc6bee c109ba6a 573c5d67 13ab5304
0x0032f204: 484ec750 43992a69 18c68340 1ad2fac7
=>0 0x0040e41d in age2_x1 (+0xe41d) (0x0032fcd8)
1 0x00411f94 in age2_x1 (+0x11f93) (0x0032fdd4)
2 0x0041ae22 in age2_x1 (+0x1ae21) (0x0032fe60)
3 0x7b86127c call_process_entry+0xb() in kernel32 (0x0032fe78)
4 0x7b864ddb in kernel32 (+0x54dda) (0x0032feb8)
5 0x7bc76a80 call_thread_func_wrapper+0xb() in ntdll (0x0032fed8)
6 0x7bc76cdd call_thread_func+0x7c() in ntdll (0x0032ffa8)
7 0x7bc76a5e RtlRaiseException+0x21() in ntdll (0x0032ffc8)
8 0x7bc4e02e in ntdll (+0x3e02d) (0x0032ffe8)
0x0040e41d: imull $-128,0xf9a41084(%ebx),%edx
Module Address Debug info Name (51 modules)
PE 400000- 45a000 Export age2_x1
PE 10000000-1000c000 Deferred drvmgt
ELF 7b800000-7ba4b000 Dwarf kernel32
\-PE 7b810000-7ba4b000 \ kernel32
...redacted for brevity ...
process tid prio (all id:s are in hex)
00000008 (D) C:\Program Files\Microsoft Games\Age of Empires II\age2_x1\age2_x1.exe
Trick to run with nouveau/gallium3D and possibly others
by Dave Lentz on Saturday February 7th 2015, 14:13
Arch Linux x86-64
mesa git/10.5 current as of today's date
The game would not run with nouveau (black screen) and it would not run with nvidia blob driver if its 32-bit libs were installed. It would run with the blob as long as 32-bit apps were using 3D software rendering, though it was somewhat laggy (understandably).
I had to set the OffscreenRenderingMethod=BackBuffer in the Direct3D section of the registry. This can be done quickly with winetricks using this command:
LAN time out
by Thijmen on Wednesday May 15th 2013, 15:44
For me everything in the game works. Except for when i want to play on the local network. When i create a game everybody can see my game in the screen to connect, but when they try it hangs until they get a time out message.
The same is opposite when they are creating a game and i'm trying to join my screen hangs until i get a time out message.
Game becomes unusable
by Fog Lindin on Sunday April 21st 2013, 18:13
I'm finding that at some point during play, when I click on a unit there is a long delay before that unit responds. It seems to affect a game at some point, but starting another game without quitting the application is fine. It's like its specific to a given loaded game.
The situation is aided if I select a large square around the unit and drag the mouse to the side of the screen enough to make the viewport scroll. When I do that, the unit will sometimes select.
This makes the game pretty unusable as combat is out of the question.
Any help guys?
Wine 1.5.27, Ubuntu 12.10, aoe II expansion. Running it with this command:
wine age2_x1.exe -- -opengl (but bug happens without those flags also)
OSX Mountain Lion success
by Jared on Sunday March 10th 2013, 8:30
Just installed this in a wineskin bottler. Install the nocd patch. Then hit winetricks install directplay under custom command simply by typing 'directplay' and hitting run. This will allow multiplayer. No problems over lan. Have not tried the directplay as the others have suggested. I'm pretty sure you could get this working with Hamachi or something as well. I am using the 2.5.9 wrapper and 1.5.25 engine. I set virtual desktop display to 1280x1024 so that I can run it in windowed mode. Only bug I saw was when I was trying to type my name in to start a campaign and did not see the text.
Multiplayer w/ DirectPlay (Wine 1.5.5)
by Martin on Monday May 28th 2012, 19:22
When using native DirectPlay dlls, Multiplayer over the internet does not seem to be possible when hosting a game. I have not tried connecting to a game hosted on Windows. But I have had a Windows user attempt to connect to my machine.
LAN games are no problem (not using DirectPlay anyway).
Game is patched with 1.0c and using NO-CD crack.
Ports are forwarded correctly, I have even forwarded extra ports displayed in the following log. Connections are successful using Telnet.
The procedure was as follows:
1. [Host] Launch game
2. [Host] Start multiplayer game
3. [Client] Hit 'Show Games', enter public IP-address, OK
4. [Client] Attempts to contact host, dialog box closes and the game list remains empty.
Sadly the log does not have any timestamps. So finding the span when the client attempts to contact is a pain.
These two lines are the only 'errorish' things that happen:
warn:winsock:wsaErrno errno 107, (Transport endpoint is not connected).
warn:winsock:wsaErrno errno 115, (Operation now in progress).
I would appreciate more results to compare to and whether this deserves a bug report or if I'm missing something.
RE: 1.4rc5 by Shuhao on
Sunday February 26th 2012, 19:51
Locks up on "start game"
by Belial on Wednesday October 19th 2011, 23:11
When in single player, starting a new game, the game will freeze after pressing "Start Game" and will sit there until I ALT-TAB out and back in. Upon refocus, it will go to the loading screen, load, and start the game.
I am running Ubuntu 10.04 LTS with Wine 1.3.3, but had a similar issue under Wine 1.2.1. I have tried with the default configuration and with d3dx9 installed through winetricks with no luck. I'm now back to a clean install of Wine 1.3.3. I have tried both with the "-- -opengl" and without and the results are the same. It's not THAT big a deal, but I need to keep another window open so I can ALT-TAB out of AOE, and if I run it in a virtual desktop ALT+TAB doesn't work. Tried running it from terminal, and saw a lot of this error, and it's the only error that was generated during my attempt to start a game:
fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to?
I'm updated to 1.0c. Anyone got anything to send me in the right direction?
by K1773R on Wednesday October 5th 2011, 9:59
I made some widescreen aoe2tc versions, so i can run em in wine with virtual desktop, example for my virtual desktop 1680x973 (native resolution 1680x1050 but 2 panels so its 1680x973). if you need this or any other resolution, just send me a message/write a comment here :)
its awesome playing this game in widescreen :P
Game doesn't start on Gentoo (32bit)
by Isaac on Sunday June 5th 2011, 9:44
The loading screen appears, then it quits, along with wine if there are no other wine-apps running.
Running from the terminal gives:
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7ed92be0
Running with the -opengl and -nostartup options also make no difference.
by Phlum on Monday March 28th 2011, 15:33
I haven't had an issue with any red boxes. Presumably that's been fixed or something.
Why, the only problems I have are that there is a delay between clicking and something actually happening, and that there is a huge blue box at the right of my screen (but that's mainly due to my tiny monitor!)
Problem solved! Blank error message with red X
by Geogriffith on Saturday February 12th 2011, 3:30
When you install the game, it is at version 1.0 . If you try to use the no-cd crack without updating the game, you will get a tiny error message that is blank except for a red X. You get the same error running under Wine as you do on an actual Windows system, which is how I figured out what I was doing wrong...
Nameless error running age2_x1.exe
by Thales on Thursday December 16th 2010, 11:51
I installed the game without problems, did the overrides in description, but when I run the game (cracked) I get a small window with a red error X in it with just an OK button, no text. If I run the non-cracked executable, it just crashes.
by SiegeMachine on Sunday January 31st 2010, 14:42
My main menu is fucked up, I have a wine desktop open of 1280x1024 and I know the game runs in a low resolution so it runs in a like 800x600 box inside of the wine desktop but when it gets to the game menu it looks like the menu is displayed in like a 1024x768 resolution yet the game box stayed only 800x600 inside of the wine desktop and it makes it so I can't select the different menu buttons to play. Any ideas?
works fine out of the box
by Andurian on Saturday January 3rd 2009, 2:55
OK the game works fine out of the box on a:
ubuntu 8.10 64bit
and with a:
core2duo, 2gb of ram, and a nvidia 8600m gt.
all i did was add -nostartup to the 'command' part of the shortcut that the installation makes, on your desktop.
however, you might notice a slight(to me it was slight anyways, to you it might matter more) speed increase from installing directx 9.
(you need to own a windows license for the following)
simply download the directx installer(i had the 2008 mar one), and do the following dll overrides:
or you can just copy this text into a file, name it file.reg and register it with 'regedit'(its inside your windows folder) with wine.
if the directx installation doesnt work, or if it doenst install all of the following dlls; in other words if something goes wrong, try downloading the dlls online and then install the directX over them.
NOTE: please do note that the provided REG text contains also the dll overrides for the multiplayer dlls.(supplied above)
NOTE2: Also, ATI cards are not best friends with wine, please understand that.(at least not as of this writing) So if you have a ATI card, be advised that your experience might be different than described above.
ill see if i can upload the needed dlls-on-a-zip later on.
Best of luck, and reply here for any further questions.
Sound and other niggles
by Peter Geyfman on Friday December 5th 2008, 23:49
Has anyone experience the following:
* The sound is a little "scratchy" and after a few minutes into the game disappears all together. Sometimes it comes back if I change the volume using multimedia keys on my laptop, but mostly it never comes back.
* When queuing up a bunch of units in any building, if you bump into the queue limit the game slows down to a crawl for 10 to 20 seconds.
If anyone has had these issues and was able to resolve them please post what you did.
My hardware is Dell Inspiron E1705 with 1Gb ram ATI X1400 video. Running Ubuntu Intrepid and wine 1.1.9
to me, it was running fine, then showing a black screen. i added
'-- -opengl' on the end of the command line and it fixed it for me, more thne any of the other attempts.( - nostartup, is good also -blocks the intro ;) )
AOC almost crashes my Ubuntu
by Wayne on Monday February 11th 2008, 14:17
Using the desktop icon the installer put on my desktop, the game will load and I can get to the point where I have hit "Start Game" and it's on the "Creating Game" screen right before the game starts. At this point it will crash and my Ubuntu Gutsy will log out back to the input username screen and I have to start a new session.
Setting up WINE to use a virtual desktop window makes it work fine (usually), but it gets annoying with the tiny screen, as AOC resizes the screen to what it wants once I start up an actual game in AOC. Even in a virtual desktop, sometimes it will randomly glitch and the game screen will move in a random direction making it unplayable, since I can only see a corner of the game and the screen moves back to the corner when I move it out.
I'm using Windows 2000 setting, and I have tried to use the terminal to launch it, but it just brings up the splash screen and nothing happens. Also going to the file in the "C:" WINE directory and running the age2_x1.exe from there only brings up the splash screen. Even copy and pasting the the command that the desktop icon launcher uses to the terminal or ALT F2 run application box only brings up the splash.
I'm new to Linux and even newer to WINE, so any help with detailed instructions will be gratefully recieved :)
Followed directions, game still won't load
by Bryon on Tuesday November 6th 2007, 13:27
Use the latest version of Wine.
* The game must be set to Windows 2000 compatibility.
* This game requires a NoCD patch to run.
* If the game wont start, either remove dpwsockx.dll from your system32 folder or follow the steps for multi-player below.
To get multiplayer working, place the DLLs in this archive in Wine's windows/system32 directory. Then, start winecfg and add dll overrides (native, builtin) for the following DLLs: dplayx, dpnet, dpnhpast and dpwsockx.
Ok, I've done everything here and the game will attempt to load but revert to a 'untitled window' and promptly crash. I'm running Ubuntu 7.10 and the latest Wine. The game version is 2.0c and the expansion (same problem) is 1.0c
Regarding the lag in the Edgy Eft test
by Karolina on Saturday March 3rd 2007, 9:26
It's very important to say: Make sure your graphics card driver is properly installed. Because somehow, mine reverted from its ATI installation to Mesa, which caused a lot of lag since there was more unnecessary CPU processing, especially with things the graphics card does better. It just gave ddraw a harder time, I hypothesize. Reinstalling the graphics card to work properly basically fixed 95% of the lag.
Also, to decrease the lag, set graphics to medium or low (which don't look that different anyway), and use a smaller resolution. This is especially important for multiplayer.
Now there is only some inbetween loading lag, and lag with large battles (ex. 50 war elephants attacking a castle). The latter one screws up the sound royally.
To add: Following instructions, the multiplayer works without any problems.