files:
- game: N/A:Select GOG installer.
- dos:
filename: dosbox.tar.xz
url: https://github.com/appoloin/Patches/raw/refs/heads/master/System/dosbox-staging-linux-x86_64-v0.82.0.tar.xz
- xcopy:
filename: xcopy.exe
url: https://github.com/appoloin/Patches/raw/refs/heads/master/System/XCOPY.EXE
game:
game_id: worldofxeen
path: $GAMEDIR
installer:
- extract:
args: --gog
description: Extracting game files
dst: $CACHE
file: $game
format: gog
- move:
dst: $GAMEDIR
src: $xcopy
- execute:
command: find "$CACHE" -maxdepth 1 -type f \( -iname "*.pdf" -o -iname "BOSS.MM$"
-o -iname "XEEN.*" -o -iname "*.EXE" -o -iname "game1.*" -o -iname "*.CC" \)
-exec cp {} "$GAMEDIR" \;
- extract:
description: Extracting DOSbox
dst: $CACHE
file: $dos
- write_file:
content: '[autoexec]
mount C "$GAMEDIR" -t dir
imgmount D "$GAMEDIR/GAME1.GOG" -t iso
ver set 6 22
D:
CD GAME
C:\xcopy.exe /E *.CC C:\
exit'
file: $CACHE/MM45.conf
- write_file:
content: ''
file: $CACHE/dosbox-staging.conf
- execute:
command: 'cd $CACHE;
touch $CACHE/dosbox-staging.conf;
$CACHE/dosbox -conf $CACHE/MM45.conf '
- execute:
command: 'find "$CACHE/MUSIC" -maxdepth 1 -type f -iname "*.ogg" -print0 |
while IFS="" read -r -d "" FILENAME;
do name="${FILENAME##*/}"
mv "$FILENAME" ""$GAMEDIR"""/""${name/xeen/Track}";
done '
- execute:
args: -r $GAMEDIR/xcopy.exe
file: /bin/rm
scummvm:
fullscreen: true
description: Dosbox is only used during in the install, the game is played using Scummvm.
game_slug: might-and-magic-world-of-xeen
gogslug: might_and_magic_6_limited_edition
humblestoreid: ''
installer_slug: might-and-magic-4-5-world-of-windows-gog-v1
name: Might and Magic 4-5 - World of Xeen
notes: ''
runner: scummvm
script:
files:
- game: N/A:Select GOG installer.
- dos:
filename: dosbox.tar.xz
url: https://github.com/appoloin/Patches/raw/refs/heads/master/System/dosbox-staging-linux-x86_64-v0.82.0.tar.xz
- xcopy:
filename: xcopy.exe
url: https://github.com/appoloin/Patches/raw/refs/heads/master/System/XCOPY.EXE
game:
game_id: worldofxeen
path: $GAMEDIR
installer:
- extract:
args: --gog
description: Extracting game files
dst: $CACHE
file: $game
format: gog
- move:
dst: $GAMEDIR
src: $xcopy
- execute:
command: find "$CACHE" -maxdepth 1 -type f \( -iname "*.pdf" -o -iname "BOSS.MM$"
-o -iname "XEEN.*" -o -iname "*.EXE" -o -iname "game1.*" -o -iname "*.CC" \)
-exec cp {} "$GAMEDIR" \;
- extract:
description: Extracting DOSbox
dst: $CACHE
file: $dos
- write_file:
content: '[autoexec]
mount C "$GAMEDIR" -t dir
imgmount D "$GAMEDIR/GAME1.GOG" -t iso
ver set 6 22
D:
CD GAME
C:\xcopy.exe /E *.CC C:\
exit'
file: $CACHE/MM45.conf
- write_file:
content: ''
file: $CACHE/dosbox-staging.conf
- execute:
command: 'cd $CACHE;
touch $CACHE/dosbox-staging.conf;
$CACHE/dosbox -conf $CACHE/MM45.conf '
- execute:
command: 'find "$CACHE/MUSIC" -maxdepth 1 -type f -iname "*.ogg" -print0 |
while IFS="" read -r -d "" FILENAME;
do name="${FILENAME##*/}"
mv "$FILENAME" ""$GAMEDIR"""/""${name/xeen/Track}";
done '
- execute:
args: -r $GAMEDIR/xcopy.exe
file: /bin/rm
scummvm:
fullscreen: true
slug: might-and-magic-4-5-world-of-windows-gog-v1
steamid: null
version: Windows GOG v1
year: 1994
{
"game_slug": "might-and-magic-world-of-xeen",
"version": "Windows GOG v1",
"description": "Dosbox is only used during in the install, the game is played using Scummvm.",
"notes": "",
"name": "Might and Magic 4-5 - World of Xeen",
"year": 1994,
"steamid": null,
"gogslug": "might_and_magic_6_limited_edition",
"humblestoreid": "",
"runner": "scummvm",
"slug": "might-and-magic-4-5-world-of-windows-gog-v1",
"installer_slug": "might-and-magic-4-5-world-of-windows-gog-v1",
"script": {
"files": [
{
"game": "N/A:Select GOG installer."
},
{
"dos": {
"filename": "dosbox.tar.xz",
"url": "https://github.com/appoloin/Patches/raw/refs/heads/master/System/dosbox-staging-linux-x86_64-v0.82.0.tar.xz"
}
},
{
"xcopy": {
"filename": "xcopy.exe",
"url": "https://github.com/appoloin/Patches/raw/refs/heads/master/System/XCOPY.EXE"
}
}
],
"game": {
"game_id": "worldofxeen",
"path": "$GAMEDIR"
},
"installer": [
{
"extract": {
"args": "--gog",
"description": "Extracting game files",
"dst": "$CACHE",
"file": "$game",
"format": "gog"
}
},
{
"move": {
"dst": "$GAMEDIR",
"src": "$xcopy"
}
},
{
"execute": {
"command": "find \"$CACHE\" -maxdepth 1 -type f \\( -iname \"*.pdf\" -o -iname \"BOSS.MM$\" -o -iname \"XEEN.*\" -o -iname \"*.EXE\" -o -iname \"game1.*\" -o -iname \"*.CC\" \\) -exec cp {} \"$GAMEDIR\" \\;"
}
},
{
"extract": {
"description": "Extracting DOSbox",
"dst": "$CACHE",
"file": "$dos"
}
},
{
"write_file": {
"content": "[autoexec]\nmount C \"$GAMEDIR\" -t dir\nimgmount D \"$GAMEDIR/GAME1.GOG\" -t iso\nver set 6 22\nD:\nCD GAME\nC:\\xcopy.exe /E *.CC C:\\\nexit",
"file": "$CACHE/MM45.conf"
}
},
{
"write_file": {
"content": "",
"file": "$CACHE/dosbox-staging.conf"
}
},
{
"execute": {
"command": "cd $CACHE;\ntouch $CACHE/dosbox-staging.conf;\n$CACHE/dosbox -conf $CACHE/MM45.conf "
}
},
{
"execute": {
"command": "find \"$CACHE/MUSIC\" -maxdepth 1 -type f -iname \"*.ogg\" -print0 |\nwhile IFS=\"\" read -r -d \"\" FILENAME;\ndo name=\"${FILENAME##*/}\"\nmv \"$FILENAME\" \"\"$GAMEDIR\"\"\"/\"\"${name/xeen/Track}\";\ndone "
}
},
{
"execute": {
"args": "-r $GAMEDIR/xcopy.exe",
"file": "/bin/rm"
}
}
],
"scummvm": {
"fullscreen": true
}
}
}