description: '"Treasure Adventure Game" GOG edition with support for modern computer
configuration.'
game_slug: treasure-adventure-game
gogslug: treasure_adventure_game
humblestoreid: ''
installer_slug: treasure-adventure-game-gog
name: Treasure Adventure Game
notes: '- Multilanguage: you could choose your preferred game text language between
english, french, brazilian, portuguese, dutch, german, polish, spanish and tchinese.'
runner: wine
script:
custom-name: Treasure Adventure Game - GOG
files:
- lg: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Treasure%20Adventure%20Game/tag_languages.zip
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- gog: N/A:Select GOG setup exe
game:
exe: drive_c/GOG Games/Treasure Adventure Game/treasure_adventure_game_1.0.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
install_gecko: true
install_mono: false
name: create_prefix
prefix: $GAMEDIR
- extract:
dst: $CACHE/innoextract
file: inno
- execute:
args: --extract $gog --output-dir "$CACHE/GOG"
file: $CACHE/innoextract/innoextract
- merge:
dst: $GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/
src: $CACHE/GOG
- extract:
dst: $GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/
src: lg
- input_menu:
description: 'Choose your preferred game''s language:'
id: LANG
options:
- english: English
- french: French
- brazilian_portuguese: Brazilian, Portuguese
- dutch: Dutch
- german: German
- polish: Polish
- spanish: Spanish
- tchinese: Tchinese
preselect: english
- copy:
dst: $GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/
src: $GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/__support/app/config.ini
- write_config:
data:
Screen Resolution:
Selected Resolution: 0
VSYNC: 1
file: $GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/config.ini
- execute:
command: cd "$GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/"; sed -i s/english/$INPUT_LANG/g
config.ini; rm -f -r tmp __support __redist commonappdata app gog* "Launch
Treasure Adventure Game.lnk" unins000.* webcache.zip support.ico;
- task:
arch: win64
key: csmt
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
prefix: $GAMEDIR
type: REG_DWORD
value: '00000000'
- task:
arch: win64
key: background
name: set_regedit
path: HKEY_CURRENT_USER\Control Panel\Colors\
prefix: $GAMEDIR
type: REG_SZ
value: 0 0 0
wine:
Desktop: true
slug: treasure-adventure-game-gog
steamid: 863940
version: GOG
year: 2011
{
"game_slug": "treasure-adventure-game",
"version": "GOG",
"description": "\"Treasure Adventure Game\" GOG edition with support for modern computer configuration.",
"notes": "- Multilanguage: you could choose your preferred game text language between english, french, brazilian, portuguese, dutch, german, polish, spanish and tchinese.",
"name": "Treasure Adventure Game",
"year": 2011,
"steamid": 863940,
"gogslug": "treasure_adventure_game",
"humblestoreid": "",
"runner": "wine",
"slug": "treasure-adventure-game-gog",
"installer_slug": "treasure-adventure-game-gog",
"script": {
"custom-name": "Treasure Adventure Game - GOG",
"files": [
{
"lg": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Treasure%20Adventure%20Game/tag_languages.zip"
},
{
"inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
},
{
"gog": "N/A:Select GOG setup exe"
}
],
"game": {
"exe": "drive_c/GOG Games/Treasure Adventure Game/treasure_adventure_game_1.0.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"install_gecko": true,
"install_mono": false,
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"extract": {
"dst": "$CACHE/innoextract",
"file": "inno"
}
},
{
"execute": {
"args": "--extract $gog --output-dir \"$CACHE/GOG\"",
"file": "$CACHE/innoextract/innoextract"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/",
"src": "$CACHE/GOG"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/",
"src": "lg"
}
},
{
"input_menu": {
"description": "Choose your preferred game's language:",
"id": "LANG",
"options": [
{
"english": "English"
},
{
"french": "French"
},
{
"brazilian_portuguese": "Brazilian, Portuguese"
},
{
"dutch": "Dutch"
},
{
"german": "German"
},
{
"polish": "Polish"
},
{
"spanish": "Spanish"
},
{
"tchinese": "Tchinese"
}
],
"preselect": "english"
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/",
"src": "$GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/__support/app/config.ini"
}
},
{
"write_config": {
"data": {
"Screen Resolution": {
"Selected Resolution": 0,
"VSYNC": 1
}
},
"file": "$GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/config.ini"
}
},
{
"execute": {
"command": "cd \"$GAMEDIR/drive_c/GOG Games/Treasure Adventure Game/\"; sed -i s/english/$INPUT_LANG/g config.ini; rm -f -r tmp __support __redist commonappdata app gog* \"Launch Treasure Adventure Game.lnk\" unins000.* webcache.zip support.ico;"
}
},
{
"task": {
"arch": "win64",
"key": "csmt",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
"prefix": "$GAMEDIR",
"type": "REG_DWORD",
"value": "00000000"
}
},
{
"task": {
"arch": "win64",
"key": "background",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
"prefix": "$GAMEDIR",
"type": "REG_SZ",
"value": "0 0 0"
}
}
],
"wine": {
"Desktop": true
}
}
}