Difference between revisions of "4E474248"
From SimsWiki
(Auto-inserted from WakkaWikki) |
|||
(4 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Resource tgi |
+ | |short = NGBH | ||
+ | |long = Neighborhood/Memory | ||
+ | }} | ||
− | + | This resource contains neighborhood data (memories). | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | =Format= | |
− | + | ||
− | + | ||
− | + | ==Header== | |
− | + | ;14 bytes | |
− | + | :Header | |
− | + | ;DWORD | |
+ | :Length Z | ||
+ | ;Z bytes | ||
+ | :Zone name | ||
− | + | ;''repeat 5 times'' | |
− | + | :;see [[{{FULLPAGENAME}}#Slot Base|Slot Base]] | |
− | + | ||
− | + | ||
− | + | ;DWORD | |
− | + | :Slot count A | |
− | + | ;''repeat A times'' | |
− | + | :;see [[{{FULLPAGENAME}}#Slot|Slot]] | |
− | + | ;DWORD | |
+ | :Slot count B | ||
+ | ;''repeat B times'' | ||
+ | :;see [[{{FULLPAGENAME}}#Slot|Slot]] | ||
− | + | ;DWORD | |
− | + | :Slot count C (contains memories) | |
− | + | ;''repeat C times'' | |
+ | :;see [[{{FULLPAGENAME}}#Slot|Slot]] | ||
− | + | ===Slot=== | |
− | + | ;DWORD | |
+ | :Slot ID | ||
+ | :see [[{{FULLPAGENAME}}#Slot Base|Slot Base]] | ||
− | === | + | ===Slot Base=== |
− | + | ;DWORD | |
− | + | :Item count M | |
− | + | ;''repeat M times'' | |
− | + | ::see [[{{FULLPAGENAME}}#Item|Item]] | |
− | + | ||
− | + | ;DWORD | |
− | + | :Item count N | |
− | + | ;''repeat N times'' | |
− | + | ::see [[{{FULLPAGENAME}}#Item|Item]] | |
− | + | ||
− | === | + | ===Item=== |
− | + | ;DWORD | |
− | + | :[[GUID]] | |
− | + | ;WORD | |
− | + | :Flags | |
− | + | ;DWORD | |
− | + | :Data count D | |
− | + | ;''repeat D times'' | |
− | + | :;WORD | |
+ | ::Data word | ||
− | + | ==Flag Values== | |
Bit 0: Visible | Bit 0: Visible | ||
Bit 1: Action Item | Bit 1: Action Item | ||
− | == | + | ==Decoding== |
− | Memory items have a typical count of | + | |
− | 0x0: 0x0000 | + | ===Memory Items=== |
− | 0x1: 0x07CD | + | Memory items have a typical count of 0x0C (if no Subject is needed for the Memory) or 0x0D DataWords. The Following list shows the Structure of the Data: |
− | 0x2: 0x0006 (0x0007 if new or changed) | + | *0x0: 0x0000 |
− | 0x3: 0x000F | + | *0x1: 0x07CD |
− | 0x4: Event Owner Instance | + | *0x2: 0x0006 (0x0007 if new or changed) |
− | 0x5: $Subject GUID 1 | + | *0x3: 0x000F |
− | 0x6: $Subject GUID 2 | + | *0x4: Event Owner Instance |
− | 0x7: Unknown | + | *0x5: $Subject GUID 1 |
− | 0x8: 0x000A | + | *0x6: $Subject GUID 2 |
− | 0x9: 0x0019 | + | *0x7: Unknown |
− | 0xA: Unknown (seems to be allways the same as 0x7) | + | *0x8: 0x000A |
− | 0xB: Event Owner Instance | + | *0x9: 0x0019 |
− | + | *0xA: Unknown (seems to be allways the same as 0x7) | |
+ | *0xB: Event Owner Instance | ||
+ | *0xC: $Subject Instance | ||
+ | |||
+ | {{OldWikiEntryCleaned}} | ||
+ | |||
+ | [[Category:Sims 2 Modding]] | ||
+ | [[Category:InternalFormats]] | ||
+ | [[Category:FormatsByTGI]] |
Latest revision as of 18:44, 17 September 2012
4E474248 | |
---|---|
Short name: | NGBH |
Long name: | Neighborhood/Memory |
This resource contains neighborhood data (memories).
Contents |
[edit] Format
[edit] Header
- 14 bytes
- Header
- DWORD
- Length Z
- Z bytes
- Zone name
- repeat 5 times
- see Slot Base
- DWORD
- Slot count A
- repeat A times
- see Slot
- DWORD
- Slot count B
- repeat B times
- see Slot
- DWORD
- Slot count C (contains memories)
- repeat C times
- see Slot
[edit] Slot
- DWORD
- Slot ID
- see Slot Base
[edit] Slot Base
- DWORD
- Item count M
- repeat M times
- see Item
- DWORD
- Item count N
- repeat N times
- see Item
[edit] Item
- DWORD
- GUID
- WORD
- Flags
- DWORD
- Data count D
- repeat D times
- WORD
- Data word
[edit] Flag Values
Bit 0: Visible Bit 1: Action Item
[edit] Decoding
[edit] Memory Items
Memory items have a typical count of 0x0C (if no Subject is needed for the Memory) or 0x0D DataWords. The Following list shows the Structure of the Data:
- 0x0: 0x0000
- 0x1: 0x07CD
- 0x2: 0x0006 (0x0007 if new or changed)
- 0x3: 0x000F
- 0x4: Event Owner Instance
- 0x5: $Subject GUID 1
- 0x6: $Subject GUID 2
- 0x7: Unknown
- 0x8: 0x000A
- 0x9: 0x0019
- 0xA: Unknown (seems to be allways the same as 0x7)
- 0xB: Event Owner Instance
- 0xC: $Subject Instance
This article is imported from the old MTS2 wiki. It's original page, with comments, can be found at http://old_wiki.modthesims2.com/4E474248