Installer oni-onix

files:
- oni_installer: N/A:Please select the installer on the game disc, which is called
    onisetup.exe.
- onix_installer: http://mods.oni2.net/system/files/OniX-v1.0.0-Win_0.zip
game:
  arch: win32
  exe: $ONIDIR/OniX.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: dotnet20
    name: winetricks
    silent: true
- task:
    app: msacm32
    name: winetricks
    silent: true
- task:
    description: Installing Oni; installer will now appear (it may be underneath this
      window). Use the installer's default directory of C:\Program Files\Oni when
      asked for the destination. Say "No" when asked about running GLSetup.
    executable: oni_installer
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/OniX
    file: onix_installer
    format: zip
- merge:
    description: Moving OniX files into game folder...
    dst: $GAMEDIR/$ONIDIR
    src: $CACHE/OniX
- execute:
    command: cd "$GAMEDIR/$ONIDIR" && wineconsole cmd /c GameDataConvert.bat
    description: Running OniX installer...
variables:
  ONIDIR: drive_c/Program Files/Oni
description: Installs the game from CD and adds OniX engine
game_slug: oni
gogslug: ''
humblestoreid: ''
installer_slug: oni-onix
name: Oni
notes: OniX is a fan-made rebuild of the game engine.
runner: wine
script:
  files:
  - oni_installer: N/A:Please select the installer on the game disc, which is called
      onisetup.exe.
  - onix_installer: http://mods.oni2.net/system/files/OniX-v1.0.0-Win_0.zip
  game:
    arch: win32
    exe: $ONIDIR/OniX.exe
    prefix: $GAMEDIR
  installer:
  - task:
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: dotnet20
      name: winetricks
      silent: true
  - task:
      app: msacm32
      name: winetricks
      silent: true
  - task:
      description: Installing Oni; installer will now appear (it may be underneath
        this window). Use the installer's default directory of C:\Program Files\Oni
        when asked for the destination. Say "No" when asked about running GLSetup.
      executable: oni_installer
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE/OniX
      file: onix_installer
      format: zip
  - merge:
      description: Moving OniX files into game folder...
      dst: $GAMEDIR/$ONIDIR
      src: $CACHE/OniX
  - execute:
      command: cd "$GAMEDIR/$ONIDIR" && wineconsole cmd /c GameDataConvert.bat
      description: Running OniX installer...
  variables:
    ONIDIR: drive_c/Program Files/Oni
slug: oni-onix
steamid: null
version: OniX
year: 2001
{
  "game_slug": "oni",
  "version": "OniX",
  "description": "Installs the game from CD and adds OniX engine",
  "notes": "OniX is a fan-made rebuild of the game engine.",
  "name": "Oni",
  "year": 2001,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "oni-onix",
  "installer_slug": "oni-onix",
  "script": {
    "files": [
      {
        "oni_installer": "N/A:Please select the installer on the game disc, which is called onisetup.exe."
      },
      {
        "onix_installer": "http://mods.oni2.net/system/files/OniX-v1.0.0-Win_0.zip"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$ONIDIR/OniX.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "dotnet20",
          "name": "winetricks",
          "silent": true
        }
      },
      {
        "task": {
          "app": "msacm32",
          "name": "winetricks",
          "silent": true
        }
      },
      {
        "task": {
          "description": "Installing Oni; installer will now appear (it may be underneath this window). Use the installer's default directory of C:\\Program Files\\Oni when asked for the destination. Say \"No\" when asked about running GLSetup.",
          "executable": "oni_installer",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/OniX",
          "file": "onix_installer",
          "format": "zip"
        }
      },
      {
        "merge": {
          "description": "Moving OniX files into game folder...",
          "dst": "$GAMEDIR/$ONIDIR",
          "src": "$CACHE/OniX"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/$ONIDIR\" && wineconsole cmd /c GameDataConvert.bat",
          "description": "Running OniX installer..."
        }
      }
    ],
    "variables": {
      "ONIDIR": "drive_c/Program Files/Oni"
    }
  }
}
Back to game