Skip to content

Latest commit

Ā 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 

Repository files navigation

VPK CLI

ē”± Pixel Z / ZZHLife å¼€å‘ēš„vpkå·„å…· SourceApp 使用

  • äø»č¦é’ˆåÆ¹ linux Android termux

VPK CLI Usage Guide

The C++ VPK CLI tool (vpk_cli) is a high-performance utility for managing Valve Pak (VPK) files. It is located at SourceLauncher-Thirdparty/tools/cpp/vpk-cli/.

Usage

./vpk_cli <vpk_file> [command] [args]

Commands

Command Description
None Displays basic VPK header information.
-l Lists all file paths contained within the VPK archive.
-x <dir> Extracts all files from the VPK archive into the specified directory.
-t Verifies the integrity of all files in the VPK by checking CRC32 checksums.
-c <dir> Creates a new VPK archive from the specified input directory.

Examples

1. View VPK Information

./vpk_cli game_assets.vpk

2. List Files

./vpk_cli game_assets.vpk -l

3. Extract All Files

./vpk_cli game_assets.vpk -x ./output_directory

4. Verify Integrity

./vpk_cli game_assets.vpk -t

5. Create VPK from Directory

./vpk_cli ./my_assets_folder -c new_assets.vpk

Build

mkdir build && cd build && cmake .. && make -j4

About

Pack and unpack vpk files in nativešŸ‘šŸ¤“

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages