an-anime-team / an-anime-game-launcher

An Anime Game launcher for Linux with telemetry disabling
https://discord.gg/ck37X6UWBp
GNU General Public License v3.0
1.58k stars 66 forks source link

The problem is in the launcher for genshin and honkai, because of which I can't download the game #444

Open zxcOvosh opened 1 week ago

zxcOvosh commented 1 week ago

For the last week, when trying to download games, it gives an error and installs the launcher, and after an error it simply closes translated debug.log

PopCat19 commented 1 week ago

Check your data/anime-game-launcher/config.json for line >106. This is my flatpak AAGL config.json at line 106:

  "components": {
    "path": "/home/popcat19/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/components",
    "servers": [
      "https://github.com/an-anime-team/components"
    ]
  }

Check if path points to a directory/folder components. This is what my flatpak installation contains:

  ~
❯ ls ~/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/
drwxr-xr-x    - popcat19 27 Oct 18:11  components << If this directory doesn't exist, see below for suggestions.
drwxr-xr-x    - popcat19 28 Oct 02:04  dxvks
drwxr-xr-x    - popcat19 27 Oct 18:11  fps-unlocker
drwxr-xr-x    - popcat19  6 Nov 02:27  Genshin
drwxr-xr-x    - popcat19  6 Nov 02:27  prefix
drwxr-xr-x    - popcat19 28 Oct 02:04  runners
.rw-r--r-- 809k popcat19 30 Oct 23:42  background
.rw-r--r-- 4.2M popcat19 16 Jul 18:25  background-primary
.rwxr-xr-x 3.0k popcat19  6 Nov 02:27  config.json
.rwxr-xr-x  25k popcat19  6 Nov 02:27  debug.log
.rwxr-xr-x 8.4M popcat19  6 Nov 02:27  game.log
.rwxr-xr-x 1.7M popcat19 28 Aug 15:06  sessions.json

Suggestions

If the directory doesn't exist, you can try forcing AAGL can create a new one by: