Difference between revisions of "CAC4FC40"

From SimsWiki
Jump to: navigation, search
m (syntatic error)
(Fix information about Reference Number and Usage Count)
Line 9: Line 9:
 
As specified in [[WDB]].
 
As specified in [[WDB]].
  
;ZEROs [offset ranges: 0-63 / 0x00-0x3F]
+
;64 BYTEs
:Unknown
+
:Filename [offset ranges: 0-63 / 0x00-0x3F]
 +
:Usually 0
 
;DWORD
 
;DWORD
:Block ID [offset ranges: 64-67 / 0x40-0x43] ([[CAC4FC40]])
+
:Block ID [offset ranges: 64-67 / 0x40-0x43]
 +
:Value = CAC4FC40
 
;DWORD
 
;DWORD
:Block Version [offset ranges: 68-71 / 0x44-0x47] (Known = 1)
+
:Block Version [offset ranges: 68-71 / 0x44-0x47]
;7BITSTR
+
:Only known value = 1
:Block name count [offset ranges: 72 / 0x48] (character count 10)
+
;[[7BITSTR]]
:Block name [offset ranges: 73-82 / 0x49-0x52] (cStringMap)
+
:Block Name [offset ranges: 73-82 / 0x49-0x52] including character count  [offset ranges: 72 / 0x48]
 +
:Value = "cStringMap"
  
  
Line 23: Line 26:
  
 
;DWORD  
 
;DWORD  
:Count Number of entries [offset ranges: 83-86 / 0x53-0x56]
+
:Count [offset ranges: 83-86 / 0x53-0x56]
 
+
:Number of string map entries
;per entry
+
;7BITSTR
+
:StringName Count
+
:StringName
+
;Data storage format
+
:1 bytes / 2 bytes?
+
:floor map reference number for instance 0x00 file of [[3D array]] [[2A51171B]] files
+
 
+
;Data storage format
+
:5 bytes / 4 bytes?
+
:Unknown
+
** a floor tile can be divided into 4 equivalent triangles in all 4 directions (N, E, S, W)
+
** format: 0 Known 0 0 0 / Known 0 0 0
+
*** where Known = 4, 120, 240
+
  
 +
;for each entry
 +
:
 +
:;7BITSTR
 +
::String Value
 +
::For instance 0x0E: This is usually the TXTR name of the floor tile
 +
:;WORD (2 bytes)
 +
::Reference Number
 +
::For instance 0x0D: This is the wall covering reference number used in [[WLL]] [[8A84D7B0]]
 +
::For instance 0x0E: This is the floor tile reference number used in Instance 0x00 of [[3D array]] [[2A51171B]]
 +
:;DWORD (4 bytes)
 +
::Usage Count
 +
::For instance 0x0E: This appears to be a count of the number of quarter tiles spaces on the lot which are covered by this floor tile.
  
  
Line 47: Line 48:
 
====Instance 0x0E====
 
====Instance 0x0E====
 
This is for floor tile map referencing.
 
This is for floor tile map referencing.
 +
 +
===Notes===
 +
The string map is used to correlate Reference Numbers and String Values, and to keep track of the number of times this item is used.
 +
  
  

Revision as of 23:05, 14 June 2010

CAC4FC40
Short name: SMAP
Long name: String map

Contents

Format

Header

As specified in WDB.

64 BYTEs
Filename [offset ranges: 0-63 / 0x00-0x3F]
Usually 0
DWORD
Block ID [offset ranges: 64-67 / 0x40-0x43]
Value = CAC4FC40
DWORD
Block Version [offset ranges: 68-71 / 0x44-0x47]
Only known value = 1
7BITSTR
Block Name [offset ranges: 73-82 / 0x49-0x52] including character count [offset ranges: 72 / 0x48]
Value = "cStringMap"


Data Section

DWORD
Count [offset ranges: 83-86 / 0x53-0x56]
Number of string map entries
for each entry
7BITSTR
String Value
For instance 0x0E: This is usually the TXTR name of the floor tile
WORD (2 bytes)
Reference Number
For instance 0x0D: This is the wall covering reference number used in WLL 8A84D7B0
For instance 0x0E: This is the floor tile reference number used in Instance 0x00 of 3D array 2A51171B
DWORD (4 bytes)
Usage Count
For instance 0x0E: This appears to be a count of the number of quarter tiles spaces on the lot which are covered by this floor tile.


Instance 0x0D

This is for wallpaper map referencing.

Instance 0x0E

This is for floor tile map referencing.

Notes

The string map is used to correlate Reference Numbers and String Values, and to keep track of the number of times this item is used.


This article is imported from the old MTS2 wiki. It's original page, with comments, can be found at http://old_wiki.modthesims2.com/CAC4FC40

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox