Difference between revisions of "Sims 3:0x025ED6F4"

From SimsWiki
Jump to: navigation, search
Line 6: Line 6:
 
}}
 
}}
 
<br clear="all">
 
<br clear="all">
By atavera-
+
==Format==
 +
DWORD version
 +
DWORD TGI offset
  
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)
+
  // Xml Presets
 +
DWORD count
 +
--repeat
 +
BYTE
 +
DWORD length
 +
char16[length] // xml preset
  
These resources usually assemble the mesh parts of a whole sim.
+
DWORD
 +
DWORD
 +
FLOAT
 +
FLOAT
 +
FLOAT
 +
DWORD
 +
DWORD
 +
12 BYTES
 +
BYTE index //of [[Sims 3:0x0354796A|0x0354796A - Skin Tone]]
 +
FLOAT
 +
DWORD //RGBA Color
 +
DWORD //RGBA Color
 +
DWORD //RGBA Color
  
<pre>
+
// CAS Parts
DWORD version
+
BYTE count
DWORD TGI offset
+
--repeat
DWORD count1
+
BYTE index // of [[Sims 3:0x034AEECB|0x034AEECB - CAS Part]]
--repeat(count1)
+
DWORD //[[Sims 3:0x034AEECB#Clothing Types|Part Type]]
//Embedded XML
+
BYTE count
if (version > 0x0000000E)
+
--repeat
{
+
BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - Texture Compositor]]
BYTE
+
BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - Texture Compositor]]
}
+
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)
+
BYTE TGI index //Face Part (0x0358B08A)
+
FLOAT
+
BYTE count4
+
--repeat(count4)
+
//TGI64
+
QWORD instance
+
DWORD group
+
DWORD type
+
  
</pre>
+
// Face Parts
 +
BYTE count
 +
--repeat
 +
BYTE index // of [[Sims 3:0x0358B08A|0x0358B08A - Face Part]]
 +
FLOAT
 +
 
 +
//TGI list (includes resources referenced in preset xmls)
 +
BYTE count
 +
--repeat
 +
QWORD Instance
 +
DWORD Group
 +
DWORD Type
  
 
{{TS3AdvancedModdingHeader}}
 
{{TS3AdvancedModdingHeader}}

Revision as of 17:06, 20 May 2010

Modding Reference by Category

Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference 

XML - SIMO
TypeID:0x025ED6F4
Game Version:The Sims 3



Format

DWORD version
DWORD TGI offset
// Xml Presets
DWORD count
--repeat
	BYTE
	DWORD length
	char16[length] // xml preset
DWORD
DWORD
FLOAT
FLOAT
FLOAT
DWORD
DWORD
12 BYTES
BYTE index //of 0x0354796A - Skin Tone
FLOAT
DWORD //RGBA Color
DWORD //RGBA Color
DWORD //RGBA Color
// CAS Parts
BYTE count
--repeat
	BYTE index // of 0x034AEECB - CAS Part
	DWORD //Part Type
	BYTE count
	--repeat
		BYTE index // of 0x033A1435 - Texture Compositor
		BYTE index // of 0x033A1435 - Texture Compositor
// Face Parts
BYTE count
--repeat
	BYTE index // of 0x0358B08A - Face Part
	FLOAT
//TGI list (includes resources referenced in preset xmls)
BYTE count
--repeat
	QWORD Instance
	DWORD Group
	DWORD Type
Modding Reference by Category

Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference 

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox