Installer wolfenstein-the-new-order-gog

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:
- installer: N/A:Select the game's setup file
game:
  arch: win64
  args: +com_skipIntroVideo $INPUT_INTRO_SKIP
  exe: $GAMEDIR/drive_c/GOG Games/Wolfenstein The New Order/WolfNewOrder_x64.exe
  prefix: $GAMEDIR
installer:
- input_menu:
    description: Do you want the intro videos to be skipped on game launch?
    id: INTRO_SKIP
    options:
    - '1': 'Yes'
    - '0': 'No'
    preselect: '0'
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /SILENT /LANG=en /SP- /NOCANCEL /SUPPRESSMSGBOXES /NOGUI /DIR="C:/GOG Games/Wolfenstein
      The New Order"
    description: Installing game
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: mkdir -pv "$GAMEDIR/drive_c/users/$USER/AppData/Local/MachineGames/Wolfenstein
      The New Order"
{
  "files": [
    {
      "installer": "N/A:Select the game's setup file"
    }
  ],
  "game": {
    "arch": "win64",
    "args": "+com_skipIntroVideo $INPUT_INTRO_SKIP",
    "exe": "$GAMEDIR/drive_c/GOG Games/Wolfenstein The New Order/WolfNewOrder_x64.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "input_menu": {
        "description": "Do you want the intro videos to be skipped on game launch?",
        "id": "INTRO_SKIP",
        "options": [
          {
            "1": "Yes"
          },
          {
            "0": "No"
          }
        ],
        "preselect": "0"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "args": "/SILENT /LANG=en /SP- /NOCANCEL /SUPPRESSMSGBOXES /NOGUI /DIR=\"C:/GOG Games/Wolfenstein The New Order\"",
        "description": "Installing game",
        "executable": "installer",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "mkdir -pv \"$GAMEDIR/drive_c/users/$USER/AppData/Local/MachineGames/Wolfenstein The New Order\""
      }
    }
  ]
}
Back to game