Brausepaul
Sergeant
Posts: 65
Joined: Mon Dec 10, 2007 6:25 pm

Can't run AACW under Wine / Linux

Sun Apr 05, 2009 3:06 pm

Hi,

I'm trying to run AACW (and WIA) under Ubuntu 8.10 x84. I installed Wine 1.1.18, Winetricks and installed AACW and patched the game up to 1.13b. Unfortenately, the game won't start because of an error ("Exception EAccessViolation dans le module AACW.exe dans 00004054. Violation d'access a l'adresse 00404054 dans le module 'AACW.exe'. Lecture de l'adresse 00002E9B.) followed by "Runtime error 216 at 00403E8A". As far as I know, Wine doesn't need a seperate DirectX installation but I tried to follow a tutorial I found here. Unfortenately, DirectX installation fails as well:

maik@maik-desktop:~$ sh winetricks directx9
Warning: could not find DOS drive for current working directory '/home/maik', starting in the Windows directory.
Warning: could not find DOS drive for current working directory '/home/maik', starting in the Windows directory.
Setting Windows version to win2k
Executing wine regedit /home/maik/.wine/drive_c/winetrickstmp/set-winver.reg
Warning: could not find DOS drive for current working directory '/home/maik', starting in the Windows directory.
Executing wine /home/maik/.winetrickscache/directx_nov2008_redist.exe /t:c:\winetrickstmp
Warning: could not find DOS drive for current working directory '/home/maik', starting in the Windows directory.
wine: cannot find '/home/maik/.winetrickscache/directx_nov2008_redist.exe'
Note: command 'wine /home/maik/.winetrickscache/directx_nov2008_redist.exe /t:c:\winetrickstmp' returned status 2. Aborting.
maik@maik-desktop:~$

Any ideas how I can get this one to fly?

General Custer
Conscript
Posts: 11
Joined: Wed Apr 02, 2008 9:41 pm

Missing file ?

Sun Apr 05, 2009 5:56 pm

wine: cannot find '/home/maik/.winetrickscache/directx_nov2008_redist.exe'


It seems that directx_nov2008_redist.exe file is missing in winetricks directory. Did any error occur during download of directx package ? :confused:

You may try to run [font="Fixedsys"]./winetricks[/font] command (from directory where you've downloaded winetricks) and then select directx9 for installation.
This should install directx9.

Please keep us informed if this was sufficient to get the game running.

User avatar
andatiep
Posts: 1429
Joined: Thu May 01, 2008 10:56 am
Location: Grenoble, France.

Sun Apr 05, 2009 6:35 pm

Salud, Ubunteros Brausepaul !

You will find a page we did on the topic here :

http://doc.ubuntu-fr.org/aacw

This is on the french speaking ubuntu community documentation but i think you will manage.

If not, we translated it on the ageod's Wiki but the copy/paste of the command lines are not working well i still don't know were is the little difference :
(http://ageod.nsen.ch/aacwwiki/How_to_play_to_AACW_with_GNU/Linux_Ubuntu

PS : Remember you should have a good graphic card able to run for example your 3D Desktop.


Nice to welcome a new AGE games' player using GNU/Linux :thumbsup: !!!
REVOLUTION UNDER SIEGE GOLD

Brausepaul
Sergeant
Posts: 65
Joined: Mon Dec 10, 2007 6:25 pm

Sun Apr 05, 2009 7:20 pm

General Custer, please take a look at the following snippet from my console:

maik@maik-desktop:~$ ./winetricks
Warning: could not find DOS drive for current working directory '/home/maik', starting in the Windows directory.
Warning: could not find DOS drive for current working directory '/home/maik', starting in the Windows directory.
Setting Windows version to win2k
Executing wine regedit /home/maik/.wine/drive_c/winetrickstmp/set-winver.reg
Warning: could not find DOS drive for current working directory '/home/maik', starting in the Windows directory.
Executing wine /home/maik/.winetrickscache/directx_nov2008_redist.exe /t:c:\winetrickstmp
Warning: could not find DOS drive for current working directory '/home/maik', starting in the Windows directory.
wine: cannot find '/home/maik/.winetrickscache/directx_nov2008_redist.exe'
Note: command 'wine /home/maik/.winetrickscache/directx_nov2008_redist.exe /t:c:\winetrickstmp' returned status 2. Aborting.
maik@maik-desktop:~$ cd .winetrickscache/
[email]maik@maik-desktop:~/.wine[/email]trickscache$ ls
directx_nov2008_redist.exe
[email]maik@maik-desktop:~/.wine[/email]trickscache$


As you can see, the needed installation exe is available. I really wonder what's biting me here. :confused:

andatiep, up to the error I used the descriptions from the pages you mentioned. I guess there's something special to my system which brings winetricks out of step.

EDIT: okay, I managed to get DirectX installed after copying the installation files manuelly to Wine's drive c folder and running it from there. Bad thing is that the error I get is still the same.

User avatar
andatiep
Posts: 1429
Joined: Thu May 01, 2008 10:56 am
Location: Grenoble, France.

Sun Apr 05, 2009 8:19 pm

1. What is your hardware ? (what says "lspci" command)

2. Is your 3D Desktop available ? (how is rolling the wheel of the "glxgears" command)

3. I'm also currently using wine 1.1.18 with ubuntu 8.10. But i installed AACW with my Hardy tutorial and not the Intrepid one (i personnally didn't tested the intrepid tuto' which was added later on this pages). So try again a clean installation following only the hardy version parts, to see if it's changing something...

4. Courage. Le chemin est long, mais la voie est Libre...
REVOLUTION UNDER SIEGE GOLD

General Custer
Conscript
Posts: 11
Joined: Wed Apr 02, 2008 9:41 pm

Sun Apr 05, 2009 9:20 pm

Brausepaul:
Have you run wine or winetricks as root ? Do you still have a Z: drive point to / in cygwin ?
Can you please try the following command, before running wine or winetricks :

Code: Select all

ln -s / ~/.wine/dosdevices/z:


In case this still doesn't work, can you give information on points 1. and especially 2. from andatiep ?
Keep in mind point 4. ! :D

andatiep:
I'm the one who updated the wiki with intrepid's tuto: that's the way I've got AACW running on my ubuntu 8.10 with wine 1.1.18. ;)

User avatar
andatiep
Posts: 1429
Joined: Thu May 01, 2008 10:56 am
Location: Grenoble, France.

Sun Apr 05, 2009 10:04 pm

General Custer wrote:andatiep:
I'm the one who updated the wiki with intrepid's tuto: that's the way I've got AACW running on my ubuntu 8.10 with wine 1.1.18. ;)


:bonk: well that's right !!

But what you don't know, it's that's the way i hacked your computer so that you will loose our current PBEM...yerkyerkyerk... :D
REVOLUTION UNDER SIEGE GOLD

Brausepaul
Sergeant
Posts: 65
Joined: Mon Dec 10, 2007 6:25 pm

Mon Apr 06, 2009 9:06 am

I added the symbolic link but got the same error at game start as before. Installing DirectX by sh winetricks directx9 works now, though (when asked for a reboot I quit the installation, right?). No, I ran wine and winetricks as user, not as root.


So, off to answer a few questions:

1)
maik@maik-desktop:~$ lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 VGA compatible controller: nVidia Corporation G80 [GeForce 8800 GTS] (rev a2)
02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller (rev b2)
05:02.0 USB Controller: NEC Corporation USB (rev 41)
05:02.1 USB Controller: NEC Corporation USB (rev 41)
05:02.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
maik@maik-desktop:~$

2) Yes, I can see the rotating gearwheels with an average of 6500 fps.

3) Will do that unless I get feedback about something shady in my previous hardware listing.

User avatar
andatiep
Posts: 1429
Joined: Thu May 01, 2008 10:56 am
Location: Grenoble, France.

Mon Apr 06, 2009 12:57 pm

Brausepaul wrote:3) Will do that unless I get feedback about something shady in my previous hardware listing.


Since your Graphic Card seems not to be "integrated" to the motherboard (i never saw it was working with such cards, even when the 3D Desktop was running quiet well), i would say you have good enough hardware to play. I have an nVidia Geforce 9600 GT and it's fine.

So i would advise you to de-install wine and all what you done before (including settings files which may still be there) and to try a clean installation of my Hardy tutorial.

Maybe the Intrepid solution of General Custer is functionning only with some kind of configuration you don't have...

Maybe you'll have to wait a bit for the next Ubuntu 9.04 coming soon for your hardware support (i first try with the 7.10 and i had to wait for 8.04 and new wine version so that it works finally...).
REVOLUTION UNDER SIEGE GOLD

General Custer
Conscript
Posts: 11
Joined: Wed Apr 02, 2008 9:41 pm

Sun Apr 12, 2009 12:21 pm

Brausepaul: Have you installed NVidia's proprietary drivers ?
If not, you can find an howto on http://doc.ubuntu-fr.org/nvidia#methode_automatique (french inside). Although they are not free software (but free of charge), they are tested by ubuntu team.

If you already have them installed, then I suggest the same as andatiep: completely remove wine and winetricks, then reinstall wine, Direct X 9 and AACW.

User avatar
Benihana
Private
Posts: 25
Joined: Fri Jun 05, 2009 5:19 am

Same problem under Crossover Mac

Fri Jun 05, 2009 5:38 am

I'm attempting to get AACW running under Crossover Games for Mac. I get the exact same error ("Exception EAccessViolation dans le module AACW.exe dans 00004054. Violation d'access a l'adresse 00404054 dans le module 'AACW.exe'. Lecture de l'adresse 00002E9B.) followed by "Runtime error 216 at 00403E8A").

I'm including a log file generated by Crossover, perhaps someone can take a look at it that knows what to look for. Oh and DxDiag returns satisfactory results for all tests. I also have the latest version of AACW installed.

Thanks in advance, love the product, just would like to be able to play it on my Mac without booting into Windows.
Attachments

[The extension doc has been deactivated and can no longer be displayed.]


General Custer
Conscript
Posts: 11
Joined: Wed Apr 02, 2008 9:41 pm

Problem with sound ?

Sun Jun 07, 2009 7:41 pm

Hello Benihana,

looking at the log file, error seems to happen during setup of sound. I don't know any way to launch AACW without sound. :(

Maybe can a developer give a way to totally disable sound (even during game loading process) in AACW ?

User avatar
Benihana
Private
Posts: 25
Joined: Fri Jun 05, 2009 5:19 am

Mon Jun 08, 2009 10:03 pm

I've tried a bunch of things since, and nothing has made any difference.

There is a config file and I've changed it to read:

Code: Select all

1. *** Sound media options ***
LoadSounds       = 0
PlayMusic        = 0


But still threw the same error. I also tried disabling the sound driver completely, but same error. Anyway thanks for taking a look, guess I'll just have to give in.

Cato Uticensis
Conscript
Posts: 7
Joined: Fri May 29, 2009 7:01 am

Tue Jul 28, 2009 6:52 am

Has anyone been succesful with the latest version of wine?

User avatar
andatiep
Posts: 1429
Joined: Thu May 01, 2008 10:56 am
Location: Grenoble, France.

Tue Jul 28, 2009 2:08 pm

Cato Uticensis wrote:Has anyone been succesful with the latest version of wine?


Mmmh... i believe there is some problems again. Actually, since i update my Ubuntu 8.10, it's not running any more. Same with 9.04.
Maybe because of the kernel updated. I should see again the procedures of this thread.
I have to restart again on Windows for now. That's so borring... :non:

As soon as i get more time i will check it.
It would be good to test AACW with Virtualbox now, with the last improvment of this tech'. Volunteers ?
REVOLUTION UNDER SIEGE GOLD

hdk
Civilian
Posts: 1
Joined: Sun Nov 29, 2009 11:57 am

Running Wine 1.1.33/Kubuntu 9.04

Sun Nov 29, 2009 12:12 pm

I succeeded in getting the demo (v1.05b) to run under Wine 1.1.33 and Kubuntu 9.04.

After normal installation two actions were required to prevent a crash on load and play:
1. adding a native override in Wine's configuration for dx3dx81ab, which is provided with the game;
2. adding native overrides for dmime, dmloader, dmusic and dmusic32 - but neither sound nor music would function. Sound fails to initialise at file 'BoA - Select.mp3'.

I also discovered that the game will fail if the .wine directory is located on a Linux ext4 file system. It expects to find its data files on the disk in sequence (eg '0Union.fac', '1Confederate.fac', '2England.fac' etc: see ../ACW/GameData/Factions). It has a text-file warning to this effect in the directories.

I think that ext4 filesystems use a hashed list of filenames which means that a sequential read by the game loads them in an arbitrary order, not in the sorted order it expects.

I could not find a workaround and solved the problem by re-creating my .wine directory on a separate NTFS partition.

User avatar
andatiep
Posts: 1429
Joined: Thu May 01, 2008 10:56 am
Location: Grenoble, France.

Mon Nov 30, 2009 2:17 pm

hdk wrote:I succeeded in getting the demo (v1.05b) to run under Wine 1.1.33 and Kubuntu 9.04.

After normal installation two actions were required to prevent a crash on load and play:
1. adding a native override in Wine's configuration for dx3dx81ab, which is provided with the game;
2. adding native overrides for dmime, dmloader, dmusic and dmusic32 - but neither sound nor music would function. Sound fails to initialise at file 'BoA - Select.mp3'.

I also discovered that the game will fail if the .wine directory is located on a Linux ext4 file system. It expects to find its data files on the disk in sequence (eg '0Union.fac', '1Confederate.fac', '2England.fac' etc: see ../ACW/GameData/Factions). It has a text-file warning to this effect in the directories.

I think that ext4 filesystems use a hashed list of filenames which means that a sequential read by the game loads them in an arbitrary order, not in the sorted order it expects.

I could not find a workaround and solved the problem by re-creating my .wine directory on a separate NTFS partition.


Excellent HDK,

I didn't thought about all this possible tips...
Especially the EXT4 filesystem.
I'll test it on the Karmic Koala as soon as possible.

Thank you :) !
REVOLUTION UNDER SIEGE GOLD

Return to “AACW Technical support / Aide technique”

Who is online

Users browsing this forum: No registered users and 3 guests