Coding Questions and other Quandaries
#80
Sorry for not responding sooner.
I spent the morning organizing the items and their proper placement. i.e. Poke Balls in the Balls folder, Key Items in the Key items folder etc...
Here is the "Good" pointer/serial (F6/16) code:

f6000002 80408041
00160002 000d0005
000e0002 000f0002
16000000 000000d0
00130063 00140063
00150063 001d0063
001e0063 001f0063
00200063 00210063
00220063 00230063
00240063 00250063
00260063 00270063
00280063 00290063
002a0063 002b0063
002c0063 002d0063
01f40063 01f50063
01f60063 01f70063
01f80063 01f90063
01fa0063 01fb0063
01fc0063 01fd0063
01fe0063 01ff0063
02000063 02010063
02020063 02030063
02040063 02050063
02060063 02070063
02080063 02090063
020a0063 020b0063
020c0063 020d0063
020e0063 020f0063
02100063 02110063
02120063 02130063
160000fc 000001f0
00010063 00020063
00030063 00040063
00050063 00060063
00070063 00080063
00090063 000a0063
000b0063 000c0063
00000000 00000000
00000000 00000000
01210063 01220063
01230063 01240063
01250063 01260063
01270063 01280063
01290063 012a0063
012b0063 012c0063
012d0063 012e0063
012f0063 01300063
01310063 01320063
01330063 01340063
01350063 01360063
01370063 01380063
01390063 013a0063
013b0063 013c0063
013d0063 013e0063
013f0063 01400063
01430063 01440063
01450063 01460063
01470063 01480063
01490063 014a0063
014b0063 014c0063
014d0063 014e0063
014f0063 01500063
01510063 01520063
01530063 01540063
01550063 01560063
01570063 01580063
01590063 015a0063
015b0063 015c0063
015d0063 015e0063
015f0063 01600063
01610063 00000000
00850063 00860063
00870063 00880063
00890063 008a0063
008b0063 008c0063
008d0063 008e0063
008f0063 00900063
00910063 00920063
00930063 00940063
00950063 00960063
00970063 00980063
00990063 009a0063
009b0063 009c0063
009d0063 009e0063
009f0063 00a00063
00a10063 00a20063
00a30063 00a40063
00a50063 00a60063
00a70063 00a80063
00a90063 00aa0063
00ab0063 00ac0063
00ad0063 00ae0063
e0000000 80008000

The reason it may be advantageous to do it this way is because there are way more items available than slots for them.
The player may want to create their own item configurations.
The above works great (Dolphin) if you just activate/deactivate the code like I mentioned before.

!!!!!! I love that F6 code. Smile

Which leads to...the button activator.

Ugh!!!!!!!!

I did a half word search for the Z button 0x0010
Found four addresses alternating between 0x0 and 0x10 when z pressed and released.
Created a 28XXXXXX 00000010
And placed it on top of the above code.
Made sure code was active when booting up.
At the Nintendo screen, dolphin may or may not break with an error. I'll click ignore for this session., and
the game continues to boot up.
I know how to find the items memory block in one search, so I can monitor whether the code is working or not
early on.
Pressing the Z button has no effect, and if press enough times will cause dolphin to shut down immediately.
I tried this with all four activator addresses...same thing.
I tried changing endian on the compare...no Bueno.
I ran a search on the button activator address in the dolphin cheat search, and it showed the value for the Z button
to be the same, 0x10.

Apparently I went back to the well one too many times. After dolphin slammed shut one of the times, it apparently corrupted my
cheat manager code file for the game.
On next reboot, all my saved cheats were gone. Grrrrrrrrr!!!

Luckily I'm documenting the good things here to go back to.

So, what have you been up to?

Happy New Year!!!!!!
Reply


Messages In This Thread
RE: Coding Questions and other Quandaries - by Hackwiz - 12-31-2021, 07:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)