|Latest Wine Version Tested:||8.1|
Maintainers: About Maintainership
game with sound & joystick OK on Fedora 6 i386
What does not
Screen resolution not restored and on desktop icons an apps are resized or moved. Partial fix (see above) but cannot switch back to desktop with original screen resolution when pausing the game. full screen required (no windowing)
What was not tested
with network on
Resolution problem resolved through a script: #!/usr/bin/env bash cd "/home//.wine/drive_c/Program Files/Rockstar Games/GTA2" # needed to find language files ??? /usr/bin/wine "c:/Program Files/Rockstar Games/GTA2/gta2 manager.exe" # restored screen to default /usr/bin/xrandr -s 0 #end script Note: change the -s 0, to the number of your favorite screen resolution mode; see all modes numbers with: /usr/bin/xrandr -q and choose the appropriate one.
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Manjaro Linux 22||Feb 26 2023||8.1||Yes||Yes||No||Platinum||Martin Dolezych|
|Show||Arch Linux x86_64||Jun 21 2019||4.9||Yes||Yes||No||Platinum||tjbp|
|Show||Fedora 20 x86_64||Feb 22 2014||1.7.10||Yes||Yes||Silver||an anonymous user|
|Show||Gentoo Linux x86_64||Jan 03 2014||1.7.9||Yes||Yes||Bronze||Aliekezhi|
|Show||openSUSE 12.3 x86_64||Jun 20 2013||1.6-rc2||Yes||Yes||Gold||Manuel|
|Bug #||Description||Status||Resolution||Other apps affected|
|4066||Online Play Doesn't Work (DirectPlay)||NEW||View|
|10841||Restore display resolution when focus is lost or on exit||RESOLVED||NOTOURBUG||View|
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
Running GTA2 in a virtual desktop can sometimes cause problems.
Posted by Vike the Hube:
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 http://www.zeckensack.de/glide/archive/GlideWrapper084c.exe . 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.