files:
- game: https://github.com/scp-fs2open/fs2open.github.com/releases/download/release_21_0_0/fs2_open_21_0_0-builds-Linux.tar.gz
game:
args: -res $RESOLUTION
exe: freespace2/fs2_open.sh
working_dir: $GAMEDIR/freespace2
installer:
- extract:
description: extracting...
dst: $GAMEDIR/freespace2
file: $game
- execute:
args: -c "chmod +x $GAMEDIR/freespace2/fs2_open_*"
file: /bin/sh
terminal: false
- execute:
args: -c "printf '#!/bin/sh\ncd $GAMEDIR/freespace2\n./fs2_open_21_0_0_x64.AppImage
\"$$@\"'>$GAMEDIR/freespace2/fs2_open.sh"
file: /bin/sh
terminal: false
- chmodx: $GAMEDIR/freespace2/fs2_open.sh
requires: freespace-2-gog
description: null
game_slug: freespace-2
gogslug: freespace_2
humblestoreid: ''
installer_slug: freespace-2-fs2_open
name: Freespace 2
notes: '- official x86-32 binary
- uses the gog.com data files
- see reference ( http://www.hard-light.net/wiki/index.php/Command-Line_Reference
) for all possible options'
runner: linux
script:
files:
- game: https://github.com/scp-fs2open/fs2open.github.com/releases/download/release_21_0_0/fs2_open_21_0_0-builds-Linux.tar.gz
game:
args: -res $RESOLUTION
exe: freespace2/fs2_open.sh
working_dir: $GAMEDIR/freespace2
installer:
- extract:
description: extracting...
dst: $GAMEDIR/freespace2
file: $game
- execute:
args: -c "chmod +x $GAMEDIR/freespace2/fs2_open_*"
file: /bin/sh
terminal: false
- execute:
args: -c "printf '#!/bin/sh\ncd $GAMEDIR/freespace2\n./fs2_open_21_0_0_x64.AppImage
\"$$@\"'>$GAMEDIR/freespace2/fs2_open.sh"
file: /bin/sh
terminal: false
- chmodx: $GAMEDIR/freespace2/fs2_open.sh
requires: freespace-2-gog
slug: freespace-2-fs2_open
steamid: 273620
version: fs2_open
year: 1999
{
"game_slug": "freespace-2",
"version": "fs2_open",
"description": null,
"notes": "- official x86-32 binary\n- uses the gog.com data files\n- see reference ( http://www.hard-light.net/wiki/index.php/Command-Line_Reference ) for all possible options",
"name": "Freespace 2",
"year": 1999,
"steamid": 273620,
"gogslug": "freespace_2",
"humblestoreid": "",
"runner": "linux",
"slug": "freespace-2-fs2_open",
"installer_slug": "freespace-2-fs2_open",
"script": {
"files": [
{
"game": "https://github.com/scp-fs2open/fs2open.github.com/releases/download/release_21_0_0/fs2_open_21_0_0-builds-Linux.tar.gz"
}
],
"game": {
"args": "-res $RESOLUTION",
"exe": "freespace2/fs2_open.sh",
"working_dir": "$GAMEDIR/freespace2"
},
"installer": [
{
"extract": {
"description": "extracting...",
"dst": "$GAMEDIR/freespace2",
"file": "$game"
}
},
{
"execute": {
"args": "-c \"chmod +x $GAMEDIR/freespace2/fs2_open_*\"",
"file": "/bin/sh",
"terminal": false
}
},
{
"execute": {
"args": "-c \"printf '#!/bin/sh\\ncd $GAMEDIR/freespace2\\n./fs2_open_21_0_0_x64.AppImage \\\"$$@\\\"'>$GAMEDIR/freespace2/fs2_open.sh\"",
"file": "/bin/sh",
"terminal": false
}
},
{
"chmodx": "$GAMEDIR/freespace2/fs2_open.sh"
}
],
"requires": "freespace-2-gog"
}
}