YesNoOk
avatar

Trying to switch font style for a screenpack. Then the font doesn't appear. (Read 154 times)

Started by Codename36, August 05, 2013, 10:35:52 pm
Share this topic:
Trying to switch font style for a screenpack. Then the font doesn't appear.
New #1  August 05, 2013, 10:35:52 pm
    • USA
Hello!  I'm a longtime Mugen fan and I have recently decided to update my old stuff to Mugen 1.0!  I downloaded a new screen pack (Mugen AX) and pretty much everything is working fine!

But the one issue I have is in the selection screen, the name of certain characters seem to extend out of the screen.  So when it comes to characters with long names, it gets cut off.  Here's an example, Boneclaw Wolverine:



So I figured I could try switching out the specific font to something smaller, since my system.def has other fonts listed on top.  In the section that determines the name of the selected character, I switched out the font number to a different number listed.  But no matter what I do, the font does not appear and it is blank.  I've been messing with it for awhile and I'm a bit confused as to what I am doing wrong.  Maybe someone can point out an error I am overlooking, I would greatly appreciate any assistance!  I am new when it comes to editing such things.

These are the files I have listed in my system.def:

[Files]
spr =system.sff;Filename of sprite data
snd =system.snd;Filename of sound data
logo.storyboard =;Logo storyboard definition (optional)
intro.storyboard =;Intro storyboard definition (optional)
select =select.def;Character and stage selection list
fight =VP_TECH/VP_fight.def;Fight definition filename
font1 =font/f-4x6.fnt;System fonts
font2 =font/f-6x9.fnt;System fonts
font3 =font/jg.fnt;System fonts

This is the area I have been tweaking, under [Select Info]:

;Name
p1.name.offset =117,152;Position to put name
p1.name.font =3,5,-1;Set to -1 for no display
p2.name.offset =525,461
p2.name.font =3,5,1

I am trying to change the 1st number into another number, determining the font it uses.  Changing 3 into 2 or 1.  But no fonts show up, once I do that.  Only if it says 3, then the font works.  I also tried changing the 2nd number, the color, but that doesn't help either.  The font files themselves most definitely work, because they show up everywhere else in this screenpack by default.  Also if I switch the font files listed into other fonts I have, that causes them to disappear as well... so I'm stuck.  This could be something very simple I am overlooking, but atm I just can't see it.  It's a small issue that I could ignore, but I might as well try fixing it.  So if anyone has an idea of what the issue might be, please share your thoughts!  Thank you very much for reading!  If you need anymore info, I will gladly share it.

EDIT:  D'oh!  I spent like a whole day on this, and of course I find out the solution minutes after making this topic.  But apparently it was because the fonts with .fnt are supposed to say .def...... why it was like that by default is beyond me.  But w/e, changing that now allows me to use any fonts I want.

So I guess I'm all set now.  lol.... I'm sorry but I don't know how to change the thread icon into "solved".
Last Edit: August 05, 2013, 11:11:36 pm by Codename36