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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 12 13 14 15 16 ... 117 Next »

Outputting In Game Debug Information to File
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Outputting In Game Debug Information to File
07-18-2019, 02:58 AM
#1
maxsei Offline
Junior Member
**
Posts: 8
Threads: 2
Joined: Jul 2019
I have recently just started a modding project on SSBM for GC. I am using these libraries if anyone is interested in writing mods for the game in c:
https://github.com/sherman5/MeleeModdingLibrary
this tool for injecting c code into icos:
https://github.com/sherman5/wiimake

I have no problem injecting data and instructions into the game, I need to find a way to log game data to a file. Does Dolphin have any features in it that support this? I have not been able to find anything that can do this kind of a thing for me. Anyways if anyone knows any resouces to point me to I would be very greatful. Thanks in advance Smile
Find
Reply
07-18-2019, 03:05 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,946
Threads: 7
Joined: Oct 2014
Dolphin will intercept any calls to OSReport and print the text to its own log, which you can configure to be shown in the Dolphin window or to be saved to a file.
Find
Reply
07-18-2019, 03:13 AM
#3
maxsei Offline
Junior Member
**
Posts: 8
Threads: 2
Joined: Jul 2019
(07-18-2019, 03:05 AM)JosJuice Wrote: Dolphin will intercept any calls to OSReport and print the text to its own log, which you can configure to be shown in the Dolphin window or to be saved to a file.
Where did you find out this information?  I have been having a hard time finding where to look for documentation on these kind of things.  I'm completely new to dolphin so I apologize if I am asking basic questions.  Is there somewhere I could read more about this?
Find
Reply
07-18-2019, 03:15 AM
#4
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,946
Threads: 7
Joined: Oct 2014
I don't think I really read that anywhere... It's just a thing I know from working with Dolphin for a while. I don't know of any good resource that I could point you towards for these kinds of things.

And no, I wouldn't consider this a basic question.
Find
Reply
07-18-2019, 03:30 AM
#5
maxsei Offline
Junior Member
**
Posts: 8
Threads: 2
Joined: Jul 2019
(07-18-2019, 03:15 AM)JosJuice Wrote: I don't think I really read that anywhere... It's just a thing I know from working with Dolphin for a while. I don't know of any good resource that I could point you towards for these kinds of things.

And no, I wouldn't consider this a basic question.
How would I use OSReport or configure it to output to a file?

Also that is very reassuring to know.
Find
Reply
07-19-2019, 03:47 PM
#6
Leseratte10 Offline
Wiimmfi-Team
***
Posts: 56
Threads: 10
Joined: Apr 2019
Dolphin has a "Log Configuration" window where you can enable or disable all available logging types - OSReport is one of them. Just deselect all the others and select OSReport, and click "log to file" (or similar) and it'll log to the file.

As for using it, OSReport is a function that is available in all (or almost all) Wii games. It takes a format string and parameters. You'd need to find out where (at what RAM address) that is for Brawl, then you can call it as if it were printf.
Find
Reply
07-23-2019, 01:41 AM
#7
maxsei Offline
Junior Member
**
Posts: 8
Threads: 2
Joined: Jul 2019
I know this a few days later but I found a way to do what I would like to do with the dolphin memory watcher feature detailed in this github thread https://github.com/dolphin-emu/dolphin/pull/3403
Find
Reply
« Next Oldest | Next Newest »


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


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode