Difference between revisions of "STR"

From SimsWiki
Jump to: navigation, search
m (Redirect to existing, cleaned article)
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
#REDIRECT [[53545223]]
+
{| style="float: right;"
 +
|-
 +
|{{Resource tgi
 +
|hex code = 43415453
 +
|short = CATS
 +
|long = Catalog String
 +
}}
  
[[Category:Modding]]
+
{{Resource tgi
 +
|hex code = 43545353
 +
|short = [[CTSS]]
 +
|long = Catalog Description
 +
}}
 +
 
 +
{{Resource tgi
 +
|hex code = 53545223
 +
|short = STR#
 +
|long = Text Lists
 +
}}
 +
 
 +
{{Resource tgi
 +
|hex code = 54544173
 +
|short = TTAs
 +
|long = Pie Menu Strings
 +
}}
 +
 
 +
|}
 +
 
 +
Several resources use this format:
 +
*CATS - 43415453
 +
*CTSS - 43545353
 +
*STR# - 53545223
 +
*TTAs - 54544173
 +
 
 +
This page describes them all.
 +
 
 +
==Format==
 +
;64 bytes
 +
:File name (null terminated)
 +
;Word
 +
:Format code (253,255) (see TS1 specs)
 +
;Word
 +
:Number of string sets
 +
 
 +
;for each string set there is a language code followed by the string pair
 +
;for a list of all language codes see [[Language Codes]]
 +
 
 +
;Byte
 +
:Language Code
 +
;X bytes
 +
:Value string (null terminated)
 +
;X bytes
 +
:Description string (null terminated)
 +
 
 +
==Use==
 +
Several resouce types use this format. Following is usage notes for each of them.
 +
 
 +
===STR#===
 +
STR# resources have some fixed Instance IDs. Not all of these will appear in every object, but when they do they always have the same meaning. Language codes don't matter for most of the fixed instance numbers. Exceptions are noted below.
 +
 
 +
{| class="wikitable"
 +
!Instance ID!!Common Maxis Name!!Description/Notes
 +
|-
 +
|0x65||Hobby Strings||
 +
|-
 +
|0x80||Slots||
 +
|-
 +
|0x81||Anims - Adult||Animations used for adult Sims
 +
|-
 +
|0x82||Anims - Child||Animations used for child Sims
 +
|-
 +
|0x83||Anims - Social||Animations used for Sim-to-Sim interactions
 +
|-
 +
|0x84||Locomotion Animations||Animations used for walking/running/etc
 +
|-
 +
|0x85||Model - Names||
 +
|-
 +
|0x86||Anims - Object - Adult||Animations that the object does
 +
|-
 +
|0x87||Mesh Group Names||Reference to Model Meshes used by this object
 +
|-
 +
|0x88||Material Names||Reference to Model Material used by this object
 +
|-
 +
|0x89||Anims - Toddler||Animations used for toddler Sims
 +
|-
 +
|0x8A||Anims - Teen||Animations used for teen Sims
 +
|-
 +
|0x8B||Anims - Elder||Animations used for elder Sims
 +
|-
 +
|0x8C||Anims - Baby(temporary)||Only 1 instance of this file found in objects.package
 +
|-
 +
|0x8C||Anims - Cat||Animations used for cats
 +
|-
 +
|0x8D||Anims - Dog||Animations used for dogs
 +
|-
 +
|0x8E||Light Names||Lighting effects used by this object
 +
|-
 +
|0x8F||Effect Names||Special effects used by this object, eg. sparks from broken computer
 +
|-
 +
|0x90||Model - Bones||Reference to bones used by this 3D object
 +
|-
 +
|0x91||Anims - Baby||Animations used for baby Sims
 +
|-
 +
|0x92||Reach animations||
 +
|-
 +
|0x93||Job Titles||Name/Description labels for careers and classes. Language codes matter for this instance.
 +
|-
 +
|0x94||soundinfo||Reference to sound files used by this object
 +
|-
 +
|0x95||Balloon Icon Texture Name||
 +
|-
 +
|0x96||Button GUIDS||Only about 4 instances of this file found in objects.package
 +
|-
 +
|0x97||Cinematics||Reference to cinematic scenes used by this object
 +
|-
 +
|0x98||''none''||Tooltip text
 +
|-
 +
|0x99||Anims - Puppy||Animations used for puppies
 +
|-
 +
|0x9A||Anims - Kitten||Animations used for kittens
 +
|-
 +
|0x9B||Anims - Small Dog||Animations used for Small Dogs
 +
|-
 +
|0x9C||Anims - Elder Dog||Animations used for Elder Dogs
 +
|-
 +
|0x9D||Anims - Elder Small Dog||Animations used for Elder Small Dogs
 +
|-
 +
|0x9E||Anims - Elder Cat||Animations used for Elder Cat
 +
|-
 +
|0xC8||Body Strings||
 +
|-
 +
|0x100||Attribute Labels||The Attributes referenced in BHAV calls such as "My Attribute"
 +
|-
 +
|0x101||Slot Names||Descriptive labels for SLOT resources ??
 +
|-
 +
|0x102||Relationship Labels||
 +
|-
 +
|0x12D||Dialog prim string set||Strings used by BHAV "[[0x0024|Dialog]]" primitive. Language codes matter for this instance.
 +
|-
 +
|0x12E||MakeActionString prim string set||Strings used by BHAV "[[0x0032|Add/Change the Action String]]" primitive
 +
|-
 +
|0x12F||Call Named Tree prim string set||Strings used by BHAV "[[0x001C|Run Tree by Name]]" primitive
 +
|-
 +
|0x130||Career Outfits||
 +
|-
 +
|0x190||Anims - Object - Elder||Animations that the object does
 +
|-
 +
|0x191||Anims - Object - Teen||Animations that the object does
 +
|-
 +
|0x192||Anims - Object - Child||Animations that the object does
 +
|-
 +
|0x193||Anims - Object - Toddler||Animations that the object does
 +
|-
 +
|0x195||Anims - Object - Dog||Animations that the object does
 +
|-
 +
|0x196||Anims - Object - Cat||Animations that the object does
 +
|-
 +
|0x197||Anims - Object - Puppy||Animations that the object does
 +
|-
 +
|0x198||Anims - Object - Kitten||Animations that the object does
 +
|-
 +
|0x199||Anims - Object - Small Dog||Animations that the object does
 +
|-
 +
|0x4132||Sound ID Names||
 +
|}
 +
 
 +
===CATS===
 +
This resource should not be used. The only instance of it in [[objects.package]] is for the fire object.
 +
 
 +
===CTSS===
 +
The first entry is an objects title(name). The second entry is it's description. The other entries don't appear to be used. Different language codes show up their appropriate installations.
 +
 
 +
Although multiple Format Codes were used in [[The Sims 1]],
 +
all the TS2 CTSS files checked use 0xFDFF exclusively.
 +
 
 +
===TTAs===
 +
This resource needs to have the same instance number as it's corresponding [[TTAB]]. Internal numbers don't need to match up. Different language codes show up their appropriate installations.
 +
 
 +
==See Also==
 +
*[[SimAntics]]
 +
 
 +
{{OldWikiEntryCleaned|STR|53545223|CATS|CTSS|43545353|TTAs|54544173}}
 +
 
 +
[[Category:Sims 2 Modding]]
 
[[Category:InternalFormats]]
 
[[Category:InternalFormats]]
 
[[Category:FormatsByName]]
 
[[Category:FormatsByName]]

Latest revision as of 12:27, 17 September 2012

43415453
Short name: CATS
Long name: Catalog String
43545353
Short name: CTSS
Long name: Catalog Description
53545223
Short name: STR#
Long name: Text Lists
54544173
Short name: TTAs
Long name: Pie Menu Strings

Several resources use this format:

  • CATS - 43415453
  • CTSS - 43545353
  • STR# - 53545223
  • TTAs - 54544173

This page describes them all.

Contents

[edit] Format

64 bytes
File name (null terminated)
Word
Format code (253,255) (see TS1 specs)
Word
Number of string sets
for each string set there is a language code followed by the string pair
for a list of all language codes see Language Codes
Byte
Language Code
X bytes
Value string (null terminated)
X bytes
Description string (null terminated)

[edit] Use

Several resouce types use this format. Following is usage notes for each of them.

[edit] STR#

STR# resources have some fixed Instance IDs. Not all of these will appear in every object, but when they do they always have the same meaning. Language codes don't matter for most of the fixed instance numbers. Exceptions are noted below.

Instance ID Common Maxis Name Description/Notes
0x65 Hobby Strings
0x80 Slots
0x81 Anims - Adult Animations used for adult Sims
0x82 Anims - Child Animations used for child Sims
0x83 Anims - Social Animations used for Sim-to-Sim interactions
0x84 Locomotion Animations Animations used for walking/running/etc
0x85 Model - Names
0x86 Anims - Object - Adult Animations that the object does
0x87 Mesh Group Names Reference to Model Meshes used by this object
0x88 Material Names Reference to Model Material used by this object
0x89 Anims - Toddler Animations used for toddler Sims
0x8A Anims - Teen Animations used for teen Sims
0x8B Anims - Elder Animations used for elder Sims
0x8C Anims - Baby(temporary) Only 1 instance of this file found in objects.package
0x8C Anims - Cat Animations used for cats
0x8D Anims - Dog Animations used for dogs
0x8E Light Names Lighting effects used by this object
0x8F Effect Names Special effects used by this object, eg. sparks from broken computer
0x90 Model - Bones Reference to bones used by this 3D object
0x91 Anims - Baby Animations used for baby Sims
0x92 Reach animations
0x93 Job Titles Name/Description labels for careers and classes. Language codes matter for this instance.
0x94 soundinfo Reference to sound files used by this object
0x95 Balloon Icon Texture Name
0x96 Button GUIDS Only about 4 instances of this file found in objects.package
0x97 Cinematics Reference to cinematic scenes used by this object
0x98 none Tooltip text
0x99 Anims - Puppy Animations used for puppies
0x9A Anims - Kitten Animations used for kittens
0x9B Anims - Small Dog Animations used for Small Dogs
0x9C Anims - Elder Dog Animations used for Elder Dogs
0x9D Anims - Elder Small Dog Animations used for Elder Small Dogs
0x9E Anims - Elder Cat Animations used for Elder Cat
0xC8 Body Strings
0x100 Attribute Labels The Attributes referenced in BHAV calls such as "My Attribute"
0x101 Slot Names Descriptive labels for SLOT resources ??
0x102 Relationship Labels
0x12D Dialog prim string set Strings used by BHAV "Dialog" primitive. Language codes matter for this instance.
0x12E MakeActionString prim string set Strings used by BHAV "Add/Change the Action String" primitive
0x12F Call Named Tree prim string set Strings used by BHAV "Run Tree by Name" primitive
0x130 Career Outfits
0x190 Anims - Object - Elder Animations that the object does
0x191 Anims - Object - Teen Animations that the object does
0x192 Anims - Object - Child Animations that the object does
0x193 Anims - Object - Toddler Animations that the object does
0x195 Anims - Object - Dog Animations that the object does
0x196 Anims - Object - Cat Animations that the object does
0x197 Anims - Object - Puppy Animations that the object does
0x198 Anims - Object - Kitten Animations that the object does
0x199 Anims - Object - Small Dog Animations that the object does
0x4132 Sound ID Names

[edit] CATS

This resource should not be used. The only instance of it in objects.package is for the fire object.

[edit] CTSS

The first entry is an objects title(name). The second entry is it's description. The other entries don't appear to be used. Different language codes show up their appropriate installations.

Although multiple Format Codes were used in The Sims 1, all the TS2 CTSS files checked use 0xFDFF exclusively.

[edit] TTAs

This resource needs to have the same instance number as it's corresponding TTAB. Internal numbers don't need to match up. Different language codes show up their appropriate installations.

[edit] See Also

This article is one of several on this topic imported from the old MTS2 wiki. A list of it's original pages, with comments, follows:

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox