BspTexRemap.exe
version 0.2
About
This program patches a BSP file, replacing names of embedded textures to those in a given materials.txt, to try and eliminate the need to edit or ship a modified materials.txt, thus increasing map portability.
The match and replacement textures are defined in a info_texture_remap entity placed in the map, or in a "_custommat.txt" file alongside the map file, or supplied in an external file.
This program is intended to be used both as standalone and as a compile tool that mappers can use in their mapping workflow.
See the provided HOWTOs for step-by-step instructions.
Features
- Rewrites embedded texture names to a texture entry in materials.txt with with desired material type.
- Exports texture names to a list file for the purpose of assigning materials.
- Reads configuration from a custom entity placed in map or from external file.
- Use standalone or as part of compile workflow.
Incompatibilities
The game code of the feature that makes this possible was changed in Counter Strike 1.6, Day of Defeat, and possibly Condition Zero and its Deleted Scenes. Thus this tool is incompatible with maps for those games. (you can run them, it just wouldn't work in game)
License
THE MIT LICENSE
see BspTexRemap_license.txt in the zip file.
F.A.Q. (Fairly Anticipated Questions)
See FAQ.txt in the zip file.
Links
I got somebody reaching out with a bug but I can't ask for a test file because he's compiling for DoD and I don't have DoD.
Discord id:
youdontmatter.giveup.
(don't ask why)