The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: shock_ on November 17, 2007, 08:56:18 am

Title: Here's how to improve MAME's interface font
Post by: shock_ on November 17, 2007, 08:56:18 am
I worked this out myself a while ago and thought nothing of it, but maybe others don't know where to start.

This is for MAME post version 107 or whatever ...

Turning this: (http://forum.arcadecontrols.com/index.php?action=dlattach;topic=51525.0;attach=90008;image)
Into this: (http://forum.arcadecontrols.com/index.php?action=dlattach;topic=51525.0;attach=90010;image)

You need to create a ui.bdf file and leave it sitting in your MAME directory.  I'll assume you're running Windows and want to convert a normal TrueType font into BDF.

Ingredients

For this example I used the ubiquitous slicker.ttf which is bundled with Gamelauncher front end.  Find something free and nice at www.dafont.com if you like, or copy/paste from your c:\windows\fonts directory.


Method

My settings for the screenshot above (slicker.ttf):

c:\emulation\tools\otf2bdf3\otf2bdf -o c:\emulation\mame0120b\ui.bdf slicker.ttf -p 8 -r 600

Every font will be different, read the doco on that coverter program for more details. I found that using a nice high DPI (600) was the key to sharp text.

Hope this is helpful to someone, perhaps wanting to match MAME better with their front end layout.  Couldn't find a good spot in the Wiki for this, the MAME pages are a mess.
Title: Re: Here's how to improve MAME's interface font
Post by: Franco on November 17, 2007, 10:26:56 am
Excellent! Looks much cleaner!  8)  :applaud:

Definitely going to be giving it a go this afternoon.  :)
Title: Re: Here's how to improve MAME's interface font
Post by: u_rebelscum on November 17, 2007, 04:46:40 pm
Thanks for reminding me about this feature. :)

IIRC, for a couple versions the font looked closer to the clean looking font, but too many people wanted the old school font back.  So the old "8-bit era" font came back. ;)

Oh yah, the high res fonts are for when you run mame at high res screens (like LCDs), and not at original arcade resolutions, it's not for everyone.


Anyway, there's more example fonts over at Mr. Do's site (http://www.mameworld.net/mrdo/mame_fonts.html).
Title: Re: Here's how to improve MAME's interface font
Post by: shock_ on November 17, 2007, 10:30:09 pm
ahh wow, how did I miss Mr Do!'s fine page before?  Makes my post a bit redundant :)

Cheers on the note about lower resolution - I hadn't considered that, as mine is high.

One of these days I'll work out how to mod the source to change the blue colour too.
Title: Re: Here's how to improve MAME's interface font
Post by: mccoy178 on November 18, 2007, 12:20:08 am
Excellent!  Thanks for making this thread. :cheers: