Installer the-settlers-iii-ultimate-col-gog

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: null
    description: Installing the game
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: directplay allcodecs
    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/
wine:
  version: lutris-fshack-5.2-x86_64
description: ''
game_slug: the-settlers-iii-ultimate-collection
gogslug: the_settlers_3_ultimate_collection
humblestoreid: ''
installer_slug: the-settlers-iii-ultimate-col-gog
name: 'The Settlers III: Ultimate Collection'
notes: "- If the cursor is not visible, use ALT+TAB to focus on the game\r\n- If the\
  \ game asks you for a serial key, do the following:\r\n 1. Exit game\r\n 2. Rightclick\
  \ on game icon -> Wine console\r\n 3. Inside wine console type:\r\n    cmd.exe /C\
  \ \"drive_c/GOG Games/Settlers 3 Ultimate/regs.cmd\"\r\n 4. Inside wine console\
  \ type: exit\r\n 5. The serial key shipped with the game should now have been imported\
  \ to the registry.\r\n- If you participated in a multiplayer match and close the\
  \ game afterwards Wine might not shut down completely. In this case rightclick on\
  \ the game icon in Lutris and use \"Kill all wine processes\"."
runner: wine
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: null
      description: Installing the game
      executable: installer
      name: wineexec
      prefix: $GAMEDIR
  - task:
      app: directplay allcodecs
      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/
  wine:
    version: lutris-fshack-5.2-x86_64
slug: the-settlers-iii-ultimate-col-gog
steamid: null
version: GOG
year: 2000
{
  "game_slug": "the-settlers-iii-ultimate-collection",
  "version": "GOG",
  "description": "",
  "notes": "- If the cursor is not visible, use ALT+TAB to focus on the game\r\n- If the game asks you for a serial key, do the following:\r\n 1. Exit game\r\n 2. Rightclick on game icon -> Wine console\r\n 3. Inside wine console type:\r\n    cmd.exe /C \"drive_c/GOG Games/Settlers 3 Ultimate/regs.cmd\"\r\n 4. Inside wine console type: exit\r\n 5. The serial key shipped with the game should now have been imported to the registry.\r\n- If you participated in a multiplayer match and close the game afterwards Wine might not shut down completely. In this case rightclick on the game icon in Lutris and use \"Kill all wine processes\".",
  "name": "The Settlers III: Ultimate Collection",
  "year": 2000,
  "steamid": null,
  "gogslug": "the_settlers_3_ultimate_collection",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "the-settlers-iii-ultimate-col-gog",
  "installer_slug": "the-settlers-iii-ultimate-col-gog",
  "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": null,
          "description": "Installing the game",
          "executable": "installer",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "directplay allcodecs",
          "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/"
        }
      }
    ],
    "wine": {
      "version": "lutris-fshack-5.2-x86_64"
    }
  }
}
Back to game