files:
- engine: https://github.com/LostArtefacts/TRX/releases/download/trx-1.8.1/TRX-1.8.1-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:
args: --mod tr2
exe: TRX
launch_configs:
- args: --mod tr2-gm
exe: $GAMEDIR/TRX
name: Tomb Raider II - The Golden Mask
installer:
- extract:
dst: $GAMEDIR/tmp
file: gogsetup
format: gog
- 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/games/tr2/levels
src: $GAMEDIR/tmp/data
- move:
dst: $GAMEDIR/games/tr2
src: $GAMEDIR/games/tr2/levels/MAIN.SFX
- merge:
dst: $GAMEDIR/games/tr2/fmv
src: $GAMEDIR/tmp/fmv
- merge:
dst: $GAMEDIR/games/tr2/music
src: $GAMEDIR/tmp/music
- extract:
dst: $GAMEDIR/games/tr2-gm/levels
file: dlc
- move:
dst: $GAMEDIR/games/tr2-gm
src: $GAMEDIR/games/tr2-gm/levels/main_gm.sfx
- extract:
dst: $GAMEDIR
file: engine
- chmodx: $GAMEDIR/TRX
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-trx
name: Tomb Raider II
notes: "- Using TRX open source engine\r\n- \"The Golden Mask\" extension included"
runner: linux
script:
files:
- engine: https://github.com/LostArtefacts/TRX/releases/download/trx-1.8.1/TRX-1.8.1-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:
args: --mod tr2
exe: TRX
launch_configs:
- args: --mod tr2-gm
exe: $GAMEDIR/TRX
name: Tomb Raider II - The Golden Mask
installer:
- extract:
dst: $GAMEDIR/tmp
file: gogsetup
format: gog
- 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/games/tr2/levels
src: $GAMEDIR/tmp/data
- move:
dst: $GAMEDIR/games/tr2
src: $GAMEDIR/games/tr2/levels/MAIN.SFX
- merge:
dst: $GAMEDIR/games/tr2/fmv
src: $GAMEDIR/tmp/fmv
- merge:
dst: $GAMEDIR/games/tr2/music
src: $GAMEDIR/tmp/music
- extract:
dst: $GAMEDIR/games/tr2-gm/levels
file: dlc
- move:
dst: $GAMEDIR/games/tr2-gm
src: $GAMEDIR/games/tr2-gm/levels/main_gm.sfx
- extract:
dst: $GAMEDIR
file: engine
- chmodx: $GAMEDIR/TRX
slug: tomb-raider-ii-gog-trx
steamid: 225300
version: GOG + TRX
year: 1997
{
"game_slug": "tomb-raider-ii",
"version": "GOG + TRX",
"description": "Play \"Tomb Raider II\" provided by GOG on Linux!",
"notes": "- Using TRX 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-trx",
"installer_slug": "tomb-raider-ii-gog-trx",
"script": {
"files": [
{
"engine": "https://github.com/LostArtefacts/TRX/releases/download/trx-1.8.1/TRX-1.8.1-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": {
"args": "--mod tr2",
"exe": "TRX",
"launch_configs": [
{
"args": "--mod tr2-gm",
"exe": "$GAMEDIR/TRX",
"name": "Tomb Raider II - The Golden Mask"
}
]
},
"installer": [
{
"extract": {
"dst": "$GAMEDIR/tmp",
"file": "gogsetup",
"format": "gog"
}
},
{
"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/games/tr2/levels",
"src": "$GAMEDIR/tmp/data"
}
},
{
"move": {
"dst": "$GAMEDIR/games/tr2",
"src": "$GAMEDIR/games/tr2/levels/MAIN.SFX"
}
},
{
"merge": {
"dst": "$GAMEDIR/games/tr2/fmv",
"src": "$GAMEDIR/tmp/fmv"
}
},
{
"merge": {
"dst": "$GAMEDIR/games/tr2/music",
"src": "$GAMEDIR/tmp/music"
}
},
{
"extract": {
"dst": "$GAMEDIR/games/tr2-gm/levels",
"file": "dlc"
}
},
{
"move": {
"dst": "$GAMEDIR/games/tr2-gm",
"src": "$GAMEDIR/games/tr2-gm/levels/main_gm.sfx"
}
},
{
"extract": {
"dst": "$GAMEDIR",
"file": "engine"
}
},
{
"chmodx": "$GAMEDIR/TRX"
}
]
}
}