Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Library:ValveKeyValue

From ReverseEngineering.wiki
Library
Developer SteamDatabase / ValveResourceFormat
License MIT
Website https://github.com/SteamDatabase/ValveKeyValue
On this wiki Facts · Code · Notes · Topics

SteamDatabase/ValveResourceFormat's MIT-licensed .NET library that reads and writes KeyValues1 text and binary and KeyValues3 text, and is the reference reader used by SteamDB tools.

Overview

C# library (NuGet ValveKeyValue) covering Format:KeyValues1 (VDF, ACF) text and binary and KeyValues3 text; KeyValues3 binary and KeyValues2 are not supported (README at commit 28ca0e5). See Format:KeyValues3 binary.

Useful entry points

KVSerializer.Create(KVSerializationFormat.KeyValues1Binary), KVSerializerOptions.StringTable (used for appinfo v41 key indices), IIncludedFileLoader (resolves #include/#base), KVConditionEvaluator (the [$WIN32] expressions).

Used by the SteamAppInfo parser described in Format:Steam appinfo and packageinfo.

Code & repositories

  • https://github.com/SteamDatabase/ValveKeyValue @ 28ca0e5222367bce31facd9fe1c1e14f5bdb4e81 · license: MIT
    MIT .NET reader/writer for KeyValues1 text and binary, KV3 text
    Tested on: source read, not run: source read · checked 2026-10-18; last activity 2026-10-17