Installer tomb-raider-vi-the-angel-of-d-gog

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.

custom-name: Tomb Raider VI - The Angel of Darkness
files:
- setuptr6: N/A:Please select the GOG installer
- wpp: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%206%20-%20The%20Angel%20of%20Darkness/tr6.bmp
- lavf: https://github.com/Nevcairiel/LAVFilters/releases/download/0.74.1/LAVFilters-0.74.1-x86.zip
- eax: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%206%20-%20The%20Angel%20of%20Darkness/eax.dll
- gpx360: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%206%20-%20The%20Angel%20of%20Darkness/gamepad%20profiles/tr6_x360.gamecontroller.amgp
- gpsteam: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%206%20-%20The%20Angel%20of%20Darkness/gamepad%20profiles/tr6_steam.sccprofile
- gpreadme: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%206%20-%20The%20Angel%20of%20Darkness/gamepad%20profiles/tr6_gamepad_readme.html
game:
  exe: drive_c/GOG Games/Tomb Raider 6/Launcher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /sp- /suppressmsgboxes
    executable: setuptr6
    name: wineexec
    prefix: $GAMEDIR
- copy:
    dst: $GAMEDIR/drive_c/windows/syswow64/
    src: eax
- task:
    args: eax.dll
    executable: $GAMEDIR/drive_c/windows/syswow64/regsvr32.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: quartz
    name: winetricks
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/tmp/lavf
    src: lavf
- task:
    executable: $GAMEDIR/drive_c/tmp/lavf/install_splitter.bat
    name: wineexec
    prefix: $GAMEDIR/
- task:
    arch: win64
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000001'
- task:
    arch: win64
    key: EAXEnabled
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DirectSound
    prefix: $GAMEDIR
    type: REG_SZ
    value: Y
- task:
    arch: win64
    key: wallpaper
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Desktop\
    prefix: $GAMEDIR
    type: REG_SZ
    value: c:\\tr6.bmp
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- copy:
    dst: $GAMEDIR/drive_c/
    src: wpp
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/Tomb Raider 6/gamepad profiles/
    src: gpreadme
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/Tomb Raider 6/gamepad profiles/
    src: gpx360
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/Tomb Raider 6/gamepad profiles/
    src: gpsteam
- input_menu:
    description: 'Choose your preferred interface language (menu and subtitles):'
    id: LANG
    options:
    - uk: English
    - fr: French
    - gr: German
    - it: Italian
    - jpa: Japonese
    - kor: Korean
    - por: Portuguese
    - sp: Spanish
    preselect: uk
- execute:
    command: cd "$GAMEDIR/drive_c/GOG Games/Tomb Raider 6/"; rm -f -r unins000.* webcache.zip
      support.ico gog* "Launch T"* ; cd Data/locale; for f in *; do mv -v "$f" "`echo
      $f | tr '[A-Z]' '[a-z]'`"; done; mv text_$INPUT_LANG.db TEXT_UK.DB; mv text_uk.db
      text_uk.db.bak;
wine:
  Desktop: true
{
  "installer": [
    {
      "task": {
        "description": "Creating WINE prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR",
        "arch": "win64"
      }
    },
    {
      "task": {
        "args": "/sp- /suppressmsgboxes",
        "name": "wineexec",
        "executable": "setuptr6",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "copy": {
        "src": "eax",
        "dst": "$GAMEDIR/drive_c/windows/syswow64/"
      }
    },
    {
      "task": {
        "args": "eax.dll",
        "name": "wineexec",
        "executable": "$GAMEDIR/drive_c/windows/syswow64/regsvr32.exe",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winetricks",
        "app": "quartz",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "src": "lavf",
        "dst": "$GAMEDIR/drive_c/tmp/lavf"
      }
    },
    {
      "task": {
        "name": "wineexec",
        "executable": "$GAMEDIR/drive_c/tmp/lavf/install_splitter.bat",
        "prefix": "$GAMEDIR/"
      }
    },
    {
      "task": {
        "type": "REG_DWORD",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
        "arch": "win64",
        "value": "00000001",
        "key": "csmt",
        "prefix": "$GAMEDIR",
        "name": "set_regedit"
      }
    },
    {
      "task": {
        "type": "REG_SZ",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DirectSound",
        "arch": "win64",
        "value": "Y",
        "key": "EAXEnabled",
        "prefix": "$GAMEDIR",
        "name": "set_regedit"
      }
    },
    {
      "task": {
        "type": "REG_SZ",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Desktop\\",
        "arch": "win64",
        "value": "c:\\\\tr6.bmp",
        "key": "wallpaper",
        "prefix": "$GAMEDIR",
        "name": "set_regedit"
      }
    },
    {
      "task": {
        "type": "REG_SZ",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "arch": "win64",
        "value": "0 0 0",
        "key": "background",
        "prefix": "$GAMEDIR",
        "name": "set_regedit"
      }
    },
    {
      "copy": {
        "src": "wpp",
        "dst": "$GAMEDIR/drive_c/"
      }
    },
    {
      "merge": {
        "src": "gpreadme",
        "dst": "$GAMEDIR/drive_c/GOG Games/Tomb Raider 6/gamepad profiles/"
      }
    },
    {
      "merge": {
        "src": "gpx360",
        "dst": "$GAMEDIR/drive_c/GOG Games/Tomb Raider 6/gamepad profiles/"
      }
    },
    {
      "merge": {
        "src": "gpsteam",
        "dst": "$GAMEDIR/drive_c/GOG Games/Tomb Raider 6/gamepad profiles/"
      }
    },
    {
      "input_menu": {
        "description": "Choose your preferred interface language (menu and subtitles):",
        "preselect": "uk",
        "options": [
          {
            "uk": "English"
          },
          {
            "fr": "French"
          },
          {
            "gr": "German"
          },
          {
            "it": "Italian"
          },
          {
            "jpa": "Japonese"
          },
          {
            "kor": "Korean"
          },
          {
            "por": "Portuguese"
          },
          {
            "sp": "Spanish"
          }
        ],
        "id": "LANG"
      }
    },
    {
      "execute": {
        "command": "cd \"$GAMEDIR/drive_c/GOG Games/Tomb Raider 6/\"; rm -f -r unins000.* webcache.zip support.ico gog* \"Launch T\"* ; cd Data/locale; for f in *; do mv -v \"$f\" \"`echo $f | tr '[A-Z]' '[a-z]'`\"; done; mv text_$INPUT_LANG.db TEXT_UK.DB; mv text_uk.db text_uk.db.bak;"
      }
    }
  ],
  "custom-name": "Tomb Raider VI - The Angel of Darkness",
  "game": {
    "prefix": "$GAMEDIR",
    "exe": "drive_c/GOG Games/Tomb Raider 6/Launcher.exe"
  },
  "wine": {
    "Desktop": true
  },
  "files": [
    {
      "setuptr6": "N/A:Please select the GOG installer"
    },
    {
      "wpp": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%206%20-%20The%20Angel%20of%20Darkness/tr6.bmp"
    },
    {
      "lavf": "https://github.com/Nevcairiel/LAVFilters/releases/download/0.74.1/LAVFilters-0.74.1-x86.zip"
    },
    {
      "eax": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%206%20-%20The%20Angel%20of%20Darkness/eax.dll"
    },
    {
      "gpx360": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%206%20-%20The%20Angel%20of%20Darkness/gamepad%20profiles/tr6_x360.gamecontroller.amgp"
    },
    {
      "gpsteam": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%206%20-%20The%20Angel%20of%20Darkness/gamepad%20profiles/tr6_steam.sccprofile"
    },
    {
      "gpreadme": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tomb%20Raider%206%20-%20The%20Angel%20of%20Darkness/gamepad%20profiles/tr6_gamepad_readme.html"
    }
  ]
}
Back to game