Format:Steam depot manifest
| Developer | Valve |
|---|---|
| Extensions | .manifest |
| Endianness | little |
| On this wiki | Facts · Code · Notes · Topics |
Steam depot manifest (.manifest): a sequence of magic-tagged sections holding protobuf messages (payload with file mappings and chunks, metadata, signature), ended by a magic marker; an older binary v4 layout also exists.
Overview
Describes the files of one depot as chunks to download. Read in SteamRE/SteamKit (LGPL-2.1) at commit b05e5ff, SteamKit2/SteamKit2/Types/DepotManifest.cs and Base/Generated/ContentManifest.cs. Only structure is covered; no decryption.
Container
A stream of sections, each: u32 magic; for protobuf sections a u32 length then that many bytes of protobuf. Magics: 0x71F617D0 payload (ContentManifestPayload), 0x1F4812BE metadata (ContentManifestMetadata), 0x1B81B817 signature (ContentManifestSignature, may be empty with length 0), 0x32C415AB end of manifest. The legacy binary manifest starts with magic 0x16349781 and is closed by the same value (SteamKit reads it as Steam3Manifest, version 4). All three protobuf sections are required.
Protobuf messages (field numbers)
- Payload: 1 repeated FileMapping. FileMapping: 1 filename (string; encrypted when metadata says so), 2 size u64, 3 flags u32, 4 sha_filename bytes, 5 sha_content bytes, 6 repeated ChunkData, 7 link target string. ChunkData: 1 sha bytes, 2 crc (fixed32), 3 offset u64, 4 cb_original u32, 5 cb_compressed u32.
- Metadata: 1 depot_id, 2 gid_manifest u64, 3 creation_time, 4 filenames_encrypted bool, 5 cb_disk_original u64, 6 cb_disk_compressed u64, 7 unique_chunks, 8 crc_encrypted, 9 crc_clear.
- Signature: 1 bytes.
Confirmed in SteamKit's generated ContentManifest.cs (public string filename, public string linktarget) and in SteamDatabase/Protobufs steam/content_manifest.proto (optional string filename = 1; optional string linktarget = 7; the field is named linktarget, not link_target, and the repeated field 1 of the payload is named mappings). Chunk payloads are encrypted/compressed separately; that is outside this page. Related: Library:Steamworks API, Format:Steam client data files.
Code & repositories
- https://github.com/SteamRE/SteamKit @
b05e5ff7bc117b62840202df2f96499ad4ae9052· license: LGPL-2.1
LGPL-2.1 Steam client library; DepotManifest.cs and ContentManifest protobufs
Tested on: source read, not run: source read · checked 2026-10-18; last activity 2026-10-15