Logging game events to text file
#2
(03-02-2024, 09:56 PM)seanmcnally Wrote: Hey everyone,

New member here.  Want to first say thank you for all the incredibly detailed documentation on how this game works on the backend.  This site is a fantastic resource for those just getting into coding cheats for this game.

Welcome to MarioKartWii.com. Thank you for the kind words.

(03-02-2024, 09:56 PM)seanmcnally Wrote: I'm working my way through the tutorial posts, learning how all of this works. I'm not going to take a shortcut and ask for a solution to my specific need, but instead, I want to know whether a specific aspect of my end goal is possible.  In the end, I want to be able to log game events to a text file in real time - specifically, item usage.  The most important parts of my project are logging when a star, thunderbolt, or blooper are used.

Yes that's possible.

(03-02-2024, 09:56 PM)seanmcnally Wrote: So my question is, if I'm able to isolate which parts of memory those events are stored in, is there a way to dump those parts of the memory to a text file?  It doesn't seem that Dolphin Memory Engine has this type of real-time export functionality.  Dolphin's logger can write to a file in real time, but I'm unsure whether I can get the memory to be output into the logger.  Has anyone ever done this before?  If all else fails, I suppose I could use an OCR on an open memory viewer window, but that solution isn't ideal.

For those curious, my project involves a tournament where the lights in the arena change in real time according to item usage  Smile

Yes, you can dump those parts/information to a text file. However, for what you've described in your final sentence, you wouldn't need that information kept in a text file. You can write up a code that keeps that information into an allocated portion of memory, and then another code can read those memory contents and know how to modify the arena lights based on the memory contents (items being used) present.

A primitive way to do this is using the "EVA Method". You will encounter this tutorial sometime shortly after the Assembly Tutorial. If you've haven't yet ran across my Learn PPC Index Thread, here it is - https://mariokartwii.com/showthread.php?tid=1114

You can think of it as the PPC Gecko Coding Bible/Quran. You don't need to complete all the threads. It is overwhelming, Try to get up to the Intermediate Category all completed. You will see the "Using the Exception Vector Area' thread is what I was mentioning about earlier.
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 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)