Page 1 of 1

High DPI not working correctly -- text too small

PostPosted: Sat Jan 04, 2014 4:03 am
by ferinex
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.

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

PostPosted: Sat Jan 04, 2014 9:31 am
by Kandarim
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.

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

PostPosted: Sat Jan 04, 2014 12:02 pm
by ferinex
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

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

PostPosted: Sun Jan 05, 2014 3:51 am
by Kandarim
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.

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

PostPosted: Sun Jan 05, 2014 4:46 am
by ferinex
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.

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

PostPosted: Sun Jan 05, 2014 11:00 am
by Kandarim
Yes, use the normal Java exe instead of the headless ( javaw ) one.

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

PostPosted: Mon Jan 06, 2014 6:13 am
by loftar
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.

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

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