Installer diablo-cd-dxwrapper-diablo

files:
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Diablo/Diablo.Patch.1.09b.7z
- wrapper: https://github.com/elishacloud/wiki-attachments/raw/master/dxwrapper/Games/Diablo/Diablo-fix.zip
game:
  exe: drive_c/Diablo/diablo.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating WINE prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: arial
    name: winetricks
- insert-disc:
    requires: diabdat.mpq
- task:
    args: /desktop=Diablo,640x480 "$DISC/setup.exe"
    description: Installing Diablo...
    executable: $GAMEDIR/drive_c/windows/explorer.exe
    include_processes: explorer.exe
    name: wineexec
- merge:
    dst: $GAMEDIR/drive_c/Diablo
    src: $DISC/diabdat.mpq
- extract:
    dst: $CACHE
    file: patch
- task:
    args: /desktop=DiabloUpdate,640x480 "$CACHE/Diablo Patch 1.09b.exe"
    description: Installing Diablo...
    executable: $GAMEDIR/drive_c/windows/explorer.exe
    include_processes: explorer.exe
    name: wineexec
- extract:
    dst: $GAMEDIR/drive_c/Diablo
    file: wrapper
- write_config:
    data:
      d3d9:
        EnableWindowMode: 1
        WindowModeBorder: 1
    file: $GAMEDIR/drive_c/Diablo/dxwrapper.ini
    merge: true
system:
  gamescope: false
  gamescope_fps_limiter: '30'
  gamescope_game_res: 640x480
  gamescope_output_res: $RESOLUTION
wine:
  overrides:
    ddraw: n,b
description: Play "Diablo" CD edition on Linux!
game_slug: diablo
gogslug: diablo
humblestoreid: ''
installer_slug: diablo-cd-dxwrapper-diablo
name: Diablo
notes: "- Using DxWrapper Diablo fix\r\n- You will need CD only one time during install\r\
  \n- Update 9.0b will be applied during install\r\n- Known issue: black menus, move\
  \ cursor or window to see menus\r\n- I wrote this script only for testing, for a\
  \ better Diablo gaming experience, use devilutionX or Tchernobog mods"
runner: wine
script:
  files:
  - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Diablo/Diablo.Patch.1.09b.7z
  - wrapper: https://github.com/elishacloud/wiki-attachments/raw/master/dxwrapper/Games/Diablo/Diablo-fix.zip
  game:
    exe: drive_c/Diablo/diablo.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating WINE prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: arial
      name: winetricks
  - insert-disc:
      requires: diabdat.mpq
  - task:
      args: /desktop=Diablo,640x480 "$DISC/setup.exe"
      description: Installing Diablo...
      executable: $GAMEDIR/drive_c/windows/explorer.exe
      include_processes: explorer.exe
      name: wineexec
  - merge:
      dst: $GAMEDIR/drive_c/Diablo
      src: $DISC/diabdat.mpq
  - extract:
      dst: $CACHE
      file: patch
  - task:
      args: /desktop=DiabloUpdate,640x480 "$CACHE/Diablo Patch 1.09b.exe"
      description: Installing Diablo...
      executable: $GAMEDIR/drive_c/windows/explorer.exe
      include_processes: explorer.exe
      name: wineexec
  - extract:
      dst: $GAMEDIR/drive_c/Diablo
      file: wrapper
  - write_config:
      data:
        d3d9:
          EnableWindowMode: 1
          WindowModeBorder: 1
      file: $GAMEDIR/drive_c/Diablo/dxwrapper.ini
      merge: true
  system:
    gamescope: false
    gamescope_fps_limiter: '30'
    gamescope_game_res: 640x480
    gamescope_output_res: $RESOLUTION
  wine:
    overrides:
      ddraw: n,b
slug: diablo-cd-dxwrapper-diablo
steamid: null
version: CD + DxWrapper Diablo fix
year: 1996
{
  "game_slug": "diablo",
  "version": "CD + DxWrapper Diablo fix",
  "description": "Play \"Diablo\" CD edition on Linux!",
  "notes": "- Using DxWrapper Diablo fix\r\n- You will need CD only one time during install\r\n- Update 9.0b will be applied during install\r\n- Known issue: black menus, move cursor or window to see menus\r\n- I wrote this script only for testing, for a better Diablo gaming experience, use devilutionX or Tchernobog mods",
  "name": "Diablo",
  "year": 1996,
  "steamid": null,
  "gogslug": "diablo",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "diablo-cd-dxwrapper-diablo",
  "installer_slug": "diablo-cd-dxwrapper-diablo",
  "script": {
    "files": [
      {
        "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Diablo/Diablo.Patch.1.09b.7z"
      },
      {
        "wrapper": "https://github.com/elishacloud/wiki-attachments/raw/master/dxwrapper/Games/Diablo/Diablo-fix.zip"
      }
    ],
    "game": {
      "exe": "drive_c/Diablo/diablo.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating WINE prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "arial",
          "name": "winetricks"
        }
      },
      {
        "insert-disc": {
          "requires": "diabdat.mpq"
        }
      },
      {
        "task": {
          "args": "/desktop=Diablo,640x480 \"$DISC/setup.exe\"",
          "description": "Installing Diablo...",
          "executable": "$GAMEDIR/drive_c/windows/explorer.exe",
          "include_processes": "explorer.exe",
          "name": "wineexec"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Diablo",
          "src": "$DISC/diabdat.mpq"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "patch"
        }
      },
      {
        "task": {
          "args": "/desktop=DiabloUpdate,640x480 \"$CACHE/Diablo Patch 1.09b.exe\"",
          "description": "Installing Diablo...",
          "executable": "$GAMEDIR/drive_c/windows/explorer.exe",
          "include_processes": "explorer.exe",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Diablo",
          "file": "wrapper"
        }
      },
      {
        "write_config": {
          "data": {
            "d3d9": {
              "EnableWindowMode": 1,
              "WindowModeBorder": 1
            }
          },
          "file": "$GAMEDIR/drive_c/Diablo/dxwrapper.ini",
          "merge": true
        }
      }
    ],
    "system": {
      "gamescope": false,
      "gamescope_fps_limiter": "30",
      "gamescope_game_res": "640x480",
      "gamescope_output_res": "$RESOLUTION"
    },
    "wine": {
      "overrides": {
        "ddraw": "n,b"
      }
    }
  }
}
Back to game