More Awesome Than You!

The Bowels of Trogdor => The Small Intestines of Trogdor => Topic started by: dizzy on 2006 November 17, 22:14:57



Title: STR# notes
Post by: dizzy on 2006 November 17, 22:14:57
I thought I'd start some generic notes on STR# resources, as that becomes pretty useful now and then.

Code:
Country code to Language chart:

1 "English US"
2 "English UK"
3 "French"
4 "German"
5 "Italian",
6 "Spanish"
7 "Dutch"
8 "Danish"
9 "Swedish"
10 "Norwegian"
11 "Finnish"
12 "Hebrew"
13 "Russian"
14 "Portuguese"
15 "Japanese"
16 "Polish"
17 "Simplified Chinese"
18 "Traditional Chinese"
19 "Thai"
20 "Korean"
21 "Hindi"
22 "Arabic"
23 "Bulgarian"
24 "Cyrillic"
25 "Ukranian"
26 "Czech"
27 "Greek"
28 "Hungarian"
29 "Icelandic"
30 "Romanian"
31 "Latin"
32 "Slovak"
33 "Albanian"
34 "Turkish"
35 "Brazilian Portuguese"
36 "Swiss French"
37 "Canadian French"
38 "Belgian French"
39 "Swiss German"
40 "Swiss Italian"
41 "Belgian Dutch"
42 "Mexican Spanish",
43 "Tagalog"
44 "Vietnamese"

Code:
STR# Variables:

Note: a,b,c, etc. are local variable references

$Object (stack object = objectId, supplies name)
$Local:a (a = value, supplies value)
$Neighbor (stack object = neighorId, supplies name)
$NeighborLocal:a (a = neighborId, supplies name)
$Family (stack object = familyId, supplies family name)
$NameLocal:a (a = objectId, supplies name)
$LastName (stack object = neighborId, supplies last name)
$FullName (stack object = neighborId, supplies full name)
$FullNameLocal:a (a = neighborId, supplies full name)

$CatalogLocal:a (a = objectId, supplies catalog name)
$GUIDCatalogNameLocal:a:b (a = guidLo, b = guidHi, supplies catalog name)

$TimeLocal:a (a = hour, supplies time)
$DayLocal:a (a = 0 to 6: 0 = Sunday, supplies name - STR# 0x99)
$DayFlags:a (a = day flags, supplies name of days)

$JobTitle:a[:b] (a = job title index, b = objectId, supplies job title)
$FamilyAssets:a (a = familyId, supplies value)
$Money[:a]:b (a = multiplier, b = value, supplies value)
$Cash:a:b (a = multiplier, b = value, supplies value)

$NeighborhoodLocal:a (a = neighborhoodId, supplies neighborhood name)
$PrimaryNeighborhood (supplies name of primary neighborhood)

$LotNameLocalByLotId:a (a = lotId, supplies lot name)

$Attrib:a (a = index, supplies value of attribute)
$SkillName:a (a = skill, supplies name of skill)
$WordPoints (supplies the word "points") (?)

$AspirationString:a:b (a = 0x9A to 0x9E, b = index, supplies name - see Live.package)
$BehaviorString:a (a = instance, supplies ?)

$PrivateString:a:b (a = instance, b = index, supplies STR#)
$SemiGlobalString (a = instance, b = index, supplies STR#)
$GlobalString:a:b (a = instance, b = index, supplies STR#)

$PropertyPrivateString (a = instance, b = index, supplies value of property)
$PropertySemiGlobalString (a = instance, b = index, supplies value of property)
$PropertyGlobalString (a = instance, b = index, supplies value of property)

$WantDescriptionLocal:a:b (a = personId, b = slotNum, supplies description)
$WantHelpTextLocal:a:b (a = personId, b = slotNum, supplies help text)
$FearDescriptionLocal:a:b (a = personId, b = slotNum, supplies description)
$FearHelpTextLocal:a:b (a = personId, b = slotNum, supplies help text)


Title: Re: STR# notes
Post by: Inge on 2006 November 18, 09:07:36
Nice work Dizzy, thanks :thumbsup


Title: Re: STR# notes
Post by: dizzy on 2006 November 18, 11:29:23
Feel free to make additions and modifications. I'm still plowing through all the $Token variables, for example.  :P

Is "Cyrillic" really a language? I get the feeling EA may decide to change that one (to be something a bit more specific).


Title: Re: STR# notes
Post by: J. M. Pescado on 2006 November 18, 11:40:15
Feel free to make additions and modifications. I'm still plowing through all the $Token variables, for example.  :P

Is "Cyrillic" really a language? I get the feeling EA may decide to change that one (to be something a bit more specific).
In Soviet Russia, you do not plow through variables, variables plow through YOU! Cyrillic is Russian.


Title: Re: STR# notes
Post by: Inge on 2006 November 18, 11:42:32
Cyrillic is Russian.

Nonsense!  It's what my Uncle Cyril used to speak.


Title: Re: STR# notes
Post by: Inge on 2006 November 18, 13:42:30
Peter says:

Quote
Can you just ask Dizzy whether 31 is right... Latvian might make more sense than "Latin"...
> 30 "Romanian"
> 31 "Latin"
> 32 "Slovak"


Title: Re: STR# notes
Post by: dizzy on 2006 November 18, 21:25:56
In Soviet Russia, you do not plow through variables, variables plow through YOU! Cyrillic is Russian.

If that's the case, then why is Russian already in the list?

Peter says:

Quote
Can you just ask Dizzy whether 31 is right... Latvian might make more sense than "Latin"...
> 30 "Romanian"
> 31 "Latin"
> 32 "Slovak"

OllyDbg says otherwise, and Olly has always been right so far.  ;D

Maybe "Cyrillic" is actually Latviešu? Now, that is more likely.

EDIT: Just double-checked, and it is Latin for certain. Unless they misspelled "latin/Latin/la" all three times.


Title: Re: STR# notes
Post by: J. M. Pescado on 2006 November 19, 04:58:14
Could be how Chinese is on the list 2 or 3 times.


Title: Re: STR# notes
Post by: Inge on 2006 November 19, 11:01:39
Well, the next PJSE is going out with the langs as listed by Dizzy here.   If we get any complaints, we'll refer the complainants to this thread!