Difference between revisions of "Sims 3:0x0166038C"

From SimsWiki
Jump to: navigation, search
(Name Map)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Sims 3:Main Page]] -> [[Sims 3:PackedFileTypes]]
+
{{TS3AdvancedModdingHeader}}
<hr/>
+
{{TS3Resource
==Name Map==
+
|name=Name Map - NMAP
 +
|typeid= 0x0166038C
 +
|expansion=The Sims 3
 +
}}
 +
<br clear="all">
 +
 
 +
==Overview==
 
Lists instance ID/resource name pairs.  A package can have multiple name maps.
 
Lists instance ID/resource name pairs.  A package can have multiple name maps.
 
  DWORD Version // usually has value 0x00000001
 
  DWORD Version // usually has value 0x00000001
Line 12: Line 18:
  
  
<hr/>
+
{{TS3AdvancedModdingHeader}}
How to use:
+
  Theese resources can be used to locate named references found in pattern complates.
+
  For example: ($assetRoot)\\InGame\\Complates\\Materials\\Leather_Fur\\AnimalPrint\\leopard01Sml_3.tga
+
  To get a match for that string remove the path components and the extension from it, leaving you with:
+
  leopard01Sml_3
+
  If the string is longer than 19 chars remove the ones that exceeds 19
+
  Then you need to loop through all name entries and try to match the string against the beginning of the name strings,
+
  mathching the full string seldom works because an instance id is most of the time appended to it.
+
  So you need to match for example the first 5 chars and then run another loop to find the best match out of those.
+
  This doesn't feel like an ideal solution but it's the best we (TSR) have found so for for locating theese references.
+
 
+
<hr/>
+
[[Sims 3:Main Page]] -> [[Sims 3:PackedFileTypes]]
+

Latest revision as of 01:10, 5 May 2010

Modding Reference by Category

Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference 

Name Map - NMAP
TypeID:0x0166038C
Game Version:The Sims 3



[edit] Overview

Lists instance ID/resource name pairs. A package can have multiple name maps.

DWORD Version			// usually has value 0x00000001

DWORD NumberOfRecords
--repetition NumberOfRecords:
	QWORD InstanceID	// little-endian
	DWORD NameLength
	BYTE[NameLength]	// name characters, plain ASCII


Modding Reference by Category

Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference 

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox