RetroArch

RetroArch

Deozaan Mar 30, 2023 @ 1:39pm
Anyone know how to stay logged in to RetroAchievements?
I often go about a month or so between playing games on RetroArch, and every time I do it tells me that my RetroAchievements token has expired and that I need to login manually.

This is very frustrating because I used a password manager to generate a long random password which is difficult to manually type. It's made even more difficult because I mostly only play on the Steam Deck, which means I can't copy and paste from my password manager and have to use the on-screen keyboard to enter in the password.

Does anyone know how to configure RetroArch to keep my password instead of using a login token, or how to configure RetroAchievements to prevent my token from expiring?

Even having more information about what causes the token to expire (not being used for 3 weeks?) could be helpful.
< >
Showing 1-8 of 8 comments
Dgo Mar 30, 2023 @ 1:44pm 
I didn't get it clearly.
Did you chose to remember your pass's option on r.achiev's web?
If the password changes randomly every time you'll have to to this eternally.
Also is the option saved and enabled on rarch's menu?
It's a security feature to keep your account secure.
Deozaan Mar 30, 2023 @ 2:24pm 
Originally posted by SnakeFist:
It's a security feature to keep your account secure.
That's what I figured, but I've asked on the RetroAchievements forums[retroachievements.org] and everyone there assures me they never get logged out and the problem I'm having is just a glitch or misconfiguration on my end. But nobody there has been able to provide me with any useful information on how to fix it and stay logged in permanently.

So even if I could just get more information about what causes the token to expire, I might be able to workaround the issue. For example, if the token expires after 2 weeks of inactivity, I could make sure I login once a week to prevent it from going inactive. But because nobody has had any useful information for me regarding the token, I have no clear idea how to proceed to stay logged in. Which, according to multiple people, should be possible.
Last edited by Deozaan; Mar 30, 2023 @ 4:50pm
Xander Sep 11, 2023 @ 4:20pm 
I solved this problem on windows with python script and windows scheduler. If you still interested i can rewrite my script for universal purpose, so you can use it.
Deozaan Sep 11, 2023 @ 11:52pm 
I would appreciate that.
ghoul May 29, 2024 @ 1:30am 
i have this same problem its so annoying
Deozaan May 29, 2024 @ 1:40am 
Someone in the above-linked RetroAchievements forum thread shared a script[retroachievements.org] that will edit the RetroArch config file and replace the token with the password. If I launch a game in RetroArch and I'm not logged into RetroArchievements, then I quit RetroArch and run the script:

#!/usr/bin/env bash # Define your RA_PASSWORD RA_PASSWORD='YOUR_PASSWORD_HERE' # Define the path to the retroarch.cfg file CONFIG_FILE="$HOME/Games/Steam/RetroArch/retroarch.cfg" # Use sed to update the file sed -i 's/^cheevos_token = .*/cheevos_token = ""/' "$CONFIG_FILE" sed -i 's/^cheevos_password = .*/cheevos_password = "'"$RA_PASSWORD"'"/' "$CONFIG_FILE" echo "RetroArch configuration updated. cheevos_token cleared, cheevos_password set again"

Put the above code in a file called something like retroarch_cheevo_login.sh and then modify it to include your actual password and the path to your retroarch.cfg file. Then mark it as executable and add it as a non-Steam game so you can run it from Gaming mode.
Last edited by Deozaan; May 29, 2024 @ 1:47am
Xander Jun 1, 2024 @ 1:41am 
Originally posted by ghoul:
i have this same problem its so annoying
I made a manual, check on my page
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Mar 30, 2023 @ 1:39pm
Posts: 8