files:
- game: N/A:Select the file Install.exe
game:
game_id: os
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
dst=$2
find "$src_path" -type f \( -iname "*.DAT" -o -iname "EGOUBASE" -o -iname "LABYBASE"
-o -iname "PROC*" -o -iname "RSC*" -o -iname "SON*" -o -iname "VOL*" -o -iname
"*.PAL" -o -iname "SD*" -o -iname "SINTRO2" \) -exec cp {} "$dst" \;'
file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- execute:
args: $game $GAMEDIR
file: $CACHE/selectcopy.sh
description: null
game_slug: james-bond-007-the-stealth-affair
gogslug: ''
humblestoreid: ''
installer_slug: james-bond-007-the-stealth-af-dos
name: 'James Bond 007: The Stealth Affair'
notes: ''
runner: scummvm
script:
files:
- game: N/A:Select the file Install.exe
game:
game_id: os
path: $GAMEDIR
installer:
- write_file:
content: '#!/bin/bash
src=$1
src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")
dst=$2
find "$src_path" -type f \( -iname "*.DAT" -o -iname "EGOUBASE" -o -iname
"LABYBASE" -o -iname "PROC*" -o -iname "RSC*" -o -iname "SON*" -o -iname "VOL*"
-o -iname "*.PAL" -o -iname "SD*" -o -iname "SINTRO2" \) -exec cp {} "$dst"
\;'
file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- execute:
args: $game $GAMEDIR
file: $CACHE/selectcopy.sh
slug: james-bond-007-the-stealth-af-dos
steamid: null
version: DOS
year: 1990
{
"game_slug": "james-bond-007-the-stealth-affair",
"version": "DOS",
"description": null,
"notes": "",
"name": "James Bond 007: The Stealth Affair",
"year": 1990,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "scummvm",
"slug": "james-bond-007-the-stealth-af-dos",
"installer_slug": "james-bond-007-the-stealth-af-dos",
"script": {
"files": [
{
"game": "N/A:Select the file Install.exe"
}
],
"game": {
"game_id": "os",
"path": "$GAMEDIR"
},
"installer": [
{
"write_file": {
"content": "#!/bin/bash\nsrc=$1\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\ndst=$2\nfind \"$src_path\" -type f \\( -iname \"*.DAT\" -o -iname \"EGOUBASE\" -o -iname \"LABYBASE\" -o -iname \"PROC*\" -o -iname \"RSC*\" -o -iname \"SON*\" -o -iname \"VOL*\" -o -iname \"*.PAL\" -o -iname \"SD*\" -o -iname \"SINTRO2\" \\) -exec cp {} \"$dst\" \\;",
"file": "$CACHE/selectcopy.sh"
}
},
{
"chmodx": "$CACHE/selectcopy.sh"
},
{
"execute": {
"args": "$game $GAMEDIR",
"file": "$CACHE/selectcopy.sh"
}
}
]
}
}