ValvePak 1.4.0.53

There is a newer version of this package available.
See the version list below for details.
dotnet add package ValvePak --version 1.4.0.53                
NuGet\Install-Package ValvePak -Version 1.4.0.53                
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="ValvePak" Version="1.4.0.53" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ValvePak --version 1.4.0.53                
#r "nuget: ValvePak, 1.4.0.53"                
#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.
// Install ValvePak as a Cake Addin
#addin nuget:?package=ValvePak&version=1.4.0.53

// Install ValvePak as a Cake Tool
#tool nuget:?package=ValvePak&version=1.4.0.53                

Valve Pak (vpk) for .NET

Build Status (GitHub) NuGet Coverage Status

VPK (Valve Pak) files are uncompressed archives used to package game content. This library allows you to read and extract files out of these paks.

Usage:

using var package = new Package();

// Open a vpk file
package.Read("pak01_dir.vpk");

// Can also pass in a stream
package.Read(File.OpenRead("pak01_dir.vpk"));

// Optionally verify hashes and signatures of the file if there are any
package.VerifyHashes();

// Find a file, this returns a PackageEntry
var file = package.FindEntry("path/to/file.txt");

if (file != null) {
	// Read a file to a byte array
	package.ReadEntry(file, out byte[] fileContents);
}

Do note that files such as pak01_001.vpk are just data files, you have to open pak01_dir.vpk.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ValvePak:

Package Downloads
ValveResourceFormat

Library to decompile Valve Source 2 files

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on ValvePak:

Repository Stars
ValveResourceFormat/ValveResourceFormat
🔬 Valve's Source 2 resource file format parser, decompiler, and exporter.
Version Downloads Last updated
2.0.1.107 3,519 5/9/2024
2.0.0.101 301 3/22/2024
1.8.0.93 678 2/13/2024
1.7.0.88 2,006 1/7/2024
1.6.2.76 889 11/23/2023
1.6.1.71 3,404 9/8/2023
1.6.0.67 247 9/5/2023
1.5.0.59 1,827 7/14/2023
1.4.0.53 2,069 3/22/2023
1.3.0.33 3,395 4/29/2022
1.2.0.24 771 1/15/2022
1.1.0.1 5,306 11/23/2021
1.0.2.35 2,766 6/23/2020
1.0.2.29 3,050 3/21/2019
1.0.0.24-AppVeyor 480 3/19/2019
0.4.0.11 2,785 9/18/2016
0.3.0.9 1,349 9/18/2016
0.2.0.6 1,146 9/18/2016