hetelek / Velocity

A cross-platform application built using the Qt framework that allows you to browse and edit Xbox 360 files.
GNU General Public License v3.0
155 stars 48 forks source link

Wrong Sizes and Offsets for DisplayName and DisplayDescription #69

Open K4r0qtuYNE5G4qgZ opened 9 years ago

K4r0qtuYNE5G4qgZ commented 9 years ago

The Sizes in Velocity for DisplayName and DisplayDescription are wrong, therefore the Offsets are wrong.

The correct Sizes are: DisplayName (256/$100 Byte)(Big Endian Unicode String) DisplayDescription (256/$100 Byte)(Big Endian Unicode String)

The correct Offsets are: 0x411-0xD10 DisplayName (256/$100 * 9 = 2304 Bytes)(Big Endian Unicode Strings) 0xD11-0x1610 DisplayDescription (256/$100 * 9 = 2304 Bytes)(Big Endian Unicode Strings)

--- I now also have the correct Language ID's and Offsets---

The Language ID's are: Offset: (DisplayName: 0x411 ~ 0xD10 / DisplayDescription:0xD11 ~ 0x1610) [0] = "English" 0x411~0x510 / 0xD11 ~ 0xE10 [1] = "Japanese" 0x511~0x610 / 0xE11 ~0xF10 [2] = "German" 0x611~0x710 / 0xF11 ~0x1010 [3] = "French" 0x711~0x810 / 0x1011 ~ 0x1110 [4] = "Spanish" 0x811~0x910 / 0x1111 ~ 0x1210 [5] = "Italian" 0x911~0xA10 / 0x1211 ~ 0x1310 [6] = "Korean" 0xA11~0xB10 / 0x1311 ~ 0x1410 [7] = "Chinese Traditional" 0xB11~0xC10 / 0x1411 ~ 0x1510 [8] = "Portuguese" 0xC11~0xD10 / 0x1511 ~ 0x1610

The optional Language ID's are: (DisplayName: 0x541A ~ 0x5719 / DisplayDescription:0x941A ~ 0x9719 : [9] = "Russian" 0x541A ~ 0x5519 / 0x941A ~ 0x9519 [10] = "Polish" 0x551A ~ 0x5619 / 0x951A ~ 0x9619 [11] = "Chinese Simplified" 0x561A ~ 0x5719 / 0x961A ~ 0x9719