Installer the-settlers-iv-gold-edition-gog-fix-german-patch

custom-name: Die Siedler IV - Gold Edition
files:
- game: N/A:Please select the installer downloaded from GOG.
- patch: https://storage.compiware-forum.de/s/TJBKZ7PcGS8wony/download?path=%2F&files=S4Gold_GerPatchV2.zip
- fix: https://github.com/Armageddon91/Lutris-Script/raw/master/The%20Settlers%20IV/The%20Settler%204%20Fix.zip
game:
  exe: drive_c/GOG Games/Settlers 4 Gold/S4.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating WINE prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /SP- /VERYSILENT /SUPPRESSMSGBOXES
    description: Installing game
    executable: $game
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $CACHE
    file: $patch
    format: zip
- extract:
    dst: $CACHE
    file: $CACHE/patch/download?path=%2F&files=S4Gold_GerPatchV2.zip
    format: zip
- task:
    args: /SP- /VERYSILENT /SUPPRESSMSGBOXES
    description: Installing German patch
    executable: $CACHE/S4Gold_GerPatchV2.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $CACHE
    file: $fix
    format: zip
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Config/SoundTracks.cfg
    src: $CACHE/Music Fix/SoundTracks.cfg
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Snd/Trojans_settle_03.mp3
    src: $CACHE/Music Fix/Trojans_settle_03.mp3
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Exe/GfxEngine.dll
    src: $CACHE/Widescreen Fix/$RESOLUTION/GfxEngine.dll
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Config/GameSettings.cfg
    src: $CACHE/GameSettings.cfg
wine:
  Desktop: true
  WineDesktop: $RESOLUTION
description: This script installs The Settlers 4 - Gold Edition from GOG with some
  fixes and patch it into German. Thanks to PoooMukkel from "www.compiware-forum.de"
  for the german patch.
game_slug: the-settlers-iv-gold-edition
gogslug: the_settlers_4_gold_edition
humblestoreid: ''
installer_slug: the-settlers-iv-gold-edition-gog-fix-german-patch
name: 'The Settlers IV: Gold Edition'
notes: "-German Patch\r\n- >adds \"Die Siedler IV: Die neue Welt\"\r\n\r\n-Virtual\
  \ Desktop\r\n-->No flickering when changing the resolution\r\n-->No full screen\
  \ if game resolution is not the same as screen resolution (Menu and Video)\r\n\r\
  \n-Widescreen Fix (https://www.siedler-maps.de/forum/Technische-Hilfe/Siedler-4-Widescreen-Patch-18715.htm)\r\
  \n\r\n-Music Fix (https://www.youtube.com/watch?v=OQ4Re-6cL9c)\r\n-->Maya music\
  \ does not stop after a music change\r\n-->The missing Trojan track has been restored\r\
  \n-->Cards on which the Dark People are played can now also play music\r\n-->By\
  \ modifying the SoundTracks.cfg all playlists can be adjusted"
runner: wine
script:
  custom-name: Die Siedler IV - Gold Edition
  files:
  - game: N/A:Please select the installer downloaded from GOG.
  - patch: https://storage.compiware-forum.de/s/TJBKZ7PcGS8wony/download?path=%2F&files=S4Gold_GerPatchV2.zip
  - fix: https://github.com/Armageddon91/Lutris-Script/raw/master/The%20Settlers%20IV/The%20Settler%204%20Fix.zip
  game:
    exe: drive_c/GOG Games/Settlers 4 Gold/S4.exe
    prefix: $GAMEDIR
  installer:
  - task:
      description: Creating WINE prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      args: /SP- /VERYSILENT /SUPPRESSMSGBOXES
      description: Installing game
      executable: $game
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE
      file: $patch
      format: zip
  - extract:
      dst: $CACHE
      file: $CACHE/patch/download?path=%2F&files=S4Gold_GerPatchV2.zip
      format: zip
  - task:
      args: /SP- /VERYSILENT /SUPPRESSMSGBOXES
      description: Installing German patch
      executable: $CACHE/S4Gold_GerPatchV2.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE
      file: $fix
      format: zip
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Config/SoundTracks.cfg
      src: $CACHE/Music Fix/SoundTracks.cfg
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Snd/Trojans_settle_03.mp3
      src: $CACHE/Music Fix/Trojans_settle_03.mp3
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Exe/GfxEngine.dll
      src: $CACHE/Widescreen Fix/$RESOLUTION/GfxEngine.dll
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Config/GameSettings.cfg
      src: $CACHE/GameSettings.cfg
  wine:
    Desktop: true
    WineDesktop: $RESOLUTION
slug: the-settlers-iv-gold-edition-gog-fix-german-patch
steamid: null
version: GOG + Fix + German Patch
year: 2002
{
  "game_slug": "the-settlers-iv-gold-edition",
  "version": "GOG + Fix + German Patch",
  "description": "This script installs The Settlers 4 - Gold Edition from GOG with some fixes and patch it into German. Thanks to PoooMukkel from \"www.compiware-forum.de\" for the german patch.",
  "notes": "-German Patch\r\n- >adds \"Die Siedler IV: Die neue Welt\"\r\n\r\n-Virtual Desktop\r\n-->No flickering when changing the resolution\r\n-->No full screen if game resolution is not the same as screen resolution (Menu and Video)\r\n\r\n-Widescreen Fix (https://www.siedler-maps.de/forum/Technische-Hilfe/Siedler-4-Widescreen-Patch-18715.htm)\r\n\r\n-Music Fix (https://www.youtube.com/watch?v=OQ4Re-6cL9c)\r\n-->Maya music does not stop after a music change\r\n-->The missing Trojan track has been restored\r\n-->Cards on which the Dark People are played can now also play music\r\n-->By modifying the SoundTracks.cfg all playlists can be adjusted",
  "name": "The Settlers IV: Gold Edition",
  "year": 2002,
  "steamid": null,
  "gogslug": "the_settlers_4_gold_edition",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "the-settlers-iv-gold-edition-gog-fix-german-patch",
  "installer_slug": "the-settlers-iv-gold-edition-gog-fix-german-patch",
  "script": {
    "custom-name": "Die Siedler IV - Gold Edition",
    "files": [
      {
        "game": "N/A:Please select the installer downloaded from GOG."
      },
      {
        "patch": "https://storage.compiware-forum.de/s/TJBKZ7PcGS8wony/download?path=%2F&files=S4Gold_GerPatchV2.zip"
      },
      {
        "fix": "https://github.com/Armageddon91/Lutris-Script/raw/master/The%20Settlers%20IV/The%20Settler%204%20Fix.zip"
      }
    ],
    "game": {
      "exe": "drive_c/GOG Games/Settlers 4 Gold/S4.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "description": "Creating WINE prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/SP- /VERYSILENT /SUPPRESSMSGBOXES",
          "description": "Installing game",
          "executable": "$game",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$patch",
          "format": "zip"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$CACHE/patch/download?path=%2F&files=S4Gold_GerPatchV2.zip",
          "format": "zip"
        }
      },
      {
        "task": {
          "args": "/SP- /VERYSILENT /SUPPRESSMSGBOXES",
          "description": "Installing German patch",
          "executable": "$CACHE/S4Gold_GerPatchV2.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$fix",
          "format": "zip"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Config/SoundTracks.cfg",
          "src": "$CACHE/Music Fix/SoundTracks.cfg"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Snd/Trojans_settle_03.mp3",
          "src": "$CACHE/Music Fix/Trojans_settle_03.mp3"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Exe/GfxEngine.dll",
          "src": "$CACHE/Widescreen Fix/$RESOLUTION/GfxEngine.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Settlers 4 Gold/Config/GameSettings.cfg",
          "src": "$CACHE/GameSettings.cfg"
        }
      }
    ],
    "wine": {
      "Desktop": true,
      "WineDesktop": "$RESOLUTION"
    }
  }
}
Back to game