Weird resolutions due to vertical secondary monitor

Started by alaan, July 15, 2016, 03:23:04 PM

Previous topic - Next topic

alaan

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]

theaetetus

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:

  • 1024x1280
  • 1024x1600
  • 1050x1680
  • 1080x1920
  • 1200x1600
  • 1200x1920

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]

clutchsteel

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.

milon

@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!!

theaetetus

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:


  • Open the registry editor (Start > Run > regedit)
  • Navigate to HKEY_CURRENT_USER/SOFTWARE/Ludeon Studios/RimWorld/prefs
  • Edit the 'Screenmanager Resolution Height_*' DWORD value. Make sure you're editing the decimal value unless you can convert to hex in your head.
  • Edit the 'Screenmanager Resolution Width_*' DWORD value.
  • 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.
  • If you want Windowed Fullscreen (doesn't alt-tab when you click outside of the game), then edit the 'Screenmanager Is Fullscreen mode_*' DWORD value.

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!

milon

^ 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.