Может нужно выполнить ещё 2-ой шаг инструкции:
li $a0, <number from 0 to 11>
jal sceImposeSetLanguageMode()
li $a1, <number 0 or 1>
to change the move instruction to li instruction, open the file with hex editor and patch the values as follows:
$a0: 2120 xxxx -> xxxx 0424
$a1: 2128 xxxx -> xxxx 0524
where xxxx is the value you want (it's 0000 ($zero) for japanese settings)
to set the language to english and X as OK button, change them to
$a0: 0100 0424
$a1: 0100 0524
the 0424 and 0524 will change the move instruction to li instruction, and the xxxx are the desired value.
|
А у нас этот код лежит здесь
0x0000C7DC: 0x3C040011 '...<' - lui $a0, 0x11
0x0000C7E0: 0x3C050001 '...<' - lui $a1, 0x1
Правда номера функций у нас не сходятся.
Сообщение от riku.kh3
выпиши, пожалуйста, какие там точно оффсеты в EBOOT'е поменять, пригодится, однозначно
|
Ну так к адресу нужно прибавить размер ELF-заголовка A0
0x0000C7D0: 0x00002025 '% ..' - move $a0, $zr
0x0000C7D8: 0x00002825 '%(..' - move $a1, $zr
- 0x0000C7D0 + A0 = 0x0000C870 - по этому адресу меняем на значение 25200001
- 0x0000C7D8 + A0 = 0x0000C878 - по этому адресу меняем на значение 25280001
Последний раз редактировалось ErikPshat; 04.02.2015 в 15:30.
|