Sims 3:0x02DC343F

From SimsWiki
Revision as of 08:39, 13 June 2009 by Pljones (Talk | contribs)

Jump to: navigation, search

Sims 3:Main Page -> Sims 3:PackedFileTypes


Contents

Object Key (OBJK)

Identifies what kind of object this is and what its behaviour is.

Format

DWORD version // 7
DWORD TGI_offset // see Sims 3:Key table
DWORD TGI_size   // see Sims 3:Key table

// Hash table - see below 
BYTE count1
--repeat count1 times
   DWORD hash

// Key entries - see below
BYTE count2
--repeat count2 times
   DWORD length
   STRING[length]
   BYTE type // see below
   {Data}

BYTE

--insert TGI Block List

Hash Table

The IDs for the first repetition

Hash Constant
0xee17c6ad kAnimationComponent
0x80d91e9e kEffectComponent
0xc807312a kFootprintComponent
0xda6c50fd kLightingComponent
0x461922c8 kLocationComponent
0x6693c8b3 kLotObjectComponent
0x2954e734 kModelComponent
0x1a8feb14 kPhysicsComponent
0x3ae9a8e7 kSacsComponent
0x23177498 kScriptComponent
0x22706efa kSimComponent
0x2ef1e401 kSlotComponent
0x61bd317c kSteeringComponent
0x54cb7ebb kTransformComponent
0xc602cd31 kTreeComponent
0x50b3d17c kVisualStateComponent

Key Entries

String entries in the second repetition I've seen are:

scriptClass footprintKey modelKey steeringInstance simOutfitKey

The type and {data} known combinations are:

type data
00 DWORD(length) STRING[length]
01 DWORD index to TGI64 at end
02 DWORD index to TGI64 at end
03 DWORD(length) STRING[length]



(analysis by atavera, I think)


Sims 3:Main Page -> Sims 3:PackedFileTypes

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox