The DPI issue is still persistent. I'd rather not have to change the scaling every time I am playing the game.
Here is a link to the past post on it.
http://www.havenandhearth.com/forum/vie ... 30#p841001
-
loftar
- Posts: 9093
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Client rewrite β-testing
Right. I'm not sure why that happens, and I don't have a setup where I can really test it for myself. You compile the client from source, right? Could you check what parameters the reshape function in HavenPanel/JOGLPanel (in the old vs new client, respectively) in the GLEventListener is called with, and whether that matches the physical pixel count of the window?algeralith wrote:The DPI issue is still persistent. I'd rather not have to change the scaling every time I am playing the game.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
algeralith
- Posts: 335
- Joined: Tue Mar 16, 2010 2:26 am
Re: Client rewrite β-testing
Oddly enough, with a compiled client, it works just perfectly.loftar wrote:Right. I'm not sure why that happens, and I don't have a setup where I can really test it for myself. You compile the client from source, right? Could you check what parameters the reshape function in HavenPanel/JOGLPanel (in the old vs new client, respectively) in the GLEventListener is called with, and whether that matches the physical pixel count of the window?algeralith wrote:The DPI issue is still persistent. I'd rather not have to change the scaling every time I am playing the game.
It seems that when launching the default client from the web that the issue occurs.
-
loftar
- Posts: 9093
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Client rewrite β-testing
That's really, really weird. How would they even differ in how they're being launched?algeralith wrote:It seems that when launching the default client from the web that the issue occurs.
Or, oh, is it perhaps that you're launching it from within an IDE and that it, like, inherits the IDE's scaling configuration or something? Does it make a difference if you run the client by manually invoking Java on the compiled Jar file?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
algeralith
- Posts: 335
- Joined: Tue Mar 16, 2010 2:26 am
Re: Client rewrite β-testing
Still works. Tried both from command line and running it through a bat file.loftar wrote:That's really, really weird. How would they even differ in how they're being launched?algeralith wrote:It seems that when launching the default client from the web that the issue occurs.
Or, oh, is it perhaps that you're launching it from within an IDE and that it, like, inherits the IDE's scaling configuration or something? Does it make a difference if you run the client by manually invoking Java on the compiled Jar file?
-
loftar
- Posts: 9093
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Client rewrite β-testing
Literally wat. Could you copy the command-line of the Java process that is launched by the website launcher, just run that verbatim and see what happens?algeralith wrote:Still works. Tried both from command line and running it through a bat file.
EDIT: Does the website launcher use a different version of Java that is installed in parallel, perhaps?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
algeralith
- Posts: 335
- Joined: Tue Mar 16, 2010 2:26 am
Re: Client rewrite β-testing
That'd be it. Seems the website is launching using java 12, while I still use java 8 for the client. So its a difference in java versions.loftar wrote:Literally wat. Could you copy the command-line of the Java process that is launched by the website launcher, just run that verbatim and see what happens?algeralith wrote:Still works. Tried both from command line and running it through a bat file.
EDIT: Does the website launcher use a different version of Java that is installed in parallel, perhaps?
Launching the compiled client with java 12 produces the same results.
-
loftar
- Posts: 9093
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Client rewrite β-testing
Ok, nice to have that cleared up. Would you care to check the reshape parameters, then?algeralith wrote:Launching the compiled client with java 12 produces the same results.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
algeralith
- Posts: 335
- Joined: Tue Mar 16, 2010 2:26 am
Re: Client rewrite β-testing
Yep. Resolution of my desktop is 3840x2160.loftar wrote:Ok, nice to have that cleared up. Would you care to check the reshape parameters, then?algeralith wrote:Launching the compiled client with java 12 produces the same results.
Reshape is being passed the following.
x: 0
y: 0
h: 2561
w: 1378
Client looks like:


Clicking is also massively off too.
-
algeralith
- Posts: 335
- Joined: Tue Mar 16, 2010 2:26 am
Re: Client rewrite β-testing
I went ahead and started looking into it myself. Looks like it is a known issue with jogl, and scheduled to be fixed in 2.4
https://jogamp.org/bugzilla//show_bug.cgi?id=1374
Will just see if I can find another work around until then.
https://jogamp.org/bugzilla//show_bug.cgi?id=1374
Will just see if I can find another work around until then.