This is too simple an issue for a pull request, so:
2.0.0 makes texture_stem case-insensitive, apparently by tacking .lower() on to the end whenever it is initialized in any given scope. I noticed that, for DS1 PTDE, chr that load textures from a partsbnd (such as black knight, c2790) will cache them all lowercase, but io_soulstruct/flver/material/types.py/BlenderFLVERMaterial.new_from_flver_material, at line 233, initializes texture_stem from the sampler_texture_stems dict, which has case-sensitive stems, and so it encounters a KeyError looking for them and creates magenta image. Currently working hotfix: add texture_stem = texture_stem.lower() after line 233.
This is too simple an issue for a pull request, so: 2.0.0 makes
texture_stem
case-insensitive, apparently by tacking.lower()
on to the end whenever it is initialized in any given scope. I noticed that, for DS1 PTDE, chr that load textures from a partsbnd (such as black knight, c2790) will cache them all lowercase, butio_soulstruct/flver/material/types.py/BlenderFLVERMaterial.new_from_flver_material
, at line 233, initializestexture_stem
from thesampler_texture_stems
dict, which has case-sensitive stems, and so it encounters aKeyError
looking for them and creates magenta image. Currently working hotfix: addtexture_stem = texture_stem.lower()
after line 233.