project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
23 Feb 2020, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Reply
 
Thread Tools Display Modes
Old 2019-08-29, 21:05   #1
Undermun
Default Help needed with custom font for localization

Me and a small team are making the brazilian portuguese localization, but there is a problem: portuguese special characters are not supported. They work fine on the launcher, but in game are invisible.

I had a small conversation with Rpoxo, which recomended me to do not mess with fonts, because they are tricky, unfortunely i concluded that i don't have that option. I don't have any experience with bf2 modding, so any help would be great.

Just to be clear, i am not asking anyone to directey help me, but i asking for tutorials, tools, and things like that, but any direct help is welcome.

Thanks
Undermun is offline
Last edited by Undermun; 2019-08-29 at 21:14..
Reply With Quote
Old 2019-08-29, 23:32   #2
[R-CON]​mectus11
PR:BF2 Contributor

mectus11's Avatar
Default Re: Help needed with custom font for localization

I think the best guy to talk to about this is TBob, he's the one who worked on HD Font
https://www.realitymod.com/forum/sho...highlight=TBob




mectus11 is offline Reply With Quote
Old 2019-09-01, 01:19   #3
Undermun
Default Re: Help needed with custom font for localization

Quote:
Originally Posted by mectus11 View Post
I think the best guy to talk to about this is TBob, he's the one who worked on HD Font
https://www.realitymod.com/forum/sho...highlight=TBob
I will try to contact him, but he was last seen in September / 2018 ... so there is no big hopes. But thanks for the suggestion.
Undermun is offline Reply With Quote
Old 2019-09-07, 00:40   #4
[R-CON]​TBob
PR:BF2 Contributor

TBob's Avatar
Default Re: Help needed with custom font for localization

Hey, I'm not dead! I'll be happy to answer any font related questions.
This post by AncientMan details the basic operation of BMfont https://www.realitymod.com/forum/sho...d.php?t=140120
I was not able to find the conversion tool listed there, I ended up using my own system to convert them. There is also a C# script to convert them somewhere.
radiosmersh worked on a version of BMfont to output directly to BF2 font format but I have not tried it https://github.com/radiosmersh/BMFont

Depending on what all needs to be changed the easiest way might just to be copying the characters in the font texture and manually adding the diacritic marks rather than generating a whole new font.

I was originally working on a universal HD font across most localizations but it got put on the back shelf, but I may pick it up again at some point.
TBob is offline Reply With Quote
Old 2019-09-08, 04:43   #5
Undermun
Default Re: Help needed with custom font for localization

Quote:
Originally Posted by TBob View Post
Hey, I'm not dead! I'll be happy to answer any font related questions.
This post by AncientMan details the basic operation of BMfont https://www.realitymod.com/forum/sho...d.php?t=140120
I was not able to find the conversion tool listed there, I ended up using my own system to convert them. There is also a C# script to convert them somewhere.
radiosmersh worked on a version of BMfont to output directly to BF2 font format but I have not tried it https://github.com/radiosmersh/BMFont

Depending on what all needs to be changed the easiest way might just to be copying the characters in the font texture and manually adding the diacritic marks rather than generating a whole new font.

I was originally working on a universal HD font across most localizations but it got put on the back shelf, but I may pick it up again at some point.
Thanks for the reply. I am trying to run BMfont by radiosmersh but i wasn't sucessful yet. I can't get the .nsi file running.

I have a few questions:

- How can i inspect the .dif and .dds files? Which one is the bitmap font? How can i open it? You said it's easier to modify the already existent ones.

- Each language has a lot of fonts files, do i need to change them all?
Undermun is offline Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 12:53.