HOWTO: Running GTA 2 using Direct3d and 16 bit color depth
From a clean wine install of the latest release, this how to will show you how to get GTA2 running with only a few graphical glitches, but still fully playable.
Please note this how to
is for Ubuntu Linux, but the steps should be similar for other distros.
1. Unpack and run the GTA2 installer, installing GTA2 in the default directory
2. Check the box to run the GTA2 manager immediately when the install closes
3. In the video tab, set the resolution to 800x600, disable the opening movie, 4. and set the display mode to fullscreen
5. In the control tab hit the default keyboard button
6. Exit the manager, then start it up again to make sure all the option stuck
7. Open a text editor
8. Copy this script:
#uncomment if launching from console session
#sudo /etc/init.d/gdm stop
#KDE use this instead
#sudo /etc/init.d/kdm stop
# Launches a new X session on display 3. If you don't have an Nvidia card
# take out the "& nvidia-settings --load-config-only" part
X :3 -depth 16 -ac & nvidia-settings --load-config-only
# Goto game dir (modify as needed)
cd "$HOME/.wine/drive_c/Program Files/Rockstar Games/GTA2/"
# Forces the system to have a break for 2 seconds, X doesn't launch instantly
# Launches game (modify as needed)
DISPLAY=:3 WINEDEBUG=-all wine "C:/Program Files/Rockstar Games/GTA2/gta2.exe"
8. Save the file in your home folder as gta2.sh
9. To make the script work, open a terminal, make the file executable and allow normal users to create new X servers with the following code
chmod +x gta2.sh
sudo gedit Xwrapper.config
With gedit change "allowed_users=console" to "allowed_users=anybody" and save.
Now you can run GTA2 by opening a terminal and typing "sh gta2.sh" or by creating a desktop icon by right clicking on the script in the file manager selecting "Make Link", then copying that link to your desktop.
When your finished playing just exit the game and then kill the X server with the Ctrl+Alt+Backspace keystroke and that will take you back to your normal desktop.
Once your up and running feel free to up the resolution and tweak settings in the Manager to get GTA 2 looking its finest
WARNING: Running GTA2 in a Virtual Desktop
Running GTA2 in a virtual desktop can sometimes cause problems.
GTA2 has a hidden option to
use Glide for video.
1. Set up your controls etc using GTA2 manager.
2. Install a Glide wrapper- I use
3. wine regedit -> HKEY_LOCAL_MACHINE -> Software -> DMA Design -> Screen:
set "rendername" (a String/REG_SZ) to "3dfx.dll"
set "videoname" (a String/REG_SZ) to "dmaglide.dll"
4. If you open GTA2 manager again, you need to setup the registry keys again-
GTA2 manager does not support Glide mode.
5. If you're using GTA2 v11 or greater, you will find the registry key in
HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE.
6. Launch GTA2 directly, i.e. create a shortcut to start in the GTA2 directory
and run wine gta2.exe .
Because of this I believe the problem is related to the DIB engine. But it's
been so long since I heard that information I can't be certain.
"Couldn't find attract mode file data\attract\attr.rep"
by Richard on Monday June 25th 2012, 14:05
As far as I can tell, this is a problem that a few people had in 2007... no idea why it's resurfaced now.
When I install the game as described I have no problem. The install finishes, the manager opens no problem, I set the appropriate settings, and then I click "GTA" from the manager and the game opens no problem. Then I quit, try and re-open it, and it says, "Couldn't find attract mode file data\attract\attr.rep"
I've checked, and the file is there. If I try and open the manager it says no language files can be found. This happens on the gratis version AND the CD version, on wine 1.3.15 and 1.5x, on Mint 11 and a fresh install of Mint 13 MATE.
Getting Multiplayer to work
by Jonas Abrahamsson on Tuesday February 8th 2011, 12:27
The generic Howto to get multiplayer working for GTA2 doesn't work (it needs more dlls than "winetricks directplay" supplies), here is a working version (tested on wine 1.3.13):
Getting Multiplayer to work:
-Download DirectX runtime (do NOT use dlls from a windows partition):
download.microsoft.com/download/6/4/c/64c3d3d6-c5da-47eb-9db4-86e45b9f579e/directx_mar2008_redist.exe -Run the executable and select a folder to extract to
-Extract dxnt.cab using cabextract
-Copy following files to windows/system32
-Override dlls with winecfg: dplay, dplayx,dpnaddr, dpnet, dpnhpast, dpnlobby
wine regsvr32 dplayx.dll
wine regsvr32 dpnet.dll
wine regsvr32 dpnhpast.dll
wine regsvr32 dpnhupnp.dll
wine regsvr32 dpvacm.dll
wine regsvr32 dpvoice.dll
wine regsvr32 dpvvox.dll
To get the actual game working:
-Use virtual desktop
-Untick "Play Movie" in GTA2 Manager under the Video-tab
Game crash at launch
by Sylvain Virot on Monday November 8th 2010, 2:55
The game seems to crash due to a bad behaviour of wine. If DirectDrawRenderer is set (to either gdi or opengl) the game can't start while if the key is removed from the registry, the game starts perfectly (aven with WINE 1.3 series).