/cs2-vpk-map-unpacker

A simple vpk map unpacker for Counter-Strike 2

Primary LanguageC#MIT LicenseMIT

1

Counter-Strike 2 VPK map unpacker

MapUnPacker.exe is a console application written in C# to unpack VPK files used in Source 2 engine games like Counter-Strike 2.

Uses ValvePAK Nugget package: https://github.com/ValveResourceFormat/ValvePak

Uses .NET 6 runtime: https://dotnet.microsoft.com/es-es/download/dotnet/6.0

How to use

To unpack files you have to start MapPacker.exe with 2 command line arguments each one enclosed in quotes.

  • #1: A source vpk file to unpack
  • #2: A target folder to store the extracted files and folders

EXAMPLE:

MapPacker.exe "C:\Users\Francesc\Desktop\test.vpk" "C:\Users\Francesc\Downloads\Map Files"

If you not enclose the parameters in quotes, te application will fail.

2

Edit the included MapUnPacker.bat file to properly work with the application.