Hi Guys,
I've spent roughly the last two weeks, to figure out, how this Format works. During this time, I managed to find the Vertex, Face and UVs in a reproduceable manner -> Vertices start in the SMDL block as a block of 64 Bytes per Vertex. The first 12 Bytes are the X Y and Z coordinates as Floats. The next 4 Bytes are usually 00 00 80 FF. The Following 12 Bytes are the normals as Float, followed by 4 bytes as usually 0 and 4 bytes as FF. The next 8 Bytes are the UVs as Float again. Followed by 4 bytes as 0 yet again. I don't know what the last 16 Bytes do though, but 00 00 80 FF appear frequently as the first 4 bytes. The Faces start imediately after the last vertex. They are laid out as Short Tri-Strips.
This in itself works fine with Models, where the is only one mesh, like Tops, or Accessories. However it doesn't work as intuitively with models with multiple meshes, like the heads, where I have to piece together the amount of faces and vertices per mesh.
Can you help me figure out, where the Mesh Table is?
Sample Files
The Forum is up for sale: XeNTaX Forum looking for new owner
Help needed figuring out the X3D Files from the Precure 3DS games.
-
kurainooni
- ultra-n00b
- Posts: 7
- Joined: Mon May 21, 2012 3:37 pm
- Has thanked: 4 times
- Been thanked: 13 times
Help needed figuring out the X3D Files from the Precure 3DS games.
You do not have the required permissions to view the files attached to this post.
-
kurainooni
- ultra-n00b
- Posts: 7
- Joined: Mon May 21, 2012 3:37 pm
- Has thanked: 4 times
- Been thanked: 13 times
Re: Help needed figuring out the X3D Files from the Precure 3DS games.
Since asking the Question, I've managed to find out where the Mesh Table is.
I've attempted to write a small noesis script, that can open this format, however I'm struggling with the Faces, since noesis requires me to use regular triangles, but the game uses Tri-Strips. How can I convert Tri-Strips into the Triangle representation, that noesis is expecting?( Note: I've appended the face array with 0s, to make the array divisible by 3)
the script is available here
I've attempted to write a small noesis script, that can open this format, however I'm struggling with the Faces, since noesis requires me to use regular triangles, but the game uses Tri-Strips. How can I convert Tri-Strips into the Triangle representation, that noesis is expecting?( Note: I've appended the face array with 0s, to make the array divisible by 3)
the script is available here
You do not have the required permissions to view the files attached to this post.
-
kurainooni
- ultra-n00b
- Posts: 7
- Joined: Mon May 21, 2012 3:37 pm
- Has thanked: 4 times
- Been thanked: 13 times
Re: Help needed figuring out the X3D Files from the Precure 3DS games.
Thank you that works like a charm
For anyone interested, here is the fixed script
For anyone interested, here is the fixed script
You do not have the required permissions to view the files attached to this post.


