Installer unreal-gold-gog

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: start.sh
files:
- game: N/A:Please select the GOG.com Windows installer.
- libs: https://lutris.net/files/games/unreal-gold/old-unreal-227i.tar.bz2
- innoextract: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
installer:
- extract:
    dst: $CACHE/innoextract
    file: innoextract
- execute:
    args: --extract $game --output-dir $CACHE/unreal-gold/
    file: $CACHE/innoextract/innoextract
- merge:
    dst: $GAMEDIR
    src: $CACHE/unreal-gold/app
- extract:
    dst: $GAMEDIR
    file: libs
- execute:
    args: '-c ''printf "#!/bin/sh

      cd $GAMEDIR/System

      MESA_EXTENSION_MAX_YEAR=1999 LD_LIBRARY_PATH=$GAMEDIR/lib:$GAMEDIR/System exec
      ./UnrealLinux.bin "$@""> $GAMEDIR/start.sh'''
    file: /bin/sh
- chmodx: $GAMEDIR/start.sh
- chmodx: $GAMEDIR/System/UnrealLinux.bin
{
  "exe": "start.sh",
  "files": [
    {
      "game": "N/A:Please select the GOG.com Windows installer."
    },
    {
      "libs": "https://lutris.net/files/games/unreal-gold/old-unreal-227i.tar.bz2"
    },
    {
      "innoextract": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    }
  ],
  "installer": [
    {
      "extract": {
        "dst": "$CACHE/innoextract",
        "file": "innoextract"
      }
    },
    {
      "execute": {
        "args": "--extract $game --output-dir $CACHE/unreal-gold/",
        "file": "$CACHE/innoextract/innoextract"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR",
        "src": "$CACHE/unreal-gold/app"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR",
        "file": "libs"
      }
    },
    {
      "execute": {
        "args": "-c 'printf \"#!/bin/sh\ncd $GAMEDIR/System\nMESA_EXTENSION_MAX_YEAR=1999 LD_LIBRARY_PATH=$GAMEDIR/lib:$GAMEDIR/System exec ./UnrealLinux.bin \"$@\"\"> $GAMEDIR/start.sh'",
        "file": "/bin/sh"
      }
    },
    {
      "chmodx": "$GAMEDIR/start.sh"
    },
    {
      "chmodx": "$GAMEDIR/System/UnrealLinux.bin"
    }
  ]
}
Back to game