Can I see how youve got your texture folder structure setup for the plugin? Daemon maybe you could post a short video video tutorial showing how to use your tool and the plugin so we know how to get auto texturing to work? im very confused and having throuble getting mine to auto texture the asciis, thanks again!
It depends on which importer you use. if you are using the secascii importer then u need to preserve the export hierarchy, other importers usually expect the textures to be put right next to the model in a folder.
for secascii the texture library should look something like this:
note: the z_ folder can be deleted as it mostly contains lightmaps and reflection probe data and such, for use in their game engine (and kinda useless data for our needs)
as the map tool from Daemon1 writes the textures into the ascii (all referenced textures are mentioned in the model_shaders.txt / model_textures.text the tool also exports)
example of the theater:
the blender script then just reads the data from the ascii and appends the path u give it, making the full path for the first two textures.
(i got it on my C drive, and converted the whole lib to .tga)
so in my case i put down:
C:/TLOU2-DICT/common/texture4
and the script appends the
art/shared/background/asset-library/textures/wires/wires-ground-a-color.tga
creating:
C:/TLOU2-DICT/common/texture4art/shared/background/asset-library/textures/wires/wires-ground-a-color.tga
which is the exact location the file is at.
the importer will complain in the log about any missing data: (in this case a couple textures that got lost during my batch conversion to .tga)
edit: on second thought these missing texture are due to my -dic.packs being exported with tlou.exe and not tlou_maps.exe. It seems the map tool finds a couple extra textures that the normal tool doesn't.
End result then gives you something like this:
This only works for maps exported with the maptool Daemon1 provided kindly to us. auto texturing is not a thing for other assets (as far as i know) as the .ascii the other tool outputs doesnt save the path into the .ascii (it returns a dummy tlou_#), however it provides a seperate _shaders.txt as well linking all the maps so you can manually reconstruct them.
Im not sure why it doesn't output a similar .ascii as the other tool as creating such tools is way above my paygrade.
Maybe daemon1 can be so kind to shed some light on that?, or update the tool so it outputs the same .ascii as the map tool.