Git Product home page Git Product logo

Comments (6)

Baguettedood avatar Baguettedood commented on June 10, 2024 1

With the update and replaced line, it seems to parse correctly, and I'm again able to retrieve values from the full config.vdf's software section. Thanks for the fix.

In case it's relevant, the DownloadsStoreRecentlyCompleted section appeared around the 1st of February according to A friend's project that dealt with the same config.vdf, though that project's issue was bad parsing of escape sequences. Not sure how long it would've taken for the section to grow beyond the official length specification, however.

from gameloop.vdf.

shravan2x avatar shravan2x commented on June 10, 2024

The error appears to be thrown because the DownloadsStoreRecentlyCompleted value length exceeds the maximum token size constant. Valve's own code used this constant, but it's possible they've changed it since. I can make this adjustable in settings.

Is this a naturally occuring VDF file (i.e. created by an unmodified steam client)?

from gameloop.vdf.

Baguettedood avatar Baguettedood commented on June 10, 2024

It is indeed an unmodified Steam client. The DownloadsStoreRecentlyCompleted section seems to change when Steam finishes downloading updates. In a very limited test I did, the section might be Linux-only. I can provide my entire config.vdf if you require it.

from gameloop.vdf.

shravan2x avatar shravan2x commented on June 10, 2024

Thanks for clarifying. I'll push 0.6.2 this weekend with an option to adjust the maximum token size.

from gameloop.vdf.

shravan2x avatar shravan2x commented on June 10, 2024

I've pushed 0.6.2. Could you try your code again with this line replaced?

VProperty volvo = VdfConvert.Deserialize(text, new VdfSerializerSettings() { MaximumTokenSize = 8192, UsesEscapeSequences = true });

from gameloop.vdf.

shravan2x avatar shravan2x commented on June 10, 2024

Appreciate the context! I'll go ahead and close this issue now - feel free to reopen if necessary.

from gameloop.vdf.

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.