Difference between revisions of "CAC4FC40"

From SimsWiki
Jump to: navigation, search
(Fix information about Reference Number and Usage Count)
 
Line 56: Line 56:
 
{{OldWikiEntryCleaned}}
 
{{OldWikiEntryCleaned}}
  
[[Category:Modding]]
+
[[Category:Sims 2 Modding]]
 
[[Category:InternalFormats]]
 
[[Category:InternalFormats]]
 
[[Category:FormatsByTGI]]
 
[[Category:FormatsByTGI]]

Latest revision as of 15:33, 17 September 2012

CAC4FC40
Short name: SMAP
Long name: String map

Contents

[edit] Format

[edit] 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"


[edit] 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.


[edit] Instance 0x0D

This is for wallpaper map referencing.

[edit] Instance 0x0E

This is for floor tile map referencing.

[edit] 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