Installer dr-brain-thinking-games-puzzl-cd
game:
arch: win32
exe: drive_c/KA/DBPUZMAD/dbpuzmad.exe
prefix: $GAMEDIR
installer:
- insert-disc:
description: Please mount the Dr. Brain Puzzle Madness disc.
requires: setup.exe
- task:
arch: win32
description: Installing Dr. Brain Puzzle Madness
executable: $DISC/setup.exe
name: wineexec
prefix: $GAMEDIR
- execute:
command: curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest
| grep browser_download_url | grep -vE '(dbg|API)' | cut -d '"' -f 4 | wget
-i- -P $CACHE
description: Download latest dgVoodoo2 release
- execute:
command: find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'
description: Extract latest dgVoodoo2 release to $CACHE
- merge:
description: Copy dgVoodoo2 components to $GAMEDIR
dst: $GAMEDIR/drive_c/KA/DBPUZMAD
src: $CACHE/MS/x86/DDraw.dll
- merge:
dst: $GAMEDIR/drive_c/KA/DBPUZMAD
src: $CACHE/MS/x86/D3DImm.dll
- merge:
dst: $GAMEDIR/drive_c/KA/DBPUZMAD
src: $CACHE/dgVoodooCpl.exe
- merge:
dst: $GAMEDIR/drive_c/KA/DBPUZMAD
src: $CACHE/dgVoodoo.conf
- write_config:
data:
DirectX:
Antialiasing: appdriven
AppControlledScreenMode: false
DisableAltEnterToToggleScreenMode: false
Filtering: appdriven
Resolution: unforced
VRAM: 64
VideoCard: internal3D
dgVoodooWatermark: false
General:
CaptureMouse: true
CenterAppWindow: true
FullScreenOutput: default
KeepWindowAspectRatio: true
ScalingMode: unspecified
description: Write dgVoodoo.conf file
file: $GAMEDIR/drive_c/KA/DBPUZMAD/dgVoodoo.conf
merge: false
- task:
arch: win32
description: Set ddraw to native,builtin
key: ddraw
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
prefix: $GAMEDIR
type: REG_SZ
value: native,builtin
wine:
overrides:
ddraw.dll: n,b
description: ''
game_slug: dr-brain-thinking-games-puzzle-madness
gogslug: ''
humblestoreid: ''
installer_slug: dr-brain-thinking-games-puzzl-cd
name: 'Dr. Brain Thinking Games: Puzzle Madness'
notes: Use the non-fshack Wine variant to play in fullscreen
runner: wine
script:
game:
arch: win32
exe: drive_c/KA/DBPUZMAD/dbpuzmad.exe
prefix: $GAMEDIR
installer:
- insert-disc:
description: Please mount the Dr. Brain Puzzle Madness disc.
requires: setup.exe
- task:
arch: win32
description: Installing Dr. Brain Puzzle Madness
executable: $DISC/setup.exe
name: wineexec
prefix: $GAMEDIR
- execute:
command: curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest
| grep browser_download_url | grep -vE '(dbg|API)' | cut -d '"' -f 4 | wget
-i- -P $CACHE
description: Download latest dgVoodoo2 release
- execute:
command: find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'
description: Extract latest dgVoodoo2 release to $CACHE
- merge:
description: Copy dgVoodoo2 components to $GAMEDIR
dst: $GAMEDIR/drive_c/KA/DBPUZMAD
src: $CACHE/MS/x86/DDraw.dll
- merge:
dst: $GAMEDIR/drive_c/KA/DBPUZMAD
src: $CACHE/MS/x86/D3DImm.dll
- merge:
dst: $GAMEDIR/drive_c/KA/DBPUZMAD
src: $CACHE/dgVoodooCpl.exe
- merge:
dst: $GAMEDIR/drive_c/KA/DBPUZMAD
src: $CACHE/dgVoodoo.conf
- write_config:
data:
DirectX:
Antialiasing: appdriven
AppControlledScreenMode: false
DisableAltEnterToToggleScreenMode: false
Filtering: appdriven
Resolution: unforced
VRAM: 64
VideoCard: internal3D
dgVoodooWatermark: false
General:
CaptureMouse: true
CenterAppWindow: true
FullScreenOutput: default
KeepWindowAspectRatio: true
ScalingMode: unspecified
description: Write dgVoodoo.conf file
file: $GAMEDIR/drive_c/KA/DBPUZMAD/dgVoodoo.conf
merge: false
- task:
arch: win32
description: Set ddraw to native,builtin
key: ddraw
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
prefix: $GAMEDIR
type: REG_SZ
value: native,builtin
wine:
overrides:
ddraw.dll: n,b
slug: dr-brain-thinking-games-puzzl-cd
steamid: null
version: CD
year: 1998
{
"game_slug": "dr-brain-thinking-games-puzzle-madness",
"version": "CD",
"description": "",
"notes": "Use the non-fshack Wine variant to play in fullscreen",
"name": "Dr. Brain Thinking Games: Puzzle Madness",
"year": 1998,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "dr-brain-thinking-games-puzzl-cd",
"installer_slug": "dr-brain-thinking-games-puzzl-cd",
"script": {
"game": {
"arch": "win32",
"exe": "drive_c/KA/DBPUZMAD/dbpuzmad.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"insert-disc": {
"description": "Please mount the Dr. Brain Puzzle Madness disc.",
"requires": "setup.exe"
}
},
{
"task": {
"arch": "win32",
"description": "Installing Dr. Brain Puzzle Madness",
"executable": "$DISC/setup.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"execute": {
"command": "curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest | grep browser_download_url | grep -vE '(dbg|API)' | cut -d '\"' -f 4 | wget -i- -P $CACHE",
"description": "Download latest dgVoodoo2 release"
}
},
{
"execute": {
"command": "find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'",
"description": "Extract latest dgVoodoo2 release to $CACHE"
}
},
{
"merge": {
"description": "Copy dgVoodoo2 components to $GAMEDIR",
"dst": "$GAMEDIR/drive_c/KA/DBPUZMAD",
"src": "$CACHE/MS/x86/DDraw.dll"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/KA/DBPUZMAD",
"src": "$CACHE/MS/x86/D3DImm.dll"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/KA/DBPUZMAD",
"src": "$CACHE/dgVoodooCpl.exe"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/KA/DBPUZMAD",
"src": "$CACHE/dgVoodoo.conf"
}
},
{
"write_config": {
"data": {
"DirectX": {
"Antialiasing": "appdriven",
"AppControlledScreenMode": false,
"DisableAltEnterToToggleScreenMode": false,
"Filtering": "appdriven",
"Resolution": "unforced",
"VRAM": 64,
"VideoCard": "internal3D",
"dgVoodooWatermark": false
},
"General": {
"CaptureMouse": true,
"CenterAppWindow": true,
"FullScreenOutput": "default",
"KeepWindowAspectRatio": true,
"ScalingMode": "unspecified"
}
},
"description": "Write dgVoodoo.conf file",
"file": "$GAMEDIR/drive_c/KA/DBPUZMAD/dgVoodoo.conf",
"merge": false
}
},
{
"task": {
"arch": "win32",
"description": "Set ddraw to native,builtin",
"key": "ddraw",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
"prefix": "$GAMEDIR",
"type": "REG_SZ",
"value": "native,builtin"
}
}
],
"wine": {
"overrides": {
"ddraw.dll": "n,b"
}
}
}
}