Difference between revisions of "Sims 3:0x025ED6F4"
From SimsWiki
(Haven't seen version 0000000E, but in version 00000010, the extra byte comes before the embedded XML length not after) |
|||
Line 11: | Line 11: | ||
--repeat(count1) | --repeat(count1) | ||
//Embedded XML | //Embedded XML | ||
− | |||
− | |||
if (version > 0x0000000E) | if (version > 0x0000000E) | ||
{ | { | ||
BYTE | BYTE | ||
} | } | ||
+ | DWORD length | ||
+ | char16[length] | ||
if (version > 0x0000000C) | if (version > 0x0000000C) | ||
{ | { |
Revision as of 11:14, 18 June 2009
By atavera-
Its not just an XML, although versions 8+ may contain embedded XML files. Still missing versions lower than 12 (which are more or less this spec minus alot of parts)
These resources usually assemble the mesh parts of a whole sim.
DWORD version DWORD TGI offset DWORD count1 --repeat(count1) //Embedded XML if (version > 0x0000000E) { BYTE } DWORD length char16[length] if (version > 0x0000000C) { DWORD DWORD } FLOAT FLOAT FLOAT DWORD DWORD 12 BYTES BYTE TGI index //Skin Type (0x0354796A) if (version > 0x0000000C) { FLOAT } DWORD //RGBA Color DWORD //RGBA Color DWORD //RGBA Color BYTE count2 BYTE --repeat(count2) if (version > 0x0000000C) { DWORD } BYTE count --repeat(count) BYTE TGI index // Property Set(0x033A1435) BYTE TGI index // Property Set(0x033A1435) BYTE TGI index // Body Part(0x034AEECB) BYTE count3 --repeat(count3) DWORD TGI index //Face Part (0x0358B08A) DWORD flags FLOAT BYTE count4 --repeat(count4) //TGI64 QWORD instance DWORD group DWORD type