# ValveResourceFormat/ValveResourceFormat

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.

Repository: https://github.com/ValveResourceFormat/ValveResourceFormat
Canonical: https://ross.abutalabs.com/products/valveresourceformat
Homepage: https://s2v.app
Language: C#
License: MIT
License Family: permissive
Topics: decompiler, parser, valve, steam, source2, csharp, dotnet, vpk, vpk-viewer, format-parser, exporter
Last push: 2026-08-26T17:41:33+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 4008, "days_push": 7, "days_rel": 16, "gap_med": 51, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2391, forks 292 (observed 2026-08-28T04:06:43.298065+00:00)

## What it is
Source 2 Viewer (VRF) is an open-source tool for browsing VPK archives and viewing, extracting, and decompiling Source 2 game assets such as maps, models, materials, textures, and sounds. It ships as a GUI application, a cross-platform CLI, and .NET libraries (ValveResourceFormat, Renderer, ValvePak, ValveKeyValue) for programmatic access.

## Use cases
- extract textures and models from Counter-Strike 2 or Dota 2 VPK archives
- decompile Source 2 maps and materials for Hammer editor
- convert Source 2 models and animations to glTF 2.0
- browse and search VPK archive contents
- programmatically parse Source 2 resource files in C#
- view Source 2 maps and models with PBR rendering
- recover deleted files from VPK archives

## When to choose
- you need to inspect, extract, or decompile assets from Source 2 games like CS2, Dota 2, Half-Life: Alyx, or Deadlock
- you want a .NET library to read VPK archives or Source 2 resource formats programmatically
- you are a modder or artist converting Source 2 assets to standard formats like glTF or PNG

## When to avoid
- you work with the original Source 1 engine rather than Source 2
- you need officially supported Valve SDK tooling
- you need a general-purpose game asset tool for non-Valve engines

## Facets
- artifact type: application
- maturity: active
- function: parser, reverse-engineering, graphics, image-processing, audio-processing, cli, gui, sdk
- domain: gaming-tools, files, developer-tools, reverse-engineering
- platform: windows, cross-platform, dotnet, cli
- tags: source2, valve, vpk, decompiler, asset-extraction, gltf-export, opengl-renderer, game-modding, game-development, desktop

## Member repositories
- ValveResourceFormat/ValveResourceFormat (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:43.298065+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:28.569485+00:00, confidence not recorded.
  - readme: https://github.com/ValveResourceFormat/ValveResourceFormat (fetched 2026-08-28T04:06:43.298065+00:00, sha 4acb740eed3b)
  - homepage: https://s2v.app (fetched 2026-08-29T10:15:08.398243+00:00, sha eedf86625bd0)
  - site_page: https://s2v.app/ValveResourceFormat (fetched 2026-08-29T10:15:08.407654+00:00, sha 7ece5241f689)
  - site_page: https://s2v.app/ValveResourceFormat/api/ValveResourceFormat.html (fetched 2026-08-29T10:15:08.409939+00:00, sha c55a8dcffdf9)
  - site_page: https://s2v.app/ValveResourceFormat/api/ValveResourceFormat.Renderer.html (fetched 2026-08-29T10:15:08.411742+00:00, sha d6bc3d9766ef)
- Data as of 2026-08-30T08:39:29.467469+00:00.
