Installer jazz-jackrabbit-2-gog

files:
- setup: N/A:Please select the GOG.com Jazz Jackrabbit 2 with JJ2+ installer executable
- helper: https://gist.github.com/daniel-j/83bf128212c085cc99989e4d1e33ffb1/archive/master.zip
game:
  arch: win32
  args: -windowed
  exe: drive_c/Games/Jazz2/Jazz2.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    key: Last VideoMode
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Epic MegaGames\Jazz Jackrabbit 2 Special Edition\1.24\System
    prefix: $GAMEDIR
    type: REG_BINARY
    value: 04 00 00 00
- task:
    key: Desktop
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Explorer
    prefix: $GAMEDIR
    value: Installing Jazz Jackrabbit 2
- task:
    key: Installing Jazz Jackrabbit 2
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Explorer\Desktops
    prefix: $GAMEDIR
    value: 800x600
- task:
    args: /SP- /DIR="C:\\Games\\Jazz2" /NOICONS /NORESTART /CLOSEAPPLICATIONS
    description: Installing game
    exclude_processes: jazz2.exe
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- task:
    key: Desktop
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Explorer
    prefix: $GAMEDIR
    value: ''
- task:
    description: Stopping wine processes
    name: winekill
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/helper/
    file: helper
- merge:
    dst: $GAMEDIR/drive_c/Games/Jazz2/
    src: $GAMEDIR/drive_c/helper/JAZZ2.CFG
- write_config:
    file: $GAMEDIR/drive_c/Games/Jazz2/plus.ini
    key: GameInfo
    section: General
    value: 1
- write_config:
    file: $GAMEDIR/drive_c/Games/Jazz2/plus.ini
    key: PlayerListSort
    section: General
    value: 2
- write_config:
    file: $GAMEDIR/drive_c/Games/Jazz2/plus.ini
    key: MouseAim
    section: General
    value: false
- write_config:
    file: $GAMEDIR/drive_c/Games/Jazz2/plus.ini
    key: AllowSpectating
    section: Server
    value: true
- task:
    description: Applying some registry fixes
    filename: $GAMEDIR/drive_c/helper/reset.reg
    name: set_regedit_file
    prefix: $GAMEDIR
description: Installs Jazz Jackrabbit 2 from a GOG installer
game_slug: jazz-jackrabbit-2
gogslug: jazz_jackrabbit_2_collection
humblestoreid: ''
installer_slug: jazz-jackrabbit-2-gog
name: Jazz Jackrabbit 2
notes: "Use the JJ2+ version from GOG.com (required for online play)\r\n\r\nDownload\
  \ JJ2+ directly from GOG.com"
runner: wine
script:
  files:
  - setup: N/A:Please select the GOG.com Jazz Jackrabbit 2 with JJ2+ installer executable
  - helper: https://gist.github.com/daniel-j/83bf128212c085cc99989e4d1e33ffb1/archive/master.zip
  game:
    arch: win32
    args: -windowed
    exe: drive_c/Games/Jazz2/Jazz2.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win32
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      key: Last VideoMode
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Epic MegaGames\Jazz Jackrabbit 2 Special Edition\1.24\System
      prefix: $GAMEDIR
      type: REG_BINARY
      value: 04 00 00 00
  - task:
      key: Desktop
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\Explorer
      prefix: $GAMEDIR
      value: Installing Jazz Jackrabbit 2
  - task:
      key: Installing Jazz Jackrabbit 2
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\Explorer\Desktops
      prefix: $GAMEDIR
      value: 800x600
  - task:
      args: /SP- /DIR="C:\\Games\\Jazz2" /NOICONS /NORESTART /CLOSEAPPLICATIONS
      description: Installing game
      exclude_processes: jazz2.exe
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  - task:
      key: Desktop
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\Explorer
      prefix: $GAMEDIR
      value: ''
  - task:
      description: Stopping wine processes
      name: winekill
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/helper/
      file: helper
  - merge:
      dst: $GAMEDIR/drive_c/Games/Jazz2/
      src: $GAMEDIR/drive_c/helper/JAZZ2.CFG
  - write_config:
      file: $GAMEDIR/drive_c/Games/Jazz2/plus.ini
      key: GameInfo
      section: General
      value: 1
  - write_config:
      file: $GAMEDIR/drive_c/Games/Jazz2/plus.ini
      key: PlayerListSort
      section: General
      value: 2
  - write_config:
      file: $GAMEDIR/drive_c/Games/Jazz2/plus.ini
      key: MouseAim
      section: General
      value: false
  - write_config:
      file: $GAMEDIR/drive_c/Games/Jazz2/plus.ini
      key: AllowSpectating
      section: Server
      value: true
  - task:
      description: Applying some registry fixes
      filename: $GAMEDIR/drive_c/helper/reset.reg
      name: set_regedit_file
      prefix: $GAMEDIR
slug: jazz-jackrabbit-2-gog
steamid: null
version: GOG
year: 1998
{
  "game_slug": "jazz-jackrabbit-2",
  "version": "GOG",
  "description": "Installs Jazz Jackrabbit 2 from a GOG installer",
  "notes": "Use the JJ2+ version from GOG.com (required for online play)\r\n\r\nDownload JJ2+ directly from GOG.com",
  "name": "Jazz Jackrabbit 2",
  "year": 1998,
  "steamid": null,
  "gogslug": "jazz_jackrabbit_2_collection",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "jazz-jackrabbit-2-gog",
  "installer_slug": "jazz-jackrabbit-2-gog",
  "script": {
    "files": [
      {
        "setup": "N/A:Please select the GOG.com Jazz Jackrabbit 2 with JJ2+ installer executable"
      },
      {
        "helper": "https://gist.github.com/daniel-j/83bf128212c085cc99989e4d1e33ffb1/archive/master.zip"
      }
    ],
    "game": {
      "arch": "win32",
      "args": "-windowed",
      "exe": "drive_c/Games/Jazz2/Jazz2.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "key": "Last VideoMode",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Epic MegaGames\\Jazz Jackrabbit 2 Special Edition\\1.24\\System",
          "prefix": "$GAMEDIR",
          "type": "REG_BINARY",
          "value": "04 00 00 00"
        }
      },
      {
        "task": {
          "key": "Desktop",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\Explorer",
          "prefix": "$GAMEDIR",
          "value": "Installing Jazz Jackrabbit 2"
        }
      },
      {
        "task": {
          "key": "Installing Jazz Jackrabbit 2",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\Explorer\\Desktops",
          "prefix": "$GAMEDIR",
          "value": "800x600"
        }
      },
      {
        "task": {
          "args": "/SP- /DIR=\"C:\\\\Games\\\\Jazz2\" /NOICONS /NORESTART /CLOSEAPPLICATIONS",
          "description": "Installing game",
          "exclude_processes": "jazz2.exe",
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "key": "Desktop",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\Explorer",
          "prefix": "$GAMEDIR",
          "value": ""
        }
      },
      {
        "task": {
          "description": "Stopping wine processes",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/helper/",
          "file": "helper"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Games/Jazz2/",
          "src": "$GAMEDIR/drive_c/helper/JAZZ2.CFG"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/drive_c/Games/Jazz2/plus.ini",
          "key": "GameInfo",
          "section": "General",
          "value": 1
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/drive_c/Games/Jazz2/plus.ini",
          "key": "PlayerListSort",
          "section": "General",
          "value": 2
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/drive_c/Games/Jazz2/plus.ini",
          "key": "MouseAim",
          "section": "General",
          "value": false
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/drive_c/Games/Jazz2/plus.ini",
          "key": "AllowSpectating",
          "section": "Server",
          "value": true
        }
      },
      {
        "task": {
          "description": "Applying some registry fixes",
          "filename": "$GAMEDIR/drive_c/helper/reset.reg",
          "name": "set_regedit_file",
          "prefix": "$GAMEDIR"
        }
      }
    ]
  }
}
Back to game