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 launcher stop working on every PC i have it installed after the latest steam update #10

Closed
Xarishark opened this issue Aug 20, 2016 · 15 comments

Comments

@Xarishark
Copy link

Xarishark commented Aug 20, 2016

It says no games found on all of the terminals and even if i remove the steamID or folderpath the same error persists I think your detection is out of date can you please check it out when you can?

@rig0
Copy link

rig0 commented Aug 21, 2016

My launcher is also not detecting any of the games except for the non-steam games I've added. The latest steam update must've broke something.

@Xarishark
Copy link
Author

lets hope he fixes it :/

@Cyb3rzombie
Copy link

Cyb3rzombie commented Aug 25, 2016

Found the error. At least for me it worked. If you check the file located in "(SteamDirectory)\userdata(userID)\7\remote\sharedconfig.vdf" you will find a key "Apps". In my case it started with a capital letter and that was the exact problem since the script was searching for "apps". So simply changed the line 275 in the Lua script
tSharedConfigApps = RecursiveTableSearch(tSharedConfigApps, S_VDF_KEY_STEAM)[S_VDF_KEY_APPS]
to
tSharedConfigApps = RecursiveTableSearch(tSharedConfigApps, S_VDF_KEY_STEAM)['Apps']

Hope it helps.

Note: This is should be only temporary until the author fixed it.

Edit: Sorry I made a mistake. Replace it with 'Apps' instead of "Apps".

@Xarishark
Copy link
Author

Will try it and report back

@Xarishark
Copy link
Author

OMG I FUCKING LOVE YOU (FIXED)

@Xarishark
Copy link
Author

Ok os i forked and created a file fix request so he can just accept it to fix it and he doesn't have to bother( Im pretty new to github so sry if I fucked up). I gave you credit for your fix ofc!

@Cyb3rzombie
Copy link

Glad I could help.
Well it's my first post here so I am also pretty new.

@rig0
Copy link

rig0 commented Aug 26, 2016

Thank you it worked! By the way a more permanent fix would be to go into Lauhdutin.lua and on line 59 change:

S_VDF_KEY_APPS = 'apps'
to
S_VDF_KEY_APPS = 'Apps'

This way you're fixing the variable instead of patching the line that uses the variable. Hope this makes sense.

@Xarishark
Copy link
Author

wtf the skin bugged again i removed all the line changes to the default and it started working.. Is there a way to code it for both Apps and apps?

@rig0
Copy link

rig0 commented Aug 27, 2016

That's strange. Mine is still working with the fix i mentioned above. The original is not.

@Cyb3rzombie
Copy link

Search in the files "(SteamDirectory)\userdata(userID)\config\localconfig.vdf" and "(SteamDirectory)\userdata(userID)\7\remote\sharedconfig.vdf" for "apps". In my case it was written in the localconfig.vdf in small letters and in the sharedconfig.vdf in capital letters.
That's why I didn't change the S_VDF_KEY_APPS to 'Apps' since it wouldn't work anymore (at least for my case). Iit was meant for a temporary fix only but you are right that this would be the better way.

You can check for both cases like this
Add another variable directly under S_VDF_KEY_APPS and call it for example S_VDF_KEY_APPS_SMALL_LETTERS = 'apps'

Then add the if statement directly under the this line:
tSharedConfigApps = RecursiveTableSearch(tSharedConfigApps, S_VDF_KEY_STEAM)[S_VDF_KEY_APPS]
if tSharedConfigApps == nil then
tSharedConfigApps = RecursiveTableSearch(tSharedConfigApps, S_VDF_KEY_STEAM)[S_VDF_KEY_APPS_SMALL_LETTERS]
end

@Fraali
Copy link

Fraali commented Sep 1, 2016

To whomever is still looking into this, Steam changed a variable from apps to Apps in the LOCALconfig.vdf only with an update. (Why did they even change it)

In Lauhdutin.lua:
To fix this, add " S_VDF_KEY_APPS_BIG = 'Apps' " at line 59/60.
Then at line 273/274, change the [S_VDF_KEY_APPS] to [S_VDF_KEY_APPS_BIG].

Make sure the one you change is on the line with the LOCAL config apps, not the SHARED config apps as that will screw things up.

@Kapiainen
Copy link
Owner

Kapiainen commented Sep 3, 2016

The vdf-update branch has an updated version of the Lua script, which should hopefully be able to handle any VDF file by converting all keys to lower case. The global variables, which are used when accessing stuff in tables, have also been converted to lower case. These changes will hopefully be future proof and work for anyone regardless of when their VDF files were created and which case the keys were in upon time of creation.

Those who want to test the changes can just backup their old copy of Lauhdutin.lua and drop in Lauhdutin.lua from the vdf-update branch. Or just install the vdf-update version as a brand new skin.

Download link to a copy of the vdf-update branch.

@Xarishark
Copy link
Author

Ty for the update it also now fixed some games that would not load into the launcher ty man

@Kavex
Copy link
Contributor

Kavex commented Nov 28, 2016

Yeah the vdf-update branch fixed the issue. I'm not sure if you are still working on vdf-update branch. master branch still has the own Lauhdutin.lua file.

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

6 participants