Logging game events to text file
#11
(03-08-2024, 06:44 PM)Vega Wrote: and as long as Dolphin logs in Register info for Instruction BPs, then you should be able to do all the logic in Chataigne with Option 1.

Yeah, unfortunately, it seems I can only log breakpoints at memory addresses.  I'm really trying my best here, I promise, I've read through the entirety of the ASM tutorial and I'm about halfway towards actually understanding it.  Just answer me this - is the item for each player stored somewhere, whether that be a register, or a part of the memory? Is that place consistent?  Because in that GVR tutorial you linked, the source code is

Code:
li r3, 0 #Set Item (green shell)
stw r3, 0x0020 (r23) #Default/Original Instruction of Hook Address. This stores the Item to Dynamic Memory.
Which suggests you're putting the green shell in register 3, and then taking that value and putting it into memory value of 0x0020 + r23, which equals 00000000.  So...you're putting it in 00000020?  That doesn't make sense.  Maybe you're putting it in 80000020?  Nope, can't be, when I have a triple mushroom in my inventory that byte is 0D, which according to this should be a POW block.

I'm honestly getting totally lost here.  To add even more confusion, this code somehow affects items without using the registers at all, just a nop on a memory value.  This is frustrating, all I wanted to do was create a cool light show.
Reply


Messages In This Thread
Logging game events to text file - by seanmcnally - 03-02-2024, 09:56 PM
RE: Logging game events to text file - by Vega - 03-04-2024, 01:38 AM
RE: Logging game events to text file - by Vega - 03-04-2024, 09:37 PM
RE: Logging game events to text file - by Vega - 03-07-2024, 01:02 AM
RE: Logging game events to text file - by Vega - 03-08-2024, 12:25 AM
RE: Logging game events to text file - by Vega - 03-08-2024, 06:44 PM
RE: Logging game events to text file - by seanmcnally - 03-12-2024, 06:58 AM
RE: Logging game events to text file - by Vega - 03-12-2024, 09:13 PM
RE: Logging game events to text file - by Vega - 03-13-2024, 11:36 PM
RE: Logging game events to text file - by Vega - 03-14-2024, 06:28 PM
RE: Logging game events to text file - by Vega - 03-16-2024, 02:23 AM
RE: Logging game events to text file - by Vega - 03-16-2024, 04:54 PM
RE: Logging game events to text file - by Vega - 03-16-2024, 11:13 PM
RE: Logging game events to text file - by Vega - 03-18-2024, 05:20 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)