Difference between revisions of "46434E53"

From SimsWiki
Jump to: navigation, search
m (Added new link to old wiki and new categories)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
{{OldWikiEntry}}
+
{{Resource tgi
{{OldWikiEntry|FCNS}}
+
|short = FCNS
 +
|long = Function
 +
}}
  
64 Filename (null terminated)
+
==Format==
4 - "sncf"
+
;64 bytes
4 - Class/Version
+
:File name (null terminated)
4 - Null (Never used in Sims 1 or 2 formats)
+
;DWORD
4 - number of items
+
:Format code (SNCF)
 +
;DWORD
 +
:Class/Version
 +
;DWORD
 +
:Null (Never used in Sims 1 or 2 formats)
 +
;DWORD
 +
:Number of entries
 +
;''for each entry''
 +
;Byte
 +
:Length N
 +
;N bytes
 +
:name
 +
;DWORD
 +
:Value
 +
;Byte ''or'' WORD
 +
::One byte unless description string is more than 127 bytes long then it's followed by one byte with value 1
 +
::No known description is longer than 255 but this is probably to allow for that.
 +
:Length D
 +
;D bytes
 +
:Description
  
begin repeat
+
{{OldWikiEntryCleaned|46434E53|FCNS}}
1 - name length
+
n - name
+
4 - Value
+
1 or 2 - discription length.  one byte unless discription string is more than 127 bytes long then it's followed by one byte with value 1.
+
~-I didn't find any discriptions longer than 255 but this is probably to allow for that.
+
n - discription
+
end repeat
+
  
[[Category:Modding]]
+
[[Category:Sims 2 Modding]]
 
[[Category:InternalFormats]]
 
[[Category:InternalFormats]]
 
[[Category:FormatsByTGI]]
 
[[Category:FormatsByTGI]]

Latest revision as of 11:37, 17 September 2012

46434E53
Short name: FCNS
Long name: Function

[edit] Format

64 bytes
File name (null terminated)
DWORD
Format code (SNCF)
DWORD
Class/Version
DWORD
Null (Never used in Sims 1 or 2 formats)
DWORD
Number of entries
for each entry
Byte
Length N
N bytes
name
DWORD
Value
Byte or WORD
One byte unless description string is more than 127 bytes long then it's followed by one byte with value 1
No known description is longer than 255 but this is probably to allow for that.
Length D
D bytes
Description

This article is one of several on this topic imported from the old MTS2 wiki. It's original pages, with comments, can be found at http://old_wiki.modthesims2.com/46434E53 and http://old_wiki.modthesims2.com/FCNS

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox