TCNOco / TcNo-Acc-Switcher

A Super-fast account switcher for Steam, Battle.net, Epic Games, Origin, Riot, Ubisoft and many others!
GNU General Public License v3.0
1.73k stars 121 forks source link

Error Message #39

Closed khalid closed 3 years ago

khalid commented 3 years ago

After installing the required runtime etc. I tried opening the steam account switcher and I kept on getting this error message. "An error has occurred. This application may no longer respond until reloaded. Reload.

Went to the valorant tab and it says. "Duplicate install. More than 1 Valorant install found."

Other than that everything works.

TCNOco commented 3 years ago

Please get the error again, then hit Ctrl+Shift+I to open the developer window. Go to the Console tab. Take a screenshot of the red error text and post it here, please :)

khalid commented 3 years ago

image

TCNOco commented 3 years ago

This looks very similar to other issues some people were mentioning. I assume you're running the latest version (2021-06-23_01) which you can check with the ? in the bottom right of the program.

It has something to do with the loginusers.vdf file in your Program Files(?)\Steam\config directory. Something in the file is likely corrupt or malformed. Some users who used the older 'Steam only' version of my software had this issue where random "s popped up everywhere, spacing was thrown off (not that this has any effect other than visual).

The latest version tries to look at (if available) loginusers.vdf_last as well, which in some cases does not have all weird issues...

The simplest issue is deleting that file, which will make Steam 'forget' what accounts you've previously logged into, logging into your first account with "Remember Password" on and then logging into your other accounts using the 'Add New' button on the account switcher. It's the simplest way to make the file look and work properly again. Manual labour can be done as well editing it in notepad instead, correcting issues.... Though for non-programmers it may be difficult to spot the issue - such as a random " inside 2 more quotation marks containing a name, for example.

You can also join the community Discord, and send a message. I'll add you so you can personal message me, and send me that loginusers.vdf file from your Steam\config folder so I can have a look at it and probably fix it up / see what's wrong with it.

khalid commented 3 years ago

Alright yeah i'll try to fix it. What about the riot games issue. "Duplicate install"

TCNOco commented 3 years ago

Yes, you have previously installed it to a second location (unless my code is off...). See %ProgramData%\Riot Games\RiotClientInstalls.json and verify that VALORANT does not show up twice. The program uses the first to appear on the list.

See my RiotClientInstalls.json as an example:

    "associated_client": {
        "E:/Games/Riot Games/League of Legends/": "E:/Games/Riot Games/Riot Client/RiotClientServices.exe",
        "E:/Games/Riot Games/LoR/live/Game/": "E:/Games/Riot Games/Riot Client/RiotClientServices.exe",
        "E:/Games/Riot Games/VALORANT/live/": "E:/Games/Riot Games/Riot Client/RiotClientServices.exe",
        "H:/temp/VALORANT/live/": "E:/Games/Riot Games/Riot Client/RiotClientServices.exe"
    },
khalid commented 3 years ago

Yeah fixed it. Thanks much love!