Coding Questions and other Quandaries
#70
I went in and revisited the nightmare of setting bp's on pin status.
Was quickly reminded that it brings the game to its knees (2 fps), and can cause Dolphin to crash/shut down.
So I enlisted the help of the wife, in throwing the ball, so I could pause it, and just before hitting the pins, set the bp.

Two instructions break when going through all pin sequences eg. Initial pin setting, replay sequences, setting pins after the first roll and the top of the next frame:

804DC914 stb r4, 0x26D (r3)
and
804DCB2C stb r0, 0x26D (r30)

Struck paydirt when I changed:

804DC914 stb r4, 0x26D (r3)
to
804DC914 lbz r4, 0x26D (r3)


Set up a couple button activators to alternate the new and original asm,
and BOOM we have a code that exceeded my expectations Smile

Press (-) to cycle through splits configs. Game remains in "Standard Mode."
Press (1) to lock the current pins standing, so they always appear with every roll. "Splits Training Mode."
Press (2) to unlock pins and resume "Standard Mode" play.

06001500 00000064
01010101 01010101
01010000 00010001
01010001 00000001
00010100 00010000
00010001 00000001
00000001 00010100
00000001 00000000
00010001 00000100
00000100 01000000
00010001 00000000
00000000 00000100
01000101 01000000
01000001 00000000
C0000000 00000010
3C608071 A0038D40
70001000 3C608000
40820010 38000000
980303FF 4E800020
880303FF 2C000001
4D820020 38000001
980303FF 88A303FE
38A50001 2805000A
41A00008 38A00000
98A303FE 1CA5000A
3D208126 612996B9
60631500 7C632A14
3863FFFF 3800000A
7C0903A6 8C030001
9C09057C 4200FFF8
4E800020 00000000
28708D40 00000100
C24DC914 00000001
9883026D 00000000
020003FE 00001000
E0000000 00000000
28708D40 00000200
C24DC914 00000001
8883026D 00000000
E0000000 80008000

Good job Vega!

Now on to the random pin code.......
Reply


Messages In This Thread
RE: Coding Questions and other Quandaries - by Hackwiz - 12-26-2021, 06:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)