ValveResourceFormat 13.0.4499
dotnet add package ValveResourceFormat --version 13.0.4499
NuGet\Install-Package ValveResourceFormat -Version 13.0.4499
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ValveResourceFormat" Version="13.0.4499" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ValveResourceFormat" Version="13.0.4499" />
<PackageReference Include="ValveResourceFormat" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ValveResourceFormat --version 13.0.4499
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ValveResourceFormat, 13.0.4499"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=ValveResourceFormat&version=13.0.4499
#tool nuget:?package=ValveResourceFormat&version=13.0.4499
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- K4os.Compression.LZ4 (>= 1.3.8)
- KeyValues2 (>= 0.8.0)
- SharpGLTF.Toolkit (>= 1.0.4)
- SkiaSharp (>= 3.119.0)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 3.119.0)
- System.IO.Hashing (>= 9.0.5)
- TinyBCSharp (>= 0.1.2)
- TinyEXR.NET (>= 0.3.10)
- ValveKeyValue (>= 0.13.1.398)
- ValvePak (>= 2.0.1.107)
- ZstdSharp.Port (>= 0.8.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ValveResourceFormat:
Package | Downloads |
---|---|
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 |
---|---|---|
13.0.4499 | 105 | 6/3/2025 |
12.0.4261 | 256 | 4/18/2025 |
11.1.4050 | 717 | 12/19/2024 |
11.0.3961 | 138 | 12/3/2024 |
10.2.3850 | 458 | 9/3/2024 |
10.1.3729 | 4,257 | 7/13/2024 |
10.0.3595 | 164 | 5/27/2024 |
9.2.3481 | 163 | 4/26/2024 |
9.1.3441 | 151 | 4/16/2024 |
9.0.3293 | 164 | 3/14/2024 |
8.1.3021 | 185 | 2/6/2024 |
8.0.2968 | 118 | 1/31/2024 |
7.0.2479 | 712 | 11/17/2023 |
6.0.2421 | 323 | 10/12/2023 |
5.0.2120 | 290 | 8/8/2023 |
0.4.0.1839 | 428 | 6/25/2023 |
0.3.2.1621 | 348 | 4/4/2023 |
0.3.1.1553 | 260 | 3/23/2023 |
0.3.0.1412 | 335 | 12/29/2022 |
0.2.2.1057 | 492 | 9/5/2022 |
0.2.1.963 | 253 | 4/7/2022 |
0.2.0.864 | 394 | 12/29/2021 |
0.1.10.766 | 518 | 8/3/2021 |
0.1.9.731 | 460 | 6/28/2021 |
0.1.6.515 | 615 | 9/16/2020 |
0.1.5.1316 | 563 | 8/15/2020 |
0.1.4.1244 | 594 | 7/12/2020 |
0.1.3.1226 | 554 | 6/23/2020 |
0.1.3.1215 | 582 | 5/16/2020 |
0.1.2.1122 | 372 | 3/30/2020 |
0.1.1.1058 | 590 | 3/9/2020 |
0.1.0.1006 | 574 | 3/2/2020 |
0.0.16.828 | 683 | 9/19/2019 |
0.0.15.777 | 660 | 6/22/2019 |
0.0.13.685 | 672 | 5/31/2019 |
0.0.11.553-AppVeyor | 968 | 1/20/2018 |
0.0.10.450 | 1,250 | 6/11/2017 |
0.0.9.401 | 1,446 | 7/4/2016 |
0.0.6.317 | 1,414 | 4/6/2016 |
0.0.0.34849 | 1,411 | 2/9/2016 |
View release notes at https://github.com/ValveResourceFormat/ValveResourceFormat/releases