Double Dragon II Wander of the Dragons .bmp texture (Xbox 360)

Textures, recreate headers, conversions, algorithms and parsing of image files
burom
Posts: 17
Joined: Sat Jul 17, 2021 8:41 pm

Double Dragon II Wander of the Dragons .bmp texture (Xbox 360)

Post by burom »

Continuing on from splitting the game's pack files (viewtopic.php?f=9&t=15982), the pack files contain meshes in .mesh files (OGRE format) and textures in .bmp format; the .bmp files don't appear to have working headers (no recognizable magics) and could be compressed. Attached is a sample containing extracted diffuse, normal and specular texture .bmps. From working with a Xenia dump of the textures, they're supposed to be 512x512 each; for what it's worth the normal ends up dumped as BC5_UNORM while the other two are BC1_UNORM.

linda.pack_extract.zip
Allen
Posts: 156
Joined: Tue Sep 01, 2015 9:44 am

Re: Double Dragon II Wander of the Dragons .bmp texture (Xbox 360)

Post by Allen »

No information about height and width was found. Found a flag about the size of the Top Level Mipmap data.
It is assumed that the height and width are the same, and the value is 2 to the nth power.

Here is a Noesis script to view the sample you provided.

The normal texture is in ATI2 format.
The diffuse and spec textures are in DXT1(BC1) format.
It's just that the data is Tiled.
burom
Posts: 17
Joined: Sat Jul 17, 2021 8:41 pm

Re: Double Dragon II Wander of the Dragons .bmp texture (Xbox 360)

Post by burom »

Thank you!