• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Game Modifications › Cheats, Hacks, & Game Patches v
« Previous 1 2 3 4 5 6 ... 12 Next »

Access gamedata during runtime (MK Wii)
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Access gamedata during runtime (MK Wii)
07-16-2019, 06:44 AM
#1
Minekonst Offline
Junior Member
**
Posts: 3
Threads: 1
Joined: Jul 2019
Hi,
I got a question about accessing data of games during runtime: Is it possible in dolphin emulator to access data like memory of the game or things like polygons while the game is runnig?
To be more specific, I would like to get informations about the rendered polygons (so their position) and some memory values (like the drivers position and the current checkpoint) in Mario Kart Wii to use them in an outside application in realtime.

Does anyone got an idea how I can achieve this, maybe through plugins or something like that? (Is it even possible to make plugins for dolphin and if so, how?)

I would be glad for every response (and sorry for my english, english is not my first language)
Find
Reply
07-16-2019, 07:21 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 6,629
Threads: 4
Joined: Oct 2014
I would suggest taking a look at Dolphin Memory Engine: https://github.com/aldelaro5/Dolphin-memory-engine
Find
Reply
07-17-2019, 01:15 AM
#3
Minekonst Offline
Junior Member
**
Posts: 3
Threads: 1
Joined: Jul 2019
(07-16-2019, 07:21 AM)JosJuice Wrote: I would suggest taking a look at Dolphin Memory Engine: https://github.com/aldelaro5/Dolphin-memory-engine

Thanks a lot, I will check it out right away.
Do you have any hint how I can find important values like drivers position easily?
Find
Reply
07-17-2019, 03:02 AM
#4
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 6,629
Threads: 4
Joined: Oct 2014
You could use Dolphin's cheat search to find the place in the Wii's address space where the position is stored. For instance, you could first run a bunch of searches for values that are identical to what they were previously, then move the vehicle a little, then do one search for values that are different than they were previously, then a few searches for values that are identical to what they were previously...

But if you're unlucky, it'll be stored at a different location in memory for each race, requiring deeper analysis.
Find
Reply
07-18-2019, 03:15 AM
#5
Minekonst Offline
Junior Member
**
Posts: 3
Threads: 1
Joined: Jul 2019
That would be really bad for me. But thanks, I will try what you explained. Btw is there any way to modify the games code, like its done in CTGP for instance? Maybe that would be another way to solve my problem because it would be great for me to know where in the map what is (like drivable road).
Find
Reply
07-18-2019, 03:23 AM
#6
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 6,629
Threads: 4
Joined: Oct 2014
If you want to make a small change to the game's code, you can use AR codes or Gecko codes. If it's a larger change, you'll probably have to edit the disc image. (This is made easier by the fact that Dolphin can run extracted disc images without having to pack them back into ISO files after being edited.)
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode