Language: Difference between revisions

m
Normalization
(Added infobox.)
m (Normalization)
 
(2 intermediate revisions by the same user not shown)
Line 2:
| name = Language
| example = [[File:Paradise Language Example.png|frameless|320px]]<br />English.lang viewed in Bundle Manager.
| resourcenames = *.lang<br /><sup><small>*Language name, e.g. English_UK</small></sup>
| id = 0x27
| category = Generic
| memdist = Main Memory only
| editor = Yes<br />Use [https://github.com/burninrubber0/Bundle-Manager/releases/latest Bundle Manager]
}}
 
Line 15 ⟶ 17:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || uint32_t || meLanguageID || Language file ID || See [[#CgsLanguage::Sku::ELanguage | ELanguage]]
|-
| 0x4 || 0x4 || uint32_t || muSize || Number of entries ||
|-
| 0x8 || 0x4 || [[#CgsResource::LanguageResourceHashEntry | LanguageResourceHashEntry]]* || mpEntries || Entries ||
|}
 
Line 26 ⟶ 28:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || uint32_t || meLanguageID || Language file ID || See [[#CgsLanguage::Sku::ELanguage | ELanguage]]
|-
| 0x4 || 0x4 || uint32_t || muSize || Number of entries ||
|-
| 0x8 || 0x8 || [[#CgsResource::LanguageResourceHashEntry | LanguageResourceHashEntry]]* || mpEntries || Entries ||
|}
 
Line 49 ⟶ 51:
| 0x0 || 0x4 || uint32_t || muHash || Hash of untranslated string (string ID) ||
|-
| 0x4 || 0x4 || || || paddingPadding ||
|-
| 0x8 || 0x8 || [[CgsUtf8]]* || mpString || Translated UTF-8 string ||