Installer sphinx-and-the-cursed-mummy-gog-wine

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.

custom-name: Sphinx and the Cursed Mummy - GOG - Wine
files:
- gog: N/A:Please select the GOG Windows setup file.
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  arch: win64
  exe: drive_c/GOG Games/Sphinx and the Cursed Mummy/SphinxD_GL.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE
    file: inno
- execute:
    args: -d "$GAMEDIR/drive_c/Sphinx and the Cursed Mummy" "$gog"
    file: $CACHE/innoextract
- execute:
    command: cd "$GAMEDIR/drive_c/"; mkdir "GOG Games"; mv "Sphinx and the Cursed
      Mummy" "GOG Games"; cd "GOG Games/Sphinx and the Cursed Mummy"; rm -f -r app
      commonappdata __redist tmp goggame-1118073204.*;
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
wine:
  Desktop: true
{
  "custom-name": "Sphinx and the Cursed Mummy - GOG - Wine",
  "files": [
    {
      "gog": "N/A:Please select the GOG Windows setup file."
    },
    {
      "inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    }
  ],
  "game": {
    "arch": "win64",
    "exe": "drive_c/GOG Games/Sphinx and the Cursed Mummy/SphinxD_GL.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "install_gecko": false,
        "install_mono": false,
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "dst": "$CACHE",
        "file": "inno"
      }
    },
    {
      "execute": {
        "args": "-d \"$GAMEDIR/drive_c/Sphinx and the Cursed Mummy\" \"$gog\"",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "execute": {
        "command": "cd \"$GAMEDIR/drive_c/\"; mkdir \"GOG Games\"; mv \"Sphinx and the Cursed Mummy\" \"GOG Games\"; cd \"GOG Games/Sphinx and the Cursed Mummy\"; rm -f -r app commonappdata __redist tmp goggame-1118073204.*;"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "background",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "0 0 0"
      }
    }
  ],
  "wine": {
    "Desktop": true
  }
}
Back to game