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.
Prepatched fully working wine
For History or if you cant get it to work properly
If you dislike the newer wines (1.3.24 and higher) because of the ugly decorations and/or the buggy/missing sound then this might be of interest to you.
Since wine-1.3.35 AoE2 is fully working with OpenGL and GDI renderer, performance issue is gone too.
Now the downsides, audio at the moment is only working on "new and unstable" distributions (alsa 1.0.24 or higher) and the beautiful winepulse driver is badly gone (well, half "implemented" but not fully working).
Therefore I decided to make a 1.3.20 wine with pulse audio, alsa, oss, jack, esd drivers and with all the fixes from wine 1.3.35/1.3.37 for AoE2 and the new patch for the disconnecting hangup bug.
You can download the prepatched (all patches are included in a separate directory) wine here: http://www.darkgamex.ch/wine/
(note to K1773R, I think it's time to remove this because actually aoe2 works perfect with new wine versions)
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.
by Lewis Clement on Saturday March 29th 2014, 12:42
I noticed there's a regression between Wine 1.7.13 and 1.7.14. It causes the game to run really slow.
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.