ValveResourceFormat 0.3.2.1621
Prefix ReservedSee the version list below for details.
dotnet add package ValveResourceFormat --version 0.3.2.1621
NuGet\Install-Package ValveResourceFormat -Version 0.3.2.1621
<PackageReference Include="ValveResourceFormat" Version="0.3.2.1621" />
<PackageVersion Include="ValveResourceFormat" Version="0.3.2.1621" />
<PackageReference Include="ValveResourceFormat" />
paket add ValveResourceFormat --version 0.3.2.1621
#r "nuget: ValveResourceFormat, 0.3.2.1621"
#:package ValveResourceFormat@0.3.2.1621
#addin nuget:?package=ValveResourceFormat&version=0.3.2.1621
#tool nuget:?package=ValveResourceFormat&version=0.3.2.1621
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 | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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. |
-
net6.0
- K4os.Compression.LZ4 (>= 1.3.5)
- SharpGLTF.Toolkit (>= 1.0.0-alpha0028)
- SkiaSharp (>= 2.88.3)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 2.88.3)
- ValveKeyValue (>= 0.8.2.162)
- ZstdSharp.Port (>= 0.7.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on ValveResourceFormat:
| Package | Downloads |
|---|---|
|
CS2CalloutExtractor
A library for extracting callouts from Counter-Strike 2 `.vpk` files. |
|
|
ValveResourceFormat.Renderer
Library to render Source 2 resources based. This library powers the |
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 |
|---|---|---|
| 17.0.5499 | 98 | 1/2/2026 |
| 16.0.5103 | 592 | 11/20/2025 |
| 15.0.4937 | 277 | 9/26/2025 |
| 14.1.4764 | 413 | 8/1/2025 |
| 14.1.4763 | 116 | 8/1/2025 |
| 14.0.4733 | 541 | 7/24/2025 |
| 13.0.4499 | 871 | 6/3/2025 |
| 12.0.4261 | 430 | 4/18/2025 |
| 11.1.4050 | 899 | 12/19/2024 |
| 11.0.3961 | 250 | 12/3/2024 |
| 10.2.3850 | 567 | 9/3/2024 |
| 10.1.3729 | 4,357 | 7/13/2024 |
| 10.0.3595 | 232 | 5/27/2024 |
| 9.2.3481 | 235 | 4/26/2024 |
| 9.1.3441 | 222 | 4/16/2024 |
| 9.0.3293 | 241 | 3/14/2024 |
| 8.1.3021 | 253 | 2/6/2024 |
| 8.0.2968 | 179 | 1/31/2024 |
| 7.0.2479 | 800 | 11/17/2023 |
| 6.0.2421 | 407 | 10/12/2023 |
| 5.0.2120 | 374 | 8/8/2023 |
| 0.4.0.1839 | 506 | 6/25/2023 |
| 0.3.2.1621 | 475 | 4/4/2023 |
| 0.3.1.1553 | 355 | 3/23/2023 |
| 0.3.0.1412 | 453 | 12/29/2022 |
| 0.2.2.1057 | 593 | 9/5/2022 |
| 0.2.1.963 | 347 | 4/7/2022 |
| 0.2.0.864 | 512 | 12/29/2021 |
| 0.1.10.766 | 643 | 8/3/2021 |
| 0.1.9.731 | 572 | 6/28/2021 |
| 0.1.6.515 | 738 | 9/16/2020 |
| 0.1.5.1316 | 712 | 8/15/2020 |
| 0.1.4.1244 | 750 | 7/12/2020 |
| 0.1.3.1226 | 687 | 6/23/2020 |
| 0.1.3.1215 | 714 | 5/16/2020 |
| 0.1.2.1122 | 486 | 3/30/2020 |
| 0.1.1.1058 | 735 | 3/9/2020 |
| 0.1.0.1006 | 710 | 3/2/2020 |
| 0.0.16.828 | 835 | 9/19/2019 |
| 0.0.15.777 | 793 | 6/22/2019 |
| 0.0.13.685 | 832 | 5/31/2019 |
| 0.0.11.553-AppVeyor | 1,271 | 1/20/2018 |
| 0.0.10.450 | 1,472 | 6/11/2017 |
| 0.0.9.401 | 1,687 | 7/4/2016 |
| 0.0.6.317 | 1,665 | 4/6/2016 |
| 0.0.0.34849 | 1,665 | 2/9/2016 |
View release notes at https://github.com/SteamDatabase/ValveResourceFormat/releases