Considering this to be the second part, we will feature the MapTexture (*.t) - "JMXVMAPT1001" this time.
Together with this series I started working on my MapEditor again.
I'm going to release the MapTexture (*.t) format first as it was not publicly available yet. Starting with Layer1 (Surface) and because the MapMesh (*.m) file structure is already out there and might be completed later.
Code:
12 byte[] Header //JMXVMAPT1001 9216 byte[] shadowModifiers //96 * 96 = 9216 ::: 96 * 20 = 1920 units 4 uint shadowTextureSize 4 uint shadowTextureHeaderLength //Joymax writes 3 for "DDS" however the real DDS-Header is 4 bytes -> "DDS " * byte[] shadowTextureFileBuffer //EOF
Jangan
Hotan