WineHQ

Grand Theft Auto IV

Version installed by Steam

Application Details:

Version: Steam
License: Retail
URL: http://www.gta4.com/
Votes: 1
Latest Rating: Silver
Latest Wine Version Tested: 8.0.1

Maintainers: About Maintainership

Link Steam link

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

Tested on:
5.15.0-71-generic
Ubuntu 22.04.2 LTS

Proton 8.0-2 (wine-8.0)

PRELUDE

On Ubuntu, installing steam is easy:

Download snap, steam and run stean:

sudo apt install snap
sudo snap install steam
steam

CHAPTER 1: We play by the book (Install the game using the regular method).

1. Right click GTA IV in library, properties, compatibility, Proton 8.0-2
2. Install the game and try to run.
3. Choose language when asked.
4. Click continue in the next screen.
5. Accept agreement and continue.
6. Press continue to perform installation of Rockstar Games Launcher.
7. Click Close when install is finished.
8. Steam will now perform preparation steps (installing dependencies).
9. Rockstar laucnher will ask to login, do as told.
10. Error will appear: "Game executable not found. Please reinstall the game." or "Game launch error" or "Unable to launch Grand Theft Auto IV (...)"

CHAPTER 2: Downgrade GTA IV to remove broken DRM

1. Dowmload GTA IV Downgrader:
GTA IV Downgrader 1.9
https://gtaforums.com/topic/97...
https://drive.google.com/file/...

Make sure GTAIVDowngrader.exe is present in "~/Downloads/GTAIVDowngrader v1.9" afyer extraction.

2. Open a terminal and enter the following command to run GTA IV Downgrader:

cd ~/Downloads/GTAIVDowngrader\ v1.9 &&WINEPREFIX=~/snap/steam/common/.local/share/Steam/steamapps/compatdata/12210/pfx ~/snap/steam/common/.local/share/Steam/steamapps/common/Proton\ 8.0/dist/bin/wine ~/Downloads/GTAIVDowngrader\ v1.9/GTAIVDowngrader.exe

3. Navigate through the wizard until the "Select downgrade directory screen".

We cannot see invisible folders in the dialog, so we create a symlink to the game folder in your home folder with the following command:

ln -s ~/snap/steam/common/.local/share/Steam/steamapps/common/Grand\ Theft\ Auto\ IV/GTAIV tempo

4. Click Browse and select the temp folder in your home folder. (/home/USER/temp). It should say that the directory is valid after confirming.

5. Click Next.

6. Pick version 1.0.8.0 (Recommended). Click Next.

7. Click Skip when asked to downgrade radio.

8. On mod selection screen, keep default selection (xlive and ZolikaPatch)

9. Click Next

19. Click Downgrade

(Note for long-term future: PS This process downloads the executable from a remote server. In the future this will likely break. We need to archive the downgraded executable somewhere, perhaps it can be extracted from an official Rockstar-release patch as to keep it legal?).

20. When asked for commandline, select recommended commandline, do not enable windowed.

21. Click next and in the last screen, click exit.

CHAPTER 3. Get ready for the launch.

Run the following in a terminal:

cd ~/snap/steam/common/.steam/steam/steamapps/common/Grand\ Theft\ Auto\ IV/GTAIV/ && WINEPREFIX=~/snap/steam/common/.local/share/Steam/steamapps/compatdata/12210/pfx ~/snap/steam/common/.local/share/Steam/steamapps/common/Proton\ 8.0/dist/bin/wine ~/snap/steam/common/.steam/steam/steamapps/common/Grand\ Theft\ Auto\ IV/GTAIV/PlayGTAIV.exe

At first run I got a SecuROM error. After running it again it worked and I could play the game wihout problems.

What does not

Performance even worse than on windows. On lowest settings the game was running fine for me and ejoyable, with lag spikes directly after completing a mission, but otherwise fine.

Workarounds

See "What works".

What was not tested

Multiplayer

Did not play more than ~10 missions

Hardware tested

Graphics:

  • GPU: AMD
  • Driver: open source

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentUbuntu 22.04 "Jammy" (+ variants like Kubuntu)Jun 13 20238.0.1Yes Yes YesSilverJoel Meijering 
ShowGentoo Linux x86_64Apr 18 20216.6-stagingYes Yes YesGoldJames Calligeros 
ShowUbuntu 20.04 "Focal" (+ variants like Kubuntu)Apr 27 20216.4Yes Yes NoSilverLuciano 
ShowArch Linux x86_64May 06 20194.7-stagingYes Yes YesGoldAdam Moore 
ShowUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Dec 26 20183.18-stagingN/A Yes YesGoldRoman 

Known Bugs

Bug # Description Status Resolution Other apps affected
21581 GTA4 crashes during "Lure" mission CLOSED FIXED View
29559 GTA IV freeze in videos or scripted game events UNCONFIRMED View
38559 GTA4: crash after benchmark has completed CLOSED FIXED View

Show open bugs

HowTo / Notes

HOWTO remove GFWL from GTAIV

Games for Windows - LIVE does not work under Wine. GFWL components will crash any game that use the service. The only thing to do about it is to cut XLive out using XLiveLess Patch.

INSTRUCTIONS

1) Download the latest XLiveLess patch from here.

2) Unpack xlive.dll into the game folder.

XLive is out and the game launch is unobstructed. Please note that from now on the online play via GFWL is disabled so as to prevent cheating.

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Works in wine-stable
by Dennis Mayr on Tuesday February 5th 2019, 17:05
GTA IV works perfectly in wine-stable (3.0.4), emulating Windows 7, with following native libraries installed: vcrun2005, dotnet20, dotnet35sp1.

However, it crashes under wine-stable 4.0 past the Niko Bellic menu screen, after clicking "Start", regardless of emulated Windows version.
Back