Installer ymirheim-launcher-stable-en-us

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: Creating wine prefix for 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="Select your Game Client folder")

      if [ -z "$SELECTED_PATH" ]; then exit 1; fi

      echo "$SELECTED_PATH" > "$CACHE/selected_game_path.txt"

      '
    description: Selecting the game folder...
- 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 \"Invalid source path\"\n  exit 1\nfi\n"
    description: Copying all game files and folders to RO2...
- move:
    description: 'Moving installer to C: directory...'
    dst: $GAMEDIR/drive_c/YmirheimLauncherSetup.exe
    src: launcher
- task:
    app: corefonts d3dcompiler_47
    description: Installing necessary fonts and libraries...
    name: winetricks
    prefix: $GAMEDIR
- task:
    description: 'Installing... IMPORTANT: After the installation is complete, close
      the launcher to finish the installation on Lutris!'
    executable: $GAMEDIR/drive_c/YmirheimLauncherSetup.exe
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: rm -rf "$GAMEDIR/drive_c/RO2"
    description: Cleaning up temporary game files (RO2 folder)...
- task:
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_HUD: 0
  prime: true
description: Ymirheim Launcher installer. For more details, please visit https://ymirheim.org
game_slug: ymirheim-launcher
gogslug: ''
humblestoreid: ''
installer_slug: ymirheim-launcher-stable-en-us
name: Ymirheim Launcher
notes: 'IMPORTANT: This installer requires the ''zenity'' package for folder selection.
  If the window does not open, install it via the terminal (e.g. 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: Creating wine prefix for 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="Select your Game Client folder")

        if [ -z "$SELECTED_PATH" ]; then exit 1; fi

        echo "$SELECTED_PATH" > "$CACHE/selected_game_path.txt"

        '
      description: Selecting the game folder...
  - 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 \"Invalid source path\"\n  exit 1\nfi\n"
      description: Copying all game files and folders to RO2...
  - move:
      description: 'Moving installer to C: directory...'
      dst: $GAMEDIR/drive_c/YmirheimLauncherSetup.exe
      src: launcher
  - task:
      app: corefonts d3dcompiler_47
      description: Installing necessary fonts and libraries...
      name: winetricks
      prefix: $GAMEDIR
  - task:
      description: 'Installing... IMPORTANT: After the installation is complete, close
        the launcher to finish the installation on Lutris!'
      executable: $GAMEDIR/drive_c/YmirheimLauncherSetup.exe
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: rm -rf "$GAMEDIR/drive_c/RO2"
      description: Cleaning up temporary game files (RO2 folder)...
  - task:
      name: winekill
      prefix: $GAMEDIR
  system:
    env:
      DXVK_HUD: 0
    prime: true
slug: ymirheim-launcher-stable-en-us
steamid: null
version: Stable (en-US)
year: 2010
{
  "game_slug": "ymirheim-launcher",
  "version": "Stable (en-US)",
  "description": "Ymirheim Launcher installer. For more details, please visit https://ymirheim.org",
  "notes": "IMPORTANT: This installer requires the 'zenity' package for folder selection. If the window does not open, install it via the terminal (e.g. sudo apt install zenity).",
  "name": "Ymirheim Launcher",
  "year": 2010,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "ymirheim-launcher-stable-en-us",
  "installer_slug": "ymirheim-launcher-stable-en-us",
  "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": "Creating wine prefix for 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=\"Select your Game Client folder\")\nif [ -z \"$SELECTED_PATH\" ]; then exit 1; fi\necho \"$SELECTED_PATH\" > \"$CACHE/selected_game_path.txt\"\n",
          "description": "Selecting the game folder..."
        }
      },
      {
        "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 \"Invalid source path\"\n  exit 1\nfi\n",
          "description": "Copying all game files and folders to RO2..."
        }
      },
      {
        "move": {
          "description": "Moving installer to C: directory...",
          "dst": "$GAMEDIR/drive_c/YmirheimLauncherSetup.exe",
          "src": "launcher"
        }
      },
      {
        "task": {
          "app": "corefonts d3dcompiler_47",
          "description": "Installing necessary fonts and libraries...",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing... IMPORTANT: After the installation is complete, close the launcher to finish the installation on Lutris!",
          "executable": "$GAMEDIR/drive_c/YmirheimLauncherSetup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "rm -rf \"$GAMEDIR/drive_c/RO2\"",
          "description": "Cleaning up temporary game files (RO2 folder)..."
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_HUD": 0
      },
      "prime": true
    }
  }
}
Back to game