Difference between revisions of "Sims 3:0x0358B08A"

From SimsWiki
Jump to: navigation, search
m
Line 7: Line 7:
 
DWORD - Version
 
DWORD - Version
 
DWORD - Offset of the TGI index from here
 
DWORD - Offset of the TGI index from here
DWORD - Type? (1C, 3C, AC, BC)
+
DWORD - Size of Indexing block (+ 12 from first 12 bytes here)
 
BYTE - Length of the Part Name in two byte pieces
 
BYTE - Length of the Part Name in two byte pieces
 
NAME - Part Name (*2 bytes per character, null byte first)
 
NAME - Part Name (*2 bytes per character, null byte first)
 
DWORD
 
DWORD
  
-The 067caa11 file
+
-The 067caa11 file (Blend Geometry)
 
TID
 
TID
 
GID
 
GID
Line 18: Line 18:
  
 
DWORD - Entry Count
 
DWORD - Entry Count
-Repeat Entries (Entry size dependent on Type. (1C/3C/AC - 24 bytes, BC - 36 Bytes. See Sample Data!))
+
-Repeat Entries (Entry size dependent on third DWORD (size). (1C/3C/AC - 24 bytes, BC - 36 Bytes. See Sample Data!))
  
 
DWORD - TGI Entry Count
 
DWORD - TGI Entry Count
Line 27: Line 27:
  
  
looking at that Type DWORD in binary, we get (for the first byte)
+
 
00011100 - 1c
+
00111100 - 3c
+
10101100 - AC
+
10111100 - BC
+
don't know if that will have anything to do with it.
+
  
  

Revision as of 21:24, 9 June 2009

Face Parts

(Also applies to Clothing Parts (0x062C8204))

I've not worked out the entry format exactly, but it's more a matter of checking to make sure data style doesn't change across files. I need independent confirmation that this works please!

DWORD - Version
DWORD - Offset of the TGI index from here
DWORD - Size of Indexing block (+ 12 from first 12 bytes here)
BYTE - Length of the Part Name in two byte pieces
NAME - Part Name (*2 bytes per character, null byte first)
DWORD

-The 067caa11 file (Blend Geometry)
TID
GID
I64

DWORD - Entry Count
-Repeat Entries (Entry size dependent on third DWORD (size). (1C/3C/AC - 24 bytes, BC - 36 Bytes. See Sample Data!))

DWORD - TGI Entry Count
-TGI's (Entry Count Times)
	TID
	GID
	I64





My naive assessment of the types and Entries

1c - no index long
3c - first entry no index long
ac - always has a zero based index long
bc - double set. second set always has a 1 based index long

and the entries

4 BYTES
4 BYTES (entry has an index long) (check if there's a val of 0 for this dword, if so, expect another dword before weird data, and index long after first float)
4 BYTES (1) (if expected, as said above)
4 BYTES (weird data)
FLOAT
4 BYTES (index long, if it exists, otherwise this is 0)
4 BYTES (if the last long was 0, this long exists. If this word isn't 0, then a second set exists)
4 BYTES (another weird data)
FLOAT
4 BYTES (index long)
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox