Installer diablo-ii-lord-of-destruction-digital
files:
- d2_downloader:
filename: Downloader_Diablo2_enUS.exe
url: https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2DV
- d2lod_downloader:
filename: Downloader_Diablo2_Lord_of_Destruction_enUS.exe
url: https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2XP
- d2lod_patch:
filename: LODPatch_114d.exe
url: http://ftp.blizzard.com/pub/diablo2exp/patches/PC/LODPatch_114d.exe
game:
arch: win64
exe: drive_c/Program Files (x86)/Diablo II/Diablo II.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Creating 64bit Wine prefix
name: create_prefix
prefix: $GAMEDIR
- task:
arch: win64
description: Enabling DXVA2
key: backend
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\DXVA2
prefix: $GAMEDIR
value: va
- write_file:
content: '#!/usr/bin/env sh
mkdir "$1" '
file: $CACHE/setup.sh
- chmodx: $CACHE/setup.sh
- execute:
args: $GAMEDIR/drive_c/tmp
file: $CACHE/setup.sh
- input_menu:
description: "Delete installer files after completion?\n NOTE: This will only\
\ work if when prompted where to download the installer you selected C:\\tmp\
\ within \"My Computer\"\n"
id: CLEANUP
options:
- y: Yes, delete them
- n: No, keep them
preselect: y
- task:
description: "Installing Diablo II\n\n ------------------------------\n\n IMPORTANT:\
\ Select the C:\\tmp directory to download the installer.\n Once the Downloader\
\ finishes, it will open the Installer. Install the game in the default path\
\ and UNCHECK \"Create shortcut on desktop\" option. Use your own CD key and\
\ name. DO NOT attempt to open it or register the product once it finishes."
executable: d2_downloader
name: wineexec
prefix: $GAMEDIR
- task:
description: "Installing Diablo II: Lord of Destruction\n\n ------------------------------\n\
\n IMPORTANT: Select the C:\\tmp directory to download the installer.\n Once\
\ the Downloader finishes, it will open the Installer. Install the game in the\
\ default path and UNCHECK \"Create shortcut on desktop\" option. Use your own\
\ CD key and name. DO NOT attempt to open it or register the product once it\
\ finishes."
executable: d2lod_downloader
name: wineexec
prefix: $GAMEDIR
- task:
args: /desktop=DiabloIIupdate,640x480 "$d2lod_patch"
description: "Installing Diablo II: Lord of Destruction 1.14d Patch\n\n ------------------------------\n\
\n IMPORTANT: Do not press OK once the update finishes. Close the window instead."
executable: $GAMEDIR/drive_c/windows/explorer.exe
name: wineexec
prefix: $GAMEDIR
- write_file:
content: '#!/usr/bin/env sh
if [ "$1" = "y" ]; then echo "[INFO] Cleaning up installer files (C:\\tmp folder)";
rm -rf "$2"; else echo "[INFO] Keeping installer files"; fi '
file: $CACHE/cleanup.sh
- chmodx: $CACHE/cleanup.sh
- execute:
args: $INPUT_CLEANUP "$GAMEDIR/drive_c/tmp"
file: $CACHE/cleanup.sh
- task:
name: winekill
prefix: $GAMEDIR
system:
env:
DXVK_HUD: compiler
DXVK_STATE_CACHE_PATH: $GAMEDIR
STAGING_SHARED_MEMORY: 1
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP: 1
wine:
battleye: false
eac: false
fsr: false
overrides:
locationapi: d
description: ''
game_slug: diablo-ii-lord-of-destruction
gogslug: ''
humblestoreid: ''
installer_slug: diablo-ii-lord-of-destruction-digital
name: 'Diablo II: Lord of Destruction'
notes: ''
runner: wine
script:
files:
- d2_downloader:
filename: Downloader_Diablo2_enUS.exe
url: https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2DV
- d2lod_downloader:
filename: Downloader_Diablo2_Lord_of_Destruction_enUS.exe
url: https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2XP
- d2lod_patch:
filename: LODPatch_114d.exe
url: http://ftp.blizzard.com/pub/diablo2exp/patches/PC/LODPatch_114d.exe
game:
arch: win64
exe: drive_c/Program Files (x86)/Diablo II/Diablo II.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Creating 64bit Wine prefix
name: create_prefix
prefix: $GAMEDIR
- task:
arch: win64
description: Enabling DXVA2
key: backend
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\DXVA2
prefix: $GAMEDIR
value: va
- write_file:
content: '#!/usr/bin/env sh
mkdir "$1" '
file: $CACHE/setup.sh
- chmodx: $CACHE/setup.sh
- execute:
args: $GAMEDIR/drive_c/tmp
file: $CACHE/setup.sh
- input_menu:
description: "Delete installer files after completion?\n NOTE: This will only\
\ work if when prompted where to download the installer you selected C:\\\
tmp within \"My Computer\"\n"
id: CLEANUP
options:
- y: Yes, delete them
- n: No, keep them
preselect: y
- task:
description: "Installing Diablo II\n\n ------------------------------\n\n IMPORTANT:\
\ Select the C:\\tmp directory to download the installer.\n Once the Downloader\
\ finishes, it will open the Installer. Install the game in the default path\
\ and UNCHECK \"Create shortcut on desktop\" option. Use your own CD key and\
\ name. DO NOT attempt to open it or register the product once it finishes."
executable: d2_downloader
name: wineexec
prefix: $GAMEDIR
- task:
description: "Installing Diablo II: Lord of Destruction\n\n ------------------------------\n\
\n IMPORTANT: Select the C:\\tmp directory to download the installer.\n Once\
\ the Downloader finishes, it will open the Installer. Install the game in\
\ the default path and UNCHECK \"Create shortcut on desktop\" option. Use\
\ your own CD key and name. DO NOT attempt to open it or register the product\
\ once it finishes."
executable: d2lod_downloader
name: wineexec
prefix: $GAMEDIR
- task:
args: /desktop=DiabloIIupdate,640x480 "$d2lod_patch"
description: "Installing Diablo II: Lord of Destruction 1.14d Patch\n\n ------------------------------\n\
\n IMPORTANT: Do not press OK once the update finishes. Close the window instead."
executable: $GAMEDIR/drive_c/windows/explorer.exe
name: wineexec
prefix: $GAMEDIR
- write_file:
content: '#!/usr/bin/env sh
if [ "$1" = "y" ]; then echo "[INFO] Cleaning up installer files (C:\\tmp
folder)"; rm -rf "$2"; else echo "[INFO] Keeping installer files"; fi '
file: $CACHE/cleanup.sh
- chmodx: $CACHE/cleanup.sh
- execute:
args: $INPUT_CLEANUP "$GAMEDIR/drive_c/tmp"
file: $CACHE/cleanup.sh
- task:
name: winekill
prefix: $GAMEDIR
system:
env:
DXVK_HUD: compiler
DXVK_STATE_CACHE_PATH: $GAMEDIR
STAGING_SHARED_MEMORY: 1
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP: 1
wine:
battleye: false
eac: false
fsr: false
overrides:
locationapi: d
slug: diablo-ii-lord-of-destruction-digital
steamid: null
version: Digital
year: 2001
{
"game_slug": "diablo-ii-lord-of-destruction",
"version": "Digital",
"description": "",
"notes": "",
"name": "Diablo II: Lord of Destruction",
"year": 2001,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "diablo-ii-lord-of-destruction-digital",
"installer_slug": "diablo-ii-lord-of-destruction-digital",
"script": {
"files": [
{
"d2_downloader": {
"filename": "Downloader_Diablo2_enUS.exe",
"url": "https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2DV"
}
},
{
"d2lod_downloader": {
"filename": "Downloader_Diablo2_Lord_of_Destruction_enUS.exe",
"url": "https://downloader.battle.net/download/getLegacy?os=win&locale=enUS&product=D2XP"
}
},
{
"d2lod_patch": {
"filename": "LODPatch_114d.exe",
"url": "http://ftp.blizzard.com/pub/diablo2exp/patches/PC/LODPatch_114d.exe"
}
}
],
"game": {
"arch": "win64",
"exe": "drive_c/Program Files (x86)/Diablo II/Diablo II.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"description": "Creating 64bit Wine prefix",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win64",
"description": "Enabling DXVA2",
"key": "backend",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\DXVA2",
"prefix": "$GAMEDIR",
"value": "va"
}
},
{
"write_file": {
"content": "#!/usr/bin/env sh\nmkdir \"$1\" ",
"file": "$CACHE/setup.sh"
}
},
{
"chmodx": "$CACHE/setup.sh"
},
{
"execute": {
"args": "$GAMEDIR/drive_c/tmp",
"file": "$CACHE/setup.sh"
}
},
{
"input_menu": {
"description": "Delete installer files after completion?\n NOTE: This will only work if when prompted where to download the installer you selected C:\\tmp within \"My Computer\"\n",
"id": "CLEANUP",
"options": [
{
"y": "Yes, delete them"
},
{
"n": "No, keep them"
}
],
"preselect": "y"
}
},
{
"task": {
"description": "Installing Diablo II\n\n ------------------------------\n\n IMPORTANT: Select the C:\\tmp directory to download the installer.\n Once the Downloader finishes, it will open the Installer. Install the game in the default path and UNCHECK \"Create shortcut on desktop\" option. Use your own CD key and name. DO NOT attempt to open it or register the product once it finishes.",
"executable": "d2_downloader",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"description": "Installing Diablo II: Lord of Destruction\n\n ------------------------------\n\n IMPORTANT: Select the C:\\tmp directory to download the installer.\n Once the Downloader finishes, it will open the Installer. Install the game in the default path and UNCHECK \"Create shortcut on desktop\" option. Use your own CD key and name. DO NOT attempt to open it or register the product once it finishes.",
"executable": "d2lod_downloader",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"args": "/desktop=DiabloIIupdate,640x480 \"$d2lod_patch\"",
"description": "Installing Diablo II: Lord of Destruction 1.14d Patch\n\n ------------------------------\n\n IMPORTANT: Do not press OK once the update finishes. Close the window instead.",
"executable": "$GAMEDIR/drive_c/windows/explorer.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"write_file": {
"content": "#!/usr/bin/env sh\nif [ \"$1\" = \"y\" ]; then echo \"[INFO] Cleaning up installer files (C:\\\\tmp folder)\"; rm -rf \"$2\"; else echo \"[INFO] Keeping installer files\"; fi ",
"file": "$CACHE/cleanup.sh"
}
},
{
"chmodx": "$CACHE/cleanup.sh"
},
{
"execute": {
"args": "$INPUT_CLEANUP \"$GAMEDIR/drive_c/tmp\"",
"file": "$CACHE/cleanup.sh"
}
},
{
"task": {
"name": "winekill",
"prefix": "$GAMEDIR"
}
}
],
"system": {
"env": {
"DXVK_HUD": "compiler",
"DXVK_STATE_CACHE_PATH": "$GAMEDIR",
"STAGING_SHARED_MEMORY": 1,
"__GL_SHADER_DISK_CACHE": 1,
"__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
"__GL_SHADER_DISK_CACHE_SKIP_CLEANUP": 1
}
},
"wine": {
"battleye": false,
"eac": false,
"fsr": false,
"overrides": {
"locationapi": "d"
}
}
}
}