Installer zeroranger-demo

files:
- demozip: N/A:Select zip archive downloaded from itch.io
- dxsetup: https://lutris.net/files/tools/directx-2010.tar.gz
game:
  arch: win64
  exe: drive_c/Program Files (x86)/ZeroRanger/ZeroRangerDEMO.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- execute:
    command: mkdir "$GAMEDIR/drive_c/Program Files (x86)/ZeroRanger"
- extract:
    dst: $CACHE
    src: $demozip
- task:
    arch: win64
    args: /C /T:"C:\\Program Files (x86)\\ZeroRanger"
    executable: $CACHE/ZeroRangerDEMO.exe
    name: wineexec
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/ZeroRanger
    src: $CACHE/readme.txt
- extract:
    dst: $CACHE/dxsetup
    file: $dxsetup
- task:
    arch: win64
    args: /silent
    executable: $CACHE/dxsetup/DXSETUP.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
description: null
game_slug: zeroranger
gogslug: ''
humblestoreid: ''
installer_slug: zeroranger-demo
name: ZeroRanger
notes: Download demo from itch.io before proceeding. <a href="https://system-erasure.itch.io/zerorangerdemo">https://system-erasure.itch.io/zerorangerdemo</a>
runner: wine
script:
  files:
  - demozip: N/A:Select zip archive downloaded from itch.io
  - dxsetup: https://lutris.net/files/tools/directx-2010.tar.gz
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/ZeroRanger/ZeroRangerDEMO.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - execute:
      command: mkdir "$GAMEDIR/drive_c/Program Files (x86)/ZeroRanger"
  - extract:
      dst: $CACHE
      src: $demozip
  - task:
      arch: win64
      args: /C /T:"C:\\Program Files (x86)\\ZeroRanger"
      executable: $CACHE/ZeroRangerDEMO.exe
      name: wineexec
      prefix: $GAMEDIR
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/ZeroRanger
      src: $CACHE/readme.txt
  - extract:
      dst: $CACHE/dxsetup
      file: $dxsetup
  - task:
      arch: win64
      args: /silent
      executable: $CACHE/dxsetup/DXSETUP.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      name: winekill
      prefix: $GAMEDIR
slug: zeroranger-demo
steamid: 809020
version: Demo
year: 2018
{
  "game_slug": "zeroranger",
  "version": "Demo",
  "description": null,
  "notes": "Download demo from itch.io before proceeding. <a href=\"https://system-erasure.itch.io/zerorangerdemo\">https://system-erasure.itch.io/zerorangerdemo</a>",
  "name": "ZeroRanger",
  "year": 2018,
  "steamid": 809020,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "zeroranger-demo",
  "installer_slug": "zeroranger-demo",
  "script": {
    "files": [
      {
        "demozip": "N/A:Select zip archive downloaded from itch.io"
      },
      {
        "dxsetup": "https://lutris.net/files/tools/directx-2010.tar.gz"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/ZeroRanger/ZeroRangerDEMO.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "mkdir \"$GAMEDIR/drive_c/Program Files (x86)/ZeroRanger\""
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "src": "$demozip"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "/C /T:\"C:\\\\Program Files (x86)\\\\ZeroRanger\"",
          "executable": "$CACHE/ZeroRangerDEMO.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/ZeroRanger",
          "src": "$CACHE/readme.txt"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/dxsetup",
          "file": "$dxsetup"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "/silent",
          "executable": "$CACHE/dxsetup/DXSETUP.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ]
  }
}
Back to game