Installer tomb-raider-steam-tr1x

files:
- steamdata: $STEAM:224960:.
- cdrtools: https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip
- mod: https://github.com/LostArtefacts/TR1X/releases/download/4.0.1/TR1X.4.0.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:
- merge:
    dst: $GAMEDIR/tmp
    src: steamdata
- extract:
    dst: $GAMEDIR/tmp
    src: cdrtools
- execute:
    command: cd "$GAMEDIR/tmp"; ./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/DATA
- extract:
    dst: $GAMEDIR/TR1X/DATA
    file: dlc
- merge:
    dst: $GAMEDIR/TR1X/FMV
    src: $GAMEDIR/tmp/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/TR1X
- execute:
    command: cd "$GAMEDIR" ; rm -f -r tmp TR1X/DATA;
description: Play "Tomb Raider I" provided by Steam on Linux! using TR1X open source
  project
game_slug: tomb-raider-i
gogslug: tomb_raider_123
humblestoreid: ''
installer_slug: tomb-raider-steam-tr1x
name: Tomb Raider
notes: "- Unfinished Business extension included\r\n- Gamepad natively supported"
runner: linux
script:
  files:
  - steamdata: $STEAM:224960:.
  - cdrtools: https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip
  - mod: https://github.com/LostArtefacts/TR1X/releases/download/4.0.1/TR1X.4.0.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:
  - merge:
      dst: $GAMEDIR/tmp
      src: steamdata
  - extract:
      dst: $GAMEDIR/tmp
      src: cdrtools
  - execute:
      command: cd "$GAMEDIR/tmp"; ./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/DATA
  - extract:
      dst: $GAMEDIR/TR1X/DATA
      file: dlc
  - merge:
      dst: $GAMEDIR/TR1X/FMV
      src: $GAMEDIR/tmp/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/TR1X
  - execute:
      command: cd "$GAMEDIR" ; rm -f -r tmp TR1X/DATA;
slug: tomb-raider-steam-tr1x
steamid: 224960
version: Steam + TR1X
year: 1996
{
  "game_slug": "tomb-raider-i",
  "version": "Steam + TR1X",
  "description": "Play \"Tomb Raider I\" provided by Steam on Linux! using TR1X open source project",
  "notes": "- 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-steam-tr1x",
  "installer_slug": "tomb-raider-steam-tr1x",
  "script": {
    "files": [
      {
        "steamdata": "$STEAM:224960:."
      },
      {
        "cdrtools": "https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip"
      },
      {
        "mod": "https://github.com/LostArtefacts/TR1X/releases/download/4.0.1/TR1X.4.0.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": [
      {
        "merge": {
          "dst": "$GAMEDIR/tmp",
          "src": "steamdata"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/tmp",
          "src": "cdrtools"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/tmp\"; ./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/DATA"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/TR1X/DATA",
          "file": "dlc"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/TR1X/FMV",
          "src": "$GAMEDIR/tmp/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/TR1X"
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR\" ; rm -f -r tmp TR1X/DATA;"
        }
      }
    ]
  }
}
Back to game