You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally, VDF supports \ for escapes, but that doesn't look to be the case for those files. File paths on Windows, like the ones in the examples, cannot have ", so escaping is pointless there. There is Desc key, but that probably break if there is " in the value, unless it just ignored. This must be special variation of valve's KVs.
To support this, there will need to be a parameter to disable escaping in load/dump
Parsing fails even with Escaped=False.
vdf.load(open('test.vdf'), merge_duplicate_keys=False, escaped=False)
test.vdf contents:
Output
SyntaxError: vdf.parse: one too many closing parenthasis
Also see examples from Valve documentation
https://partner.steamgames.com/doc/sdk/uploading
under headings "Depot Build Script" and "App Build Script"
The text was updated successfully, but these errors were encountered: