Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative binary keyvalue #11

Closed
rossengeorgiev opened this issue Jan 6, 2017 · 1 comment
Closed

Alternative binary keyvalue #11

rossengeorgiev opened this issue Jan 6, 2017 · 1 comment

Comments

@rossengeorgiev
Copy link
Contributor

rossengeorgiev commented Jan 6, 2017

The alternative format uses 0x0b as END instead of 0x08, otherwise it exactly the same. I have no idea why that is. Is it a programming typo, 0x0B looks like 0x08? Maybe it's supposed to be different. Say a format for on disk, rather than just data interchange over the steam network. Explains the CRC32, but why change the format?

Samples files:

  • 0x08 - [steamdir]/appcache/appinfo.vdf
  • 0x0B - [steamdir]/userdata/[account id]/570/remote/cfg/chat.cfg
    File starts with VBKV, followed by 4 bytes CRC32 of the rest, then binary vdf
@rossengeorgiev
Copy link
Contributor Author

rossengeorgiev commented Mar 22, 2017

I think 0x0B might refer be used for object instances, and 0x08 for keyvalue. Essentially for (de)serialization of an object, like a protobuf message, to binary kv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant