Comments (6)
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.
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.
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.
Thanks for clarifying. I'll push 0.6.2 this weekend with an option to adjust the maximum token size.
from gameloop.vdf.
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.
Appreciate the context! I'll go ahead and close this issue now - feel free to reopen if necessary.
from gameloop.vdf.
Related Issues (20)
- Allow reading / writing comments HOT 13
- How to serialize again? HOT 9
- Increase Parser error accuracy HOT 1
- System.Exception: Key 'gamelogo' already exists in object. HOT 3
- Newtonsoft.Json.JsonSerializationException: Unexpected token while deserializing object HOT 8
- Support complex root structures HOT 4
- Support preserving unquoted tokens
- Support C# 8 nullable types
- Add tests HOT 1
- Deserialize error when the string contains "//" HOT 2
- Values containing '\' character are not parsed properly HOT 2
- Changing value HOT 15
- Case insensitive option for ContainsKey and getter? HOT 1
- Publish with Strong Name HOT 3
- How would i go about deserializing libraryfolders.vdf? (Format has changed) HOT 1
- There is a problem with Deserialization after the new steam client. HOT 5
- Something wrong with conditional HOT 4
- Could be an issue, just posting my problem. HOT 1
- VdfConvert deserializing comments somehow HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gameloop.vdf.