#274 Need to login every time

Closed
opened 3 years ago by cameron6251 · 4 comments

Whenever I close the game or restart my computer, the next time I boot the game it will require me to login again. It only required an email verification code on the first boot after installing.

My system:

  • EndeavourOS w/ linux-zen, nvidia, KDE
  • an-anime-game-launcher 2.6.0 installed from AUR
  • Wine-GE-Proton 7-9, DXVK 1.10, GameMode, Esync, AMD FSR, Borderless window, Unlock FPS
  • Driver info

Please let me know if there are any logs or other information I should add, thank you.

EDIT: I've reopened this issue since it wasn't actually fixed and now requires logging in even with just closing and reopening the game.

Whenever I close the game or restart my computer, the next time I boot the game it will require me to login again. It only required an email verification code on the first boot after installing. My system: - EndeavourOS w/ linux-zen, nvidia, KDE - an-anime-game-launcher 2.6.0 installed from AUR - Wine-GE-Proton 7-9, DXVK 1.10, GameMode, Esync, AMD FSR, Borderless window, Unlock FPS - [Driver info](https://pastecord.com/cimatunypa.yaml) Please let me know if there are any logs or other information I should add, thank you. EDIT: I've reopened this issue since it wasn't actually fixed and now requires logging in even with just closing and reopening the game.
Krock commented 2 years ago
Owner

The login information is to my knowledge saved to the system registry (regedit). Please ensure that your user has write access to the *.reg files within the WINEPREFIX you are using.

This is very unlikely to be the problem, but for now I do not have any better idea.

The login information is to my knowledge saved to the system registry (`regedit`). Please ensure that your user has write access to the `*.reg` files within the WINEPREFIX you are using. This is very unlikely to be the problem, but for now I do not have any better idea.
cameron6251 commented 2 years ago
Poster

I found that launcher.bat, mhyprot2_running.reg, and UnityPlayer.dll were all owned by root:root so I chown'd them to have my user be the owner and group, but that doesn't seem to have had any effect.

While I was testing, I did find that if I open the game again within 2-3 minutes after closing it will keep me logged in. Any longer and I have to sign in again.

AFAIK I can write to the registry fine since I added the Enable SDL option to make my PS5 controller work. I can see the mhyprot2 and Genshin Impact key with all of their values.

EDIT: I can confirm that the game properly increments the unity.player_session_count as well

I found that launcher.bat, mhyprot2_running.reg, and UnityPlayer.dll were all owned by root:root so I chown'd them to have my user be the owner and group, but that doesn't seem to have had any effect. While I was testing, I did find that if I open the game again within 2-3 minutes after closing it will keep me logged in. Any longer and I have to sign in again. AFAIK I can write to the registry fine since I added the Enable SDL option to make my PS5 controller work. I can see the mhyprot2 and Genshin Impact key with all of their values. EDIT: I can confirm that the game properly increments the unity.player_session_count as well
Krock commented 2 years ago
Owner

@cameron6251 Did you find any solution in the meantime, might it be using another Wine version or VPN?

@cameron6251 Did you find any solution in the meantime, might it be using another Wine version or VPN?
cameron6251 commented 2 years ago
Poster

I found a solution that works for me, but it changed several elements that makes it hard to tell what caused the issue. I ended up switching from using an-anime-game-launcher to a manual install using Lutris. The wine version I'm using is wine-staging. This also cleared up the issues I was having trying to get my PS5 controller to run natively again after reinstalling an-anime-game-launcher. I don't believe a VPN would have helped given the issue persisted across me moving to an apartment nearby with a different IP.

I found a solution that works for me, but it changed several elements that makes it hard to tell what caused the issue. I ended up switching from using an-anime-game-launcher to a manual install using Lutris. The wine version I'm using is wine-staging. This also cleared up the issues I was having trying to get my PS5 controller to run natively again after reinstalling an-anime-game-launcher. I don't believe a VPN would have helped given the issue persisted across me moving to an apartment nearby with a different IP.
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.