#1 2012-12-15 19:51:20

s[sk]
Rival
Slovakia
Reputation: +11
Registered: 2012-10-10
Posts: 1,227

Player tag font size

i got fed up trying to read player tags at 1600x1200, feeling like 100 years old with wrong glasses so i've enlarged that damn small font

if anyone's interested:

http://ax.bf1942.sk/files/2xfont.zip
http://ax.bf1942.sk/files/2xfont_rus.zip (russian version)


replace Font.rfa in "C:Program Files (x86)EA GAMESBattlefield 1942Modsf1942Archives" with the one in zip

just briefly tested, seems to work

ATTENTION: Using this modification is not allowed in BF1942 Liga matches according to their rules, so don't use it, if you plan to play in BF1942 Liga.

Last edited by tuia (2013-10-27 16:51:45)

Offline

    Positive reputation 2   Negative reputation 0

#2 2012-12-15 20:49:27

dary
Player
Reputation: +695
Registered: 2012-05-16
Posts: 3,774
Website

Re: Player tag font size

You have a 4:3 monitor? No widescreen?

Offline

    Positive reputation 0   Negative reputation 0

#3 2012-12-15 20:50:15

s[sk]
Rival
Slovakia
Reputation: +11
Registered: 2012-10-10
Posts: 1,227

Re: Player tag font size

dary wrote:

You have a 4:3 monitor? No widescreen?

yup

widescreen sucks ;-)

Offline

    Positive reputation 0   Negative reputation 0

#4 2012-12-15 22:48:56

ziba128
Member
Reputation: +463
Location: EaglesNest_Safe
Registered: 2012-10-14
Posts: 1,270
Website

Re: Player tag font size

Nice work! I didn't think about it but now I realize that default tags are really small.

Online

    Positive reputation 0   Negative reputation 0

#5 2012-12-16 00:24:32

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: Player tag font size

Thank you very much s[sk]! I'm going to try it out.

Offline

    Positive reputation 0   Negative reputation 0

#6 2012-12-16 03:11:58

s[sk]
Rival
Slovakia
Reputation: +11
Registered: 2012-10-10
Posts: 1,227

Re: Player tag font size

replaced the zip with fixed version, those who downloaded the old one, please redownload, same url

also can someone send me russian font.rfa so i can finally see the cyrillic correctly?

thanks

Offline

    Positive reputation 0   Negative reputation 0

#7 2012-12-16 03:43:32

nämeless
Semi-corrupt admin
Russia
Reputation: +2598
Location: Nizhny Novgorod, Russia
Registered: 2012-09-30
Posts: 9,767

Re: Player tag font size

s[sk] wrote:

also can someone send me russian font.rfa so i can finally see the cyrillic correctly?

thanks

Here it is.

Offline

    Positive reputation 0   Negative reputation 0

#8 2012-12-16 10:42:45

s[sk]
Rival
Slovakia
Reputation: +11
Registered: 2012-10-10
Posts: 1,227

Re: Player tag font size

nämeless wrote:

thank you

EDIT: i've added russian version

Last edited by s[sk] (2012-12-16 12:04:56)

Offline

    Positive reputation 0   Negative reputation 0

#9 2012-12-16 15:01:02

nämeless
Semi-corrupt admin
Russia
Reputation: +2598
Location: Nizhny Novgorod, Russia
Registered: 2012-09-30
Posts: 9,767

Re: Player tag font size

It doesn't work well in 1920x1080.

Offline

    Positive reputation 0   Negative reputation 0

#10 2012-12-16 15:07:26

s[sk]
Rival
Slovakia
Reputation: +11
Registered: 2012-10-10
Posts: 1,227

Re: Player tag font size

nämeless wrote:

It doesn't work well in 1920x1080.

screenshot?

i've never tried widescreen patch, no idea what it changes

Last edited by s[sk] (2012-12-16 15:07:54)

Offline

    Positive reputation 0   Negative reputation 0

#11 2012-12-16 15:19:43

nämeless
Semi-corrupt admin
Russia
Reputation: +2598
Location: Nizhny Novgorod, Russia
Registered: 2012-09-30
Posts: 9,767

Re: Player tag font size

Offline

    Positive reputation 0   Negative reputation 0

#12 2012-12-16 15:21:49

s[sk]
Rival
Slovakia
Reputation: +11
Registered: 2012-10-10
Posts: 1,227

Re: Player tag font size

and what's wrong with that? ;-)

Offline

    Positive reputation 0   Negative reputation 0

#13 2012-12-16 15:23:51

nämeless
Semi-corrupt admin
Russia
Reputation: +2598
Location: Nizhny Novgorod, Russia
Registered: 2012-09-30
Posts: 9,767

Re: Player tag font size

s[sk] wrote:

and what's wrong with that? ;-)

1. Too large.
2. Affects on the console font.

Offline

    Positive reputation 0   Negative reputation 0

#14 2012-12-16 15:30:57

s[sk]
Rival
Slovakia
Reputation: +11
Registered: 2012-10-10
Posts: 1,227

Re: Player tag font size

nämeless wrote:

1. Too large.

this is 2x size
doing anything non-integer would be probably too much work in order to not look crappy, this was just a quick hack

anyway, it's a simple format, font in tga and text file containing offsets, anyone feel free to improve it ;-)

2. Affects on the console font.

yes, it uses same font, can't do much about it

Offline

    Positive reputation 0   Negative reputation 0

#15 2012-12-17 13:29:38

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: Player tag font size

I tried your font with 800x600 resolution and like the increased nametags. This is how it looks:

Normal font:
2153164ScreenShot3.png

2x size font:
7407744ScreenShot6.png

Do you know how to increase the font size of the chat and game messages?

Offline

    Positive reputation 0   Negative reputation 0

#16 2012-12-17 13:41:58

s[sk]
Rival
Slovakia
Reputation: +11
Registered: 2012-10-10
Posts: 1,227

Re: Player tag font size

tuia wrote:

I tried your font with 800x600 resolution and like the increased nametags. This is how it looks:

i went to test it in 800x600 before you added screenshots because i thought that would be way too huge
it definitely is
are you playing it on a phone?
or better question, you actually play on simple? ;-)

Do you know how to increase the font size of the chat and game messages?

haven't tried that because i found it to be just right for me

if it's using one of those trebuchet fonts, you can try to replace it with bigger one, there are multiple sizes included

Last edited by s[sk] (2012-12-17 13:42:56)

Offline

    Positive reputation 0   Negative reputation 0

#17 2012-12-17 13:54:29

bud
maestro
Reputation: +1835
Location: shangri la
Registered: 2012-07-07
Posts: 3,941
Website

Re: Player tag font size

I tried once to increase the size of the chat/game messages, it was doable but there was some problem with it, i think it couldn´t display the same amount of letters or it took to much place to be displayed correctly, cant remember exactly.

edit: http://battlefieldmodding.com/ssm/phpBB … 9&start=39

edit2: I tried your fonts s[sk], and it works fine for me, i have bad vision so i don´t mind if the console is bigger too. Thanks!

Last edited by bud (2012-12-17 15:22:05)

Offline

    Positive reputation 0   Negative reputation 0

#18 2012-12-17 19:42:42

ziba128
Member
Reputation: +463
Location: EaglesNest_Safe
Registered: 2012-10-14
Posts: 1,270
Website

Re: Player tag font size

There is a command Game.fontRatio which increases all fonts in game (except BF1942.font used for nametags and console). But seems it works with debug executable only, I couldn't make it work in normal mode anyhow...
x3 fonts:
8202e0bd1d757ca2906c8be3e826bec2.jpg

Online

    Positive reputation 0   Negative reputation 0

#19 2012-12-17 20:03:21

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: Player tag font size

sunny-штаны wrote:

There is a command Game.fontRatio which increases all fonts in game (except BF1942.font used for nametags and console). But seems it works with debug executable only, I couldn't make it work in normal mode anyhow...
x3 fonts:
http://i51.fastpic.ru/big/2012/1217/c2/ … 26bec2.jpg

You'll probably have to unlock the unauthorized commands in the client executable with a few byte changes.

Offline

    Positive reputation 0   Negative reputation 0

#20 2012-12-17 20:42:12

ziba128
Member
Reputation: +463
Location: EaglesNest_Safe
Registered: 2012-10-14
Posts: 1,270
Website

Re: Player tag font size

tuia wrote:

You'll probably have to unlock the unauthorized commands in the client executable with a few byte changes.

I'd rather unlock LensFlares if I could tongue

Online

    Positive reputation 0   Negative reputation 0

#21 2012-12-17 20:50:53

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: Player tag font size

sunny-штаны wrote:

I'd rather unlock LensFlares if I could tongue

You are the 3rd person asking this. smile I don't know if there is any LensFlare code in the client executable.

Offline

    Positive reputation 0   Negative reputation 0

#22 2012-12-17 23:16:51

ziba128
Member
Reputation: +463
Location: EaglesNest_Safe
Registered: 2012-10-14
Posts: 1,270
Website

Re: Player tag font size

tuia wrote:

You are the 3rd person asking this. smile I don't know if there is any LensFlare code in the client executable.

Ahaha, I'm definitely one of those two wink

Online

    Positive reputation 0   Negative reputation 0

#23 2012-12-17 23:50:39

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: Player tag font size

game.fontratio doesn't work for me with the debug executable. Nothing changes.

Offline

    Positive reputation 0   Negative reputation 0

#24 2012-12-18 09:54:43

ziba128
Member
Reputation: +463
Location: EaglesNest_Safe
Registered: 2012-10-14
Posts: 1,270
Website

Re: Player tag font size

tuia wrote:

game.fontratio doesn't work for me with the debug executable. Nothing changes.

It works with ingame console only, so if you put this command in some .con file, say GeneralOptions.con of your profile, it won't work. You need to type game.fontRatio 3 (means x3 fonts, for example) in console, and after you press Enter "Updating font resolution." line will appear. Then press Esc and return to the game.

Last edited by ziba128 (2012-12-18 09:57:35)

Online

    Positive reputation 0   Negative reputation 0

#25 2012-12-18 11:21:37

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: Player tag font size

I've did that exactly and nothing. : Can someone else confirm game.fontRatio works with the Battlefield 1942 v1.6 Debug Executable?

Offline

    Positive reputation 0   Negative reputation 0

#26 2012-12-18 13:44:07

ziba128
Member
Reputation: +463
Location: EaglesNest_Safe
Registered: 2012-10-14
Posts: 1,270
Website

Re: Player tag font size

1. Run any map with the debugger.
2. Open console and type "game.font".
3. Press Tab. The command will autocompleted to "game.fontRatio".
5. Complete it to "game.fontRatio 3"
6. Press Enter. "Updating font resolution" message will be shown in console.
7. Close console, press Esc to go to game menu. Then press Esc again to return to the game.
8. Bingo!

Online

    Positive reputation 0   Negative reputation 0

#27 2012-12-18 16:05:22

Timmos
Player
Netherlands
Reputation: +44
Location: The Netherlands
Registered: 2012-07-11
Posts: 3,067

Re: Player tag font size

cheaters.

Offline

    Positive reputation 0   Negative reputation 0

#28 2012-12-18 16:14:11

tuia
BFSoldier
Portugal
Reputation: +1065
Location: Lisbon
Registered: 2012-02-20
Posts: 6,295
Website

Re: Player tag font size

I got it working by changing resolution from 800x600 to 640x480 and inserting game.fontRatio in Video.con file in Profiles\Custom folder. It looks great game.fontRatio 2 in 640x480 tongue

5250134ScreenShot0.png

Offline

    Positive reputation 0   Negative reputation 0

#29 2012-12-18 16:37:46

s[sk]
Rival
Slovakia
Reputation: +11
Registered: 2012-10-10
Posts: 1,227

Re: Player tag font size

my eyes! i'm blind now!

fortunately that won't affect my gameplay

Offline

    Positive reputation 0   Negative reputation 0

#30 2012-12-18 17:34:45

ziba128
Member
Reputation: +463
Location: EaglesNest_Safe
Registered: 2012-10-14
Posts: 1,270
Website

Re: Player tag font size

I noticed it doesn't work with custom resolution. I have 1440x900 set in Video.con, and adding game.fontRatio command there doesn't change anything. But it works with 1024x768 and 1152x864 which are available in video options.

s[sk] wrote:

my eyes! i'm blind now!

fortunately that won't affect my gameplay

e49ed2a05a70553d12043a36f04b828b.jpg

Online

    Positive reputation 0   Negative reputation 0

Board footer