Mugen87 / three-m2loader

three.js loader for importing M2 assets from World of Warcraft.
MIT License
25 stars 8 forks source link

Problem finding .blp and .skin #17

Closed DenisDemins closed 7 months ago

DenisDemins commented 7 months ago

Hello, in your example in the test folder I saw that bearmount.m2 is used, I exported all the files with wow.export but threem2loader searches for textures and skins by fileDataID and not by file name. After I looked at bearmount.manifest.json and renamed all the .blp and .skin file names to {fileDataID}.blp everything worked. Is there any way to fix this?

Mugen87 commented 7 months ago

Is there any way to fix this?

I'm not aware of a fix without using the actual WoW client database which is not possible for M2Loader. The loader can only work with the information embedded in the M2 file and at least for more recent WoW assets you get file data ids for external resources like skin and textures.