Installer freespace-2-yet-another-launcher

files:
- game: http://vega.livecd.pl/~havner/yal/linux/yal-0.3-rc2-bin.tar.bz2
- lib32: http://archive.debian.org/debian/pool/main/i/ia32-libs-gtk/ia32-libs-gtk_20140131_amd64.deb
game:
  exe: freespace2/fs2_launcher.sh
  working_dir: $GAMEDIR/drive_c/game
installer:
- extract:
    description: extracting...
    dst: $GAMEDIR/drive_c/game
    file: $game
- execute:
    args: -c "chmod +x $GAMEDIR/freespace2/fs2_launcher"
    file: /bin/sh
    terminal: false
- execute:
    args: -c "rm -f $GAMEDIR/freespace2/btrl_launcher"
    file: /bin/sh
    terminal: false
- execute:
    args: -c "rm -f $GAMEDIR/freespace2/wcsaga_launcher"
    file: /bin/sh
    terminal: false
- execute:
    args: -c "rm -f $GAMEDIR/freespace2/tbp_launcher"
    file: /bin/sh
    terminal: false
- execute:
    args: -c "cd $CACHE && ar x ia32-libs-gtk_20140131_amd64.deb data.tar.gz"
    file: /bin/sh
    terminal: false
- extract:
    dst: $CACHE
    file: $CACHE/data.tar.gz
- move:
    dst: $GAMEDIR/freespace2/lib32
    src: $CACHE/usr/lib32
- execute:
    args: -c "printf '#!/bin/sh\ncd $GAMEDIR/freespace2\nLD_LIBRARY_PATH=$$LD_LIBRARY_PATH:lib32
      ./fs2_launcher \"$$@\"'>$GAMEDIR/freespace2/fs2_launcher.sh"
    file: /bin/sh
    terminal: false
- execute:
    args: -c "printf '[launcher]\nactive_mod = ;\nexe_filepath = $GAMEDIR/freespace2/fs2_open.sh;\ngame_flags
      = ;\n'>$GAMEDIR/freespace2/launcher6.ini"
    file: /bin/sh
    terminal: false
- chmodx: $GAMEDIR/freespace2/fs2_launcher.sh
requires: freespace-2-fs2_open
description: Installs a windows-like Linux launcher
game_slug: freespace-2
gogslug: freespace_2
humblestoreid: ''
installer_slug: freespace-2-yet-another-launcher
name: Freespace 2
notes: ''
runner: linux
script:
  files:
  - game: http://vega.livecd.pl/~havner/yal/linux/yal-0.3-rc2-bin.tar.bz2
  - lib32: http://archive.debian.org/debian/pool/main/i/ia32-libs-gtk/ia32-libs-gtk_20140131_amd64.deb
  game:
    exe: freespace2/fs2_launcher.sh
    working_dir: $GAMEDIR/drive_c/game
  installer:
  - extract:
      description: extracting...
      dst: $GAMEDIR/drive_c/game
      file: $game
  - execute:
      args: -c "chmod +x $GAMEDIR/freespace2/fs2_launcher"
      file: /bin/sh
      terminal: false
  - execute:
      args: -c "rm -f $GAMEDIR/freespace2/btrl_launcher"
      file: /bin/sh
      terminal: false
  - execute:
      args: -c "rm -f $GAMEDIR/freespace2/wcsaga_launcher"
      file: /bin/sh
      terminal: false
  - execute:
      args: -c "rm -f $GAMEDIR/freespace2/tbp_launcher"
      file: /bin/sh
      terminal: false
  - execute:
      args: -c "cd $CACHE && ar x ia32-libs-gtk_20140131_amd64.deb data.tar.gz"
      file: /bin/sh
      terminal: false
  - extract:
      dst: $CACHE
      file: $CACHE/data.tar.gz
  - move:
      dst: $GAMEDIR/freespace2/lib32
      src: $CACHE/usr/lib32
  - execute:
      args: -c "printf '#!/bin/sh\ncd $GAMEDIR/freespace2\nLD_LIBRARY_PATH=$$LD_LIBRARY_PATH:lib32
        ./fs2_launcher \"$$@\"'>$GAMEDIR/freespace2/fs2_launcher.sh"
      file: /bin/sh
      terminal: false
  - execute:
      args: -c "printf '[launcher]\nactive_mod = ;\nexe_filepath = $GAMEDIR/freespace2/fs2_open.sh;\ngame_flags
        = ;\n'>$GAMEDIR/freespace2/launcher6.ini"
      file: /bin/sh
      terminal: false
  - chmodx: $GAMEDIR/freespace2/fs2_launcher.sh
  requires: freespace-2-fs2_open
slug: freespace-2-yet-another-launcher
steamid: 273620
version: Yet Another Launcher
year: 1999
{
  "game_slug": "freespace-2",
  "version": "Yet Another Launcher",
  "description": "Installs a windows-like Linux launcher",
  "notes": "",
  "name": "Freespace 2",
  "year": 1999,
  "steamid": 273620,
  "gogslug": "freespace_2",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "freespace-2-yet-another-launcher",
  "installer_slug": "freespace-2-yet-another-launcher",
  "script": {
    "files": [
      {
        "game": "http://vega.livecd.pl/~havner/yal/linux/yal-0.3-rc2-bin.tar.bz2"
      },
      {
        "lib32": "http://archive.debian.org/debian/pool/main/i/ia32-libs-gtk/ia32-libs-gtk_20140131_amd64.deb"
      }
    ],
    "game": {
      "exe": "freespace2/fs2_launcher.sh",
      "working_dir": "$GAMEDIR/drive_c/game"
    },
    "installer": [
      {
        "extract": {
          "description": "extracting...",
          "dst": "$GAMEDIR/drive_c/game",
          "file": "$game"
        }
      },
      {
        "execute": {
          "args": "-c \"chmod +x $GAMEDIR/freespace2/fs2_launcher\"",
          "file": "/bin/sh",
          "terminal": false
        }
      },
      {
        "execute": {
          "args": "-c \"rm -f $GAMEDIR/freespace2/btrl_launcher\"",
          "file": "/bin/sh",
          "terminal": false
        }
      },
      {
        "execute": {
          "args": "-c \"rm -f $GAMEDIR/freespace2/wcsaga_launcher\"",
          "file": "/bin/sh",
          "terminal": false
        }
      },
      {
        "execute": {
          "args": "-c \"rm -f $GAMEDIR/freespace2/tbp_launcher\"",
          "file": "/bin/sh",
          "terminal": false
        }
      },
      {
        "execute": {
          "args": "-c \"cd $CACHE && ar x ia32-libs-gtk_20140131_amd64.deb data.tar.gz\"",
          "file": "/bin/sh",
          "terminal": false
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$CACHE/data.tar.gz"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/freespace2/lib32",
          "src": "$CACHE/usr/lib32"
        }
      },
      {
        "execute": {
          "args": "-c \"printf '#!/bin/sh\\ncd $GAMEDIR/freespace2\\nLD_LIBRARY_PATH=$$LD_LIBRARY_PATH:lib32 ./fs2_launcher \\\"$$@\\\"'>$GAMEDIR/freespace2/fs2_launcher.sh\"",
          "file": "/bin/sh",
          "terminal": false
        }
      },
      {
        "execute": {
          "args": "-c \"printf '[launcher]\\nactive_mod = ;\\nexe_filepath = $GAMEDIR/freespace2/fs2_open.sh;\\ngame_flags = ;\\n'>$GAMEDIR/freespace2/launcher6.ini\"",
          "file": "/bin/sh",
          "terminal": false
        }
      },
      {
        "chmodx": "$GAMEDIR/freespace2/fs2_launcher.sh"
      }
    ],
    "requires": "freespace-2-fs2_open"
  }
}
Back to game