files:
- os_arch: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/Windows_31/Windows_3.1.7z
- game_cd:
filename: Bad Mojo (1996)(Acclaim).iso
url: https://archive.org/download/Bad_Mojo_1996_Acclaim/Bad%20Mojo%20%281996%29%28Acclaim%29.iso
game:
main_file: $GAMEDIR/dosbox.conf
installer:
- extract:
dst: $GAMEDIR
file: os_arch
- merge:
dst: $GAMEDIR/CD
src: game_cd
- execute:
command: cd "$GAMEDIR" ; sed -i '237i imgmount d "CD/Bad Mojo (1996)(Acclaim).iso"
-t iso' dosbox.conf ; cd C/WINDOWS ; cp -f SYSTEM.INI.256 SYSTEM.INI;
description: Play "Bad Mojo" CD edition on Linux!
game_slug: bad-mojo
gogslug: ''
humblestoreid: ''
installer_slug: bad-mojo-cd-windows-31
name: Bad Mojo
notes: "- Using Dosbox-Staging with a ready to use Windows 3.1 install\r\n- Once Windows\
\ 3.1 started, in \"Main\" group click on \"Filemanager\", click on \"D\" drive\
\ and install the game"
runner: dosbox
script:
files:
- os_arch: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/Windows_31/Windows_3.1.7z
- game_cd:
filename: Bad Mojo (1996)(Acclaim).iso
url: https://archive.org/download/Bad_Mojo_1996_Acclaim/Bad%20Mojo%20%281996%29%28Acclaim%29.iso
game:
main_file: $GAMEDIR/dosbox.conf
installer:
- extract:
dst: $GAMEDIR
file: os_arch
- merge:
dst: $GAMEDIR/CD
src: game_cd
- execute:
command: cd "$GAMEDIR" ; sed -i '237i imgmount d "CD/Bad Mojo (1996)(Acclaim).iso"
-t iso' dosbox.conf ; cd C/WINDOWS ; cp -f SYSTEM.INI.256 SYSTEM.INI;
slug: bad-mojo-cd-windows-31
steamid: null
version: CD + Windows 3.1
year: 1996
{
"game_slug": "bad-mojo",
"version": "CD + Windows 3.1",
"description": "Play \"Bad Mojo\" CD edition on Linux!",
"notes": "- Using Dosbox-Staging with a ready to use Windows 3.1 install\r\n- Once Windows 3.1 started, in \"Main\" group click on \"Filemanager\", click on \"D\" drive and install the game",
"name": "Bad Mojo",
"year": 1996,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "dosbox",
"slug": "bad-mojo-cd-windows-31",
"installer_slug": "bad-mojo-cd-windows-31",
"script": {
"files": [
{
"os_arch": "https://lutris.nyc3.cdn.digitaloceanspaces.com/games/Windows_31/Windows_3.1.7z"
},
{
"game_cd": {
"filename": "Bad Mojo (1996)(Acclaim).iso",
"url": "https://archive.org/download/Bad_Mojo_1996_Acclaim/Bad%20Mojo%20%281996%29%28Acclaim%29.iso"
}
}
],
"game": {
"main_file": "$GAMEDIR/dosbox.conf"
},
"installer": [
{
"extract": {
"dst": "$GAMEDIR",
"file": "os_arch"
}
},
{
"merge": {
"dst": "$GAMEDIR/CD",
"src": "game_cd"
}
},
{
"execute": {
"command": "cd \"$GAMEDIR\" ; sed -i '237i imgmount d \"CD/Bad Mojo (1996)(Acclaim).iso\" -t iso' dosbox.conf ; cd C/WINDOWS ; cp -f SYSTEM.INI.256 SYSTEM.INI;"
}
}
]
}
}