Difference between revisions of "46434E53"

From SimsWiki
Jump to: navigation, search
(Auto-inserted from WakkaWikki)
 
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
{{OldWikiEntry}} 64 Filename (null terminated)
+
{{Resource tgi
4 - "sncf"
+
|short = FCNS
4 - Class/Version
+
|long = Function
4 - Null (Never used in Sims 1 or 2 formats)
+
}}
4 - number of items
+
  
begin repeat
+
==Format==
1 - name length
+
;64 bytes
n - name
+
:File name (null terminated)
4 - Value
+
;DWORD
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.
+
:Format code (SNCF)
~-I didn't find any discriptions longer than 255 but this is probably to allow for that.
+
;DWORD
n - discription
+
:Class/Version
end repeat
+
;DWORD
[[Category:Modding]]
+
: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
 +
 
 +
{{OldWikiEntryCleaned|46434E53|FCNS}}
 +
 
 +
[[Category:Sims 2 Modding]]
 +
[[Category:InternalFormats]]
 +
[[Category:FormatsByTGI]]

Latest revision as of 12: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