files:
- game_zip: https://archive.org/download/msdos_Strike_Base_1996/Strike_Base_1996.zip
game:
main_file: strike-base.conf
working_dir: $GAMEDIR
installer:
- extract:
dst: $CACHE
file: game_zip
- merge:
dst: $GAMEDIR
src: $CACHE
- execute:
command: "python3 -c 'with open(\"$GAMEDIR/StrikeBa/cd/master.BIN\", \"rb\") as\
\ f, open(\"$GAMEDIR/StrikeBa/cd/extracted.iso\", \"wb\") as o:\n while True:\n\
\ s = f.read(2352)\n if len(s) < 2352: break\n o.write(s[24:2072])'\n"
- execute:
command: mkdir -p "$GAMEDIR/StrikeBa/cd/contents" && xorriso -dev "$GAMEDIR/StrikeBa/cd/extracted.iso"
-osirrox on -extract / "$GAMEDIR/StrikeBa/cd/contents"
- execute:
command: rm -f "$GAMEDIR/StrikeBa/cd/extracted.iso"
- write_file:
content: '[dosbox]
memsize=64
[cpu]
core=auto
cputype=auto
cycles=max
[autoexec]
mount c StrikeBa
mount d StrikeBa/cd/contents
c:
cd STRIKE
strike.exe
exit'
file: $GAMEDIR/strike-base.conf
description: ''
game_slug: strike-base
gogslug: ''
humblestoreid: ''
installer_slug: strike-base-archiveorg-1996
name: Strike Base
notes: ''
runner: dosbox
script:
files:
- game_zip: https://archive.org/download/msdos_Strike_Base_1996/Strike_Base_1996.zip
game:
main_file: strike-base.conf
working_dir: $GAMEDIR
installer:
- extract:
dst: $CACHE
file: game_zip
- merge:
dst: $GAMEDIR
src: $CACHE
- execute:
command: "python3 -c 'with open(\"$GAMEDIR/StrikeBa/cd/master.BIN\", \"rb\"\
) as f, open(\"$GAMEDIR/StrikeBa/cd/extracted.iso\", \"wb\") as o:\n while\
\ True:\n s = f.read(2352)\n if len(s) < 2352: break\n \
\ o.write(s[24:2072])'\n"
- execute:
command: mkdir -p "$GAMEDIR/StrikeBa/cd/contents" && xorriso -dev "$GAMEDIR/StrikeBa/cd/extracted.iso"
-osirrox on -extract / "$GAMEDIR/StrikeBa/cd/contents"
- execute:
command: rm -f "$GAMEDIR/StrikeBa/cd/extracted.iso"
- write_file:
content: '[dosbox]
memsize=64
[cpu]
core=auto
cputype=auto
cycles=max
[autoexec]
mount c StrikeBa
mount d StrikeBa/cd/contents
c:
cd STRIKE
strike.exe
exit'
file: $GAMEDIR/strike-base.conf
slug: strike-base-archiveorg-1996
steamid: null
version: Archive.org (1996)
year: 1996
{
"game_slug": "strike-base",
"version": "Archive.org (1996)",
"description": "",
"notes": "",
"name": "Strike Base",
"year": 1996,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "dosbox",
"slug": "strike-base-archiveorg-1996",
"installer_slug": "strike-base-archiveorg-1996",
"script": {
"files": [
{
"game_zip": "https://archive.org/download/msdos_Strike_Base_1996/Strike_Base_1996.zip"
}
],
"game": {
"main_file": "strike-base.conf",
"working_dir": "$GAMEDIR"
},
"installer": [
{
"extract": {
"dst": "$CACHE",
"file": "game_zip"
}
},
{
"merge": {
"dst": "$GAMEDIR",
"src": "$CACHE"
}
},
{
"execute": {
"command": "python3 -c 'with open(\"$GAMEDIR/StrikeBa/cd/master.BIN\", \"rb\") as f, open(\"$GAMEDIR/StrikeBa/cd/extracted.iso\", \"wb\") as o:\n while True:\n s = f.read(2352)\n if len(s) < 2352: break\n o.write(s[24:2072])'\n"
}
},
{
"execute": {
"command": "mkdir -p \"$GAMEDIR/StrikeBa/cd/contents\" && xorriso -dev \"$GAMEDIR/StrikeBa/cd/extracted.iso\" -osirrox on -extract / \"$GAMEDIR/StrikeBa/cd/contents\""
}
},
{
"execute": {
"command": "rm -f \"$GAMEDIR/StrikeBa/cd/extracted.iso\""
}
},
{
"write_file": {
"content": "[dosbox]\nmemsize=64\n\n[cpu]\ncore=auto\ncputype=auto\ncycles=max\n\n[autoexec]\nmount c StrikeBa\nmount d StrikeBa/cd/contents\nc:\ncd STRIKE\nstrike.exe\nexit",
"file": "$GAMEDIR/strike-base.conf"
}
}
]
}
}