Installer oni-daodan-dll

files:
- oni_installer: N/A:Please select the installer on the game disc, which is called
    onisetup.exe.
- daodan_dll: http://mods.oni2.net/system/files/DaodanDLL.zip
game:
  arch: win32
  exe: $ONIDIR/Oni.exe
  prefix: $GAMEDIR
installer:
- input_menu:
    description: Choose the version of the Daodan DLL patch to install. To learn about
      the beta and FPS forks, see https://wiki.oni2.net/Daodan_DLL/Change_log.
    id: DLL
    options:
    - main: Mainline (v4.1)
    - beta: Beta (v4.2b1)
    - fps: FPS with ODE (v1165.6)
    preselect: main
- task:
    description: Creating Wine prefix...
    name: create_prefix
    prefix: $GAMEDIR
- 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/DLL
    file: daodan_dll
    format: zip
- move:
    description: Moving original binkw32.dll to avoid name conflict...
    dst: $GAMEDIR/$ONIDIR/binkw32-original.dll
    src: $GAMEDIR/$ONIDIR/binkw32.dll
- merge:
    description: Moving Daodan patch into game folder...
    dst: $GAMEDIR/$ONIDIR
    src: $CACHE/DLL/$INPUT_DLL
- move:
    description: Moving original Oni.exe to avoid name conflict...
    dst: $GAMEDIR/$ONIDIR/Oni-original.exe
    src: $GAMEDIR/$ONIDIR/Oni.exe
- merge:
    description: Moving standardized game EXE into game folder...
    dst: $GAMEDIR/$ONIDIR
    src: $CACHE/DLL/Oni.exe
variables:
  ONIDIR: drive_c/Program Files/Oni
description: Installs game from CD and adds fan patch
game_slug: oni
gogslug: ''
humblestoreid: ''
installer_slug: oni-daodan-dll
name: Oni
notes: This version only installs the patch needed to avoid crashing at startup.  You
  can select your desired variant of the Daodan DLL patch during installation.
runner: wine
script:
  files:
  - oni_installer: N/A:Please select the installer on the game disc, which is called
      onisetup.exe.
  - daodan_dll: http://mods.oni2.net/system/files/DaodanDLL.zip
  game:
    arch: win32
    exe: $ONIDIR/Oni.exe
    prefix: $GAMEDIR
  installer:
  - input_menu:
      description: Choose the version of the Daodan DLL patch to install. To learn
        about the beta and FPS forks, see https://wiki.oni2.net/Daodan_DLL/Change_log.
      id: DLL
      options:
      - main: Mainline (v4.1)
      - beta: Beta (v4.2b1)
      - fps: FPS with ODE (v1165.6)
      preselect: main
  - task:
      description: Creating Wine prefix...
      name: create_prefix
      prefix: $GAMEDIR
  - 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/DLL
      file: daodan_dll
      format: zip
  - move:
      description: Moving original binkw32.dll to avoid name conflict...
      dst: $GAMEDIR/$ONIDIR/binkw32-original.dll
      src: $GAMEDIR/$ONIDIR/binkw32.dll
  - merge:
      description: Moving Daodan patch into game folder...
      dst: $GAMEDIR/$ONIDIR
      src: $CACHE/DLL/$INPUT_DLL
  - move:
      description: Moving original Oni.exe to avoid name conflict...
      dst: $GAMEDIR/$ONIDIR/Oni-original.exe
      src: $GAMEDIR/$ONIDIR/Oni.exe
  - merge:
      description: Moving standardized game EXE into game folder...
      dst: $GAMEDIR/$ONIDIR
      src: $CACHE/DLL/Oni.exe
  variables:
    ONIDIR: drive_c/Program Files/Oni
slug: oni-daodan-dll
steamid: null
version: Daodan DLL
year: 2001
{
  "game_slug": "oni",
  "version": "Daodan DLL",
  "description": "Installs game from CD and adds fan patch",
  "notes": "This version only installs the patch needed to avoid crashing at startup.  You can select your desired variant of the Daodan DLL patch during installation.",
  "name": "Oni",
  "year": 2001,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "oni-daodan-dll",
  "installer_slug": "oni-daodan-dll",
  "script": {
    "files": [
      {
        "oni_installer": "N/A:Please select the installer on the game disc, which is called onisetup.exe."
      },
      {
        "daodan_dll": "http://mods.oni2.net/system/files/DaodanDLL.zip"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$ONIDIR/Oni.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "input_menu": {
          "description": "Choose the version of the Daodan DLL patch to install. To learn about the beta and FPS forks, see https://wiki.oni2.net/Daodan_DLL/Change_log.",
          "id": "DLL",
          "options": [
            {
              "main": "Mainline (v4.1)"
            },
            {
              "beta": "Beta (v4.2b1)"
            },
            {
              "fps": "FPS with ODE (v1165.6)"
            }
          ],
          "preselect": "main"
        }
      },
      {
        "task": {
          "description": "Creating Wine prefix...",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "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/DLL",
          "file": "daodan_dll",
          "format": "zip"
        }
      },
      {
        "move": {
          "description": "Moving original binkw32.dll to avoid name conflict...",
          "dst": "$GAMEDIR/$ONIDIR/binkw32-original.dll",
          "src": "$GAMEDIR/$ONIDIR/binkw32.dll"
        }
      },
      {
        "merge": {
          "description": "Moving Daodan patch into game folder...",
          "dst": "$GAMEDIR/$ONIDIR",
          "src": "$CACHE/DLL/$INPUT_DLL"
        }
      },
      {
        "move": {
          "description": "Moving original Oni.exe to avoid name conflict...",
          "dst": "$GAMEDIR/$ONIDIR/Oni-original.exe",
          "src": "$GAMEDIR/$ONIDIR/Oni.exe"
        }
      },
      {
        "merge": {
          "description": "Moving standardized game EXE into game folder...",
          "dst": "$GAMEDIR/$ONIDIR",
          "src": "$CACHE/DLL/Oni.exe"
        }
      }
    ],
    "variables": {
      "ONIDIR": "drive_c/Program Files/Oni"
    }
  }
}
Back to game