Installer the-settlers-iii-ultimate-col-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 Windows installer downloaded from GOG
game:
  exe: drive_c/GOG Games/Settlers 3 Ultimate/S3.EXE
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win32
    args: /silent /nogui
    description: Installing the game
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: directplay icodecs
    arch: win32
    description: Installing video codec and directplay for multiplayer support
    name: winetricks
    prefix: $GAMEDIR
- execute:
    command: sed -i.bak "s#/reg:32##g" "$GAMEDIR/drive_c/GOG Games/Settlers 3 Ultimate/regs.cmd"
    description: Applying compatibility fix for Wine to registry entries
- task:
    arch: win32
    args: /C regs.cmd
    description: Importing fixed registry entries
    executable: cmd.exe
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/GOG Games/Settlers 3 Ultimate/
{
  "files": [
    {
      "installer": "N/A:Select the Windows installer downloaded from GOG"
    }
  ],
  "game": {
    "exe": "drive_c/GOG Games/Settlers 3 Ultimate/S3.EXE",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win32",
        "install_gecko": false,
        "install_mono": false,
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win32",
        "args": "/silent /nogui",
        "description": "Installing the game",
        "executable": "installer",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "directplay icodecs",
        "arch": "win32",
        "description": "Installing video codec and directplay for multiplayer support",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "sed -i.bak \"s#/reg:32##g\" \"$GAMEDIR/drive_c/GOG Games/Settlers 3 Ultimate/regs.cmd\"",
        "description": "Applying compatibility fix for Wine to registry entries"
      }
    },
    {
      "task": {
        "arch": "win32",
        "args": "/C regs.cmd",
        "description": "Importing fixed registry entries",
        "executable": "cmd.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR",
        "working_dir": "$GAMEDIR/drive_c/GOG Games/Settlers 3 Ultimate/"
      }
    }
  ]
}
Back to game