Difference between revisions of "Sims 3:0x02DC343F"
From SimsWiki
Inge Jones (Talk | contribs) |
|||
| Line 1: | Line 1: | ||
| − | + | [[Sims 3:Main Page]] -> [[Sims 3:PackedFileTypes]] | |
| − | + | <hr/> | |
| − | < | + | ==Object Key (OBJK)== |
| − | + | ...overview... | |
| − | + | ==Format== | |
| − | + | DWORD version // 7 | |
| − | + | DWORD TGI_offset // see [[Sims 3:Key table]] | |
| − | + | DWORD TGI_size // see [[Sims 3:Key table]] | |
| − | BYTE count1 | + | |
| − | + | // Hash table - [[#Hash table|see below ]] | |
| + | BYTE count1 | ||
| + | --repeat count1 times | ||
DWORD hash | DWORD hash | ||
| − | + | ||
| − | + | // Key entries - [[#Key entries|see below]] | |
| − | + | BYTE count2 | |
| − | + | --repeat count2 times | |
| − | + | DWORD length | |
| − | + | STRING[length] | |
| − | + | BYTE type // [[#Key entries|see below]] | |
| − | + | {Data} | |
| − | + | ||
| − | + | BYTE | |
| − | + | ||
| − | + | --insert [[Sims 3:Key table|TGI Block List]] | |
| − | + | ===Hash Table=== | |
| + | The IDs for the first repetition | ||
| + | {| border="1" | ||
| + | |+ | ||
| + | !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: | String entries in the second repetition I've seen are: | ||
| − | scriptClass | + | {| border="1" |
| − | footprintKey | + | |+ |
| − | modelKey | + | |scriptClass |
| − | steeringInstance | + | |footprintKey |
| − | simOutfitKey | + | |modelKey |
| + | |steeringInstance | ||
| + | |simOutfitKey | ||
| + | |} | ||
| − | + | The ''type'' and ''{data}'' known combinations are: | |
| − | + | {| border="1" | |
| − | + | |+ | |
| − | + | |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) | (analysis by atavera, I think) | ||
| + | <hr/> | ||
| + | [[Sims 3:Main Page]] -> [[Sims 3:PackedFileTypes]] | ||
Revision as of 13:36, 13 June 2009
Sims 3:Main Page -> Sims 3:PackedFileTypes
Contents |
Object Key (OBJK)
...overview...
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:
| 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)