ValvePython / vpk

📦 Open, Search, Extract and Create VPKs in python
MIT License
162 stars 13 forks source link

"File is not VPK" in csgo's vpk #20

Closed 14NGiestas closed 3 years ago

14NGiestas commented 3 years ago
$ vpk -l "/home/ian/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/pak01_000.vpk"
Error: File is not VPK (invalid magic)
rossengeorgiev commented 3 years ago

That file is only data, use pak01_dir.vpk.

14NGiestas commented 3 years ago

Thanks. I think the error message should be changed in such cases. What kind of data those vpk contain?

rossengeorgiev commented 3 years ago

_dir contains metadata, the other files are just data. It's also possible have one file with metadata and data