From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:STFS (Xbox 360 package)" |
|---|
| claim | "XLanguage values 1-12 index the 9 (plus 3 in metadata version 2) display-name slots of an STFS package and the string tables of an XDBF title resource." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:STFS (Xbox 360 package)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "XLanguage" |
|---|
| underlying_type | "uint32_t" |
|---|
| complete | true |
|---|
| values | | 0 | "kInvalid" |
|---|
| 1 | "kEnglish" |
|---|
| 2 | "kJapanese" |
|---|
| 3 | "kGerman" |
|---|
| 4 | "kFrench" |
|---|
| 5 | "kSpanish" |
|---|
| 6 | "kItalian" |
|---|
| 7 | "kKorean" |
|---|
| 8 | "kTChinese" |
|---|
| 9 | "kPortuguese" |
|---|
| 10 | "kSChinese" |
|---|
| 11 | "kPolish" |
|---|
| 12 | "kRussian" |
|---|
| 13 | "kMaxLanguages" |
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "enum class XLanguage, comment 'STFS headers can't support any more languages than these'; used as lang_id = language - 1 in XContentMetadata::display_name and as the section-3 entry id in XdbfWrapper::GetStringTableEntry" |
|---|
| repo | "https://github.com/xenia-project/xenia" |
|---|
| commit | "95a5c3ee250f80c3b9d139658649d9ffb6db3eec" |
|---|
| path | "src/xenia/xbox.h" |
|---|
| lines | "327-346" |
|---|
|
| type | "source" |
|---|
| detail | "display_name/description pick slot language-1; slots 9-11 only if metadata_version >= 2; out-of-range falls back to English" |
|---|
| repo | "https://github.com/xenia-project/xenia" |
|---|
| commit | "95a5c3ee250f80c3b9d139658649d9ffb6db3eec" |
|---|
| path | "src/xenia/vfs/devices/stfs_xbox.h" |
|---|
| lines | "281-286, 342-392" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Language ids" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T13:26:30.492Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T17:12:29.813Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read xenia xbox.h (enum class XLanguage 0-13) and stfs_xbox.h at the cited commit: kNumLanguagesV1 = 9, kNumLanguagesV2 = 12, lang_id = language - 1, slots 9-11 only when metadata_version >= 2. Values match. Note kMaxLanguages 13 is a count sentinel, not a language." |
|---|
|
|
|---|