Good night people! (at least in Argentina jaja)
I would like to share with you, my first big hack! It's for Legend of Dragoon, and as thread's name indicates, it's a Super Item Code jeje...
Using it is simple:
1- goto inventory->Items->List->Used Items
2- Select some item, and press Start or Select for change item
Now the Asm code jeje (it has some comments and labels in spanish):
.set noat
.word 0x2B72C
08002040 j SUPERITEM
SUPERITEM:
.word 0x8100
3C02800C lui $2, 0x800C
8C42DC30 lw $2, 0xDC30($2)
24010010 addiu $1, $0, 0x10# se esta dentro de items/list
1441002B bne $2, $1, SALIR
3C028012 lui $2, 0x8012
8C42D734 lw $2, 0xD734($2)
24010001 addiu $1, $0, 0x01# se tiene que estar dentro de used items
14410027 bne $2, $1, SALIR
8C017FF4 lw $1, 0x7FF4($0)
10200003 beq $1, $0, VAMOS
2421FFFF addiu $1, $1, 0xFFFF
AC017FF4 sw $1, 0x7FF4($0)
10000022 beq $0, $0, SALIR
VAMOS:
3C028012 lui $2, 0x8012
9042D740 lbu $2, 0xD740($2)# $2 es la posicion del item en el menu
3C018015 lui $1, 0x8015
3421C74C ori $1, 0xC74C
00021080 sll $2, $2, 0x02
00220821 addu $1, $1, $2
AC017FF8 sw $1, 0x7FF8($0)
00021082 srl $2, $2, 0x02
3C01800B lui $1, 0x800B
3421AEB1 ori $1, $1, 0xAEB1
00220821 addu $1, $1, $2# $1 = offset baebX del item elegido
90220000 lbu $2, 0x00($1)# $2 tiene el id del item elegido, si es select $2++, start $2--
AC017FF0 sw $1, 0x7FF0($0)# guardar la dir del item que se modifica
24010100 addiu $1, $0, 0x100
10610008 beq $3, $1, ES_SELECT
24010800 addiu $1, $0, 0x800
14610011 bne $3, $1, SALIR
ES_START:
2442FFFF addiu $2, $2, 0xFFFF# decrementar id
04410009 bgezal $2, SALVAR
00000000 nop
340200FE ori $2, $0, 0x00FE
10000006 beq $0, $0, SALVAR
00000000 nop
ES_SELECT:
24420001 addiu $2, $2, 1 # incrementar id
340100FF ori $1, $0, 0xFF
14220002 bne $1, $2, SALVAR
00000000 nop
00001021 addu $2, $0, $0
SALVAR:
8C017FF0 lw $1, 0x7FF0($0)
A0220000 sb $2, 0x00($1)
8C017FF8 lw $1, 0x7FF8($0)
A0220000 sb $2, 0x00($1)
34010020 ori $1, $0, 0x20
AC017FF4 sw $1, 0x7FF4($0)
SALIR:
0800ADCC j 0x2B730
00000000 nop
And the very very very long Gameshark code (in PEC format):
"Other Codes\Misc. Codes\Super Item Code\Part1
80008100 800C
80008102 3C02
80008104 DC30
80008106 8C42
80008108 0010
8000810A 2401
8000810C 002B
8000810E 1441
80008110 8012
80008112 3C02
80008114 D734
80008116 8C42
"Other Codes\Misc. Codes\Super Item Code\Part2
80008118 0001
8000811A 2401
8000811C 0027
8000811E 1441
80008120 7FF4
80008122 8C01
80008124 0003
80008126 1020
80008128 FFFF
8000812A 2421
8000812C 7FF4
8000812E AC01
"Other Codes\Misc. Codes\Super Item Code\Part3
80008130 0022
80008132 1000
80008134 8012
80008136 3C02
80008138 D740
8000813A 9042
8000813C 8015
8000813E 3C01
80008140 C74C
80008142 3421
80008144 1080
80008146 0002
"Other Codes\Misc. Codes\Super Item Code\Part4
80008148 0821
8000814A 0022
8000814C 7FF8
8000814E AC01
80008150 1082
80008152 0002
80008154 800B
80008156 3C01
80008158 AEB1
8000815A 3421
8000815C 0821
8000815E 0022
"Other Codes\Misc. Codes\Super Item Code\Part5
80008160 0000
80008162 9022
80008164 7FF0
80008166 AC01
80008168 0100
8000816A 2401
8000816C 0008
8000816E 1061
80008170 0800
80008172 2401
80008174 0011
80008176 1461
"Other Codes\Misc. Codes\Super Item Code\Part6
80008178 FFFF
8000817A 2442
8000817C 0009
8000817E 0441
80008180 0000
80008182 0000
80008184 00FE
80008186 3402
80008188 0006
8000818A 1000
8000818C 0000
8000818E 0000
"Other Codes\Misc. Codes\Super Item Code\Part7
80008190 0001
80008192 2442
80008194 00FF
80008196 3401
80008198 0002
8000819A 1422
8000819C 0000
8000819E 0000
800081A0 1021
800081A2 0000
800081A4 7FF0
800081A6 8C01
"Other Codes\Misc. Codes\Super Item Code\Part8
800081A8 0000
800081AA A022
800081AC 7FF8
800081AE 8C01
800081B0 0000
800081B2 A022
800081B4 0020
800081B6 3401
800081B8 7FF4
800081BA AC01
800081BC ADCC
800081BE 0800
"Other Codes\Misc. Codes\Super Item Code\Part9
800081C0 0000
800081C2 0000
8002B72C 2040
8002B72E 0800
... well, this is a lengthy one jaja... i've tested it with PCSX (using PEC) and worked really fine. I developed and first testing with PSXFin
I would like to hear opinions about this little code please! And one more thing, sorry for my english jejeje!!! (perdon jeje)
regards!
I would like to share with you, my first big hack! It's for Legend of Dragoon, and as thread's name indicates, it's a Super Item Code jeje...
Using it is simple:
1- goto inventory->Items->List->Used Items
2- Select some item, and press Start or Select for change item
Now the Asm code jeje (it has some comments and labels in spanish):
.set noat
.word 0x2B72C
08002040 j SUPERITEM
SUPERITEM:
.word 0x8100
3C02800C lui $2, 0x800C
8C42DC30 lw $2, 0xDC30($2)
24010010 addiu $1, $0, 0x10# se esta dentro de items/list
1441002B bne $2, $1, SALIR
3C028012 lui $2, 0x8012
8C42D734 lw $2, 0xD734($2)
24010001 addiu $1, $0, 0x01# se tiene que estar dentro de used items
14410027 bne $2, $1, SALIR
8C017FF4 lw $1, 0x7FF4($0)
10200003 beq $1, $0, VAMOS
2421FFFF addiu $1, $1, 0xFFFF
AC017FF4 sw $1, 0x7FF4($0)
10000022 beq $0, $0, SALIR
VAMOS:
3C028012 lui $2, 0x8012
9042D740 lbu $2, 0xD740($2)# $2 es la posicion del item en el menu
3C018015 lui $1, 0x8015
3421C74C ori $1, 0xC74C
00021080 sll $2, $2, 0x02
00220821 addu $1, $1, $2
AC017FF8 sw $1, 0x7FF8($0)
00021082 srl $2, $2, 0x02
3C01800B lui $1, 0x800B
3421AEB1 ori $1, $1, 0xAEB1
00220821 addu $1, $1, $2# $1 = offset baebX del item elegido
90220000 lbu $2, 0x00($1)# $2 tiene el id del item elegido, si es select $2++, start $2--
AC017FF0 sw $1, 0x7FF0($0)# guardar la dir del item que se modifica
24010100 addiu $1, $0, 0x100
10610008 beq $3, $1, ES_SELECT
24010800 addiu $1, $0, 0x800
14610011 bne $3, $1, SALIR
ES_START:
2442FFFF addiu $2, $2, 0xFFFF# decrementar id
04410009 bgezal $2, SALVAR
00000000 nop
340200FE ori $2, $0, 0x00FE
10000006 beq $0, $0, SALVAR
00000000 nop
ES_SELECT:
24420001 addiu $2, $2, 1 # incrementar id
340100FF ori $1, $0, 0xFF
14220002 bne $1, $2, SALVAR
00000000 nop
00001021 addu $2, $0, $0
SALVAR:
8C017FF0 lw $1, 0x7FF0($0)
A0220000 sb $2, 0x00($1)
8C017FF8 lw $1, 0x7FF8($0)
A0220000 sb $2, 0x00($1)
34010020 ori $1, $0, 0x20
AC017FF4 sw $1, 0x7FF4($0)
SALIR:
0800ADCC j 0x2B730
00000000 nop
And the very very very long Gameshark code (in PEC format):
"Other Codes\Misc. Codes\Super Item Code\Part1
80008100 800C
80008102 3C02
80008104 DC30
80008106 8C42
80008108 0010
8000810A 2401
8000810C 002B
8000810E 1441
80008110 8012
80008112 3C02
80008114 D734
80008116 8C42
"Other Codes\Misc. Codes\Super Item Code\Part2
80008118 0001
8000811A 2401
8000811C 0027
8000811E 1441
80008120 7FF4
80008122 8C01
80008124 0003
80008126 1020
80008128 FFFF
8000812A 2421
8000812C 7FF4
8000812E AC01
"Other Codes\Misc. Codes\Super Item Code\Part3
80008130 0022
80008132 1000
80008134 8012
80008136 3C02
80008138 D740
8000813A 9042
8000813C 8015
8000813E 3C01
80008140 C74C
80008142 3421
80008144 1080
80008146 0002
"Other Codes\Misc. Codes\Super Item Code\Part4
80008148 0821
8000814A 0022
8000814C 7FF8
8000814E AC01
80008150 1082
80008152 0002
80008154 800B
80008156 3C01
80008158 AEB1
8000815A 3421
8000815C 0821
8000815E 0022
"Other Codes\Misc. Codes\Super Item Code\Part5
80008160 0000
80008162 9022
80008164 7FF0
80008166 AC01
80008168 0100
8000816A 2401
8000816C 0008
8000816E 1061
80008170 0800
80008172 2401
80008174 0011
80008176 1461
"Other Codes\Misc. Codes\Super Item Code\Part6
80008178 FFFF
8000817A 2442
8000817C 0009
8000817E 0441
80008180 0000
80008182 0000
80008184 00FE
80008186 3402
80008188 0006
8000818A 1000
8000818C 0000
8000818E 0000
"Other Codes\Misc. Codes\Super Item Code\Part7
80008190 0001
80008192 2442
80008194 00FF
80008196 3401
80008198 0002
8000819A 1422
8000819C 0000
8000819E 0000
800081A0 1021
800081A2 0000
800081A4 7FF0
800081A6 8C01
"Other Codes\Misc. Codes\Super Item Code\Part8
800081A8 0000
800081AA A022
800081AC 7FF8
800081AE 8C01
800081B0 0000
800081B2 A022
800081B4 0020
800081B6 3401
800081B8 7FF4
800081BA AC01
800081BC ADCC
800081BE 0800
"Other Codes\Misc. Codes\Super Item Code\Part9
800081C0 0000
800081C2 0000
8002B72C 2040
8002B72E 0800
... well, this is a lengthy one jaja... i've tested it with PCSX (using PEC) and worked really fine. I developed and first testing with PSXFin
I would like to hear opinions about this little code please! And one more thing, sorry for my english jejeje!!! (perdon jeje)
regards!