ws-game: archive/vpk (Valve VPK v1 / v2 read incl. multi-part via opts.resolve / opts.files, preload, CRC checks; single-file v1 / v2 write with MD5 section)

This commit is contained in:
4DBug committed 2026-10-31 14:09:50 -05:00
1 parent 5ec3121f65
commit 34d0600109
6 files changed
+611

No files matched your search

+12
View File
@@ -626,6 +626,18 @@ local list: { Entry } = {
return require("@formats/archive/tar")
end,
},
{
name = "vpk",
category = "archive",
path = "archive/vpk",
extensions = { "vpk" },
mime = { "application/x-vpk" },
deps = { "core/Err", "core/Bytes", "core/Crc32", "core/Md5", "containers/Archive" },
caps = { decode = true, encode = true, versions = { 1, 2 }, multipart = true },
load = function()
return require("@formats/archive/vpk")
end,
},
{
name = "wad",
category = "archive",