files:
- launcher: https://ymirheim.org/download
game:
arch: win64
exe: drive_c/users/$USER/AppData/Local/YmirheimLauncher/YmirheimLauncher.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Criando um prefixo do wine para Ymirheim...
install_mono: true
name: create_prefix
prefix: $GAMEDIR
- mkdir: $GAMEDIR/drive_c/RO2
- mkdir: $GAMEDIR/drive_c/Ymirheim
- execute:
command: 'SELECTED_PATH=$(LD_LIBRARY_PATH="" zenity --file-selection --directory
--title="Selecione a pasta do seu cliente de jogo.")
if [ -z "$SELECTED_PATH" ]; then exit 1; fi
echo "$SELECTED_PATH" > "$CACHE/selected_game_path.txt"
'
description: Selecionando a pasta do jogo...
- execute:
command: "SRC_PATH=$(cat \"$CACHE/selected_game_path.txt\")\nif [ -d \"$SRC_PATH\"\
\ ] && [ \"$SRC_PATH\" != \"/\" ]; then\n cp -r \"$SRC_PATH\"/* \"$GAMEDIR/drive_c/RO2/\"\
\nelse\n echo \"Caminho de origem inv\xE1lido\"\n exit 1\nfi\n"
description: Copiando todos os arquivos e pastas do jogo para o RO2...
- move:
description: "Movendo o instalador para o diret\xF3rio C:..."
dst: $GAMEDIR/drive_c/YmirheimLauncherSetup.exe
src: launcher
- task:
app: corefonts d3dcompiler_47
description: "Instalando fontes e bibliotecas necess\xE1rias..."
name: winetricks
prefix: $GAMEDIR
- task:
description: "Instalando... IMPORTANTE: Ao termino da instala\xE7\xE3o, feche\
\ o inicializador para concluir a instala\xE7\xE3o no Lutris!"
executable: $GAMEDIR/drive_c/YmirheimLauncherSetup.exe
name: wineexec
prefix: $GAMEDIR
- execute:
command: rm -rf "$GAMEDIR/drive_c/RO2"
description: "Limpando arquivos tempor\xE1rios do jogo..."
- task:
name: winekill
prefix: $GAMEDIR
system:
env:
DXVK_HUD: 0
prime: true
description: Instalador do Ymirheim Launcher. Para mais detalhes, visite https://ymirheim.org
game_slug: ymirheim-launcher
gogslug: ''
humblestoreid: ''
installer_slug: ymirheim-launcher-estavel-pt-br
name: Ymirheim Launcher
notes: "IMPORTANTE: Este instalador requer o pacote 'zenity' para sele\xE7\xE3o de\
\ pastas. Se a janela n\xE3o abrir, instale-o pelo terminal (ex.: sudo apt install\
\ zenity)."
runner: wine
script:
files:
- launcher: https://ymirheim.org/download
game:
arch: win64
exe: drive_c/users/$USER/AppData/Local/YmirheimLauncher/YmirheimLauncher.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Criando um prefixo do wine para Ymirheim...
install_mono: true
name: create_prefix
prefix: $GAMEDIR
- mkdir: $GAMEDIR/drive_c/RO2
- mkdir: $GAMEDIR/drive_c/Ymirheim
- execute:
command: 'SELECTED_PATH=$(LD_LIBRARY_PATH="" zenity --file-selection --directory
--title="Selecione a pasta do seu cliente de jogo.")
if [ -z "$SELECTED_PATH" ]; then exit 1; fi
echo "$SELECTED_PATH" > "$CACHE/selected_game_path.txt"
'
description: Selecionando a pasta do jogo...
- execute:
command: "SRC_PATH=$(cat \"$CACHE/selected_game_path.txt\")\nif [ -d \"$SRC_PATH\"\
\ ] && [ \"$SRC_PATH\" != \"/\" ]; then\n cp -r \"$SRC_PATH\"/* \"$GAMEDIR/drive_c/RO2/\"\
\nelse\n echo \"Caminho de origem inv\xE1lido\"\n exit 1\nfi\n"
description: Copiando todos os arquivos e pastas do jogo para o RO2...
- move:
description: "Movendo o instalador para o diret\xF3rio C:..."
dst: $GAMEDIR/drive_c/YmirheimLauncherSetup.exe
src: launcher
- task:
app: corefonts d3dcompiler_47
description: "Instalando fontes e bibliotecas necess\xE1rias..."
name: winetricks
prefix: $GAMEDIR
- task:
description: "Instalando... IMPORTANTE: Ao termino da instala\xE7\xE3o, feche\
\ o inicializador para concluir a instala\xE7\xE3o no Lutris!"
executable: $GAMEDIR/drive_c/YmirheimLauncherSetup.exe
name: wineexec
prefix: $GAMEDIR
- execute:
command: rm -rf "$GAMEDIR/drive_c/RO2"
description: "Limpando arquivos tempor\xE1rios do jogo..."
- task:
name: winekill
prefix: $GAMEDIR
system:
env:
DXVK_HUD: 0
prime: true
slug: ymirheim-launcher-estavel-pt-br
steamid: null
version: "Est\xE1vel (pt-BR)"
year: 2010
{
"game_slug": "ymirheim-launcher",
"version": "Est\u00e1vel (pt-BR)",
"description": "Instalador do Ymirheim Launcher. Para mais detalhes, visite https://ymirheim.org",
"notes": "IMPORTANTE: Este instalador requer o pacote 'zenity' para sele\u00e7\u00e3o de pastas. Se a janela n\u00e3o abrir, instale-o pelo terminal (ex.: sudo apt install zenity).",
"name": "Ymirheim Launcher",
"year": 2010,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "ymirheim-launcher-estavel-pt-br",
"installer_slug": "ymirheim-launcher-estavel-pt-br",
"script": {
"files": [
{
"launcher": "https://ymirheim.org/download"
}
],
"game": {
"arch": "win64",
"exe": "drive_c/users/$USER/AppData/Local/YmirheimLauncher/YmirheimLauncher.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"description": "Criando um prefixo do wine para Ymirheim...",
"install_mono": true,
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"mkdir": "$GAMEDIR/drive_c/RO2"
},
{
"mkdir": "$GAMEDIR/drive_c/Ymirheim"
},
{
"execute": {
"command": "SELECTED_PATH=$(LD_LIBRARY_PATH=\"\" zenity --file-selection --directory --title=\"Selecione a pasta do seu cliente de jogo.\")\nif [ -z \"$SELECTED_PATH\" ]; then exit 1; fi\necho \"$SELECTED_PATH\" > \"$CACHE/selected_game_path.txt\"\n",
"description": "Selecionando a pasta do jogo..."
}
},
{
"execute": {
"command": "SRC_PATH=$(cat \"$CACHE/selected_game_path.txt\")\nif [ -d \"$SRC_PATH\" ] && [ \"$SRC_PATH\" != \"/\" ]; then\n cp -r \"$SRC_PATH\"/* \"$GAMEDIR/drive_c/RO2/\"\nelse\n echo \"Caminho de origem inv\u00e1lido\"\n exit 1\nfi\n",
"description": "Copiando todos os arquivos e pastas do jogo para o RO2..."
}
},
{
"move": {
"description": "Movendo o instalador para o diret\u00f3rio C:...",
"dst": "$GAMEDIR/drive_c/YmirheimLauncherSetup.exe",
"src": "launcher"
}
},
{
"task": {
"app": "corefonts d3dcompiler_47",
"description": "Instalando fontes e bibliotecas necess\u00e1rias...",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"description": "Instalando... IMPORTANTE: Ao termino da instala\u00e7\u00e3o, feche o inicializador para concluir a instala\u00e7\u00e3o no Lutris!",
"executable": "$GAMEDIR/drive_c/YmirheimLauncherSetup.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"execute": {
"command": "rm -rf \"$GAMEDIR/drive_c/RO2\"",
"description": "Limpando arquivos tempor\u00e1rios do jogo..."
}
},
{
"task": {
"name": "winekill",
"prefix": "$GAMEDIR"
}
}
],
"system": {
"env": {
"DXVK_HUD": 0
},
"prime": true
}
}
}