ValveResourceFormat 14.0.4733
Prefix ReservedSee the version list below for details.
dotnet add package ValveResourceFormat --version 14.0.4733
NuGet\Install-Package ValveResourceFormat -Version 14.0.4733
<PackageReference Include="ValveResourceFormat" Version="14.0.4733" />
<PackageVersion Include="ValveResourceFormat" Version="14.0.4733" />
<PackageReference Include="ValveResourceFormat" />
paket add ValveResourceFormat --version 14.0.4733
#r "nuget: ValveResourceFormat, 14.0.4733"
#:package ValveResourceFormat@14.0.4733
#addin nuget:?package=ValveResourceFormat&version=14.0.4733
#tool nuget:?package=ValveResourceFormat&version=14.0.4733
VRF / Valve Resource Format
🔗 View VRF website
Valve's Source 2 resource file format parser, decompiler, and exporter.
Source 2 files usually files end with _c, for example .vmdl_c.
Basic usage:
var file = "textures/debug.vtex_c";
using var resource = new Resource();
resource.Read(file);
// You can access blocks and data on `resource` object
Extract a texture as png bytes:
using var bitmap = ((Texture)resource.DataBlock).GenerateBitmap();
var bytes = TextureExtract.ToPngImage(bitmap);
Or use file extract helper which works for various resource types:
using var contentFile = FileExtract.Extract(resource, null);
var outFilePath = "dump";
DumpContentFile(outFilePath, contentFile);
void DumpContentFile(string path, ContentFile contentFile)
{
DumpFile(path, contentFile.Data);
foreach (var contentSubFile in contentFile.SubFiles)
{
DumpFile(Path.Combine(Path.GetDirectoryName(path), contentSubFile.FileName), contentSubFile.Extract.Invoke());
}
}
void DumpFile(string path, ReadOnlySpan<byte> data)
{
Directory.CreateDirectory(Path.GetDirectoryName(path));
File.WriteAllBytes(path, data.ToArray());
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- K4os.Compression.LZ4 (>= 1.3.8)
- KeyValues2 (>= 0.8.0)
- SharpGLTF.Toolkit (>= 1.0.5)
- SkiaSharp (>= 3.119.0)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.119.0)
- System.IO.Hashing (>= 9.0.7)
- TinyBCSharp (>= 0.1.2)
- TinyEXR.NET (>= 0.3.10)
- ValveKeyValue (>= 0.13.1.398)
- ValvePak (>= 2.0.1.107)
- ZstdSharp.Port (>= 0.8.6)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on ValveResourceFormat:
| Package | Downloads |
|---|---|
|
ValveResourceFormat.Renderer
OpenGL-based rendering engine for Source 2 game assets. Supports models, maps, materials, particles, and animations with PBR lighting. |
|
|
CS2CalloutExtractor
A library for extracting callouts from Counter-Strike 2 `.vpk` files. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on ValveResourceFormat:
| Repository | Stars |
|---|---|
|
MontagueM/Charm
Destiny 2 reverse engineering tool for extracting cool things from game files.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 19.2.6339 | 1,178 | 5/29/2026 |
| 19.1.6199 | 1,806 | 4/9/2026 |
| 18.0.5805 | 1,234 | 2/5/2026 |
| 17.0.5499 | 318 | 1/2/2026 |
| 16.0.5103 | 1,865 | 11/20/2025 |
| 15.0.4937 | 414 | 9/26/2025 |
| 14.1.4764 | 516 | 8/1/2025 |
| 14.1.4763 | 166 | 8/1/2025 |
| 14.0.4733 | 630 | 7/24/2025 |
| 13.0.4499 | 1,376 | 6/3/2025 |
| 12.0.4261 | 569 | 4/18/2025 |
| 11.1.4050 | 1,038 | 12/19/2024 |
| 11.0.3961 | 332 | 12/3/2024 |
| 10.2.3850 | 1,104 | 9/3/2024 |
| 10.1.3729 | 4,420 | 7/13/2024 |
| 10.0.3595 | 298 | 5/27/2024 |
| 9.2.3481 | 284 | 4/26/2024 |
| 9.1.3441 | 276 | 4/16/2024 |
| 9.0.3293 | 333 | 3/14/2024 |
| 8.1.3021 | 312 | 2/6/2024 |
View release notes at https://github.com/ValveResourceFormat/ValveResourceFormat/releases