Kruithne / wow.export

📦 Export Toolkit for World of Warcraft
MIT License
286 stars 53 forks source link

Fix for materials / textures with too long names not importing. #401

Closed KiaArmani closed 10 months ago

KiaArmani commented 11 months ago

Some textures have names longer than 63 characters (i.e. fx_channelholdduckplushietalkquestionlargeracesnotwai_channel_4690956.png). Blender is unable to properly deal with these on its own, as it will either:

This PR solves the parsing bit by offloading the materials array to csv files that are loaded when needed and the creation of materials bit by truncating the name.

Feedback & other ways to solve this are very welcome!

Kruithne commented 10 months ago

This has been resolved by hashing oversized material names