Difference between revisions of "Sims 3:0x04F88964"

From SimsWiki
Jump to: navigation, search
(Notes: Added notes about variable field layout)
(Format: Converted to variable field layout description)
Line 18: Line 18:
  
 
==Format==
 
==Format==
   WORD Version     (Value 0x0004 for this layout)
+
'''SIME Resource'''
 +
   WORD Version   //  Value 0x0004 for this layout
 
   WORD tgiCount
 
   WORD tgiCount
   --repeat tgiCount:   List of TGI references: Includes Skin Tone ([[Sims_3:0x0354796A|TONE 0x0354796A]]) and Outfits ([[Sims_3:0x025ED6F4|SIMO 0x025ED6F4]])
+
   --repeat tgiCount: // List of TGI references: Includes Skin Tone ([[Sims_3:0x0354796A|TONE 0x0354796A]]) and Outfits ([[Sims_3:0x025ED6F4|SIMO 0x025ED6F4]])
 +
        QWORD I64
 +
        DWORD GID
 
         DWORD TID
 
         DWORD TID
        DWORD GID
+
   WORD Unknown1   // Always 0?
        QWORD I64
+
    
+
SimDescriptionTable
  DWORD Unknown1   Possibly Flags
+
  DWORD Unknown2  Possibly Flags
+
BYTE[5]   // 00 00 00 00 00
  DWORD Unknown3  Possibly Offset or Section Length
+
 
  DWORD Unknown4  Possibly Export Date or Serial Number
+
The SimDescriptionTable consists of a lookup table of Keys and ValuesThe Key is a combination of a FNV32 converted value name and a FVN32 converted Type name.  The value is located by an offset. This layout should be the same as many game written save files.
  DWORD Unknown5  Like Unknown4
+
'''SimDescriptionTable'''
  DWORD Unknown6  Possibly Flags (Changes Randomly)
+
  WORD Version
  FLOAT Unknown7  Changes Randomly
+
  DWORD KeyTableOffset
  FLOAT Unknown8  Always 0?
+
 
+
  FLOAT SkinToneSlider
+
  FLOAT MuscleDefSlider
+
   FLOAT BustSizeSlider
+
 
+
  --repeat 10:      List of Color entries x 9 + 1 end blockOrder is Hair:Base,Highlight,Root,Tips; Eyebrow; Facial Hair:Base,Highlight,Root,Tips
+
        DWORD ColorFlag1
+
        DWORD ColorFlag2
+
        DWORD HairItemColor1
+
        DWORD HairItemColor2
+
 
    
 
    
   DWORD strLen     Number of UNICODE (2-byte) characters
+
   {Data Block Here}
        UNICODE[strLen] FirstName Sim's First Name
+
   DWORD strLen     Number of UNICODE (2-byte) characters
+
  --> KeyTableOffset
         UNICODE[strLen] LastName Sim's Last Name
+
   DWORD KeyCount
 +
  --repeat KeyCount:
 +
         DWORD KeyID  // property name FNV32 xor'd to type name FNV32
 +
        DWORD Offset
  
 
==Notes==
 
==Notes==

Revision as of 07:41, 17 December 2010

Modding Reference by Category

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

Sim Definition - SIME
TypeID:0x04F88964
Game Version:The Sims 3



Overview

Saved sims information.

Contains links to skin-tone and outfits. Also contains values for hair color, body sliders, etc.

Documentation for this resource is still under development.

The following information is not accurate or complete. Updates will be provided when more is understood.

Format

SIME Resource

 WORD Version    //  Value 0x0004 for this layout
 WORD tgiCount
 --repeat tgiCount:  // List of TGI references: Includes Skin Tone (TONE 0x0354796A) and Outfits (SIMO 0x025ED6F4)
       QWORD I64
       DWORD GID
       DWORD TID
 WORD Unknown1    // Always 0?

SimDescriptionTable

BYTE[5]   // 00 00 00 00 00

The SimDescriptionTable consists of a lookup table of Keys and Values. The Key is a combination of a FNV32 converted value name and a FVN32 converted Type name. The value is located by an offset. This layout should be the same as many game written save files. SimDescriptionTable

 WORD Version
 DWORD KeyTableOffset
 
 {Data Block Here}

 --> KeyTableOffset
 DWORD KeyCount
 --repeat KeyCount:
       DWORD KeyID   // property name FNV32 xor'd to type name FNV32
       DWORD Offset

Notes

This resource is still in process of being decoded. The information above is not completely accurate.

  • This resource is one that can be exported by the game and uses a variable field layout method. I will update as soon as I find a good way to document it -- Grant

Documentation by Grant

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