files:
- setup: N/A:Select installer
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
main_file: $GAMEDIR/willy.conf
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
find "$src" -type f \( -name "INSTALL.*" -o -name "*.DRV" -o -name "RESOURCE.*"
-o -name "WILLY.*" \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -d "$CACHE" "$setup"
file: $CACHE/innoextract
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/willy $GAMEDIR/FDD
file: mkdir
- execute:
args: $CACHE $GAMEDIR/HDD/willy
file: $CACHE/selectcopy.sh
- copy:
dst: $GAMEDIR/FDD
src: $CACHE/FDD
- copy:
dst: $GAMEDIR
src: $CACHE/Manual.pdf
- copy:
dst: $GAMEDIR
src: $CACHE/HintBook.pdf
- copy:
dst: $GAMEDIR
src: $CACHE/PizzaramaMenu.pdf
- write_file:
content: '[cpu]
core=auto
cputype=auto
cycles=fixed 6000
[sdl]
sensitivity=10
[autoexec]
mount A "$GAMEDIR/FDD" -t floppy
mount C "$GAMEDIR/HDD" -t dir
c:
@echo off
cls
ECHO ------------------------------------------
ECHO THE ADVENTURES OF WILLY BEAMISH
ECHO ------------------------------------------
ECHO 1) CD version
ECHO 2) Floppy version
ECHO ------------------------------------------
ECHO 3) Sound settings (Floppy)
ECHO ------------------------------------------
ECHO 4) exit program
ECHO ------------------------------------------
choice /c1234 /s Choose version to run [1-3]: /n
if errorlevel 4 goto exit
if errorlevel 3 goto sound
if errorlevel 2 goto fdd
if errorlevel 1 goto cd
:cd
cls
cd willy
willy resource.cfg
exit
:fdd
cls
a:
willy.exe
exit
:sound
cls
a:
install
exit
:exit
exit'
file: $GAMEDIR/willy.conf
description: null
game_slug: the-adventures-of-willy-beamish
gogslug: the_adventures_of_willy_beamish
humblestoreid: ''
installer_slug: the-adventures-of-willy-beami-windows-gog
name: The Adventures of Willy Beamish
notes: ''
runner: dosbox
script:
files:
- setup: N/A:Select installer
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
main_file: $GAMEDIR/willy.conf
installer:
- write_file:
content: '#!/bin/bash
src=$1
dst=$2
find "$src" -type f \( -name "INSTALL.*" -o -name "*.DRV" -o -name "RESOURCE.*"
-o -name "WILLY.*" \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- extract:
dst: $CACHE
file: $inno
- execute:
args: -d "$CACHE" "$setup"
file: $CACHE/innoextract
- execute:
args: $GAMEDIR/HDD $GAMEDIR/HDD/willy $GAMEDIR/FDD
file: mkdir
- execute:
args: $CACHE $GAMEDIR/HDD/willy
file: $CACHE/selectcopy.sh
- copy:
dst: $GAMEDIR/FDD
src: $CACHE/FDD
- copy:
dst: $GAMEDIR
src: $CACHE/Manual.pdf
- copy:
dst: $GAMEDIR
src: $CACHE/HintBook.pdf
- copy:
dst: $GAMEDIR
src: $CACHE/PizzaramaMenu.pdf
- write_file:
content: '[cpu]
core=auto
cputype=auto
cycles=fixed 6000
[sdl]
sensitivity=10
[autoexec]
mount A "$GAMEDIR/FDD" -t floppy
mount C "$GAMEDIR/HDD" -t dir
c:
@echo off
cls
ECHO ------------------------------------------
ECHO THE ADVENTURES OF WILLY BEAMISH
ECHO ------------------------------------------
ECHO 1) CD version
ECHO 2) Floppy version
ECHO ------------------------------------------
ECHO 3) Sound settings (Floppy)
ECHO ------------------------------------------
ECHO 4) exit program
ECHO ------------------------------------------
choice /c1234 /s Choose version to run [1-3]: /n
if errorlevel 4 goto exit
if errorlevel 3 goto sound
if errorlevel 2 goto fdd
if errorlevel 1 goto cd
:cd
cls
cd willy
willy resource.cfg
exit
:fdd
cls
a:
willy.exe
exit
:sound
cls
a:
install
exit
:exit
exit'
file: $GAMEDIR/willy.conf
slug: the-adventures-of-willy-beami-windows-gog
steamid: null
version: Windows GOG
year: 1991
{
"game_slug": "the-adventures-of-willy-beamish",
"version": "Windows GOG",
"description": null,
"notes": "",
"name": "The Adventures of Willy Beamish",
"year": 1991,
"steamid": null,
"gogslug": "the_adventures_of_willy_beamish",
"humblestoreid": "",
"runner": "dosbox",
"slug": "the-adventures-of-willy-beami-windows-gog",
"installer_slug": "the-adventures-of-willy-beami-windows-gog",
"script": {
"files": [
{
"setup": "N/A:Select installer"
},
{
"inno": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
}
],
"game": {
"main_file": "$GAMEDIR/willy.conf"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\ndst=$2\nfind \"$src\" -type f \\( -name \"INSTALL.*\" -o -name \"*.DRV\" -o -name \"RESOURCE.*\" -o -name \"WILLY.*\" \\) -exec cp {} \"$dst\" \\;",
"file": "$CACHE/selectcopy.sh"
}
},
{
"chmodx": "$CACHE/selectcopy.sh"
},
{
"extract": {
"dst": "$CACHE",
"file": "$inno"
}
},
{
"execute": {
"args": "-d \"$CACHE\" \"$setup\"",
"file": "$CACHE/innoextract"
}
},
{
"execute": {
"args": "$GAMEDIR/HDD $GAMEDIR/HDD/willy $GAMEDIR/FDD",
"file": "mkdir"
}
},
{
"execute": {
"args": "$CACHE $GAMEDIR/HDD/willy",
"file": "$CACHE/selectcopy.sh"
}
},
{
"copy": {
"dst": "$GAMEDIR/FDD",
"src": "$CACHE/FDD"
}
},
{
"copy": {
"dst": "$GAMEDIR",
"src": "$CACHE/Manual.pdf"
}
},
{
"copy": {
"dst": "$GAMEDIR",
"src": "$CACHE/HintBook.pdf"
}
},
{
"copy": {
"dst": "$GAMEDIR",
"src": "$CACHE/PizzaramaMenu.pdf"
}
},
{
"write_file": {
"content": "[cpu]\ncore=auto\ncputype=auto\ncycles=fixed 6000\n[sdl]\nsensitivity=10\n[autoexec]\nmount A \"$GAMEDIR/FDD\" -t floppy\nmount C \"$GAMEDIR/HDD\" -t dir\n\nc:\n@echo off\ncls\nECHO ------------------------------------------\nECHO THE ADVENTURES OF WILLY BEAMISH\nECHO ------------------------------------------\nECHO 1) CD version\nECHO 2) Floppy version\nECHO ------------------------------------------\nECHO 3) Sound settings (Floppy)\nECHO ------------------------------------------\nECHO 4) exit program\nECHO ------------------------------------------\n\nchoice /c1234 /s Choose version to run [1-3]: /n\nif errorlevel 4 goto exit\nif errorlevel 3 goto sound\nif errorlevel 2 goto fdd\nif errorlevel 1 goto cd\n\n:cd\ncls\ncd willy\nwilly resource.cfg\nexit\n:fdd\ncls\na:\nwilly.exe\nexit\n\n:sound\ncls\na:\ninstall\nexit\n:exit\nexit",
"file": "$GAMEDIR/willy.conf"
}
}
]
}
}