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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 364 365 366 367 368

Dolphin + Wii console homebrews = Failure?
View New Posts | View Today's Posts

Pages (3): « Previous 1 2 3
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Dolphin + Wii console homebrews = Failure?
04-22-2009, 08:48 AM
#21
Luigi__ Offline
Dolphin Dev
***
Posts: 61
Threads: 6
Joined: Apr 2009
But for me, no text at all from printf. Neither onscreen, nor in the console.
Tomorrow I'm going to dump my NAND and see if it helps. I'll let you know if I manage to fix my issue.
Find
Reply
04-22-2009, 09:08 AM (This post was last modified: 04-22-2009, 09:18 AM by shuffle2.)
#22
shuffle2 Offline
godisgovernment
*
Project Owner  Developers (Administrators)
Posts: 698
Threads: 17
Joined: Mar 2009
(04-22-2009, 07:21 AM)omegadox Wrote: It should show with XFB (remember XFB does not work without DC mode enabled), I have gotten Wii HB programs to run in Dolphin. Some gamecube ones will flicker, because they need interlacing enabled (enabled by default in HW).

er, XFB works either way here...
Also, take a look at dolphin's TestSuite, here is the PAD test running in single core, with XFB :p

notice how the statusbar doesn't work, and also if you look at the code, it is using cout.


Attached Files Thumbnail(s)
   
Find
Reply
04-22-2009, 09:52 AM (This post was last modified: 04-22-2009, 09:55 AM by Luigi__.)
#23
Luigi__ Offline
Dolphin Dev
***
Posts: 61
Threads: 6
Joined: Apr 2009
BTW, I just posted a thread in the support section about a fix to make the FPS counter update when using XFB in single-core mode.

EDIT: you're running a Gamecube homebrew. My problem is with Wii text homebrews.
I believe I just need a NAND dump. I think the font data used to display text with printf is part of the NAND. Am I wrong?
Find
Reply
04-22-2009, 11:19 AM
#24
shuffle2 Offline
godisgovernment
*
Project Owner  Developers (Administrators)
Posts: 698
Threads: 17
Joined: Mar 2009
uh...printf also works fine in wii homebrew. currently i write homebrew and run it in dolphin to work on the sd card interface. works fine
Find
Reply
04-22-2009, 06:47 PM
#25
omegadox Offline
Senior Member
****
Posts: 401
Threads: 17
Joined: Mar 2009
(04-22-2009, 09:08 AM)shuffle2 Wrote:
(04-22-2009, 07:21 AM)omegadox Wrote: It should show with XFB (remember XFB does not work without DC mode enabled), I have gotten Wii HB programs to run in Dolphin. Some gamecube ones will flicker, because they need interlacing enabled (enabled by default in HW).

er, XFB works either way here...
Also, take a look at dolphin's TestSuite, here is the PAD test running in single core, with XFB :p

notice how the statusbar doesn't work, and also if you look at the code, it is using cout.

Look at the XFB code, when mb2 was fixing it for DC, the XFB code only executes for DC, unless someone fixed that. I think this was only an issue on the Wii emulation side. I would have to re-read the code and check again.
:: System Specs ::
Operating System: Windows 7 Professional x64
Video Card: ATI Radeon HD 5770
CPU: AMD Phenom I X4 9550
RAM: 6GB DDR2
EXP Index: 999999.999999
Find
Reply
04-22-2009, 07:18 PM (This post was last modified: 04-23-2009, 07:10 AM by Luigi__.)
#26
Luigi__ Offline
Dolphin Dev
***
Posts: 61
Threads: 6
Joined: Apr 2009
I just dumped my NAND and I'm going to extract it. We'll see.

EDIT: NAND dump successful, placed the files at the right place, without overwriting SYSCONF. Still no calls to printf detected. I start believing Dolphin hates me Sad
At least I can now boot the Wii menu Smile
Find
Reply
04-25-2009, 02:10 AM (This post was last modified: 04-25-2009, 02:52 AM by Luigi__.)
#27
Luigi__ Offline
Dolphin Dev
***
Posts: 61
Threads: 6
Joined: Apr 2009
I finally figured out the problem: printf works, but only if I load an ELF file. If I load a DOL, printf doesn't work.

Now, it works! When I load a DOL, printf prints text onscreen, and when I load an ELF, it prints text in the console.
I suggest we add an option to redirect printf or not. Or even better, we could detect when printf is called, but not redirect it,
so the text would appear both onscreen as expected and in the console.
Find
Reply
04-25-2009, 02:48 AM
#28
shuffle2 Offline
godisgovernment
*
Project Owner  Developers (Administrators)
Posts: 698
Threads: 17
Joined: Mar 2009
makes sense, elf files have symbols and dols don't
Find
Reply
04-25-2009, 07:31 AM
#29
Luigi__ Offline
Dolphin Dev
***
Posts: 61
Threads: 6
Joined: Apr 2009
yeah.
Find
Reply
« Next Oldest | Next Newest »
Pages (3): « Previous 1 2 3


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


Users browsing this thread:



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode