files:
- podinstaller: https://pathofdiablo.com/pathofdiablolauncher.msi
game:
arch: win32
exe: $GAMEDIR/$podpath/Path of Diablo/Path of Diablo Launcher.exe
prefix: $GAMEDIR
installer:
- execute:
command: mkdir -p "$GAMEDIR/$podpath"
- insert-disc:
message: 'Please select a folder where you have Diablo II: Lord of Distruction
installed (e.g. "~Games/diablo-ii-lord-of-destruction/drive_c/Program Files
(x86)/Diablo II/"). The installer script will then make symbolic links to game
files there, using relative paths, so that they may be read by Path of Diablo.'
requires: d2exp.mpq
- execute:
command: ln -sr -t "$GAMEDIR/$podpath/" "$DISC"/{*.mpq,Game.exe,D2.LNG};
- task:
arch: win32
install_gecko: false
install_mono: true
name: create_prefix
prefix: $GAMEDIR
- task:
arch: win32
executable: podinstaller
name: wineexec
prefix: $GAMEDIR
- task:
arch: win32
key: capturedmouse
name: set_regedit
path: HKEY_CURRENT_USER\Software\GLIDE3toOpenGL
type: REG_DWORD
value: '00000001'
- task:
arch: win32
key: desktopresolution
name: set_regedit
path: HKEY_CURRENT_USER\Software\GLIDE3toOpenGL
type: REG_DWORD
value: '00000001'
- task:
arch: win32
key: english
name: set_regedit
path: HKEY_CURRENT_USER\Software\GLIDE3toOpenGL
type: REG_DWORD
value: '00000001'
variables:
podpath: drive_c/Program Files/Diablo II
wine:
overrides:
ddraw.dll: n
description: 'Requires Diablo II: Lord of Destruction to be already installed.'
game_slug: path-of-diablo
gogslug: ''
humblestoreid: ''
installer_slug: path-of-diablo-online-installer
name: Path of Diablo
notes: "This will install Path of Diablo on top of Diablo II: Lord of Destruction.\
\ It requires the original game to be already installed but it will install in a\
\ new prefix and it will NOT touch original game files - PoD will live in its own\
\ folder but it will read game files (*.mpq, Game.exe, D2.LNG) from your Diablo\
\ II: LoD installation.\r\n\r\n1. Diablo II: Lord of Destruction installation must\
\ be present and you will be asked to select the folder which contains the installed\
\ game files. Relative path symbolic links that point to original game files will\
\ be created inside a new wine prefix created for Path of Diablo.\r\n2. Path of\
\ Diablo installer will require you to manually select path of the original game,\
\ just point it to \"C:\\Program Files\\Diablo II\" (it will look like an empty\
\ folder, that's ok).\r\n3. When installation completes, installer will offer to\
\ start the launcher. Uncheck that, do not start yet, and just click \"Finish\"\
\ to complete the installation script.\r\n\r\nWhen you first start the game from\
\ lutris, PoD launcher will download its game files. When it completes, select either\
\ -ddraw or -d2gl option and click \"Launch\" to start the game.\r\n\r\nInstaller\
\ is automating installation steps described here: https://pathofdiablo.com/wiki/index.php?title=Linux\r\
\nNote: PoD ships with a custom glide3x.dll (upstream source: https://www.svenswrapper.de/english/whatis.html)\
\ and with a specific version of cnc-ddraw (upstream source: https://github.com/FunkyFr3sh/cnc-ddraw).\
\ The modded game has been tailored to work with those. The modded game is NOT compatible\
\ with lutris direct3d or dgvoodo2 and attempting to remove ddraw.dll override and\
\ use system's ddraw.dll will result in game crashes."
runner: wine
script:
files:
- podinstaller: https://pathofdiablo.com/pathofdiablolauncher.msi
game:
arch: win32
exe: $GAMEDIR/$podpath/Path of Diablo/Path of Diablo Launcher.exe
prefix: $GAMEDIR
installer:
- execute:
command: mkdir -p "$GAMEDIR/$podpath"
- insert-disc:
message: 'Please select a folder where you have Diablo II: Lord of Distruction
installed (e.g. "~Games/diablo-ii-lord-of-destruction/drive_c/Program Files
(x86)/Diablo II/"). The installer script will then make symbolic links to
game files there, using relative paths, so that they may be read by Path of
Diablo.'
requires: d2exp.mpq
- execute:
command: ln -sr -t "$GAMEDIR/$podpath/" "$DISC"/{*.mpq,Game.exe,D2.LNG};
- task:
arch: win32
install_gecko: false
install_mono: true
name: create_prefix
prefix: $GAMEDIR
- task:
arch: win32
executable: podinstaller
name: wineexec
prefix: $GAMEDIR
- task:
arch: win32
key: capturedmouse
name: set_regedit
path: HKEY_CURRENT_USER\Software\GLIDE3toOpenGL
type: REG_DWORD
value: '00000001'
- task:
arch: win32
key: desktopresolution
name: set_regedit
path: HKEY_CURRENT_USER\Software\GLIDE3toOpenGL
type: REG_DWORD
value: '00000001'
- task:
arch: win32
key: english
name: set_regedit
path: HKEY_CURRENT_USER\Software\GLIDE3toOpenGL
type: REG_DWORD
value: '00000001'
variables:
podpath: drive_c/Program Files/Diablo II
wine:
overrides:
ddraw.dll: n
slug: path-of-diablo-online-installer
steamid: null
version: Online Installer
year: 2015
{
"game_slug": "path-of-diablo",
"version": "Online Installer",
"description": "Requires Diablo II: Lord of Destruction to be already installed.",
"notes": "This will install Path of Diablo on top of Diablo II: Lord of Destruction. It requires the original game to be already installed but it will install in a new prefix and it will NOT touch original game files - PoD will live in its own folder but it will read game files (*.mpq, Game.exe, D2.LNG) from your Diablo II: LoD installation.\r\n\r\n1. Diablo II: Lord of Destruction installation must be present and you will be asked to select the folder which contains the installed game files. Relative path symbolic links that point to original game files will be created inside a new wine prefix created for Path of Diablo.\r\n2. Path of Diablo installer will require you to manually select path of the original game, just point it to \"C:\\Program Files\\Diablo II\" (it will look like an empty folder, that's ok).\r\n3. When installation completes, installer will offer to start the launcher. Uncheck that, do not start yet, and just click \"Finish\" to complete the installation script.\r\n\r\nWhen you first start the game from lutris, PoD launcher will download its game files. When it completes, select either -ddraw or -d2gl option and click \"Launch\" to start the game.\r\n\r\nInstaller is automating installation steps described here: https://pathofdiablo.com/wiki/index.php?title=Linux\r\nNote: PoD ships with a custom glide3x.dll (upstream source: https://www.svenswrapper.de/english/whatis.html) and with a specific version of cnc-ddraw (upstream source: https://github.com/FunkyFr3sh/cnc-ddraw). The modded game has been tailored to work with those. The modded game is NOT compatible with lutris direct3d or dgvoodo2 and attempting to remove ddraw.dll override and use system's ddraw.dll will result in game crashes.",
"name": "Path of Diablo",
"year": 2015,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "path-of-diablo-online-installer",
"installer_slug": "path-of-diablo-online-installer",
"script": {
"files": [
{
"podinstaller": "https://pathofdiablo.com/pathofdiablolauncher.msi"
}
],
"game": {
"arch": "win32",
"exe": "$GAMEDIR/$podpath/Path of Diablo/Path of Diablo Launcher.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"execute": {
"command": "mkdir -p \"$GAMEDIR/$podpath\""
}
},
{
"insert-disc": {
"message": "Please select a folder where you have Diablo II: Lord of Distruction installed (e.g. \"~Games/diablo-ii-lord-of-destruction/drive_c/Program Files (x86)/Diablo II/\"). The installer script will then make symbolic links to game files there, using relative paths, so that they may be read by Path of Diablo.",
"requires": "d2exp.mpq"
}
},
{
"execute": {
"command": "ln -sr -t \"$GAMEDIR/$podpath/\" \"$DISC\"/{*.mpq,Game.exe,D2.LNG};"
}
},
{
"task": {
"arch": "win32",
"install_gecko": false,
"install_mono": true,
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win32",
"executable": "podinstaller",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win32",
"key": "capturedmouse",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\GLIDE3toOpenGL",
"type": "REG_DWORD",
"value": "00000001"
}
},
{
"task": {
"arch": "win32",
"key": "desktopresolution",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\GLIDE3toOpenGL",
"type": "REG_DWORD",
"value": "00000001"
}
},
{
"task": {
"arch": "win32",
"key": "english",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\GLIDE3toOpenGL",
"type": "REG_DWORD",
"value": "00000001"
}
}
],
"variables": {
"podpath": "drive_c/Program Files/Diablo II"
},
"wine": {
"overrides": {
"ddraw.dll": "n"
}
}
}
}