NokiMo
factorysettings
factorysettings

patreon


Re-link texture files with the REFERATOR .TOX beta pre-release

Dearest Friends, this is typically one of those TOXes that gets born after a couple of frustrating projects. In an ideal world, you would receive project files with every path relative to the main .toe file, nicely packed in a zip file. Within practice, it goes slightly different. It's a back and forth of .toe files, finalversion.30.final.whatever.toe naming, but that's not even the annoying part. The worst element is that with every .toe file you sometimes have to re-link ALL of the imported textures. With larger projects with a lot of external geometry, this can add up to a a level of ultimate frustration.

At this point, that's where this TOX was developed. For you an exclusive pre beta release to try out!

- Place the TOX in your main project container, so that would be the first level in your network (not where the perform and local container is situated, but the network inside your first container, usually called 'project1').

- Load the folder where all your texture files of that specific project are stored. Pick the main folder if it also contains subfolders, the script scrubs through all folders as well.

- Hit 'Fetch' to get a list of all the matching texture files. If you enter the REFERATOR container, inside you can find a textDAT called 'MISSING' this is a list of files that couldn't be matched with the filenames inside the selected folder(s).

- Hit 'Run' to run the script that relinks all matching filenames.

Currently the script only works if a moviefileinTOP has a filename loaded in. It doesn't matter if it has an error (that's how the script finds all the non matching TOPs in the first place), but it has to have some reference of a filename to look for. So if it would be empty, it will not find anything.

This tool was developed with a situation in mind where you'd open a .toe for the first time, notice all the non linked moviefileinTOPs, drop in the REFERATOR TOX, load texture folder, hit fetch, hit run.

Future plans are fixing issues with duplicate names. Sometimes you'll have all basecolor textures named 'basecolor.png', but it separates them based on the subfolder name, that would be the name of the mesh for instance. That's currently not supported yet. I'm also looking for a way to relink moviefileinTOPs if the file field is left empty, but the TOP itself has a name, that it would look for a match based on that.

Anyway, something to chew on for a hopefully quick update. Let me know how it turns out, love to hear bugs, issues, etc. Let's build this together!

Re-link texture files with the REFERATOR .TOX beta pre-release

Comments

I thought you would like this one ;)

Genius, will keep this in mind!

Function Store


Related Creators