files:
- goginstaller: N/A:Select the game's setup file
game:
arch: win64
exe: $GAMEDIR/drive_c/GOG Games/Prey/Binaries/Danielle/x64-GOG/Release/Prey.exe
prefix: $GAMEDIR
install_complete_text: "Installation finished!\n\n\n\nIMPORTANT!\n============\n\n\
Please change the wine version in the game\xB4s settings to the newest \"lutris-GE-Proton\"\
- or \"wine-ge\" version,\nif it is not already set.\nThis game does not run with\
\ the standard \"lutris-wine\" version."
installer:
- input_menu:
description: Please choose your preferred language.
id: LANG
options:
- Chinese (Simplified)_zh-Hans: Chinese (Simplified)
- Chinese (Traditional)_zh-Hant: Chinese (Traditional)
- English_en-US: English
- French_fr-FR: French
- German_de-DE: German
- Italian_it-IT: Italian
- Japanese_ja-JP: Japanese
- Polish_pl-PL: Polish
- Portuguese (Brazilian)_pt-BR: Portuguese
- Russian_ru-RU: Russian
- Spanish_es-ES: Spanish
preselect: English_en-US
- task:
install_gecko: false
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- task:
args: /VERYSILENT /SUPPRESSMSGBOXES
description: Running game setup... This will take a while, please wait...
executable: goginstaller
name: wineexec
prefix: $GAMEDIR
- execute:
command: cp "$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info" "$GAMEDIR/drive_c/GOG
Games/Prey/goggame-1158493447.info.bak"
- write_json:
data:
language: PLACEHOLDER1
languages:
- PLACEHOLDER2
file: $GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info
- execute:
command: sed -e "s/PLACEHOLDER1/$(echo "$INPUT_LANG" | cut -d'_' -f1)/" -e "s/PLACEHOLDER2/$(echo
"$INPUT_LANG" | cut -d'_' -f2)/" "$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info"
> "$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info.modified"
- execute:
command: mv "$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info.modified"
"$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info"
description: null
game_slug: prey
gogslug: prey_digital_deluxe_edition
humblestoreid: ''
installer_slug: prey-gog
name: Prey
notes: ''
runner: wine
script:
files:
- goginstaller: N/A:Select the game's setup file
game:
arch: win64
exe: $GAMEDIR/drive_c/GOG Games/Prey/Binaries/Danielle/x64-GOG/Release/Prey.exe
prefix: $GAMEDIR
install_complete_text: "Installation finished!\n\n\n\nIMPORTANT!\n============\n\
\nPlease change the wine version in the game\xB4s settings to the newest \"lutris-GE-Proton\"\
- or \"wine-ge\" version,\nif it is not already set.\nThis game does not run with\
\ the standard \"lutris-wine\" version."
installer:
- input_menu:
description: Please choose your preferred language.
id: LANG
options:
- Chinese (Simplified)_zh-Hans: Chinese (Simplified)
- Chinese (Traditional)_zh-Hant: Chinese (Traditional)
- English_en-US: English
- French_fr-FR: French
- German_de-DE: German
- Italian_it-IT: Italian
- Japanese_ja-JP: Japanese
- Polish_pl-PL: Polish
- Portuguese (Brazilian)_pt-BR: Portuguese
- Russian_ru-RU: Russian
- Spanish_es-ES: Spanish
preselect: English_en-US
- task:
install_gecko: false
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- task:
args: /VERYSILENT /SUPPRESSMSGBOXES
description: Running game setup... This will take a while, please wait...
executable: goginstaller
name: wineexec
prefix: $GAMEDIR
- execute:
command: cp "$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info" "$GAMEDIR/drive_c/GOG
Games/Prey/goggame-1158493447.info.bak"
- write_json:
data:
language: PLACEHOLDER1
languages:
- PLACEHOLDER2
file: $GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info
- execute:
command: sed -e "s/PLACEHOLDER1/$(echo "$INPUT_LANG" | cut -d'_' -f1)/" -e "s/PLACEHOLDER2/$(echo
"$INPUT_LANG" | cut -d'_' -f2)/" "$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info"
> "$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info.modified"
- execute:
command: mv "$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info.modified"
"$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info"
slug: prey-gog
steamid: 480490
version: GOG
year: 2017
{
"game_slug": "prey",
"version": "GOG",
"description": null,
"notes": "",
"name": "Prey",
"year": 2017,
"steamid": 480490,
"gogslug": "prey_digital_deluxe_edition",
"humblestoreid": "",
"runner": "wine",
"slug": "prey-gog",
"installer_slug": "prey-gog",
"script": {
"files": [
{
"goginstaller": "N/A:Select the game's setup file"
}
],
"game": {
"arch": "win64",
"exe": "$GAMEDIR/drive_c/GOG Games/Prey/Binaries/Danielle/x64-GOG/Release/Prey.exe",
"prefix": "$GAMEDIR"
},
"install_complete_text": "Installation finished!\n\n\n\nIMPORTANT!\n============\n\nPlease change the wine version in the game\u00b4s settings to the newest \"lutris-GE-Proton\"- or \"wine-ge\" version,\nif it is not already set.\nThis game does not run with the standard \"lutris-wine\" version.",
"installer": [
{
"input_menu": {
"description": "Please choose your preferred language.",
"id": "LANG",
"options": [
{
"Chinese (Simplified)_zh-Hans": "Chinese (Simplified)"
},
{
"Chinese (Traditional)_zh-Hant": "Chinese (Traditional)"
},
{
"English_en-US": "English"
},
{
"French_fr-FR": "French"
},
{
"German_de-DE": "German"
},
{
"Italian_it-IT": "Italian"
},
{
"Japanese_ja-JP": "Japanese"
},
{
"Polish_pl-PL": "Polish"
},
{
"Portuguese (Brazilian)_pt-BR": "Portuguese"
},
{
"Russian_ru-RU": "Russian"
},
{
"Spanish_es-ES": "Spanish"
}
],
"preselect": "English_en-US"
}
},
{
"task": {
"install_gecko": false,
"install_mono": false,
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"args": "/VERYSILENT /SUPPRESSMSGBOXES",
"description": "Running game setup... This will take a while, please wait...",
"executable": "goginstaller",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"execute": {
"command": "cp \"$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info\" \"$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info.bak\""
}
},
{
"write_json": {
"data": {
"language": "PLACEHOLDER1",
"languages": [
"PLACEHOLDER2"
]
},
"file": "$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info"
}
},
{
"execute": {
"command": "sed -e \"s/PLACEHOLDER1/$(echo \"$INPUT_LANG\" | cut -d'_' -f1)/\" -e \"s/PLACEHOLDER2/$(echo \"$INPUT_LANG\" | cut -d'_' -f2)/\" \"$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info\" > \"$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info.modified\""
}
},
{
"execute": {
"command": "mv \"$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info.modified\" \"$GAMEDIR/drive_c/GOG Games/Prey/goggame-1158493447.info\""
}
}
]
}
}