Installer diablo-ii-digital-d2dx

files:
- wrapper: https://github.com/bolrog/d2dx/releases/download/0.99.529/d2dx.zip
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Diablo%20II/D2Patch_114d.exe
game:
  args: -3dfx -dxnocompatmodefix -dxnoclipcursor
  exe: drive_c/Program Files (x86)/Diablo II/Game.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- input_menu:
    description: 'Please choose Warcraft III language version you want to install:'
    id: LANG
    options:
    - enUS: English
    - frFR: French
    - itIT: Italian
    - deDE: German
    - esES: Spanish
    - plPL: Polish
    preselect: enUS
- execute:
    command: mkdir "$GAMEDIR/drive_c/Program Files (x86)/Diablo II"; cd "$GAMEDIR/drive_c/Program
      Files (x86)/Diablo II"; wget --no-check-certificate -O diablo2_digital.exe "https://www.battle.net/download/getLegacy?product=D2DV&locale=$INPUT_LANG&os=WIN";
      echo $INPUT_LANG > locale.txt;
- task:
    description: InstallingDiablo II...Press OK and let all the default options, do
      not execute game at the end of install, just close the launcher
    executable: $GAMEDIR/drive_c/Program Files (x86)/Diablo II/diablo2_digital.exe
    name: wineexec
- task:
    args: /desktop=DiabloIIupdate,640x480 "$patch"
    description: Updating Diablo II to 1.14d...Do not press OK once update finished,
      close the window instead.
    executable: $GAMEDIR/drive_c/windows/explorer.exe
    include_processes: explorer.exe
    name: wineexec
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Diablo II
    file: wrapper
description: Play "Diablo II" digital edition on Linux!
game_slug: diablo-ii
gogslug: ''
humblestoreid: ''
installer_slug: diablo-ii-digital-d2dx
name: Diablo II
notes: "- This script will download \"Diablo II\" 1.14b from official Blizzard servers\
  \ in English, French, Italian, German, Spanish and Polish\r\n- Included latest 1.14d\
  \  update\r\n- You will need to provide a valid key during install\r\n- Using d2dx\
  \ graphic wrapper for better stability and performance"
runner: wine
script:
  files:
  - wrapper: https://github.com/bolrog/d2dx/releases/download/0.99.529/d2dx.zip
  - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Diablo%20II/D2Patch_114d.exe
  game:
    args: -3dfx -dxnocompatmodefix -dxnoclipcursor
    exe: drive_c/Program Files (x86)/Diablo II/Game.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - input_menu:
      description: 'Please choose Warcraft III language version you want to install:'
      id: LANG
      options:
      - enUS: English
      - frFR: French
      - itIT: Italian
      - deDE: German
      - esES: Spanish
      - plPL: Polish
      preselect: enUS
  - execute:
      command: mkdir "$GAMEDIR/drive_c/Program Files (x86)/Diablo II"; cd "$GAMEDIR/drive_c/Program
        Files (x86)/Diablo II"; wget --no-check-certificate -O diablo2_digital.exe
        "https://www.battle.net/download/getLegacy?product=D2DV&locale=$INPUT_LANG&os=WIN";
        echo $INPUT_LANG > locale.txt;
  - task:
      description: InstallingDiablo II...Press OK and let all the default options,
        do not execute game at the end of install, just close the launcher
      executable: $GAMEDIR/drive_c/Program Files (x86)/Diablo II/diablo2_digital.exe
      name: wineexec
  - task:
      args: /desktop=DiabloIIupdate,640x480 "$patch"
      description: Updating Diablo II to 1.14d...Do not press OK once update finished,
        close the window instead.
      executable: $GAMEDIR/drive_c/windows/explorer.exe
      include_processes: explorer.exe
      name: wineexec
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Diablo II
      file: wrapper
slug: diablo-ii-digital-d2dx
steamid: null
version: digital + d2dx
year: 2000
{
  "game_slug": "diablo-ii",
  "version": "digital + d2dx",
  "description": "Play \"Diablo II\" digital edition on Linux!",
  "notes": "- This script will download \"Diablo II\" 1.14b from official Blizzard servers in English, French, Italian, German, Spanish and Polish\r\n- Included latest 1.14d  update\r\n- You will need to provide a valid key during install\r\n- Using d2dx graphic wrapper for better stability and performance",
  "name": "Diablo II",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "diablo-ii-digital-d2dx",
  "installer_slug": "diablo-ii-digital-d2dx",
  "script": {
    "files": [
      {
        "wrapper": "https://github.com/bolrog/d2dx/releases/download/0.99.529/d2dx.zip"
      },
      {
        "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Diablo%20II/D2Patch_114d.exe"
      }
    ],
    "game": {
      "args": "-3dfx -dxnocompatmodefix -dxnoclipcursor",
      "exe": "drive_c/Program Files (x86)/Diablo II/Game.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "input_menu": {
          "description": "Please choose Warcraft III language version you want to install:",
          "id": "LANG",
          "options": [
            {
              "enUS": "English"
            },
            {
              "frFR": "French"
            },
            {
              "itIT": "Italian"
            },
            {
              "deDE": "German"
            },
            {
              "esES": "Spanish"
            },
            {
              "plPL": "Polish"
            }
          ],
          "preselect": "enUS"
        }
      },
      {
        "execute": {
          "command": "mkdir \"$GAMEDIR/drive_c/Program Files (x86)/Diablo II\"; cd \"$GAMEDIR/drive_c/Program Files (x86)/Diablo II\"; wget --no-check-certificate -O diablo2_digital.exe \"https://www.battle.net/download/getLegacy?product=D2DV&locale=$INPUT_LANG&os=WIN\"; echo $INPUT_LANG > locale.txt;"
        }
      },
      {
        "task": {
          "description": "InstallingDiablo II...Press OK and let all the default options, do not execute game at the end of install, just close the launcher",
          "executable": "$GAMEDIR/drive_c/Program Files (x86)/Diablo II/diablo2_digital.exe",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "args": "/desktop=DiabloIIupdate,640x480 \"$patch\"",
          "description": "Updating Diablo II to 1.14d...Do not press OK once update finished, close the window instead.",
          "executable": "$GAMEDIR/drive_c/windows/explorer.exe",
          "include_processes": "explorer.exe",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Diablo II",
          "file": "wrapper"
        }
      }
    ]
  }
}
Back to game