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

custom-name: Die Siedler IV - Gold Edition
files:
- game: N/A:Please select the installer downloaded from GOG.
- 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: $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
game_slug: the-settlers-iv-gold-edition
gogslug: settlers_bundle
humblestoreid: ''
installer_slug: the-settlers-iv-gold-edition-gog-fix
name: 'The Settlers IV: Gold Edition'
notes: "-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.
  - 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: $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
steamid: null
version: GOG + Fix
year: 2002
{
  "game_slug": "the-settlers-iv-gold-edition",
  "version": "GOG + Fix",
  "description": "This script installs The Settlers 4 - Gold Edition from GOG with some fixes",
  "notes": "-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": "settlers_bundle",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "the-settlers-iv-gold-edition-gog-fix",
  "installer_slug": "the-settlers-iv-gold-edition-gog-fix",
  "script": {
    "custom-name": "Die Siedler IV - Gold Edition",
    "files": [
      {
        "game": "N/A:Please select the installer downloaded from GOG."
      },
      {
        "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": "$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