Logging game events to text file
#12
Wink 
HUGE News: I got 2/3 of my goals completed!!  Using Lightning Shock Length Modifier and Blooper Ink Timer Modifier, both by 1superchip, I was able to find the memory breakpoint for "someone used lightning" and "someone used a blooper".  I added a memory instruction read breakpoints on these two addresses:

8088D508 for lightning
808B12F4 for blooper

Now, whenever anyone uses lightning, Dolphin will log:

Code:
Core\PowerPC\BreakPoints.cpp:381 N[MI]: MBP 80579c94 ( --- ) Read16 2b2 at 8088d508 ( --- )

And whenever anyone uses a blooper, Dolphin will log:

Code:
Core\PowerPC\BreakPoints.cpp:381 N[MI]: MBP 80578814 ( --- ) Read16 1c2 at 808b12f4 ( --- )


which lets Chataigne know to trigger the proper effect with my RGB lights.  This means I'm more than halfway there, and as meatloaf would say, two out of three ain't bad.  So far we got:

✓ Log when anyone uses lightning
✓ Log when anyone uses blooper
X Log when a human uses a star

Now, the star thing may have to do with registers and slot numbers.  I suppose I have some more reading to do.
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, 05:09 PM
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: 6 Guest(s)