Sims 3:0x0563919E
From SimsWiki
Sims 3:Main Page -> Sims 3:PackedFileTypes
This resource provides the compositor rules for all the walls and floors on a lot. The format shares parts in common with texture compositors and catalog resources.
Contents |
Overall Structure
DWORD version 5 DWORD compositor entry offset (From start of the resource - points to dword 2 below) -- section 1 data -- section 2 data DWORD 2 -- section 3 data
Section 1
DWORD s1count
REP s1count
WORD compositor resource index
DWORD 8
DWORD entry size (From after this DWORD to before final 0 byte)
DWORD 0
6 BYTES (Second sometimes 4)
DWORD subentrycount
BYTE 1
REP subentrycount
DWORD compositor rule (Refers to section 3)
BYTE 0
Section 2
DWORD s2count
REP s2count
WORD complate preset resource index
DWORD 2
DWORD 2
DWORD entry size (Size of following block of data)
IF entry size > 0
WORD 66
DWORD TGI offset (See Sims 3:Key table)
DWORD TGI size (See Sims 3:Key table - always 4)
--insert Sims_3:Catalog_Resource#Material_Block
--insert (empty) TGI Block List (See Sims 3:Key table)
BYTE tgicount
REP tgicount
WORD tgi index
Section 3
DWORD s3size (Size of the rest of the S3 data)
DWORD s3entries
DWORD s3count
REP s3count
DWORD compositor rule (Definition for pointers from S1 data)
REP until property id is 0
DWORD property ID (See Sims_3:0x033A1435#Properties)
BYTE 0
BYTE Data type (See Sims_3:0x033A1435#Data_types)
[Type dependent data]
While the data types are identical to Sims_3:0x033A1435#Data_types, there is a slight difference with type 12 (Resource index). Rather than one byte, it is a word and refers to the external resource index rather than resources indexed in this resource data.