You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#1
VB debugging with Mednafen, but without the eyestrain.
Posted on: 2018/12/15 21:53
VB Gamer
Joined 2016/3/13
42 Posts
Long Time User (3 Years)
The Mednafen emulator is (arguably) the best emulator to use for debugging your VirtualBoy homebrew game, because of its excellent compatibility and its wonderful built-in debugger.

Unfortunately, the debugger defaults to using low-resolution 5x7 pixel fonts that are poorly defined, and then it displays them on small pages that are 640x480 pixel-or-less in size.

This makes the debugging screens very hard to read, especially on modern high-resolution monitors.

In order to avoid eyestrain and annoyance, I've patched the Mednafen source to use slightly larger and better-defined fonts, and then to display them on larger 800x600 pixel pages.

The patches and a build script (for Windows and Linux) can be found on github here ... mednafen-happyeyes

Prebuilt Windows downloads are available in the following links for Win32 and Win64.

The prebuilt versions only support the PC Engine, PC-FX, VirtualBoy, PlayStation and WonderSwan, but you can compile your own version with other console platforms if you wish.


The result looks like this (using the PC Engine debugger as an example) ...

Open in new window



Rather than the headache-inducing original ...

Open in new window



P.S. You have to click on the pictures to view them full size to really see the difference.
Edited by ElmerPCFX on 2018/12/15 23:40
Edited by ElmerPCFX on 2018/12/15 23:42
Top

#2
Re: VB debugging with Mednafen, but without the eyestrain.
Posted on: 2018/12/17 8:20
PVB Elite
Joined 2011/7/1
Germany
1109 Posts
CoderContributorTop10 PosterLong Time User (8 Years) App CoderPVBCC 2013 Entry
I guess I might be one of the few who really appreciates this. Thanks allot!
Top

#3
Re: VB debugging with Mednafen, but without the eyestrain.
Posted on: 2018/12/17 19:04
PVB Elite
Joined 2008/12/28
Slovenia
626 Posts
Highscore Top ScoreHighscore Top ScoreCoderContributor10+ Game RatingsLong Time User (10 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
You can already change the font size in the configuration file. I must be missing something.

But what I would really like is the ability to have a large debugger display without also having to stretch the game display. I have to stretch it 3 times vertically to fit the debugger with a 9×18 font, but then games are almost impossible to play/test. Going full screen solves it, but it's a little inconvenient.

And pressing Esc shouldn't quit the emulator when I'm in the debugger!
Top

#4
Re: VB debugging with Mednafen, but without the eyestrain.
Posted on: 2018/12/17 19:34
VB Gamer
Joined 2016/3/13
42 Posts
Long Time User (3 Years)
Quote:

HorvatM wrote:
You can already change the font size in the configuration file. I must be missing something.

Yes, you are.

Sure, you can change the disassembly font size in the Mednafen configuration file, but you can't change the register font, or watch font, or trace font, or the register alignment, or the memory editor font ... and you certainly can't make it use a larger debug display.


Quote:
But what I would really like is the ability to have a large debugger display without also having to stretch the game display. I have to stretch it 3 times vertically to fit the debugger with a 9×18 font, but then games are almost impossible to play/test.

You would have to change how Mednafen calculates the window size to use ... but that could possibly be done. If you really want it, then you have the option to dig into the source code and make it happen!


Quote:
And pressing Esc shouldn't quit the emulator when I'm in the debugger!

The same with this ... if you don't like it, then change it. Compiling Mednafen is really pretty easy, especially since I've provided a build script that you can change if you desire.
Top

 Top   Previous Topic   Next Topic


Register To Post