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

Failed to load steam/config/loginusers.vdf #370

Open
Skripterr opened this issue Apr 18, 2024 · 3 comments
Open

Failed to load steam/config/loginusers.vdf #370

Skripterr opened this issue Apr 18, 2024 · 3 comments

Comments

@Skripterr
Copy link

Skripterr commented Apr 18, 2024

In my case, it is due to change in loginusers.vdf file, after steam shutdown it changes, tab character changes, some data is added/deleted. Is there a fix for this?
Before

"users"
{
	"steamid"
	{
		"AccountName" "login"
		{ "PersonaName" "nickname"
		"RememberPassword" "1"
		"mostrecent" "0"
		"Timestamp" "timestamp"
		"WantsOfflineMode" "0"
		"SkipOfflineModeWarning" ""
	}
}

After

"users"
{
	"steamid"
	{
		"AccountName" "login"
		"PersonaName" "nickname"
		"RememberPassword" "1"
		"WantsOfflineMode" "0"
		"SkipOfflineModeWarning" "0"
		"AllowAutoLogin" "1"
		"MostRecent" "1"
		"Timestamp" "timestamp"
	}
}
@aleatorio1337
Copy link

mesmo problema aqui =|

@jeanlorencini
Copy link

o mesmo aqui

@TCNOco
Copy link
Owner

TCNOco commented Aug 24, 2024

The issue from the Before is:
{ "PersonaName" "nickname"
There should not be another opening { here.

Tab and spacing changes don't matter at all with VDF Steam's files, nor capatalization.

Very early versions of the TcNo Account Switcher manipulated the text of this file, whereas versions from 4.0+ (Jun 19, 2021) use a library made specifically for interacting with Steam's VDF files.

I assume you're up-to-date with the latest TcNo Account Switcher release, and not on a much older version: In which case is this error still happening now?

I can see the much older version having issues like this, but not the newer ones (2021+).

There were a few versions with broken auto-updaters, or none at all, so it may have never downloaded a newer version.


AllowAutoLogin must be a more recent Steam setting addition from Valve. I see this appears once Steam starts. This is removed when switching accounts, and once Steam starts it defaults back to 1.

In the upcoming release I have added this option to keep whatever was set beforehand.

This option should not have an effect on the failed to load error, as far as I know.

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

4 participants