Installer tomb-raider-gog-tr1x

files:
- cdrtools: https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip
- gogsetup: N/A:Select the installer downloaded from GOG
- mod: https://github.com/LostArtefacts/TRX/releases/download/tr1-4.6.1/TR1X-4.6.1-Linux.zip
- dlc: https://lostartefacts.dev/aux/tr1x/trub-music.zip
- audiotracks: https://lostartefacts.dev/aux/tr1x/music.zip
game:
  exe: TR1X/TR1X
  launch_configs:
  - args: -gold
    exe: $GAMEDIR/TR1X/TR1X
    name: Tomb Raider 1 - Unfinished Business
installer:
- extract:
    dst: $GAMEDIR/tmp/Tomb Raider 1
    file: gogsetup
    format: gog
- extract:
    dst: $GAMEDIR/tmp/Tomb Raider 1
    src: cdrtools
- execute:
    command: cd "$GAMEDIR/tmp/Tomb Raider 1"; ./bin2iso game.cue -c GAME.GOG ;./bin2iso
      game.cue; if [ -f "GAME-01.iso" ]; then cd=GAME-01.iso; else  cd=GAME.GOG; fi;
      echo $cd; ./7z x -y $cd;
- merge:
    dst: $GAMEDIR/TR1X/DATA
    src: $GAMEDIR/tmp/Tomb Raider 1/DATA
- extract:
    dst: $GAMEDIR/TR1X/DATA
    file: dlc
- merge:
    dst: $GAMEDIR/TR1X/FMV
    src: $GAMEDIR/tmp/Tomb Raider 1/FMV
- extract:
    dst: $GAMEDIR/TR1X
    file: mod
- merge:
    dst: $GAMEDIR/TR1X/data
    src: $GAMEDIR/TR1X/DATA
- extract:
    dst: $GAMEDIR/TR1X/music
    file: audiotracks
- chmodx: $GAMEDIR/TR1X
- execute:
    command: cd "$GAMEDIR" ; rm -f -r tmp TR1X/DATA;
description: Play "Tomb Raider I" provided by GOG on Linux!
game_slug: tomb-raider-i
gogslug: tomb_raider_123
humblestoreid: ''
installer_slug: tomb-raider-gog-tr1x
name: Tomb Raider
notes: "- Using TR1X open source project\r\n- Unfinished Business extension included\r\
  \n- Gamepad natively supported"
runner: linux
script:
  files:
  - cdrtools: https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip
  - gogsetup: N/A:Select the installer downloaded from GOG
  - mod: https://github.com/LostArtefacts/TRX/releases/download/tr1-4.6.1/TR1X-4.6.1-Linux.zip
  - dlc: https://lostartefacts.dev/aux/tr1x/trub-music.zip
  - audiotracks: https://lostartefacts.dev/aux/tr1x/music.zip
  game:
    exe: TR1X/TR1X
    launch_configs:
    - args: -gold
      exe: $GAMEDIR/TR1X/TR1X
      name: Tomb Raider 1 - Unfinished Business
  installer:
  - extract:
      dst: $GAMEDIR/tmp/Tomb Raider 1
      file: gogsetup
      format: gog
  - extract:
      dst: $GAMEDIR/tmp/Tomb Raider 1
      src: cdrtools
  - execute:
      command: cd "$GAMEDIR/tmp/Tomb Raider 1"; ./bin2iso game.cue -c GAME.GOG ;./bin2iso
        game.cue; if [ -f "GAME-01.iso" ]; then cd=GAME-01.iso; else  cd=GAME.GOG;
        fi; echo $cd; ./7z x -y $cd;
  - merge:
      dst: $GAMEDIR/TR1X/DATA
      src: $GAMEDIR/tmp/Tomb Raider 1/DATA
  - extract:
      dst: $GAMEDIR/TR1X/DATA
      file: dlc
  - merge:
      dst: $GAMEDIR/TR1X/FMV
      src: $GAMEDIR/tmp/Tomb Raider 1/FMV
  - extract:
      dst: $GAMEDIR/TR1X
      file: mod
  - merge:
      dst: $GAMEDIR/TR1X/data
      src: $GAMEDIR/TR1X/DATA
  - extract:
      dst: $GAMEDIR/TR1X/music
      file: audiotracks
  - chmodx: $GAMEDIR/TR1X
  - execute:
      command: cd "$GAMEDIR" ; rm -f -r tmp TR1X/DATA;
slug: tomb-raider-gog-tr1x
steamid: 224960
version: GOG + TR1X
year: 1996
{
  "game_slug": "tomb-raider-i",
  "version": "GOG + TR1X",
  "description": "Play \"Tomb Raider I\" provided by GOG on Linux!",
  "notes": "- Using TR1X open source project\r\n- Unfinished Business extension included\r\n- Gamepad natively supported",
  "name": "Tomb Raider",
  "year": 1996,
  "steamid": 224960,
  "gogslug": "tomb_raider_123",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "tomb-raider-gog-tr1x",
  "installer_slug": "tomb-raider-gog-tr1x",
  "script": {
    "files": [
      {
        "cdrtools": "https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip"
      },
      {
        "gogsetup": "N/A:Select the installer downloaded from GOG"
      },
      {
        "mod": "https://github.com/LostArtefacts/TRX/releases/download/tr1-4.6.1/TR1X-4.6.1-Linux.zip"
      },
      {
        "dlc": "https://lostartefacts.dev/aux/tr1x/trub-music.zip"
      },
      {
        "audiotracks": "https://lostartefacts.dev/aux/tr1x/music.zip"
      }
    ],
    "game": {
      "exe": "TR1X/TR1X",
      "launch_configs": [
        {
          "args": "-gold",
          "exe": "$GAMEDIR/TR1X/TR1X",
          "name": "Tomb Raider 1 - Unfinished Business"
        }
      ]
    },
    "installer": [
      {
        "extract": {
          "dst": "$GAMEDIR/tmp/Tomb Raider 1",
          "file": "gogsetup",
          "format": "gog"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/tmp/Tomb Raider 1",
          "src": "cdrtools"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/tmp/Tomb Raider 1\"; ./bin2iso game.cue -c GAME.GOG ;./bin2iso game.cue; if [ -f \"GAME-01.iso\" ]; then cd=GAME-01.iso; else  cd=GAME.GOG; fi; echo $cd; ./7z x -y $cd;"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/TR1X/DATA",
          "src": "$GAMEDIR/tmp/Tomb Raider 1/DATA"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/TR1X/DATA",
          "file": "dlc"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/TR1X/FMV",
          "src": "$GAMEDIR/tmp/Tomb Raider 1/FMV"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/TR1X",
          "file": "mod"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/TR1X/data",
          "src": "$GAMEDIR/TR1X/DATA"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/TR1X/music",
          "file": "audiotracks"
        }
      },
      {
        "chmodx": "$GAMEDIR/TR1X"
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR\" ; rm -f -r tmp TR1X/DATA;"
        }
      }
    ]
  }
}
Back to game