4E474248

From SimsWiki
Jump to: navigation, search
4E474248
Short name: NGBH
Long name: Neighborhood/Memory

This resource contains neighborhood data (memories).

Contents

Format

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

Slot

DWORD
Slot ID
see Slot Base

Slot Base

DWORD
Item count M
repeat M times
see Item
DWORD
Item count N
repeat N times
see Item

Item

DWORD
GUID
WORD
Flags
DWORD
Data count D
repeat D times
WORD
Data word

Flag Values

Bit 0: Visible Bit 1: Action Item

Decoding

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

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox