Littte Texture Name Converter Tool

Miscellaneous Forums/Content Creation Tools/Littte Texture Name Converter Tool

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi,

We needed a simple way to convert texture names inside a single b3d file or a directory full of b3d files, so i made this little tool.

You can download it from here



In the file/dir textbox fill in the name of the b3d file or the directory (without the trailing slash).

Put the string you searching for in the find box and the replacement string the replace box. The tool accepts simple regular expressions.

Examples

Simple replace:
Find: foo Replace: bar
this_foo_tex.jpg --> this_bar_tex.jpg

Replace a directory name:
Find: .*/ Replace: data/textures/
l:/somedir/somwhere/tex.jpg --> data/textures/tex.jpg

Insert a dierctory name (reg expr. with grouping):
Find: (.*) Replace: data/textures/\01
tex.jpg --> data/textures/tex.jpg

Consider the tool to be beta software.
Using this tool is on your responsibility!
Also make copies of the b3d files before you start modiyfing them!!!!