View Single Post
Author Message
eduardolucioac
Member
Join Date: Jan 2016
Old 10-06-2022 , 22:58   CS 1.6 - Find out which WAD (textures) files are in effective use by a BSP (map) file
Reply With Quote #1

With the following command...

Code:
HLExtract.exe -p "fy_office.bsp" -e "root\fy_office.ent"
... is possible to find out which WAD files (textures) are listed as in use by a BSP (map) file as this output example ("fy_office.ent" file content extracted in the above command)...

Code:
{
"wad" "\programme\valve\valve\thwc_hl.wad;\programme\valve\cstrike\sourcebuero.wad;\programme\valve\cstrike\villaggio.wad;"
"mapversion" "220"
"MaxRange" "4096"
"skyname" "tornsky"
"classname" "worldspawn"
"classname" "worldspawn"
}
[...]
Notice that in the item "wad" several WAD files (textures) are listed. It turns out that none of these WAD files are needed even though they are listed. This happens with many BSP (map) files.

I've already tried several utilities and haven't found any that allow me to set this information correctly. I needed a utility that can be used via command line, as I need this output in text.

Is there any utility or strategy (via the command line) that I can use to correctly define this information, ie which WAD files (textures) are actually in use by a BSP (map) file?

Thanks!
eduardolucioac is offline