blueskythlikesclouds / MikuMikuLibrary

Format library and file editor for Hatsune Miku: Project DIVA games
MIT License
195 stars 45 forks source link

Incorrect RGB8 DDS texture export #20

Closed samyuu closed 3 years ago

samyuu commented 4 years ago

Attempting to export textures that are stored as uncompressed 24-bit RGB will produce ill-formatted DDS files that crash or fail to open in image editors such as Photoshop or GIMP. The exact part of the the output DDS header that causes this is unknown to me. Mostly affected by this are DIVA F style toon curve textures.

blueskythlikesclouds commented 4 years ago

nani

Waelwindows commented 4 years ago

Here's a sample from mikitm001_tex.bin with correct headers

blueskythlikesclouds commented 3 years ago

Fixed as of 76b07f7.