Difference between revisions of "Sims 3:0x04F88964"

From SimsWiki
Jump to: navigation, search
(Notes: Added notes about variable field layout)
(Version Update)
 
(6 intermediate revisions by 2 users not shown)
Line 8: Line 8:
  
 
==Overview==
 
==Overview==
Saved sims information.
+
Saved sims information, i.e. SimDescription in game code.
  
 
Contains links to skin-tone and outfits.   
 
Contains links to skin-tone and outfits.   
 
Also contains values for hair color, body sliders, etc.
 
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==
 
==Format==
   WORD Version     (Value 0x0004 for this layout)
+
===SIME Resoure===
 +
   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]])
        DWORD TID
+
        DWORD GID
+
 
         QWORD I64
 
         QWORD I64
 +
        DWORD GID
 +
        DWORD TID
 +
  WORD Unknown1    // Always 0?
 +
  DWORD FileNameOffset    // Offset to file name
 +
  [[#SimDescriptionTable|SimDescriptionTable]]
 +
  DWORD CharCount
 +
    ---WORD Char
 +
 +
===SimDescriptionTable===
 +
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.
 +
  WORD Version
 +
  DWORD KeyTableOffset
 
    
 
    
   DWORD Unknown1  Possibly Flags
+
   {Data Block Here}
   DWORD Unknown2  Possibly Flags
+
   DWORD Unknown3  Possibly Offset or Section Length
+
   --> KeyTableOffset
   DWORD Unknown4  Possibly Export Date or Serial Number
+
   DWORD KeyCount
  DWORD Unknown5   Like Unknown4
+
   --repeat KeyCount:
  DWORD Unknown6  Possibly Flags (Changes Randomly)
+
        DWORD KeyID   // property name FNV32 xor'd to type name FNV32
  FLOAT Unknown7  Changes Randomly
+
        DWORD Offset  // Count from the beginning of the table
  FLOAT Unknown8  Always 0?
+
 
 
+
===Type Values===
  FLOAT SkinToneSlider
+
{| border="1"
  FLOAT MuscleDefSlider
+
!Type !!Hash Code!!Layout Details
  FLOAT BustSizeSlider
+
|-
 
+
|Bool ||0x68fe5f59||1 byte
  --repeat 10:      List of Color entries x 9 + 1 end block.  Order is Hair:Base,Highlight,Root,Tips; Eyebrow; Facial Hair:Base,Highlight,Root,Tips
+
|-
        DWORD ColorFlag1
+
|Byte||0x6236014f||1 byte
        DWORD ColorFlag2
+
|-
        DWORD HairItemColor1
+
|Float||0x4edcd7a9||4 bytes
        DWORD HairItemColor2
+
|-
 
+
|Int16 || 0x21560c5||2 bytes
  DWORD strLen     Number of UNICODE (2-byte) characters
+
|-
        UNICODE[strLen] FirstName Sim's First Name
+
|Int32 || 0x415642b||4 bytes
  DWORD strLen     Number of UNICODE (2-byte) characters
+
|-
        UNICODE[strLen] LastName Sim's Last Name
+
|Int64 || 0x71568e6||8 bytes
 +
|-
 +
|String || 0x15196597|| DWORD Length followed by Length Unicode Chars
 +
|-
 +
|Uint16 || 0xf328896c||2 bytes
 +
|-
 +
|Uint32 || 0xf1288606||4 bytes
 +
|-
 +
|Uint64 || 0xee28814f||8 bytes
 +
|}
  
 
==Notes==
 
==Notes==
 
This resource is still in process of being decoded.  The information above is not completely accurate.  
 
This resource is still in process of being decoded.  The information above is not completely accurate.  
 +
 +
*This resource is correct in current version--Kuree
  
 
* 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 -- [[User:granthes|Grant]]
 
* 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 -- [[User:granthes|Grant]]
  
Documentation by [[User:granthes|Grant]]
+
Documentation by [[User:granthes|Grant]], [[User:Kuree|Kuree]]
  
 
{{TS3AdvancedModdingHeader}}
 
{{TS3AdvancedModdingHeader}}

Latest revision as of 17:32, 23 October 2013

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



Contents

[edit] Overview

Saved sims information, i.e. SimDescription in game code.

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


[edit] Format

[edit] SIME Resoure

 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?
 DWORD FileNameOffset     // Offset to file name
 SimDescriptionTable
 DWORD CharCount
   ---WORD Char

[edit] SimDescriptionTable

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.

 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  // Count from the beginning of the table

[edit] Type Values

Type Hash Code Layout Details
Bool 0x68fe5f59 1 byte
Byte 0x6236014f 1 byte
Float 0x4edcd7a9 4 bytes
Int16 0x21560c5 2 bytes
Int32 0x415642b 4 bytes
Int64 0x71568e6 8 bytes
String 0x15196597 DWORD Length followed by Length Unicode Chars
Uint16 0xf328896c 2 bytes
Uint32 0xf1288606 4 bytes
Uint64 0xee28814f 8 bytes

[edit] Notes

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

  • This resource is correct in current version--Kuree
  • 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, Kuree

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