Installer tomb-raider-ii-gog-tr2main

files:
- mod: https://github.com/Arsunt/TR2Main/releases/download/v0.9.0/TR2Main_v0.9.0.zip
- gogsetup: N/A:Select the installer downloaded from GOG
- audiodll: https://github.com/legluondunet/mlls-tools/raw/master/winmm/zplaymm.zip
game:
  exe: drive_c/Tomb Raider 2/Tomb2.exe
  launch_configs:
  - args: -gold
    exe: $GAMEDIR/drive_c/Tomb Raider 2/Tomb2.exe
    name: Tomb Raider II - Golden Mask
  - args: -setup
    exe: $GAMEDIR/drive_c/Tomb Raider 2/Tomb2.exe
    name: Setup dialog box
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/Tomb Raider 2
    file: gogsetup
    format: gog
- extract:
    dst: $GAMEDIR/drive_c/Tomb Raider 2
    file: mod
- extract:
    dst: $GAMEDIR/drive_c/Tomb Raider 2
    file: audiodll
- move:
    dst: $GAMEDIR/drive_c/Tomb Raider 2/audio.bak
    src: $GAMEDIR/drive_c/Tomb Raider 2/audio
- task:
    key: InvBackgroundMode
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Core Design\Tomb Raider II\Game
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000001'
- task:
    key: DetailLevel
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Core Design\Tomb Raider II\Game
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000002'
system:
  env:
    DXVK_FRAME_RATE: '60'
    DXVK_HUD: null
  gamescope: true
  gamescope_fps_limiter: '60'
  gamescope_game_res: $RESOLUTION
  gamescope_output_res: $RESOLUTION
wine:
  overrides:
    ddraw: n,b
    winmm: n,b
description: Play "Tomb Raider II" provided by GOG on Linux! using TR2Main open source
  project
game_slug: tomb-raider-ii
gogslug: tomb_raider_123
humblestoreid: ''
installer_slug: tomb-raider-ii-gog-tr2main
name: Tomb Raider II
notes: "- This script uses TR2Main: for stability and features, like PS1 inventory\
  \ background\r\n- Tomb Raider II Gold extension included\r\n- TR2 has insufficient\
  \ controller support, you will find AntimicroX profiles I wrote here: \r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Tomb%20Raider%20I/gamepad%20profiles"
runner: wine
script:
  files:
  - mod: https://github.com/Arsunt/TR2Main/releases/download/v0.9.0/TR2Main_v0.9.0.zip
  - gogsetup: N/A:Select the installer downloaded from GOG
  - audiodll: https://github.com/legluondunet/mlls-tools/raw/master/winmm/zplaymm.zip
  game:
    exe: drive_c/Tomb Raider 2/Tomb2.exe
    launch_configs:
    - args: -gold
      exe: $GAMEDIR/drive_c/Tomb Raider 2/Tomb2.exe
      name: Tomb Raider II - Golden Mask
    - args: -setup
      exe: $GAMEDIR/drive_c/Tomb Raider 2/Tomb2.exe
      name: Setup dialog box
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating WINE prefix
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/Tomb Raider 2
      file: gogsetup
      format: gog
  - extract:
      dst: $GAMEDIR/drive_c/Tomb Raider 2
      file: mod
  - extract:
      dst: $GAMEDIR/drive_c/Tomb Raider 2
      file: audiodll
  - move:
      dst: $GAMEDIR/drive_c/Tomb Raider 2/audio.bak
      src: $GAMEDIR/drive_c/Tomb Raider 2/audio
  - task:
      key: InvBackgroundMode
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Core Design\Tomb Raider II\Game
      prefix: $GAMEDIR
      type: REG_DWORD
      value: '00000001'
  - task:
      key: DetailLevel
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Core Design\Tomb Raider II\Game
      prefix: $GAMEDIR
      type: REG_DWORD
      value: '00000002'
  system:
    env:
      DXVK_FRAME_RATE: '60'
      DXVK_HUD: null
    gamescope: true
    gamescope_fps_limiter: '60'
    gamescope_game_res: $RESOLUTION
    gamescope_output_res: $RESOLUTION
  wine:
    overrides:
      ddraw: n,b
      winmm: n,b
slug: tomb-raider-ii-gog-tr2main
steamid: 225300
version: GOG + TR2Main
year: 1997
{
  "game_slug": "tomb-raider-ii",
  "version": "GOG + TR2Main",
  "description": "Play \"Tomb Raider II\" provided by GOG on Linux! using TR2Main open source project",
  "notes": "- This script uses TR2Main: for stability and features, like PS1 inventory background\r\n- Tomb Raider II Gold extension included\r\n- TR2 has insufficient controller support, you will find AntimicroX profiles I wrote here: \r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Tomb%20Raider%20I/gamepad%20profiles",
  "name": "Tomb Raider II",
  "year": 1997,
  "steamid": 225300,
  "gogslug": "tomb_raider_123",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "tomb-raider-ii-gog-tr2main",
  "installer_slug": "tomb-raider-ii-gog-tr2main",
  "script": {
    "files": [
      {
        "mod": "https://github.com/Arsunt/TR2Main/releases/download/v0.9.0/TR2Main_v0.9.0.zip"
      },
      {
        "gogsetup": "N/A:Select the installer downloaded from GOG"
      },
      {
        "audiodll": "https://github.com/legluondunet/mlls-tools/raw/master/winmm/zplaymm.zip"
      }
    ],
    "game": {
      "exe": "drive_c/Tomb Raider 2/Tomb2.exe",
      "launch_configs": [
        {
          "args": "-gold",
          "exe": "$GAMEDIR/drive_c/Tomb Raider 2/Tomb2.exe",
          "name": "Tomb Raider II - Golden Mask"
        },
        {
          "args": "-setup",
          "exe": "$GAMEDIR/drive_c/Tomb Raider 2/Tomb2.exe",
          "name": "Setup dialog box"
        }
      ],
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating WINE prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Tomb Raider 2",
          "file": "gogsetup",
          "format": "gog"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Tomb Raider 2",
          "file": "mod"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Tomb Raider 2",
          "file": "audiodll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Tomb Raider 2/audio.bak",
          "src": "$GAMEDIR/drive_c/Tomb Raider 2/audio"
        }
      },
      {
        "task": {
          "key": "InvBackgroundMode",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Core Design\\Tomb Raider II\\Game",
          "prefix": "$GAMEDIR",
          "type": "REG_DWORD",
          "value": "00000001"
        }
      },
      {
        "task": {
          "key": "DetailLevel",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Core Design\\Tomb Raider II\\Game",
          "prefix": "$GAMEDIR",
          "type": "REG_DWORD",
          "value": "00000002"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": "60",
        "DXVK_HUD": null
      },
      "gamescope": true,
      "gamescope_fps_limiter": "60",
      "gamescope_game_res": "$RESOLUTION",
      "gamescope_output_res": "$RESOLUTION"
    },
    "wine": {
      "overrides": {
        "ddraw": "n,b",
        "winmm": "n,b"
      }
    }
  }
}
Back to game