Page 1 of 1

Start On Second Screen?

PostPosted: Sat Jul 03, 2021 6:55 am
by Spellbot5000
I've recently started using Supermodel with my Launchbox setup, mainly to play The Lost World. Everything works great so far, but I've been wondering if there's some hidden command to make the game open on a specific screen?

When I'm running Launchbox, I run all that on my second screen. When I run Supermodel as is though, it opens the actual game screen on my main monitor. I can of course drag it over to my second screen and remaximize the window, but I'm hoping there's a simply command to automate this and tell the game to automatically open on my second screen. Any such luck?

Re: Start On Second Screen?

PostPosted: Sat Jul 10, 2021 11:34 am
by Bart
There's currently no Supermodel option for this. I haven't looked into how to control which display is used. There may however be some way to script this using Windows. Maybe there's some clever PowerShell voodoo that can force a program to launch on a particular screen?

Re: Start On Second Screen?

PostPosted: Sat Jul 10, 2021 1:39 pm
by Ian
In windows you can enumerate the available displays. There is a callback function if I recall which you can store all the details for the displays. Then you just create the window covering the monitor you want.
Having a quick look, SDL can do something similar in a portable way

SDL_GetNumVideoDisplays
SDL_GetDisplayBounds
SDL_SetWindowPosition