BPS The strike [RY8EFS] Skeleton model error

Started by Patedj, February 24, 2011, 12:56:50 PM

Previous topic - Next topic

Patedj

I found out that I can replace a register so that it makes everything unlimited.
This would even give me access to all the bonus materiel.
Unfortunately, this brings about the skeleton model. And as soon as it tries to load it it brings about a debug screen.
[spoiler]Msg: Bogus material palette
Fine:skeleton_model.cpp
Line:676
Time:Thu Jan 18 16:21:01 1945
This is an unofficial build. run.cpp compiled
May 9 2009 111:07:20[/spoiler]

??? can I reroute this?

Registers
[spoiler] CR:42200488  XER:20000000  CTR:80199248 DSIS:00400000
DAR:812052DC SRR0:801A0D8C SRR1:0000B032   LR:80199320
 r0:00000014   r1:8062F9C8   r2:80624240   r3:812052D4
 r4:00000001   r5:00000001   r6:00000001   r7:00000001
 r8:00000000   r9:0011C264  r10:0011C26C  r11:8062FFF8
r12:80199248  r13:806208E0  r14:00000000  r15:FFFFFF00
r16:80325C98  r17:FF5C5CFC  r18:FFAAA0AC  r19:FF0A0000
r20:FFBEAAC8  r21:FF640000  r22:00000001  r23:80325C98
r24:8061E4C0  r25:80323998  r26:805AE8F8  r27:8070F0D0
r28:80D987A0  r29:0000000F  r30:00000001  r31:43300000

 f0:3F800000   f1:00000000   f2:00000000   f3:00000000
 f4:3F800000   f5:B24F99E2   f6:2EC951AE   f7:AB0C4192
 f8:3D33ABB1   f9:BF7AA2EE  f10:42A69D06  f11:3EBACD9C
f12:3C30A958  f13:3EE0453C  f14:00000000  f15:00000000
f16:00000000  f17:00000000  f18:00000000  f19:00000000
f20:40AE40F1  f21:3F2B4C27  f22:40C90FDB  f23:3F800000
f24:00000000  f25:00000000  f26:00000000  f27:3F800000
f28:00000000  f29:00000000  f30:00000000  f31:3F800000[/spoiler]

Function
[spoiler]801A0D5C:  2C04FFFF   cmpwi   r4,-1
801A0D60:  38A00000   li   r5,0
801A0D64:  40810014   ble-   0x801a0d78
801A0D68:  8003000C   lwz   r0,12(r3)
801A0D6C:  7C002000   cmpw   r0,r4
801A0D70:  40810008   ble-   0x801a0d78
801A0D74:  38A00001   li   r5,1
801A0D78:  2C050000   cmpwi   r5,0
801A0D7C:  41820018   beq-   0x801a0d94
801A0D80:  1C040014   mulli   r0,r4,20
801A0D84:  80630010   lwz   r3,16(r3)
801A0D88:  7C630214   add   r3,r3,r0
801A0D8C:  80630008   lwz   r3,8(r3) breaks here
801A0D90:  4E800020   blr   
[/spoiler]

I change the break to lis r3,r15,ff which makes all the lures, rods, lines,  reels, and boats all unlimited/accessible. Changing it to a smaller value still brings about the skeleton model... which freezes the game...
code[spoiler]041A0D8C 386F00FF[/spoiler]

I do have this code done for poking around with...
[spoiler]
lure address A
2861621A 00000800
092052C8 00000000
206E0014 00000000
E0000000 80008000
[/spoiler]
It would work if I could figure out the coding for pointers. I think the diff between the intervals is 2000 so O0 help
[spoiler]
lure address B
092032c8 00000000
206E0014 00000000
E0000000 80008000[/spoiler]
You can pm me, I've got time for your troubles.