files:
- game: N/A:Select GOG installer.
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
main_file: $GAMEDIR/MightAndMagic.conf
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
file=$3
find "$src" -maxdepth 1 -type f \( -iname $file \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy2.sh
- chmodx: $CACHE/selectcopy2.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -d "$CACHE" "$game"
file: $CACHE/innoextract
- execute:
args: $GAMEDIR/MM
file: mkdir
- execute:
args: $CACHE $GAMEDIR *.pdf
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR/MM SWORDS.EXE
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR/MM SWRD.*
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR/MM XEEN.*
file: $CACHE/selectcopy2.sh
- execute:
args: $GAMEDIR/HoMM/cloud_saves
file: mkdir
- write_file:
content: '[sdl]
sensitivity=20
fullresolution=desktop
windowresolution=original
fullscreen=true
output=opengl
[render]
aspect=true
scaler=normal2x
[autoexec]
@echo off
mount C "$GAMEDIR/" -t dir
mount C "$GAMEDIR/MM/cloud_saves" -t overlay
C:
cd MM
swords.exe
exit'
file: $GAMEDIR/MightAndMagic.conf
description: null
game_slug: swords-of-xeen
gogslug: ''
humblestoreid: ''
installer_slug: swords-of-xeen-windows-gog-v1
name: Swords of Xeen
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select GOG installer.
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
main_file: $GAMEDIR/MightAndMagic.conf
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
file=$3
find "$src" -maxdepth 1 -type f \( -iname $file \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy2.sh
- chmodx: $CACHE/selectcopy2.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -d "$CACHE" "$game"
file: $CACHE/innoextract
- execute:
args: $GAMEDIR/MM
file: mkdir
- execute:
args: $CACHE $GAMEDIR *.pdf
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR/MM SWORDS.EXE
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR/MM SWRD.*
file: $CACHE/selectcopy2.sh
- execute:
args: $CACHE $GAMEDIR/MM XEEN.*
file: $CACHE/selectcopy2.sh
- execute:
args: $GAMEDIR/HoMM/cloud_saves
file: mkdir
- write_file:
content: '[sdl]
sensitivity=20
fullresolution=desktop
windowresolution=original
fullscreen=true
output=opengl
[render]
aspect=true
scaler=normal2x
[autoexec]
@echo off
mount C "$GAMEDIR/" -t dir
mount C "$GAMEDIR/MM/cloud_saves" -t overlay
C:
cd MM
swords.exe
exit'
file: $GAMEDIR/MightAndMagic.conf
slug: swords-of-xeen-windows-gog-v1
steamid: null
version: Windows GOG V1
year: 1995
{
"game_slug": "swords-of-xeen",
"version": "Windows GOG V1",
"description": null,
"notes": "",
"name": "Swords of Xeen",
"year": 1995,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "dosbox",
"slug": "swords-of-xeen-windows-gog-v1",
"installer_slug": "swords-of-xeen-windows-gog-v1",
"script": {
"files": [
{
"game": "N/A:Select GOG installer."
},
{
"inno": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
}
],
"game": {
"main_file": "$GAMEDIR/MightAndMagic.conf"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\nfile=$3\nfind \"$src\" -maxdepth 1 -type f \\( -iname $file \\) -exec cp {} \"$dst\" \\;",
"file": "$CACHE/selectcopy2.sh"
}
},
{
"chmodx": "$CACHE/selectcopy2.sh"
},
{
"extract": {
"dst": "$CACHE",
"file": "$inno"
}
},
{
"execute": {
"args": "-d \"$CACHE\" \"$game\"",
"file": "$CACHE/innoextract"
}
},
{
"execute": {
"args": "$GAMEDIR/MM",
"file": "mkdir"
}
},
{
"execute": {
"args": "$CACHE $GAMEDIR *.pdf",
"file": "$CACHE/selectcopy2.sh"
}
},
{
"execute": {
"args": "$CACHE $GAMEDIR/MM SWORDS.EXE",
"file": "$CACHE/selectcopy2.sh"
}
},
{
"execute": {
"args": "$CACHE $GAMEDIR/MM SWRD.*",
"file": "$CACHE/selectcopy2.sh"
}
},
{
"execute": {
"args": "$CACHE $GAMEDIR/MM XEEN.*",
"file": "$CACHE/selectcopy2.sh"
}
},
{
"execute": {
"args": "$GAMEDIR/HoMM/cloud_saves",
"file": "mkdir"
}
},
{
"write_file": {
"content": "[sdl]\nsensitivity=20\nfullresolution=desktop\nwindowresolution=original\nfullscreen=true\noutput=opengl\n[render]\naspect=true\nscaler=normal2x\n[autoexec]\n@echo off\nmount C \"$GAMEDIR/\" -t dir\nmount C \"$GAMEDIR/MM/cloud_saves\" -t overlay\nC:\ncd MM\nswords.exe\nexit",
"file": "$GAMEDIR/MightAndMagic.conf"
}
}
]
}
}