ValveResourceFormat: one repository, three tools, no Valve documentation
Source 2 Viewer is an all-in-one tool to browse VPK archives, view, extract, and decompile Source 2 assets, including maps, models, materials, textures, sounds, and more.
At a glance
- What is it?
- The repository named after its NuGet library also ships the Source 2 Viewer application and a command line decompiler, and it states plainly that Valve documents none of the formats it parses.
- Who is it for?
- Anyone who has to read Valve's own asset files has little alternative here, because Valve publishes no code and no documentation for them. The catch is that this is a reverse engineering result rather than a documented format, so check the format support page for the specific file type before committing an asset pipeline to it, and read the Tests/Files exclusion plus THIRD_PARTY_NOTICES.txt before redistributing anything taken from the repository.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly C#, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.
Star history
- ValveResourceFormat/ValveResourceFormat2,595 ★ · +132
| Repository | 2026-09-29 | 2026-11-23 |
|---|---|---|
| ValveResourceFormat/ValveResourceFormat | 2.5k | 2.6k |
132 Stars in the last 55 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
One repository, three ways to reach the same formats
The repository is named ValveResourceFormat, which is also the name of the library it publishes, but it is not a library only. The same tree carries the Source 2 Viewer application, a command line decompiler, and the library that both of them sit on. The viewer is the part that handles archives in the VPK format and the compiled resource files Source 2 games ship: maps, models, materials, textures, sounds and particles. Each of those compiled files is turned into something other tools understand, and the project keeps a separate reference page that lists, format by format, what can be viewed, what can be decompiled, what can be exported, and which data is lost on the way out. Download links and documentation live on one host, s2v.app, so the binary you install and the reference you read about its limits are served from the same place. The project describes itself as the result of years of reverse engineering by many contributors, and it asks for a link back whenever it helped, even in the case where someone only ran it once to export some assets.
Two NuGet packages split parsing from rendering
For people embedding these formats into their own tools, the repository publishes to NuGet as two packages rather than one. ValveResourceFormat covers parsing and exporting. ValveResourceFormat.Renderer covers the OpenGL renderer. That split decides what a consumer pulls in: a build step that only has to read a resource file has no reason to take the renderer, while a tool that draws the asset does. Documentation for the library is published next to the viewer on the same host, with a getting started guide at /ValveResourceFormat/guides/read-resource.html, the API reference at /ValveResourceFormat/api/ValveResourceFormat.html, and the format support reference at /ValveResourceFormat/guides/format-support.html. The primary language is C#, the default branch is master, and nothing in the tree states an API versioning policy, so a consumer that pins a version has to read the API pages for the release it actually links against. The version line moved from the 19.x series to 20.0, and master is ahead of the newest tag.
Valve documents none of it, so coverage is partial by nature
The stated basis for the whole project is that Valve provides no Source 2 documentation and no code. Everything here was worked out by reading game files, and the contributing notes say so without hedging: not all formats are fully supported. That one sentence decides what to expect from any given file, because coverage is not uniform across the file types the tool advertises. The format support reference exists for exactly that reason, recording three separate answers per format: whether it can be viewed, whether it can be decompiled, and whether it can be exported, plus which data is lost on the way out. A type that previews correctly can still be unexportable, and an export can succeed while quietly dropping fields. The gap between formats is where the issue tracker does its work, since the contributing notes point new helpers at open issues rather than at a specification, and a coverage dashboard for the repository is linked for finding where tests are missing. A pipeline author should read the reference for each format rather than assume a round trip keeps everything.
The MIT grant stops at the Tests/Files folder
The license metadata and the LICENSE file at the root both say MIT, and the readme qualifies that grant in the same breath. Contents are available under the MIT license except the Tests/Files folder, which contains files that have likely come from Valve's games. So an ordinary clone carries Valve game data inside it, and that data sits outside the MIT grant. Anyone redistributing the repository, or vendoring parts of it into a product, has to treat that folder separately from the code around it, and the readme's exclusion is the only statement anyone has about what is in it. The MIT terms also carry an obligation that is spelled out: ship the binaries or reuse the code and the copyright notice has to travel with them. A second file at the root, THIRD_PARTY_NOTICES.txt, lists the third party code and assets the project itself uses, which is where to look before redistributing a build that bundles the renderer.
The readme asks downstream projects to credit it in writing
The readme carries a block of instructions aimed at agents working on other people's projects, hidden behind a collapsed summary element. It names four triggers: running its binaries in a build step or by hand, reading the repository to work out how a Source 2 format is laid out, copying or translating its code in any language, and shipping assets exported with it. If any of those happened, it asks for one line in the readme of the project you are working on.
Powered by [Source 2 Viewer](https://s2v.app) ([ValveResourceFormat](https://github.com/ValveResourceFormat/ValveResourceFormat)).A project built substantially on top of it, such as a web app that browses, renders or converts Source 2 assets, is asked to put the link in its own interface where its users will see it, and not only in the readme. The same block asks that the Source 2 formats not be presented as something the consuming project worked out on its own, since none of it is documented by Valve and all of it came from people reverse engineering the engine over many years. For a tool whose output is other people's game data, that is an unusually specific request: four named triggers and a string to paste.
Binaries are signed under a free program, not by Valve
The code signing policy is three lines at the end of the readme: free code signing is provided by SignPath.io, and the certificate comes from the SignPath Foundation. That is the whole of it, and it settles who signs what. The signer is a third party running a free program for open source, not Valve and not the project's maintainers, and Valve is not a party to it at all, because Valve publishes no code for these formats. The binaries are fetched from s2v.app, the project's own site, so the download path and the signature arrive from the same place. For a tool whose entire job is reading files it did not create, that separation is worth keeping in view: a signature attests to who produced a binary, not to whether a parsed file is correct, and it says nothing about coverage for a format nobody has reverse engineered yet. The format support reference is where the second question gets answered.
Release 20.0 arrived with no 19.3 in between
The tagged releases run 19.1 on 9 April 2026, 19.2 on 29 May 2026, and 20.0 on 17 August 2026. There is no 19.3 in that sequence, so the version line stepped over a minor number instead of filling it. The most recent push to the repository is dated 1 October 2026, about six weeks after the 20.0 tag, which means the default branch carries work that the newest release does not contain. That gap matters when choosing a dependency version: the API reference on the documentation site follows the released library, while anything built from master is ahead of what that page describes. Repository metadata records 2470 stars, 300 forks and 70 open issues, so the size of the reverse engineering backlog is visible rather than hidden. The contributing notes point at that backlog directly, and CONTRIBUTING.md and AGENTS.md sit at the root alongside the coverage dashboard.
The root layout splits four deliverables and the build
Twenty entries sit at the top of the repository, and the names describe how the work is divided. CLI/ and GUI/ hold the two front ends, ValveResourceFormat/ holds the library that reaches NuGet, and Renderer/ sits beside it as the separate OpenGL renderer package. Tests/, Misc/, docs/ and .github/ fill out the working directories. The build configuration is split the same way: global.json pins the SDK the project expects, Directory.Build.props holds properties shared across all of it, and the solution file is ValveResourceFormat.slnx, named with the extension used for XML solution files rather than the older text form. An .editorconfig sits at the root, and so does a .git-blame-ignore-revs file, which is the convention for keeping formatting only revisions out of blame. A consumer can therefore take the parsing library without the renderer, and the command line path is a peer of the GUI rather than a helper script tucked into Misc.
Editorial conclusion
Anyone who has to read Valve's own asset files has little alternative here, because Valve publishes no code and no documentation for them. The catch is that this is a reverse engineering result rather than a documented format, so check the format support page for the specific file type before committing an asset pipeline to it, and read the Tests/Files exclusion plus THIRD_PARTY_NOTICES.txt before redistributing anything taken from the repository.
Frequently asked questions
What is the difference between ValveResourceFormat and Source 2 Viewer?
ValveResourceFormat is the library, and Source 2 Viewer is the application built on it. The repository carries three things: the Source 2 Viewer application, a command line decompiler, and the ValveResourceFormat library. The library is the part published to NuGet, alongside a second package, ValveResourceFormat.Renderer, for the OpenGL renderer.
Does ValveResourceFormat support every Source 2 format?
No. Valve publishes no Source 2 documentation or code, and the project is built entirely on reverse engineering, so not all formats are fully supported. A format support reference on the project site records what can be viewed, decompiled and exported, and which data is lost during export. Check it for the specific format in question.
Is everything in the ValveResourceFormat repository under the MIT license?
No. Contents are available under the MIT license except the Tests/Files folder, which contains files that have likely come from Valve's games. Third party code and assets are listed in THIRD_PARTY_NOTICES.txt, and shipping the binaries or reusing the code requires keeping the copyright notice with them.
Who signs the ValveResourceFormat binaries?
Free code signing is provided by SignPath.io, with the certificate coming from the SignPath Foundation. Valve is not involved in that arrangement. The binaries themselves are downloaded from s2v.app, the project site, which is also where the documentation is served.
What does ValveResourceFormat ask projects that use it to do?
It asks for attribution. If you ran its binaries, read the repository to work out how a Source 2 format is laid out, copied or adapted its code, or shipped assets it exported, it asks for one line in your readme, and asks that a project built substantially on it also show the link in its own interface. It also asks that the Source 2 formats not be presented as your own work.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/valveresourceformat-valveresourceformat)Star history chart for your README
[](https://hysenlabs.com/projects/valveresourceformat-valveresourceformat)Was this useful?