files:
- game: N/A:Select the file JMP PP Resources.bin
game:
game_id: pegasus
path: $GAMEDIR
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
- execute:
args: $game $GAMEDIR
file: $CACHE/bulkcopy.sh
description: "HOWTO-Extract Pegasus Prime\r\n\r\nhttps://wiki.scummvm.org/index.php?title=HOWTO-Extract_Pegasus_Prime"
game_slug: the-journeyman-project-1-pegasus-prime
gogslug: journeyman_project_1_pegasus_prime_the
humblestoreid: ''
installer_slug: the-journeyman-project-1-pega-mac
name: 'The Journeyman Project 1: Pegasus Prime'
notes: ''
runner: scummvm
script:
files:
- game: N/A:Select the file JMP PP Resources.bin
game:
game_id: pegasus
path: $GAMEDIR
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
- execute:
args: $game $GAMEDIR
file: $CACHE/bulkcopy.sh
slug: the-journeyman-project-1-pega-mac
steamid: 359420
version: Mac
year: 1997
{
"game_slug": "the-journeyman-project-1-pegasus-prime",
"version": "Mac",
"description": "HOWTO-Extract Pegasus Prime\r\n\r\nhttps://wiki.scummvm.org/index.php?title=HOWTO-Extract_Pegasus_Prime",
"notes": "",
"name": "The Journeyman Project 1: Pegasus Prime",
"year": 1997,
"steamid": 359420,
"gogslug": "journeyman_project_1_pegasus_prime_the",
"humblestoreid": "",
"runner": "scummvm",
"slug": "the-journeyman-project-1-pega-mac",
"installer_slug": "the-journeyman-project-1-pega-mac",
"script": {
"files": [
{
"game": "N/A:Select the file JMP PP Resources.bin"
}
],
"game": {
"game_id": "pegasus",
"path": "$GAMEDIR"
},
"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"
},
{
"execute": {
"args": "$game $GAMEDIR",
"file": "$CACHE/bulkcopy.sh"
}
}
]
}
}