Installation and run of Grand Theft Auto IV (with Nvidia Optimus technology using optirun (Bumblebee)).
What does not
What was not tested
I installed GTA IV in his own prefix: $ WINEPREFIX=~/.gta4 wine setup.exe Then update the game with the Title Update 7: $ WINEPREFIX=~/.gta4 wine UpdateTitle.exe Then put xlive.dll in the install directory (as explained in the HOWTO): $ cp xlive.dll "~/.gta4/drive_c/Program Files (x86)/Rockstar Games/Grand Theft Auto IV" To launch the game: If you have an Nvidia Graphic Card with the Optimus technology, change directory to the installation one and type: $ WINEPREFIX=~/.gta4 optirun wine LaunchGTAIV.exe This requires Bumblebee installed. primusrun doesn't work (D3D crash). Else you can launch the game by the main menu. Note that I have these packages installed (if you have any trouble): wine-mono, wine_gecko, samba (often needed for winbind) and lib32-libxslt (available in the AUR).
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Gentoo Linux x86_64||Jun 27 2019||4.0.1-staging||No, but has workaround||Yes||Yes||Silver||sbct|
|Show||Ubuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)||Jul 29 2014||1.7.22||Yes||Yes||Gold||Luis Alvarado|
|Show||Ubuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)||Sep 27 2014||1.6.2||Yes||Yes||Gold||an anonymous user|
|Show||Linux Mint 15 "Olivia"||Jan 11 2014||1.7.10||Yes||Yes||Gold||Philipglo Joshua Opulencia|
|Show||Ubuntu 12.04 "Precise" amd64 (+ variants like Kubuntu)||Sep 18 2013||1.7.2||Yes||Yes||Silver||Alexis Emanuel Cirmi|
|Bug #||Description||Status||Resolution||Other apps affected|
|23532||Provide offline implementation of Games For Windows Live (GFWL) 'xlive.dll' -> 'XLiveless' (Fallout 3, Batman, GTA IV)||REOPENED||View|
|29559||GTA IV freeze in videos or scripted game events||UNCONFIRMED||View|
|31387||Helicopter's tail prop is sometimes partly black in GTAIV||UNCONFIRMED||View|
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.
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.