You are not logged in.

#1 2011-11-01 04:18:20

tony5429
Member
Registered: 2006-03-28
Posts: 1,023

[SOLVED] Trouble With Age of Empires 2 / Conquerors in Wine

As the title indicates I'm trying to install and run Age of Empires 2 and the expansion Conquerors, with Wine. Looks like it should work: http://appdb.winehq.org/objectManager.p … n&iId=4184

So first I installed wine and the video driver like this...

pacman -Sy wine wine_gecko lib32-intel-dri

Then, for each iso I mounted it to a new folder and ran the install file on the image with wine. Here's how I mounted each iso...

mount -o loop aoe.iso /mnt/mydisk

Installation of both AOE2 and the Conquerors seemed to work fine. But then when I attempted to play the game from the installation menu, popping up a "Program Error" that "the program age2_x1.exe has encountered a serious problem and needs to close." If I run AOCSETUP.EXE from the mounted iso right now, the main menu (with options "Play", "Add/Remove", "Web Connection", and "Register online") shows up but clicking "play" results in the same error. I've tried removing the dpwsockx.dll file that WineHQ mentions but it makes no difference.

I also tried loading wine with the option for Intel graphics, but had the same error as well as the following error in the console...

[karam@nikolai mydisk]$ env LIBGL_DRIVERS_PATH=/usr/lib32/xorg/modules/dri wine AOCSETUP.EXE
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory
err:module:load_builtin_dll failed to load .so lib for builtin L"winemp3.acm": libmpg123.so.0: cannot open shared object file: No such file or directory
[karam@nikolai mydisk]$ fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
wine: Unhandled page fault on write access to 0xcf8672fe at address 0x40d774 (thread 003b), starting debugger...

[karam@nikolai mydisk]$

Does anyone have any ideas?...

Last edited by tony5429 (2011-11-09 04:43:40)

Offline

#2 2011-11-01 07:36:10

KingX
Member
From: CA
Registered: 2010-03-24
Posts: 324

Re: [SOLVED] Trouble With Age of Empires 2 / Conquerors in Wine

Are you on x86_64? Might wanna run WINEARCH=win32 winecfg (wiki entry for winearch). WINE works with the video drivers that you use for xorg not sure if you really need to specify that intel-dri driver.

Another thing that works quite well for me is make sure the current working directory is the game directory, then use wine to run the .exe. I recently installed Anachronox and if I try to launch it from outside the game directory i get missing dll errors also, even though the dlls are present in the game directory.

Also did you follow the following How-To steps on the WINE game page?
    The game must be set to Windows 2000 compatibility. (seems to play equally well with XP mode too, though.)
    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(pkill wine && pkill exe)), either remove dpwsockx.dll from your system32 folder or follow the steps for multi-player below. ¹

Last edited by KingX (2011-11-01 08:25:10)

Offline

#3 2011-11-01 12:53:48

tony5429
Member
Registered: 2006-03-28
Posts: 1,023

Re: [SOLVED] Trouble With Age of Empires 2 / Conquerors in Wine

Hi. Thanks so much for your feedback, KingX. I am on 64-bit Arch; however, using WINEARCH=win32, I'm getting the below error and not even the first menu pops up.

[karam@nikolai mydisk]$ env WINEARCH=win32 wine AOCSETUP.EXE
wine: WINEARCH set to win32 but '/home/karam/.wine' is a 64-bit installation.

I have been running the AOCSETUP.EXE from the /mnt/mydisk directory.

I did see those How-To steps on the Wine page. I'm using XP mode, using the aocsetup.exe as it indicates should work, and tried removing dpwsockx.dll but it didn't seem to change anything...

Any other ideas? Thanks again.

Offline

#4 2011-11-01 22:05:53

KingX
Member
From: CA
Registered: 2010-03-24
Posts: 324

Re: [SOLVED] Trouble With Age of Empires 2 / Conquerors in Wine

Do you have the 32bit package installed for mpg123 (lib32-mpg123)? Try giving the NoCD crack a shot, and also try running with win2k compatibility. Sorry I can't be of much help, if I had the game I would try the install myself. sad

Offline

#5 2011-11-03 12:27:42

tony5429
Member
Registered: 2006-03-28
Posts: 1,023

Re: [SOLVED] Trouble With Age of Empires 2 / Conquerors in Wine

So this is crazy! I installed lib32-mpg123, Microsoft's patch 1.0C, and the no-cd crack that works with 1.0C, and used winecfg to switch to Windows 2000 mode. And it worked! I even started a game, and closed and restarted the app several times. Even audio worked and nothing was slow or choppy! So all along I've been keeping a log of the actions I've taken so I can replicate it if I switch computers, have to reformat for some reason, etc. And so I was thinking that I'd see if I couldn't remove some unnecessary steps from the log. I did two things at that point - I first deleted the shortcuts the game had created in my Desktop directory as I found it more convenient to load the game from the KDE main menu, and second I uninstalled lib32-intel-dri thinking it might not be necessary. When I tried running the game again, I got the same error that I'd always gotten before. So I thought "okay lib32-intel-dri" must be important. I reinstalled it, and tried AOE again and it still didn't work! So now I'm totally perplexed... I've tried restarting the computer and verifying that winecfg is set to Windows 2000 mode, but running out of ideas... Any thoughts? Thanks again for all your help.

Offline

#6 2011-11-04 04:18:43

smudge
Member
Registered: 2011-03-20
Posts: 158

Re: [SOLVED] Trouble With Age of Empires 2 / Conquerors in Wine

wine: WINEARCH set to win32 but '/home/karam/.wine' is a 64-bit installation.

You need to set the WINEARCH variable the first time you run wine to create a 32bit 'bottle'.

You could mv your .wine dir and try installing again with:

env WINEARCH=win32 winecfg
wine AOCSETUP.EXE

That's what I'd try anyway smile

Offline

#7 2011-11-09 04:43:18

tony5429
Member
Registered: 2006-03-28
Posts: 1,023

Re: [SOLVED] Trouble With Age of Empires 2 / Conquerors in Wine

Thanks, all, for your tips/suggestions. I found that starting over from scratch solved the problem. It seems if the app is run just once without the video driver, it fails to work after that point (even if the driver is reinstalled), unless completely reinstalled. Interesting...

Offline

Board footer

Powered by FluxBB