Installer grand-theft-auto-iv-dvd

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- xlive: https://github.com/AccountOneOff/lutris_files/raw/master/xlive.dll
game:
  arch: win64
  exe: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/Grand Theft Auto IV/LaunchGTAIV.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: setup.exe
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    description: Installing GTA IV...
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/Grand Theft Auto IV
    src: xlive
{
  "installer": [
    {
      "insert-disc": {
        "requires": "setup.exe"
      }
    },
    {
      "task": {
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR",
        "arch": "win64"
      }
    },
    {
      "task": {
        "description": "Installing GTA IV...",
        "name": "wineexec",
        "executable": "$DISC/setup.exe",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "merge": {
        "src": "xlive",
        "dst": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/Grand Theft Auto IV"
      }
    }
  ],
  "game": {
    "arch": "win64",
    "prefix": "$GAMEDIR",
    "exe": "$GAMEDIR/drive_c/Program Files (x86)/Rockstar Games/Grand Theft Auto IV/LaunchGTAIV.exe"
  },
  "files": [
    {
      "xlive": "https://github.com/AccountOneOff/lutris_files/raw/master/xlive.dll"
    }
  ]
}
Back to game