Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zxcOvosh opened this issue Nov 4, 2024 · 1 comment

Comments

@zxcOvosh
Copy link

zxcOvosh commented Nov 4, 2024

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
Copy link

PopCat19 commented Nov 6, 2024

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:

  • Remove, then reinstall AAGL with your package manager.
  • Backup and delete config.json, then restart the launcher.
  • Backup and delete ~/.local/share/anime-game-launcher/ and ~/.cache/anime-game-launcher/, then restart the launcher. (assuming you've installed the AUR variant with default directory config)
    |
  • If steps above still doesn't work, try installing the flatpak variant, if this issue was encountered using AUR variant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants