Add HD assets support for custom texture patches.
Closed this issue · 3 comments
Describe the bug
When trying to use HD assets on a model with custom texture patches the game crashes, or when the game is supposed to do that animation, the whole texture turns gray.
Version used (please complete the following information):
v1.14
Additional context
I did a custom model replacing kh2 sora and I wanted to use texture patches to have an animated face, but the texture is not the same as sora's so I had to do some adjustments to the texture patches (size and position), the remastered assets work with no problems, but when one texture patch is supposed to replace one part of the texture it turns it all gray or the game crashes. Everything works perfectly if i do not use HD assets.
Hey, can you confirm that this happens for MDLX files?
Do you mind sharing your custom MDLX file (send it to me privately on Discord if your prefer: AntonioDePau@6333)?
Yeah, it happens with MDLX files. I added you on discord.
Closing this now as it was caused by a mix of:
- DDS files with mipmaps (shouldn't have that for KH PC)
- Incorrect texture size for eyes (needs to be the original texture width and height times 2)
- Incorrect texture order (the DDS files need to match the order of the SD textures)