BspTexRemap

Not Listed (Goldsource) NL
BspTexRemap by kimilil
Posted 6 months ago2023-03-03 17:38:00 UTC • Completed • Not Listed (Goldsource)
Loading...
Screenshot Thumbnail
Screenshot Thumbnail
Screenshot Thumbnail
Name
BspTexRemap
By
kimilil kimilil
Type
Application
Engine
Goldsource
Game
Not Listed (Goldsource)
Category
Completed
Included
EXE
Created
6 months ago2023-03-03 17:38:00 UTC
Updated
1 week ago2023-09-17 15:40:19 UTC
Views
640
Downloads
81
Comments
6
Rating
5.00 (1)
full star full star full star full star full star Download (Hosted Externally)

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.

6 Comments

Commented 6 months ago2023-03-03 17:39:58 UTC Comment #105156
I'm gonna be afk for 3 days. Might as well release it now for people to test it.
Commented 5 months ago2023-04-17 21:42:57 UTC Comment #105208
this is awesome
Commented 5 months ago2023-04-17 21:44:13 UTC Comment #105209
Man, this is clever and very evil at the same time. I'm glad we don't have to do this kind of stuff in FreeHL :)
Commented 4 months ago2023-05-08 02:35:13 UTC Comment #105249
And where is executable for Linux??? // Edit I catch Readme from Github. Oh no, I need calm down.
Commented 1 month ago2023-08-09 11:45:11 UTC Comment #105465
Can people currently using this for their projects each send a sample BSP pre-remap? HLDM/Op4 maps only.

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)
Commented 1 week ago2023-09-17 15:06:33 UTC Comment #105566
v0.2 is out. A standalone build of the python port is now available for download.

You must log in to post a comment. You can login or register a new account.