How to play to AACW with GNU/Linux Ubuntu
From AACWWiki
Contents |
Installation of Wine & DirectX
Until Hardy 8.04
It worked following this steps (except the useless last ones about installing QuickTime & IE6) : http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/
In case of this personnal website is moving and to make it more simple for all (the How-to is in French), here it is (note that if the necessary files .reg or .dll or .exe downloaded in this how-to are not any more available, you should find them elsewhere and adapt the following command lines) :
Type each following lines in a Terminal and then "Enter" after each one
Add official wine repository :
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/hardy-winehq.list wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add - sudo apt-get update
Add necessary software :
/usr/bin/sudo /usr/bin/apt-get install wine cabextract wget
Initialize wine file :
/usr/bin/wineprefixcreate
Sound Configuration :
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/audio.reg \
--output-document=/tmp/audio.reg
/usr/bin/regedit /tmp/audio.reg
Video memory Configuration :
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/video_ram.reg \
--output-document=/tmp/video_ram.reg
/usr/bin/lspci | /bin/grep VGA | /bin/sed -e 's/^\([^ ]* \).*/\1/' \
| /usr/bin/xargs -iPCIID /bin/sh -c "/usr/bin/lspci -v -s PCIID" \
| /bin/grep Memory | /bin/sed -e 's/.*size=\([0-9]*\).*/\1/' \
| /usr/bin/sort -g | /usr/bin/tail -n1 \
| /usr/bin/xargs -iVIDEORAM /bin/sed -i -e 's/VIDEO_RAM/VIDEORAM/' /tmp/video_ram.reg
/usr/bin/regedit /tmp/video_ram.reg
Installation of WineTricks :
/usr/bin/wget http://www.kegel.com/wine/winetricks \
--output-document=$HOME/.wine/winetricks
Authorized access to DOS memory space :
/usr/bin/sudo /bin/cp /etc/sysctl.conf /etc/sysctl.conf.back /usr/bin/sudo /bin/sed -i -e 's/^\(vm.mmap_min_addr =\) .*/\1 0/' /etc/sysctl.conf /usr/bin/sudo /sbin/sysctl -p
Installation of DirectX :
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/mscoree.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/mscoree.dll
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/streamci.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/streamci.dll
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/gm.dls \
--output-document=$HOME/.wine/drive_c/windows/system32/drivers/gm.dls
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/directx.reg \
--output-document /tmp/directx.reg
/usr/bin/regedit /tmp/directx.reg
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/directx_mar2008_redist.exe \
--output-document=/tmp/directx_redist.exe
/bin/mkdir $HOME/.wine/drive_c/DIRECTX /usr/bin/cabextract -d $HOME/.wine/drive_c/DIRECTX /tmp/directx_redist.exe
/usr/bin/wine "C:\DIRECTX\DXSETUP.exe"
/bin/rm /tmp/directx_redist.exe /bin/rm -r $HOME/.wine/drive_c/DIRECTX
Installation of HTML rendering :
/bin/sh $HOME/.wine/winetricks gecko
Installation of Active Movie :
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/dciman32.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/dciman32.dll
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/amov4ie.exe \
--output-document=/tmp/amov4ie.exe
/usr/bin/wine /tmp/amov4ie.exe
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/amstream.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/amstream.dll
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/active_movie.reg \
--output-document=/tmp/active_movie.reg
/usr/bin/regedit /tmp/active_movie.reg
/usr/bin/regsvr32 "c:\windows\system32\amstream.dll"
Since Intrepid 8.10
Type each following lines in a Terminal and then "Enter" after each one
Wine
Add official Wine repository :
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add - sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/winehq.list sudo apt-get update
Wine installation :
sudo apt-get install wine
Winetricks and DirectX 9
Note : Although using winetricks may be very useful for getting some programs working in Wine, doing so may limit your ability to get support though WineHQ. In particular, reporting bugs may not be possible. See winetricks winewiki's page).
winetricks download :
wget http://www.kegel.com/wine/winetricks
Using winetricks to install DirectX 9
sh winetricks directx9
winetricks will then download directx9 and launch its installation.
Installation of AACW
- Clic right-bottom on .exe files then Property > Open with and choose wine or write it in the field "use a custumized command" then clic on Add.
- Run the Windows installer as you were on that system.
Notes
- The game versions used are the on line ones (Demo or complete). The CD-ROM version was not yet tested with Wine.
- It worked well on my computer with a nVidia Geforce 9600 GT 512mb graphic card (with 3D driver) and with an Ubuntu 8.04 (updated after a post-installation like this one : http://logitheque.eve-grenoble.org/doku.php/gnu-linux_ubuntu#post-installation_utilisee_a_l_ene).
- It don't work well with "motherboard integrated" video card and with ATI video card. Please report your good or bad experiences with the hardware here or in the discussion forum on this page : http://www.ageod.com/forums/showthread.php?t=10201

