files:
- game: N/A:Select the Autoexec.bat from a Win3.1 install
- runexit: https://github.com/appoloin/WfW/raw/master/runexit.zip
- qt: https://github.com/appoloin/WfW/raw/master/qteasy16.exe
game:
main_file: $GAMEDIR/Gadget_Past_as_Future.conf
installer:
- 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
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
cp -avr "$src/." "$dst"'
file: $CACHE/bulkcopy-alt.sh
- chmodx: $CACHE/bulkcopy-alt.sh
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/runexit $GAMEDIR/HDD/QT
file: mkdir
- execute:
args: $GAMEDIR/CDD $GAMEDIR/CDD/DISC1
file: mkdir
- execute:
args: $game $GAMEDIR/HDD
file: $CACHE/bulkcopy.sh
- insert-disc:
description: Please insert disc 1
requires: setup.exe
- execute:
args: $DISC $GAMEDIR/CDD/DISC1
file: $CACHE/bulkcopy-alt.sh
- extract:
dst: $GAMEDIR/HDD/runexit
file: $runexit
format: zip
- execute:
args: $qt $GAMEDIR/HDD/QT
file: /bin/cp
- execute:
args: -R 775 "$GAMEDIR/CDD"
file: /bin/chmod
- write_file:
content: '[sblaster]
irq=5
[sdl]
sensitivity=20
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
mount D "$GAMEDIR/CDD/DISC1" -t cdrom
SET PATH=%PATH%;C:\WINDOWS;C:\runexit
SET TEMP=C:\WINDOWS\TEMP
C:
C:\QT\qteasy16.exe
win runexit C:\QT\QTINSTAL.EXE
win runexit D:\setup.exe
exit'
file: $GAMEDIR/Gadget_Past_as_Future-setup.conf
- task:
config_file: $GAMEDIR/Gadget_Past_as_Future-setup.conf
name: dosexec
working_dir: $GAMEDIR/HDD
- write_file:
content: '[sblaster]
irq=5
[sdl]
sensitivity=20
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
mount D "$GAMEDIR/CDD/DISC1" -t cdrom
SET PATH=%PATH%;C:\WINDOWS;C:\runexit
SET TEMP=C:\WINDOWS\TEMP
C:
win
exit'
file: $GAMEDIR/Gadget_Past_as_Future.conf
description: You will need a Windows 3.1 install.
game_slug: gadget-invention-travel-adventure
gogslug: ''
humblestoreid: ''
installer_slug: gadget-invention-travel-adven-win31-cdrom
name: 'Gadget: Invention, Travel & Adventure'
notes: ''
runner: dosbox
script:
files:
- game: N/A:Select the Autoexec.bat from a Win3.1 install
- runexit: https://github.com/appoloin/WfW/raw/master/runexit.zip
- qt: https://github.com/appoloin/WfW/raw/master/qteasy16.exe
game:
main_file: $GAMEDIR/Gadget_Past_as_Future.conf
installer:
- 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
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
cp -avr "$src/." "$dst"'
file: $CACHE/bulkcopy-alt.sh
- chmodx: $CACHE/bulkcopy-alt.sh
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/runexit $GAMEDIR/HDD/QT
file: mkdir
- execute:
args: $GAMEDIR/CDD $GAMEDIR/CDD/DISC1
file: mkdir
- execute:
args: $game $GAMEDIR/HDD
file: $CACHE/bulkcopy.sh
- insert-disc:
description: Please insert disc 1
requires: setup.exe
- execute:
args: $DISC $GAMEDIR/CDD/DISC1
file: $CACHE/bulkcopy-alt.sh
- extract:
dst: $GAMEDIR/HDD/runexit
file: $runexit
format: zip
- execute:
args: $qt $GAMEDIR/HDD/QT
file: /bin/cp
- execute:
args: -R 775 "$GAMEDIR/CDD"
file: /bin/chmod
- write_file:
content: '[sblaster]
irq=5
[sdl]
sensitivity=20
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
mount D "$GAMEDIR/CDD/DISC1" -t cdrom
SET PATH=%PATH%;C:\WINDOWS;C:\runexit
SET TEMP=C:\WINDOWS\TEMP
C:
C:\QT\qteasy16.exe
win runexit C:\QT\QTINSTAL.EXE
win runexit D:\setup.exe
exit'
file: $GAMEDIR/Gadget_Past_as_Future-setup.conf
- task:
config_file: $GAMEDIR/Gadget_Past_as_Future-setup.conf
name: dosexec
working_dir: $GAMEDIR/HDD
- write_file:
content: '[sblaster]
irq=5
[sdl]
sensitivity=20
[autoexec]
mount C "$GAMEDIR/HDD" -t dir
mount D "$GAMEDIR/CDD/DISC1" -t cdrom
SET PATH=%PATH%;C:\WINDOWS;C:\runexit
SET TEMP=C:\WINDOWS\TEMP
C:
win
exit'
file: $GAMEDIR/Gadget_Past_as_Future.conf
slug: gadget-invention-travel-adven-win31-cdrom
steamid: null
version: Win3.1 CDRom
year: 1993
{
"game_slug": "gadget-invention-travel-adventure",
"version": "Win3.1 CDRom",
"description": "You will need a Windows 3.1 install.",
"notes": "",
"name": "Gadget: Invention, Travel & Adventure",
"year": 1993,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "dosbox",
"slug": "gadget-invention-travel-adven-win31-cdrom",
"installer_slug": "gadget-invention-travel-adven-win31-cdrom",
"script": {
"files": [
{
"game": "N/A:Select the Autoexec.bat from a Win3.1 install"
},
{
"runexit": "https://github.com/appoloin/WfW/raw/master/runexit.zip"
},
{
"qt": "https://github.com/appoloin/WfW/raw/master/qteasy16.exe"
}
],
"game": {
"main_file": "$GAMEDIR/Gadget_Past_as_Future.conf"
},
"installer": [
{
"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"
},
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\ncp -avr \"$src/.\" \"$dst\"",
"file": "$CACHE/bulkcopy-alt.sh"
}
},
{
"chmodx": "$CACHE/bulkcopy-alt.sh"
},
{
"execute": {
"args": "$GAMEDIR/HDD $GAMEDIR/HDD/runexit $GAMEDIR/HDD/QT",
"file": "mkdir"
}
},
{
"execute": {
"args": "$GAMEDIR/CDD $GAMEDIR/CDD/DISC1",
"file": "mkdir"
}
},
{
"execute": {
"args": "$game $GAMEDIR/HDD",
"file": "$CACHE/bulkcopy.sh"
}
},
{
"insert-disc": {
"description": "Please insert disc 1",
"requires": "setup.exe"
}
},
{
"execute": {
"args": "$DISC $GAMEDIR/CDD/DISC1",
"file": "$CACHE/bulkcopy-alt.sh"
}
},
{
"extract": {
"dst": "$GAMEDIR/HDD/runexit",
"file": "$runexit",
"format": "zip"
}
},
{
"execute": {
"args": "$qt $GAMEDIR/HDD/QT",
"file": "/bin/cp"
}
},
{
"execute": {
"args": "-R 775 \"$GAMEDIR/CDD\"",
"file": "/bin/chmod"
}
},
{
"write_file": {
"content": "[sblaster]\nirq=5\n[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nSET PATH=%PATH%;C:\\WINDOWS;C:\\runexit\nSET TEMP=C:\\WINDOWS\\TEMP\nC:\nC:\\QT\\qteasy16.exe\nwin runexit C:\\QT\\QTINSTAL.EXE\nwin runexit D:\\setup.exe\nexit",
"file": "$GAMEDIR/Gadget_Past_as_Future-setup.conf"
}
},
{
"task": {
"config_file": "$GAMEDIR/Gadget_Past_as_Future-setup.conf",
"name": "dosexec",
"working_dir": "$GAMEDIR/HDD"
}
},
{
"write_file": {
"content": "[sblaster]\nirq=5\n[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nSET PATH=%PATH%;C:\\WINDOWS;C:\\runexit\nSET TEMP=C:\\WINDOWS\\TEMP\nC:\nwin\nexit",
"file": "$GAMEDIR/Gadget_Past_as_Future.conf"
}
}
]
}
}