Installer tomb-raider-ii-gog-trx2

files:
- engine: https://github.com/LostArtefacts/TRX/releases/download/tr2-1.0.2/TR2X-1.0.2-Linux.zip
- gogsetup: N/A:Select the Windows installer file in exe format downloaded from your
    GOG account
- dlc: https://lostartefacts.dev/aux/tr2x/trgm.zip
game:
  exe: $GAMEDIR/TR2X/TR2X
  launch_configs:
  - args: -gold
    exe: $GAMEDIR/TR2X/TR2X
    name: Tomb Raider II - The Golden Mask
installer:
- extract:
    dst: $GAMEDIR/tmp
    file: gogsetup
    format: gog
- extract:
    dst: $GAMEDIR/tmp/data
    src: dlc
- extract:
    dst: $GAMEDIR/TR2X
    src: engine
- execute:
    command: unset LD_LIBRARY_PATH; cd "$GAMEDIR/tmp/music"; for i in *.ogg; do filename=$(basename
      $i .ogg); ffmpeg -i $i $filename.flac; done; rm -f -r *.ogg;
- merge:
    dst: $GAMEDIR/TR2X/data
    src: $GAMEDIR/tmp/data
- merge:
    dst: $GAMEDIR/TR2X/fmv
    src: $GAMEDIR/tmp/fmv
- merge:
    dst: $GAMEDIR/TR2X/music
    src: $GAMEDIR/tmp/music
- chmodx: $GAMEDIR/TR2X/TR2X
- move:
    dst: $CACHE
    src: $GAMEDIR/tmp
description: Play "Tomb Raider II" provided by GOG on Linux!
game_slug: tomb-raider-ii
gogslug: tomb_raider_123
humblestoreid: ''
installer_slug: tomb-raider-ii-gog-trx2
name: Tomb Raider II
notes: "- Using TR2X open source engine\r\n- \"The Golden Mask\" extension included"
runner: linux
script:
  files:
  - engine: https://github.com/LostArtefacts/TRX/releases/download/tr2-1.0.2/TR2X-1.0.2-Linux.zip
  - gogsetup: N/A:Select the Windows installer file in exe format downloaded from
      your GOG account
  - dlc: https://lostartefacts.dev/aux/tr2x/trgm.zip
  game:
    exe: $GAMEDIR/TR2X/TR2X
    launch_configs:
    - args: -gold
      exe: $GAMEDIR/TR2X/TR2X
      name: Tomb Raider II - The Golden Mask
  installer:
  - extract:
      dst: $GAMEDIR/tmp
      file: gogsetup
      format: gog
  - extract:
      dst: $GAMEDIR/tmp/data
      src: dlc
  - extract:
      dst: $GAMEDIR/TR2X
      src: engine
  - execute:
      command: unset LD_LIBRARY_PATH; cd "$GAMEDIR/tmp/music"; for i in *.ogg; do
        filename=$(basename $i .ogg); ffmpeg -i $i $filename.flac; done; rm -f -r
        *.ogg;
  - merge:
      dst: $GAMEDIR/TR2X/data
      src: $GAMEDIR/tmp/data
  - merge:
      dst: $GAMEDIR/TR2X/fmv
      src: $GAMEDIR/tmp/fmv
  - merge:
      dst: $GAMEDIR/TR2X/music
      src: $GAMEDIR/tmp/music
  - chmodx: $GAMEDIR/TR2X/TR2X
  - move:
      dst: $CACHE
      src: $GAMEDIR/tmp
slug: tomb-raider-ii-gog-trx2
steamid: 225300
version: GOG + TRX2
year: 1997
{
  "game_slug": "tomb-raider-ii",
  "version": "GOG + TRX2",
  "description": "Play \"Tomb Raider II\" provided by GOG on Linux!",
  "notes": "- Using TR2X open source engine\r\n- \"The Golden Mask\" extension included",
  "name": "Tomb Raider II",
  "year": 1997,
  "steamid": 225300,
  "gogslug": "tomb_raider_123",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "tomb-raider-ii-gog-trx2",
  "installer_slug": "tomb-raider-ii-gog-trx2",
  "script": {
    "files": [
      {
        "engine": "https://github.com/LostArtefacts/TRX/releases/download/tr2-1.0.2/TR2X-1.0.2-Linux.zip"
      },
      {
        "gogsetup": "N/A:Select the Windows installer file in exe format downloaded from your GOG account"
      },
      {
        "dlc": "https://lostartefacts.dev/aux/tr2x/trgm.zip"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/TR2X/TR2X",
      "launch_configs": [
        {
          "args": "-gold",
          "exe": "$GAMEDIR/TR2X/TR2X",
          "name": "Tomb Raider II - The Golden Mask"
        }
      ]
    },
    "installer": [
      {
        "extract": {
          "dst": "$GAMEDIR/tmp",
          "file": "gogsetup",
          "format": "gog"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/tmp/data",
          "src": "dlc"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/TR2X",
          "src": "engine"
        }
      },
      {
        "execute": {
          "command": "unset LD_LIBRARY_PATH; cd \"$GAMEDIR/tmp/music\"; for i in *.ogg; do filename=$(basename $i .ogg); ffmpeg -i $i $filename.flac; done; rm -f -r *.ogg;"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/TR2X/data",
          "src": "$GAMEDIR/tmp/data"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/TR2X/fmv",
          "src": "$GAMEDIR/tmp/fmv"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/TR2X/music",
          "src": "$GAMEDIR/tmp/music"
        }
      },
      {
        "chmodx": "$GAMEDIR/TR2X/TR2X"
      },
      {
        "move": {
          "dst": "$CACHE",
          "src": "$GAMEDIR/tmp"
        }
      }
    ]
  }
}
Back to game