Code Monkey home page Code Monkey logo

Comments (15)

rig0 avatar rig0 commented on May 25, 2024 1

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.

from lauhdutin.

Kapiainen avatar Kapiainen commented on May 25, 2024 1

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.

from lauhdutin.

Xarishark avatar Xarishark commented on May 25, 2024

lets hope he fixes it :/

from lauhdutin.

Cyb3rzombie avatar Cyb3rzombie commented on May 25, 2024

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".

from lauhdutin.

Xarishark avatar Xarishark commented on May 25, 2024

Will try it and report back

from lauhdutin.

Xarishark avatar Xarishark commented on May 25, 2024

OMG I FUCKING LOVE YOU (FIXED)

from lauhdutin.

Xarishark avatar Xarishark commented on May 25, 2024

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!

from lauhdutin.

Cyb3rzombie avatar Cyb3rzombie commented on May 25, 2024

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

from lauhdutin.

rig0 avatar rig0 commented on May 25, 2024

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.

from lauhdutin.

Xarishark avatar Xarishark commented on May 25, 2024

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?

from lauhdutin.

rig0 avatar rig0 commented on May 25, 2024

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

from lauhdutin.

Cyb3rzombie avatar Cyb3rzombie commented on May 25, 2024

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

from lauhdutin.

Fraali avatar Fraali commented on May 25, 2024

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.

from lauhdutin.

Xarishark avatar Xarishark commented on May 25, 2024

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

from lauhdutin.

Kavex avatar Kavex commented on May 25, 2024

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.

from lauhdutin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.