Jump to content

Starting on a specific screen in multiscreen env


photo

Recommended Posts

Hello,

I have a setup with a large 55" screen connected as the secondary monitor to a PC (Win10).

How can I make it so the start-up script always launch the window as fullscreen or fullwindow on this secondary screen?

Thank you!

Link to comment

Hi,

Engine doesn't handle which display will be used, it takes the primary one (as the most of 3d-apps I know does). However, there are 2 possible solutions:

  1. You can change your primary display in the desktop configuration and set the secondary display as primary one. I assume you knew this and kept the display config for a reason.
  2. Use windows utilities to control window coordinates. I managed to do this with cmdow.

Here is my scratch of batch file:

@ECHO OFF
REM launching our app
start bin\alpha_test_x64.exe -video_width 1920 -video_mode -1 -video_height 1080 -video_fullscreen 2
REM waiting for the app window to appear
PING localhost -n 5 >NUL
REM Move UNIGINE window to the right display
bin\cmdow "UNIGINE Engine" /MOV 1920 0

Thanks.

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...