first of all, thanks for developing this mod! it makes split-screen really easy to configure in Minecraft.
I'm having an issue where when I lower my resolution before starting Minecraft (I stream this display to a TV with a lower resolution), the Minecraft window doesn't resize
to reproduce:
set display resolution to 2560x1440
open Minecraft with splitscreen mod installed
set position to TOP, then close Minecraft
set display resolution to 1920x1080
open Minecraft
expected behaviour:
Minecraft resizes to top 1/2 of screen, accounting for new resolution (1920x1080)
actual behaviour:
Minecraft resizes to larger than top 1/2 of screen and overflows
the reproduce steps could be done with 1920x1080 and downscaling to 1280x720 to see the effect, if you don't have a 1440p monitor.
I have tried deleting the mod and splitscreen.json config file, then resizing before re-installing but it has the same effect. I think that the resolution is taken from the actual monitor size instead of the display resolution, which causes this bug.
as a suggestion, if it's not possible to get the correct screen size, could you add the dimensions to the config json file? this would mean that I could specify something like mode=TOP(1920x1080) and mode=BOTTOM(1920x1080) in the respective files so that it gets the right resolution without having to check the display
happy to help create a PR for this if you can point me in the right direction!
update: I managed to fix this temporarily outside of the mod by editing .minecraft/options.txt value fullscreenResolution:2560x1440@60:24 to fullscreenResolution:1920x1080@60:24
hi,
first of all, thanks for developing this mod! it makes split-screen really easy to configure in Minecraft.
I'm having an issue where when I lower my resolution before starting Minecraft (I stream this display to a TV with a lower resolution), the Minecraft window doesn't resize
to reproduce:
splitscreen
mod installedTOP
, then close Minecraftexpected behaviour:
actual behaviour:
the reproduce steps could be done with 1920x1080 and downscaling to 1280x720 to see the effect, if you don't have a 1440p monitor.
I have tried deleting the mod and
splitscreen.json
config file, then resizing before re-installing but it has the same effect. I think that the resolution is taken from the actual monitor size instead of the display resolution, which causes this bug.as a suggestion, if it's not possible to get the correct screen size, could you add the dimensions to the config json file? this would mean that I could specify something like
mode=TOP(1920x1080)
andmode=BOTTOM(1920x1080)
in the respective files so that it gets the right resolution without having to check the displayhappy to help create a PR for this if you can point me in the right direction!