Installer freespace-2-fs2_open

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

exe: freespace2/fs2_open.sh
files:
- game: https://github.com/scp-fs2open/fs2open.github.com/releases/download/release_3_8_0/fs2_open_3_8_0-builds-Linux.tar.gz
game:
  args: -res 800x600 -nospec -noglow -noenv -nonormal -noheight -old_collision
  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_3_8_0_x64.AppImage
      \"$$@\"'>$GAMEDIR/freespace2/fs2_open.sh"
    file: /bin/sh
    terminal: false
- chmodx: $GAMEDIR/freespace2/fs2_open.sh
requires: freespace-2-gogcom
{
  "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_3_8_0_x64.AppImage \\\"$$@\\\"'>$GAMEDIR/freespace2/fs2_open.sh\"",
        "file": "/bin/sh",
        "terminal": false
      }
    },
    {
      "chmodx": "$GAMEDIR/freespace2/fs2_open.sh"
    }
  ],
  "game": {
    "args": "-res 800x600 -nospec -noglow -noenv -nonormal -noheight -old_collision",
    "working_dir": "$GAMEDIR/freespace2"
  },
  "exe": "freespace2/fs2_open.sh",
  "requires": "freespace-2-gogcom",
  "files": [
    {
      "game": "https://github.com/scp-fs2open/fs2open.github.com/releases/download/release_3_8_0/fs2_open_3_8_0-builds-Linux.tar.gz"
    }
  ]
}
Back to game