mojira.dev
MCL-630

Launcher won't resize game window of Minecraft 1.5.2 according to resolution setting in Profile Editor

What I expected to happen was:
The game window to automatically be resized according to the setting in Profile Editor after pressing the "Play" button.

What actually happened was:
The game window resolution is 854x480 no matter what I type in Profile Editor.

Steps to Reproduce:
In Profile Editor tick "Resolution" and set any resolution other than 854x480
Press "Play" button.

PS. I used the search function and I didn't find any ticket for this problem. I hope I didn't create a duplicate. If I did, my apologies.

Linked issues

Attachments

Comments 9

Unable to reproduce.

Can you please see the screenshot? Am I doing something wrong? In options.txt , overrideWidth and overrideHeight are set to 0 by the way.

It works just fine with 1.6, but not with 1.5.2.

Confirmed with 1.5.2

Yesterday, when I created this report, I couldn't make this work for snapshot 1.6.1 either. Now it's working (1.6.1 profile only) without changing a thing.

i had the same thing. but i had a screenshot. and it only did it with 1.4.7 and 1.5.2 but not with 1.6. hope this helps!

I strongly assume that this won't never be fixed.

The launcher passes the correct command line arguments --width and --height

Running C:\Program Files\Java\jre7\bin\javaw.exe -Xmx1G -... --width 1500 --height 480

to minecraft.jar respectively to launchwrapper but since minecraft.jar doesn't support those arguments, it can't work.

Legacy is legacy for a reason.

I also have this issue.

To expand on this further...
The window size can be set in options.txt using overrideWidth & overrideHeight, however, I have found that, even if using a different game directory for 1.5.2, these parameters have to be set using the options.txt in the the default minecraft directory. If set using the options.txt within a separate 1.5.2 directory, it has no effect.

Due to this I have noticed that 1.5.2 uses these sizes as the outer sizes of the window while the latest (tested on 1.10.2) uses these as the inners, resulting in different window sizes when switching between versions unless the options.txt is changed manually each time.

Marios

(Unassigned)

Confirmed

resize, resolution

Retrieved