Installer darksiders-warmastered-editio-gog-mf-fix

files:
- mf_fix: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Darksiders%20-%20Warmastered%20Edition/mf-installcab_lgdn.zip
- gogsetup: N/A:Please select the game Windows install file, available for  download
    from your GOG account page.
game:
  exe: drive_c/GOG Games/Darksiders Warmastered Edition/darksiders1.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition
    file: gogsetup
    format: gog
- execute:
    command: cd "$GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition"; mv app/*
      . ;
- extract:
    dst: $GAMEDIR/drive_c/tmp
    file: mf_fix
- execute:
    command: cd "$GAMEDIR/drive_c/tmp"; x="$WINEBIN" ; x2="${x%%/bin/wine}" ; PROTON=$x2
      WINEPREFIX="$GAMEDIR" ./install-mf-64.sh -proton ;
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition
    src: $GAMEDIR/drive_c/tmp/mfplat.dll
requires-binaries: cabextract
wine:
  version: wine-ge-8-26-x86_64
description: Play "Darksiders Warmastered Edition" provided by GOG on Linux!
game_slug: darksiders-warmastered-edition
gogslug: darksiders_blades_whip_franchise_pack
humblestoreid: ''
installer_slug: darksiders-warmastered-editio-gog-mf-fix
name: Darksiders Warmastered Edition
notes: "- Using MF fix to play videos and cutscenes\r\n- This workaround is only compatible\
  \ with Wine-GE 8.26 (Lutris version)\r\n- Do not change the default Wine version\
  \ used for this script installer or the fix will no more works"
runner: wine
script:
  files:
  - mf_fix: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Darksiders%20-%20Warmastered%20Edition/mf-installcab_lgdn.zip
  - gogsetup: N/A:Please select the game Windows install file, available for  download
      from your GOG account page.
  game:
    exe: drive_c/GOG Games/Darksiders Warmastered Edition/darksiders1.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating WINE prefix
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition
      file: gogsetup
      format: gog
  - execute:
      command: cd "$GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition"; mv
        app/* . ;
  - extract:
      dst: $GAMEDIR/drive_c/tmp
      file: mf_fix
  - execute:
      command: cd "$GAMEDIR/drive_c/tmp"; x="$WINEBIN" ; x2="${x%%/bin/wine}" ; PROTON=$x2
        WINEPREFIX="$GAMEDIR" ./install-mf-64.sh -proton ;
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition
      src: $GAMEDIR/drive_c/tmp/mfplat.dll
  requires-binaries: cabextract
  wine:
    version: wine-ge-8-26-x86_64
slug: darksiders-warmastered-editio-gog-mf-fix
steamid: 462780
version: GOG + MF fix
year: 2016
{
  "game_slug": "darksiders-warmastered-edition",
  "version": "GOG + MF fix",
  "description": "Play \"Darksiders Warmastered Edition\" provided by GOG on Linux!",
  "notes": "- Using MF fix to play videos and cutscenes\r\n- This workaround is only compatible with Wine-GE 8.26 (Lutris version)\r\n- Do not change the default Wine version used for this script installer or the fix will no more works",
  "name": "Darksiders Warmastered Edition",
  "year": 2016,
  "steamid": 462780,
  "gogslug": "darksiders_blades_whip_franchise_pack",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "darksiders-warmastered-editio-gog-mf-fix",
  "installer_slug": "darksiders-warmastered-editio-gog-mf-fix",
  "script": {
    "files": [
      {
        "mf_fix": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Darksiders%20-%20Warmastered%20Edition/mf-installcab_lgdn.zip"
      },
      {
        "gogsetup": "N/A:Please select the game Windows install file, available for  download from your GOG account page."
      }
    ],
    "game": {
      "exe": "drive_c/GOG Games/Darksiders Warmastered Edition/darksiders1.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating WINE prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition",
          "file": "gogsetup",
          "format": "gog"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition\"; mv app/* . ;"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/tmp",
          "file": "mf_fix"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/tmp\"; x=\"$WINEBIN\" ; x2=\"${x%%/bin/wine}\" ; PROTON=$x2 WINEPREFIX=\"$GAMEDIR\" ./install-mf-64.sh -proton ;"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Darksiders Warmastered Edition",
          "src": "$GAMEDIR/drive_c/tmp/mfplat.dll"
        }
      }
    ],
    "requires-binaries": "cabextract",
    "wine": {
      "version": "wine-ge-8-26-x86_64"
    }
  }
}
Back to game