read_pakfile
Lists contents of a compiled .bsp's lump 40 ZIP by extension and size to audit packing and verify buildcubemaps and static prop lighting before release.
Instructions
What a compiled map actually ships inside it: lump 40 is a plain ZIP, and this lists its contents by extension and by size. Use it to audit packing before release. Two counts answer questions you would otherwise have to trust the compile settings for: c-*.vtf files prove buildcubemaps was run, and .vhv files prove static prop lighting was baked. Needs the Python sidecar; see health.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "read_pakfile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .bsp, absolute or relative to the repo root. | |
| limit | No | How many of the largest entries to list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| largest | Yes | ||
| returned | Yes | ||
| fileCount | Yes | ||
| megabytes | Yes | ||
| totalBytes | Yes | ||
| byExtension | Yes | ||
| cubemapTextures | Yes | c-*.vtf entries: machine-checkable proof buildcubemaps ran. | |
| staticPropLighting | Yes | .vhv entries: per-vertex prop lighting, baked by vrad -StaticPropLighting. |