files:
- game_cd: https://archive.org/download/mdk1997/MDK%20%281997%29.iso
- game_patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/MDK/mdk_patch.zip
- wrapper: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
game:
exe: drive_c/SHINY/MDK/MDKD3D.EXE
prefix: $GAMEDIR
installer:
- extract:
dst: $GAMEDIR/drive_c/CD
file: game_cd
format: iso
- input_menu:
description: Which game's language do you want to install?
id: LANG
options:
- ENGLISH: English
- FRENCH: French
- SPANISH: Spanish
- POLISH: Polish
- ITALIAN: Italian
preselect: ENGLISH
- task:
description: Installing game, choose full install and let other options to default.
executable: $GAMEDIR/drive_c/CD/SETUP/$INPUT_LANG/SETUP.EXE
name: wineexec
prefix: $GAMEDIR
- merge:
dst: $GAMEDIR/drive_c/SHINY/MDK/FALL3D
src: $GAMEDIR/drive_c/CD/FALL3D
- merge:
dst: $GAMEDIR/drive_c/SHINY/MDK/STREAM
src: $GAMEDIR/drive_c/CD/STREAM
- merge:
dst: $GAMEDIR/drive_c/SHINY/MDK/TRAVERSE
src: $GAMEDIR/drive_c/CD/TRAVERSE
- write_file:
content: '; MDK Configuration file automatically generated by MDK
cddata = C:\CD\
hddata = C:\SHINY\MDK
hduse = 6
ForcePCorrect = TRUE
D3DOptions = -1073610653'
file: $GAMEDIR/drive_c/SHINY/MDK/MDK.CFG
- extract:
dst: $GAMEDIR/drive_c/SHINY/MDK
file: game_patch
- extract:
dst: $CACHE
file: wrapper
- copy:
dst: $GAMEDIR/drive_c/SHINY/MDK
src: $CACHE/MS/x86/DDraw.dll
- copy:
dst: $GAMEDIR/drive_c/SHINY/MDK
src: $CACHE/MS/x86/D3DImm.dll
- copy:
dst: $GAMEDIR/drive_c/SHINY/MDK
src: $CACHE/dgVoodooCpl.exe
- write_file:
content: '[General]
FullScreenMode=false
ScalingMode=stretched_ar
[GeneralExt]
DisplayROI=16_9, pos:centered
[DirectX]
Filtering=pointsampled
Resolution=2x
dgVoodooWatermark=False'
file: $GAMEDIR/drive_c/SHINY/MDK/dgVoodoo.conf
system:
gamescope: true
gamescope_force_grab_cursor: true
wine:
overrides:
ddraw: n,b
description: Play "MDK" CD edition on Linux!
game_slug: mdk
gogslug: mdk
humblestoreid: ''
installer_slug: mdk-cd-dgvoodoo2
name: MDK
notes: "- During install let all options to default\r\n- Available languages: English,\
\ French, Spanish, Polish, Italian\r\n- This game does not support ALT-TAB. Workaround:\
\ use Gamescope"
runner: wine
script:
files:
- game_cd: https://archive.org/download/mdk1997/MDK%20%281997%29.iso
- game_patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/MDK/mdk_patch.zip
- wrapper: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip
game:
exe: drive_c/SHINY/MDK/MDKD3D.EXE
prefix: $GAMEDIR
installer:
- extract:
dst: $GAMEDIR/drive_c/CD
file: game_cd
format: iso
- input_menu:
description: Which game's language do you want to install?
id: LANG
options:
- ENGLISH: English
- FRENCH: French
- SPANISH: Spanish
- POLISH: Polish
- ITALIAN: Italian
preselect: ENGLISH
- task:
description: Installing game, choose full install and let other options to default.
executable: $GAMEDIR/drive_c/CD/SETUP/$INPUT_LANG/SETUP.EXE
name: wineexec
prefix: $GAMEDIR
- merge:
dst: $GAMEDIR/drive_c/SHINY/MDK/FALL3D
src: $GAMEDIR/drive_c/CD/FALL3D
- merge:
dst: $GAMEDIR/drive_c/SHINY/MDK/STREAM
src: $GAMEDIR/drive_c/CD/STREAM
- merge:
dst: $GAMEDIR/drive_c/SHINY/MDK/TRAVERSE
src: $GAMEDIR/drive_c/CD/TRAVERSE
- write_file:
content: '; MDK Configuration file automatically generated by MDK
cddata = C:\CD\
hddata = C:\SHINY\MDK
hduse = 6
ForcePCorrect = TRUE
D3DOptions = -1073610653'
file: $GAMEDIR/drive_c/SHINY/MDK/MDK.CFG
- extract:
dst: $GAMEDIR/drive_c/SHINY/MDK
file: game_patch
- extract:
dst: $CACHE
file: wrapper
- copy:
dst: $GAMEDIR/drive_c/SHINY/MDK
src: $CACHE/MS/x86/DDraw.dll
- copy:
dst: $GAMEDIR/drive_c/SHINY/MDK
src: $CACHE/MS/x86/D3DImm.dll
- copy:
dst: $GAMEDIR/drive_c/SHINY/MDK
src: $CACHE/dgVoodooCpl.exe
- write_file:
content: '[General]
FullScreenMode=false
ScalingMode=stretched_ar
[GeneralExt]
DisplayROI=16_9, pos:centered
[DirectX]
Filtering=pointsampled
Resolution=2x
dgVoodooWatermark=False'
file: $GAMEDIR/drive_c/SHINY/MDK/dgVoodoo.conf
system:
gamescope: true
gamescope_force_grab_cursor: true
wine:
overrides:
ddraw: n,b
slug: mdk-cd-dgvoodoo2
steamid: 38450
version: CD + dgVoodoo2
year: 1997
{
"game_slug": "mdk",
"version": "CD + dgVoodoo2",
"description": "Play \"MDK\" CD edition on Linux!",
"notes": "- During install let all options to default\r\n- Available languages: English, French, Spanish, Polish, Italian\r\n- This game does not support ALT-TAB. Workaround: use Gamescope",
"name": "MDK",
"year": 1997,
"steamid": 38450,
"gogslug": "mdk",
"humblestoreid": "",
"runner": "wine",
"slug": "mdk-cd-dgvoodoo2",
"installer_slug": "mdk-cd-dgvoodoo2",
"script": {
"files": [
{
"game_cd": "https://archive.org/download/mdk1997/MDK%20%281997%29.iso"
},
{
"game_patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/MDK/mdk_patch.zip"
},
{
"wrapper": "https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_79_3.zip"
}
],
"game": {
"exe": "drive_c/SHINY/MDK/MDKD3D.EXE",
"prefix": "$GAMEDIR"
},
"installer": [
{
"extract": {
"dst": "$GAMEDIR/drive_c/CD",
"file": "game_cd",
"format": "iso"
}
},
{
"input_menu": {
"description": "Which game's language do you want to install?",
"id": "LANG",
"options": [
{
"ENGLISH": "English"
},
{
"FRENCH": "French"
},
{
"SPANISH": "Spanish"
},
{
"POLISH": "Polish"
},
{
"ITALIAN": "Italian"
}
],
"preselect": "ENGLISH"
}
},
{
"task": {
"description": "Installing game, choose full install and let other options to default.",
"executable": "$GAMEDIR/drive_c/CD/SETUP/$INPUT_LANG/SETUP.EXE",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/SHINY/MDK/FALL3D",
"src": "$GAMEDIR/drive_c/CD/FALL3D"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/SHINY/MDK/STREAM",
"src": "$GAMEDIR/drive_c/CD/STREAM"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/SHINY/MDK/TRAVERSE",
"src": "$GAMEDIR/drive_c/CD/TRAVERSE"
}
},
{
"write_file": {
"content": "; MDK Configuration file automatically generated by MDK\n\ncddata = C:\\CD\\\nhddata = C:\\SHINY\\MDK\nhduse = 6\nForcePCorrect = TRUE\nD3DOptions = -1073610653",
"file": "$GAMEDIR/drive_c/SHINY/MDK/MDK.CFG"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/SHINY/MDK",
"file": "game_patch"
}
},
{
"extract": {
"dst": "$CACHE",
"file": "wrapper"
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/SHINY/MDK",
"src": "$CACHE/MS/x86/DDraw.dll"
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/SHINY/MDK",
"src": "$CACHE/MS/x86/D3DImm.dll"
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/SHINY/MDK",
"src": "$CACHE/dgVoodooCpl.exe"
}
},
{
"write_file": {
"content": "[General]\n\nFullScreenMode=false\nScalingMode=stretched_ar\n[GeneralExt]\n\nDisplayROI=16_9, pos:centered\n[DirectX]\n\nFiltering=pointsampled\nResolution=2x\ndgVoodooWatermark=False",
"file": "$GAMEDIR/drive_c/SHINY/MDK/dgVoodoo.conf"
}
}
],
"system": {
"gamescope": true,
"gamescope_force_grab_cursor": true
},
"wine": {
"overrides": {
"ddraw": "n,b"
}
}
}
}