Several modern C++20 libraries for sanely parsing Valve formats, rolled into one big repository.
Name | Supports | Read | Write | Wrappers |
---|---|---|---|---|
bsppp |
|
✅ | ✅ | |
dmxpp |
|
✅ | ❌ | |
fgdpp |
|
✅ | ✅ | |
gamepp |
|
n/a | n/a | |
kvpp |
|
✅ | ❌ | |
mdlpp |
✅ | ❌ | ||
steampp |
|
n/a | n/a | C |
vicepp |
|
✅ | ✅ | C C# |
vpkpp |
✅ | ✅ | C C# |
|
vtfpp |
|
✅ | ❌ |
(*) Many text-based formats in Source are close to (if not identical to) KeyValues v1, such as VDF, VMT, and VMF.
(†) The MDL parser is not complete. It is usable in its current state, but it does not currently parse more complex components like animations. This parser is still in development.
steampp
is based on the SteamAppPathProvider library by @Trico Everfire and Momentum Mod contributors.vpkpp
's GCF parser was contributed by @bt and @ymgve.
A list of projects using the sourcepp
parser set. If you'd like to see your project here, make a PR!
- VPKEdit: An open source MIT-licensed tool that can create, extract from,
preview the contents of and write to several pack file formats. A CLI application is bundled with the program which replicates
the functionality of Valve's
vpk.exe
. - GodotSource: A work-in-progress set of bindings to connect the
sourcepp
libraries to Godot. Allows GDScript to work with the libraries, and allows Godot to directly load Source engine assets from a user project or from installed Source games. - Verifier: A small program that can build an index of a game's files, and validate
existing files based on that index. Think Steam's "Verify integrity of game files" option, but without actually overwriting any
files.
sourcepp
is used to parse Steam depot configs, as well as enable indexing the contents of VPKs.