High DPI not working correctly -- text too small

Forum for bugs and technical problems.

High DPI not working correctly -- text too small

Postby ferinex » Sat Jan 04, 2014 4:03 am

I use a television as a monitor for gaming and movie watching. I have the DPI set to 120 (as opposed to 96), and the text in-game is very small and impossible to read from normal viewing distance. :shock: Is there a java workaround or fix that could be applied? Thank you.
ferinex
 
Posts: 3
Joined: Sat Jan 04, 2014 3:59 am

Re: High DPI not working correctly -- text too small

Postby Kandarim » Sat Jan 04, 2014 9:31 am

The code changes for simply increasing the text size are pretty easy, but the rescaling of the UI not so much.
In any case, I'm not aware of any such option currently in any of the clients.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: High DPI not working correctly -- text too small

Postby ferinex » Sat Jan 04, 2014 12:02 pm

Funny you should mention it, I actually went ahead and did just that. I limited all of the font to a minimum of 15... After getting it compiled and signed, I can get to the character selection screen. Upon attempting to enter the game, a crash is encountered. Here it is. I figure that can be fixed by imitating the updating launch method your client uses, which is what I was sort of in the process of, but it would be easier if I had the source code for your updater (hence the PM I sent about ten minutes ago). I'm running my compiled version using a modified salem.JNLP locally. The font is larger and more legible on the log in screen.

edit: I should probably clarify that I made the font increase modification to your client, not the default client.

Here's what the size 15 buttons/tooltips look like for anyone interested:

Image

Much less headache inducing
ferinex
 
Posts: 3
Joined: Sat Jan 04, 2014 3:59 am

Re: High DPI not working correctly -- text too small

Postby Kandarim » Sun Jan 05, 2014 3:51 am

it seems you are launching the client with incorrect command line arguments.
The arguments should be something like:

Code: Select all
javaw -jar salem.jar plymouth.seatribe.se -res http://plymouth.seatribe.se/res/

Note that the client will launch perfectly fine without the -res plymouth/res/ part, but won't be able to get resources from the server and crash.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: High DPI not working correctly -- text too small

Postby ferinex » Sun Jan 05, 2014 4:46 am

I tried running that from the command line, and as administrator, and I'm met with no GUI. I press enter, and it moves down a line and presents me with a fresh prompt. Is there a way I can see what error is occurring? Thanks for the help.
ferinex
 
Posts: 3
Joined: Sat Jan 04, 2014 3:59 am

Re: High DPI not working correctly -- text too small

Postby Kandarim » Sun Jan 05, 2014 11:00 am

Yes, use the normal Java exe instead of the headless ( javaw ) one.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: High DPI not working correctly -- text too small

Postby loftar » Mon Jan 06, 2014 6:13 am

ferinex wrote:java.io.FileNotFoundException: http://plymouth.seatribe.se/res/gfx/hud/menubgfull.res

This has to be some custom-client problem, seeing as how that resource doesn't exist in the official tree.
User avatar
loftar
 
Posts: 1021
Joined: Sun Jul 08, 2012 7:32 am
Location: In your character database, shuffling bits

Re: High DPI not working correctly -- text too small

Postby quxup » Wed Jun 24, 2015 5:35 pm

Is there a way to increase ingame text size? I find this game very fascinating but reading the small text is quite hard.
quxup
 
Posts: 4
Joined: Wed Jun 24, 2015 5:06 pm


Return to Bugs & Technicalities

Who is online

Users browsing this forum: No registered users and 3 guests