Ludeon Forums

RimWorld => Bugs => Topic started by: alaan on July 15, 2016, 03:23:04 PM

Title: Weird resolutions due to vertical secondary monitor
Post by: alaan on July 15, 2016, 03:23:04 PM
When I loaded up the Steam release of Rimworld it loaded in monitor #2 which has a vertical orientation(1050x1680).  The available resolutions are 1024x1280, 1050x1400, and 1050x1680 so all taller windows than wide.  Monitor #1 is also a 1680x1050 screen.

I'm also getting some errors spitting out on load that are probably unrelated but attached. 

If anyone else is having issues I manually configured the resolution I needed via this http://rimworldwiki.com/wiki/Configuration_file

[attachment deleted by admin - too old]
Title: Re: Weird resolutions due to vertical secondary monitor
Post by: theaetetus on July 15, 2016, 03:54:16 PM
I too am getting some weird side-effects of such a monitor setup.

Monitor 1: 1200x1920
Monitor 2: 2560x1600 (set as main/default)
Monitor 3: 1200x1920

My resolution choices are:

It launches on monitor 1, even though it's not the defaulted monitor. Just the first one that registers on boot. :< Log also attached.

[attachment deleted by admin - too old]
Title: Re: Weird resolutions due to vertical secondary monitor
Post by: clutchsteel on July 15, 2016, 04:21:24 PM
I had something similar but instead i only have one monitor and this popped up
Switching to resolution 1280x1024 failed, trying lower one
Switching to resolution 1280x1024 failed, trying lower one
All resolution switches have failed
Screen: could not switch resolution (1280x1024 fs=1 hz=0)
i'm on alpha 14 and it only happens right after i create the characters and every other time i try to make a world.
Title: Re: Weird resolutions due to vertical secondary monitor
Post by: milon on July 15, 2016, 04:25:52 PM
@Clutchsteel, that sounds like a different issue unless you're using a vertical monitor.  If it's not a vertical monitor please make a New Topic about it.  If it is a vertical monitor, please post more details (operating system, native screen resolution, etc).

@alaan, thanks very much!!
Title: Re: Weird resolutions due to vertical secondary monitor
Post by: theaetetus on July 17, 2016, 11:20:20 AM
Found a workaround in only a few minutes. Would have posted sooner, but I'm just now playing... updating the wiki (well, and work) have been eating all my playtime. For Windows:


If your monitor offset is causing the top or bottom of the game to hang somewhere in limbo off the monitor edge, create a shortcut to the RimWorld exe and then add ' -popupwindow' after the Target field value.

Enjoy!
Title: Re: Weird resolutions due to vertical secondary monitor
Post by: milon on July 24, 2016, 09:47:42 AM
^ Minor correction (I think it's just a typo):

Quote from: theaetetus on July 17, 2016, 11:20:20 AM
  • Edit the 'UnitySelectMonitor_*' DWORD value. This value is zero-indexed!. So if the Windows Display Settings window says your main is monitor 1, you should enter '1'. For 1, enter '0'. For 3, enter '2'. Etc etc.

You should not enter 1 if Windows tells you your monitor # is 1.  You need to subtract 1 first, as theaetetus's examples show.

Also, to find your monitor number, right-click the desktop, choose Display Settings, and click the Identify button.  Windows will put a very large number on each screen you have.  Subtract 1 from the number on the monitor you want, and stick that in the registry as stated above.