Library for reading/extracting files from VPK
Project description
VPK is Valve’s file format for storing game assets. This module is able to read the index and individual files.
Install
You can grab the latest release from https://pypi.python.org/pypi/vpk or via pip
pip install vpk
Example usage
import vpk
pak1 = vpk.VPK("/d/Steam/steamapps/common/dota 2 beta/dota/pak01_dir.vpk")
contents = pak1.read_file("resource/flash3/images/avatars/default_184.png")
number_of_files = len(pak1.files)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vpk-0.1.tar.gz
(3.0 kB
view hashes)