files:
- game: N/A:Select the file Keen1.exe
- patch: http://www.shikadi.net/wiki/files/tools/t.ckpatch_v.0.10.andrew_durdin.2007-11-23.zip
game:
main_file: $GAMEDIR/commander_keen.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/keen1
file: mkdir
- extract:
dst: $CACHE
file: $patch
format: zip
- execute:
args: $CACHE/CK1PATCH.EXE $GAMEDIR/HDD/keen1
file: /bin/cp
- write_file:
content: '%ext ck1
#Change the controls to Space, shoot; Enter, status.
%patch $1251 $5048W
%patch $7FA3 $5048W
%patch $3B23 $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%patch $3C4E $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%patch $3DB9 $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%patch $3DCC $90 $90
%patch $3E6D $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%patch $3FFC $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%patch $40AA $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%end'
file: $GAMEDIR/HDD/keen1/PATCH.PAT
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
cp -avr "$src_path/." "$dst"'
file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- execute:
args: $game $GAMEDIR/HDD/keen1
file: $CACHE/bulkcopy.sh
- write_file:
content: '[cpu]
cputype=386_slow
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd keen1
CK1PATCH.EXE patch.pat
exit'
file: $GAMEDIR/commander_keen.conf
description: "The installer will patch the controls\r\n Space = shoot\r\n Enter =\
\ status"
game_slug: commander-keen
gogslug: commander_keen_complete_pack
humblestoreid: ''
installer_slug: commander-keen-ms-dos-floppy-patche
name: Commander Keen
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select the file Keen1.exe
- patch: http://www.shikadi.net/wiki/files/tools/t.ckpatch_v.0.10.andrew_durdin.2007-11-23.zip
game:
main_file: $GAMEDIR/commander_keen.conf
installer:
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/keen1
file: mkdir
- extract:
dst: $CACHE
file: $patch
format: zip
- execute:
args: $CACHE/CK1PATCH.EXE $GAMEDIR/HDD/keen1
file: /bin/cp
- write_file:
content: '%ext ck1
#Change the controls to Space, shoot; Enter, status.
%patch $1251 $5048W
%patch $7FA3 $5048W
%patch $3B23 $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%patch $3C4E $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%patch $3DB9 $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%patch $3DCC $90 $90
%patch $3E6D $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%patch $3FFC $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%patch $40AA $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00
%end'
file: $GAMEDIR/HDD/keen1/PATCH.PAT
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
cp -avr "$src_path/." "$dst"'
file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- execute:
args: $game $GAMEDIR/HDD/keen1
file: $CACHE/bulkcopy.sh
- write_file:
content: '[cpu]
cputype=386_slow
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
C:
cd keen1
CK1PATCH.EXE patch.pat
exit'
file: $GAMEDIR/commander_keen.conf
slug: commander-keen-ms-dos-floppy-patche
steamid: null
version: MS-DOS Floppy - PATCHED
year: 1990
{
"game_slug": "commander-keen",
"version": "MS-DOS Floppy - PATCHED",
"description": "The installer will patch the controls\r\n Space = shoot\r\n Enter = status",
"notes": "",
"name": "Commander Keen",
"year": 1990,
"steamid": null,
"gogslug": "commander_keen_complete_pack",
"humblestoreid": "",
"runner": "dosbox",
"slug": "commander-keen-ms-dos-floppy-patche",
"installer_slug": "commander-keen-ms-dos-floppy-patche",
"script": {
"files": [
{
"game": "N/A:Select the file Keen1.exe"
},
{
"patch": "http://www.shikadi.net/wiki/files/tools/t.ckpatch_v.0.10.andrew_durdin.2007-11-23.zip"
}
],
"game": {
"main_file": "$GAMEDIR/commander_keen.conf"
},
"installer": [
{
"execute": {
"args": "$GAMEDIR/HDD $GAMEDIR/HDD/keen1",
"file": "mkdir"
}
},
{
"extract": {
"dst": "$CACHE",
"file": "$patch",
"format": "zip"
}
},
{
"execute": {
"args": "$CACHE/CK1PATCH.EXE $GAMEDIR/HDD/keen1",
"file": "/bin/cp"
}
},
{
"write_file": {
"content": "%ext ck1\n#Change the controls to Space, shoot; Enter, status.\n%patch $1251 $5048W\n%patch $7FA3 $5048W\n%patch $3B23 $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00\n%patch $3C4E $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00\n%patch $3DB9 $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00\n%patch $3DCC $90 $90\n%patch $3E6D $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00\n%patch $3FFC $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00\n%patch $40AA $90 $90 $90 $90 $90 $90 $90 $80 $3E $5065W $00\n%end",
"file": "$GAMEDIR/HDD/keen1/PATCH.PAT"
}
},
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\ncp -avr \"$src_path/.\" \"$dst\"",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"chmodx": "$CACHE/bulkcopy.sh"
},
{
"execute": {
"args": "$game $GAMEDIR/HDD/keen1",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"write_file": {
"content": "[cpu]\ncputype=386_slow\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd keen1\nCK1PATCH.EXE patch.pat\nexit",
"file": "$GAMEDIR/commander_keen.conf"
}
}
]
}
}