Installer honkai-star-rail-latest

files:
- engine: https://github.com/an-anime-team/the-honkers-railway-launcher/releases/latest/download/honkers-railway-launcher
game:
  exe: honkers-railway-launcher
installer:
- chmodx: engine
- merge:
    dst: $GAMEDIR
    src: engine
- execute:
    command: cd "$GAMEDIR"; mkdir "honkers-railway-launcher-files"; cd "/home/$USER/.local/share";
      ln -sf "$GAMEDIR/honkers-railway-launcher-files" "honkers-railway-launcher";
description: Play "Honkai Star Rail" on Linux using "The Honkers Railway Launcher"
  open source project
game_slug: honkai-star-rail
gogslug: ''
humblestoreid: ''
installer_slug: honkai-star-rail-latest
name: 'Honkai: Star Rail'
notes: "In case you encounter an error relating to \"libbz2.so.1.0\", please follow\
  \ ONE of these solutions as a workaround:\r\n\r\n1) install \"patchelf\", then run\
  \ \"patchelf --remove-needed libbz2.so.1.0 honkers-railway-launcher\" (assuming\
  \ you're in the game directory, otherwise you have to point to the launcher binary)\r\
  \n\r\n2) Symlink libbz2.so.1 to libbz2.so.1.0 with this command \"ln -s /usr/lib64/libbz2.so.1\
  \ /usr/local/lib/libbz2.so.1.0\" (as root, you might also want to add /usr/local/lib\
  \ to your /etc/ld.so.conf, then run ldconfig (as root) to rebuild the the links\
  \ and cache for shared libraries)\r\n\r\nNote: You do not need to run both, just\
  \ one of them will work, the latter solution might fix the other launchers as well,\
  \ however an update to the binary package might cause issues if the symlink stays\
  \ in the system.\r\n\r\nCredit: https://github.com/an-anime-team/the-honkers-railway-launcher/issues/197#issuecomment-2430447805"
runner: linux
script:
  files:
  - engine: https://github.com/an-anime-team/the-honkers-railway-launcher/releases/latest/download/honkers-railway-launcher
  game:
    exe: honkers-railway-launcher
  installer:
  - chmodx: engine
  - merge:
      dst: $GAMEDIR
      src: engine
  - execute:
      command: cd "$GAMEDIR"; mkdir "honkers-railway-launcher-files"; cd "/home/$USER/.local/share";
        ln -sf "$GAMEDIR/honkers-railway-launcher-files" "honkers-railway-launcher";
slug: honkai-star-rail-latest
steamid: null
version: latest
year: 2023
{
  "game_slug": "honkai-star-rail",
  "version": "latest",
  "description": "Play \"Honkai Star Rail\" on Linux using \"The Honkers Railway Launcher\" open source project",
  "notes": "In case you encounter an error relating to \"libbz2.so.1.0\", please follow ONE of these solutions as a workaround:\r\n\r\n1) install \"patchelf\", then run \"patchelf --remove-needed libbz2.so.1.0 honkers-railway-launcher\" (assuming you're in the game directory, otherwise you have to point to the launcher binary)\r\n\r\n2) Symlink libbz2.so.1 to libbz2.so.1.0 with this command \"ln -s /usr/lib64/libbz2.so.1 /usr/local/lib/libbz2.so.1.0\" (as root, you might also want to add /usr/local/lib to your /etc/ld.so.conf, then run ldconfig (as root) to rebuild the the links and cache for shared libraries)\r\n\r\nNote: You do not need to run both, just one of them will work, the latter solution might fix the other launchers as well, however an update to the binary package might cause issues if the symlink stays in the system.\r\n\r\nCredit: https://github.com/an-anime-team/the-honkers-railway-launcher/issues/197#issuecomment-2430447805",
  "name": "Honkai: Star Rail",
  "year": 2023,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "honkai-star-rail-latest",
  "installer_slug": "honkai-star-rail-latest",
  "script": {
    "files": [
      {
        "engine": "https://github.com/an-anime-team/the-honkers-railway-launcher/releases/latest/download/honkers-railway-launcher"
      }
    ],
    "game": {
      "exe": "honkers-railway-launcher"
    },
    "installer": [
      {
        "chmodx": "engine"
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "engine"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR\"; mkdir \"honkers-railway-launcher-files\"; cd \"/home/$USER/.local/share\"; ln -sf \"$GAMEDIR/honkers-railway-launcher-files\" \"honkers-railway-launcher\";"
        }
      }
    ]
  }
}
Back to game