Installer jazz-jackrabbit-2-full-local-installer

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.

files:
- game: N/A:Select JJ2 installer exe
- plus: http://www.jazz2online.com/jj2plus/plus.zip
- ahk: https://autohotkey.com/download/ahk.zip
- helper: https://gist.github.com/daniel-j/83bf128212c085cc99989e4d1e33ffb1/archive/master.zip
- patch: http://www.jazz2online.com/J2Ov2/upload/misc/j2patch_123r.exe
game:
  arch: win32
  args: -menu -windowed -nolog -nospy
  exe: $GAMEDIR/drive_c/Games/Jazz2/Jazz2+.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/helper/
    file: ahk
- extract:
    dst: $GAMEDIR/drive_c/helper/
    file: helper
- task:
    executable: game
    name: wineexec
    prefix: $GAMEDIR
- task:
    executable: patch
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/Games/Jazz2/
    file: plus
- task:
    args: /C $GAMEDIR/drive_c/helper/plusify.bat
    executable: cmd
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Games/Jazz2
- task:
    filename: $GAMEDIR/drive_c/helper/reset.reg
    name: set_regedit_file
    prefix: $GAMEDIR
- 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
- execute:
    file: $GAMEDIR/drive_c/helper/postinstall.sh
- merge:
    dst: $GAMEDIR/drive_c/Games/Jazz2/
    src: $GAMEDIR/drive_c/helper/JAZZ2.CFG
{
  "installer": [
    {
      "task": {
        "prefix": "$GAMEDIR",
        "name": "create_prefix",
        "arch": "win32"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/helper/",
        "file": "ahk"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/helper/",
        "file": "helper"
      }
    },
    {
      "task": {
        "executable": "game",
        "prefix": "$GAMEDIR",
        "name": "wineexec"
      }
    },
    {
      "task": {
        "executable": "patch",
        "prefix": "$GAMEDIR",
        "name": "wineexec"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/Games/Jazz2/",
        "file": "plus"
      }
    },
    {
      "task": {
        "executable": "cmd",
        "prefix": "$GAMEDIR",
        "name": "wineexec",
        "args": "/C $GAMEDIR/drive_c/helper/plusify.bat",
        "working_dir": "$GAMEDIR/drive_c/Games/Jazz2"
      }
    },
    {
      "task": {
        "filename": "$GAMEDIR/drive_c/helper/reset.reg",
        "prefix": "$GAMEDIR",
        "name": "set_regedit_file"
      }
    },
    {
      "write_config": {
        "section": "General",
        "file": "$GAMEDIR/drive_c/Games/Jazz2/plus.ini",
        "key": "GameInfo",
        "value": 1
      }
    },
    {
      "write_config": {
        "section": "General",
        "file": "$GAMEDIR/drive_c/Games/Jazz2/plus.ini",
        "key": "PlayerListSort",
        "value": 2
      }
    },
    {
      "write_config": {
        "section": "General",
        "file": "$GAMEDIR/drive_c/Games/Jazz2/plus.ini",
        "key": "MouseAim",
        "value": false
      }
    },
    {
      "write_config": {
        "section": "Server",
        "file": "$GAMEDIR/drive_c/Games/Jazz2/plus.ini",
        "key": "AllowSpectating",
        "value": true
      }
    },
    {
      "execute": {
        "file": "$GAMEDIR/drive_c/helper/postinstall.sh"
      }
    },
    {
      "merge": {
        "src": "$GAMEDIR/drive_c/helper/JAZZ2.CFG",
        "dst": "$GAMEDIR/drive_c/Games/Jazz2/"
      }
    }
  ],
  "files": [
    {
      "game": "N/A:Select JJ2 installer exe"
    },
    {
      "plus": "http://www.jazz2online.com/jj2plus/plus.zip"
    },
    {
      "ahk": "https://autohotkey.com/download/ahk.zip"
    },
    {
      "helper": "https://gist.github.com/daniel-j/83bf128212c085cc99989e4d1e33ffb1/archive/master.zip"
    },
    {
      "patch": "http://www.jazz2online.com/J2Ov2/upload/misc/j2patch_123r.exe"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/drive_c/Games/Jazz2/Jazz2+.exe",
    "prefix": "$GAMEDIR",
    "arch": "win32",
    "args": "-menu -windowed -nolog -nospy"
  }
}
Back to game