You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On developer.valvesoftware.com, this project is listed as supporting VPK v1 and v2. Is there support for writing VPK v2 archives? If not, is there a plan to support it?
Dear Rossen,
Would it be possible to add an option parameter to the CLI app to chose whether to export to v1 or v2 (e.g. -v1 or -v2)? I actually need to create v1 VPKs, but I don't see a way to do it with the current version. Thanks for your consideration!
OK, sorry, I didn't look at the source code. This option is not shown in the readme, so I didn't think it was implemented. Thanks for the quick answer and good work!
Activity
rossengeorgiev commentedon Jun 15, 2021
Yes, you can open v1 and v2. The creation of VPK files was only added later and is only for v1, single file.
Ideally, it would be best to rewrite the library and combine the reading and writing into a single class, but I have no plans to do that any time soon
rossengeorgiev commentedon Dec 25, 2021
v1.4.0now creates VPK v2 files by default. Chunking is still not supported, and would be best achieved by a full rewritejuliogaray commentedon May 7, 2022
Dear Rossen,
Would it be possible to add an option parameter to the CLI app to chose whether to export to v1 or v2 (e.g. -v1 or -v2)? I actually need to create v1 VPKs, but I don't see a way to do it with the current version. Thanks for your consideration!
rossengeorgiev commentedon May 7, 2022
@jgg1971 there already is
-cv, seevpk/vpk/cli.py
Line 32 in 3ff641e
juliogaray commentedon May 7, 2022
OK, sorry, I didn't look at the source code. This option is not shown in the readme, so I didn't think it was implemented. Thanks for the quick answer and good work!