ValvePython/vpk

"File is not VPK" in csgo's vpk

14NGiestas opened this issue · 3 comments

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

That file is only data, use pak01_dir.vpk.

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

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