vdf icon indicating copy to clipboard operation
vdf copied to clipboard

📜 Package for working with Valve's text and binary KeyValue format

Results 24 vdf issues
Sort by recently updated
recently updated
newest added
trafficstars

Some of the files I am parsing have objects inside of a list and it throws `[ vdf.parse: expected openning bracket ]` as an error pointing to the line with...

From my shortcuts.vdf file, Halo Infinite has the appid C0 83 BF F8 which in python when read is displayed as the following. ` >>> print(d["shortcuts"]["103"]["appid"]) -121666624 ` Steam uses...

not sure if this works for all python versions, but I had to do this to avoid a TypeError: can't concat str to bytes ```sh $ cat csgo_english.txt.gz | gunzip...

I'm trying to write a script that uses information from Dota 2's item schema, but when I try to use the vdf module to parse the schema it gives me...

bug

As title implies when dumping something like: "DepotBuildConfig" { "DepotID" "123456789" "contentroot" `"d:\\NekoNeko\\Build"` "FileMapping" { "LocalPath" "*" "DepotPath" "." "recursive" "1" } "FileExclusion" "*.pdb" } The path maintains its double...

bug

At least Dota 2 interprets `\'` as they are.

bug

Some tests not passed in Fedora 32: ``` =================================== FAILURES =================================== __________________________ BinaryVDF.test_loads_utf16 __________________________ self = def test_loads_utf16(self): > self.assertEqual({'aaa': b'b\x00b\x00\xff\xffb\x00b\x00'.decode('utf-16le')}, vdf.binary_loads(b'\x05aaa\x00b\x00b\x00\xff\xffb\x00b\x00\x00\x00\x08')) E AssertionError: {'aaa': 'bb\uffffbb'} != {'aaa': '戀戀\uffff戀戀'} E...

bug

Parsing fails even with Escaped=False. `vdf.load(open('test.vdf'), merge_duplicate_keys=False, escaped=False)` test.vdf contents: ``` "ParentKey1" { "ValueKey1" ".\path\" "ParentKey2" { "ValueKey2" "2" } } ``` Output `SyntaxError: vdf.parse: one too many closing parenthasis`...

bug

1. This would be useful for parsing large files. Avoid using a ton of memory, especially when only a small section of the file is needed 2. function that yields...

enhancement