Skip to main content

Library for reading/extracting files from VPK

Project description

Latest version released on PyPi MIT License

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


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 details)

Uploaded Source

File details

Details for the file vpk-0.1.tar.gz.

File metadata

  • Download URL: vpk-0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for vpk-0.1.tar.gz
Algorithm Hash digest
SHA256 8723fed9e68c46e1782e610564d35ffcdc74bbe63f06dc951e5ae40dd1fe67b2
MD5 099fadde598b420e6cfe7beb31720cd9
BLAKE2b-256 10bd538a5500f9fb9e6a40e58d6d27db9f245e4ad1f518bd11fdb41d043d7f61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page