Skip to content

Instantly share code, notes, and snippets.

@cinco
Forked from BeauBouchard/Grandtheftauto5-linux.md
Last active August 29, 2015 14:27
Show Gist options
  • Save cinco/8c35da8aa0dc947255dc to your computer and use it in GitHub Desktop.
Save cinco/8c35da8aa0dc947255dc to your computer and use it in GitHub Desktop.
How to install Grand Theft Auto V on Linux (Ubuntu x64 14.04) using wine.

How to install Grand Theft Auto V on Linux (Ubuntu x64 14.04) using wine.

Date Completed: Not done yet ~~ April 23rd 2015

My Test System

  • Video Card: Nvidia GTX 465 (lol right? Game runs shitty)
  • Driver: tested on 331.38, works on 331.38+
  • OS: Ubuntu x64 14.04
  • POL: I used Play on linux 4, I assume most of the capabilities are in winetricks
  • Wine: wine-staging Sun, 19 Apr 2015 version 1.7.41 x64 bit

Prerequisites / Wine

Do not play this game on a Wine prefix in 32 bit mode. You need 64 bit in order to play it correctly. In order to run GTAV you need to change the Windows version to be Windows 7 +, XP will not allow the game to launch.

Install Wine

In wine-staging Sun, 19 Apr 2015 version 1.7.41 x64 bit using Winetricks/PlayonLinux install the following components to have it exactly like my Installation:

  • d3dx10 <--- Manual Jun 2010 version worked for me as well
  • d3dx9_26
  • d3dx9_28
  • d3dx9_31
  • d3dx9_35
  • d3dx9_36
  • d3dx9_39
  • d3dx9_42
  • d3dx9_43
  • d3dx9
  • directx9
  • dotnet20sp1
  • dotnet20
  • dotnet30sp1
  • dotnet35 <-- may not work in x64, download from here
  • dotnet40
  • gfw
  • mfc40
  • mfc42
  • msxml3
  • msxml4
  • msxml6
  • physx
  • quartz
  • vb6run
  • vcrun2003
  • vcrun2005
  • vcrun2008
  • vcrun2010
  • vcrun6sp6
  • vcrun6
  • wmp10
  • wsh56vb
  • wsh57
  • xact_jun2010
  • xact
  • xinput
  • xna40

MORE

So the Dotnet35 and 40 that is shipped with Playonlinux and winetricks probably won't install on a winex64, I recommend installing the full package / stand-alone installer package that contains all required components to deploy different platforms from microsoft.com here [~231MB]

Also the VC redist / DX10 which is shipped with the game probably will try to install and fail. I think it may have something to do with Bug 17273. I downloaded the latest versions BEFORE I installed steam or GTAV, to reproduce my results I recommend downloading all three of these full packages from microsoft.com.

Install Steam

After setting those prerequisites, install steam.

Install GTAV

Using steam, install the game as you normally would, but do not do the first run until later. This is sort of important as the VC redist / DX2010 which comes with the game may not install (they didn't on first run for me) so i downloaded DX 10 June 2010 x64 version off of microsoft.com, and the VC redist

Install Social Club

Latest version ONLY Very important, all other older versions will crash. Download the latest version 1.1.5.8+ Last updated on April 19th, 2015. This also is a fix for Max Payne 3, L.A. Noire, and Red Dead Redemption. DO NOT INSTALL THE SOCIAL CLUB WHICH COMES WITH THE GAME or you may need to start over.

Download Link: Social Club patch 1.1.5.8 dev April 19th, 2015

Also something important to note. DO NOT INSTALL the social club which ships with winetricks/playonlinux, they will install C:\Program Files (x86)\Rockstar Games\Social Club, and the new social club which I tested installs in C:\Program Files\Rockstar Games\Social Club.

Also I would make sure if you do install social club in the wrong version by accident you just start over with a fresh installation steam/new wine, as the registry data does not clean up when you try to un-install social club. See:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Rockstar Games Social Club
HKEY_LOCAL_MACHINE\Software\Rockstar Games\Rockstar Games Social Club
HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\MuiCache\C:\Program Files (x86)\Rockstar Games\Social Club\subprocess.exe
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Rockstar Games Social Club\DisplayName

The files below are left behind on your disk by Rockstar Games Social Club when you uninstall it:

C:\Program Files (x86)\Rockstar Games\Social Club\cef.pak
C:\Program Files (x86)\Rockstar Games\Social Club\cef_100_percent.pak
C:\Program Files (x86)\Rockstar Games\Social Club\cef_200_percent.pak
C:\Program Files (x86)\Rockstar Games\Social Club\d3dcompiler_43.dll

Patches

Patched the game with xlive.dll fix mentioned here Copy and pasted all dll files in GTA folder to system32 including xlive.dll and xlive.lib from the xlib patch to patch the Xlive DLL in order to avoid the Games for Windows - Live.

Open Registry editor and change HKEY_CURRENT_USER/Software/Wine/Direct3D/CSMT = "enabled"

I also added commands in running "-noprecache -norestrictions -nomemrestrict"

If you follow the correct order of installation, and you are using the latest version of social club with patched DX10 files, you should have no problem getting to the splash screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment