Start On Second Screen?

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Start On Second Screen?

Postby Spellbot5000 » Sat Jul 03, 2021 6:55 am

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?
Spellbot5000
 
Posts: 1
Joined: Sat Jul 03, 2021 6:25 am

Re: Start On Second Screen?

Postby Bart » Sat Jul 10, 2021 11:34 am

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?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Start On Second Screen?

Postby Ian » Sat Jul 10, 2021 1:39 pm

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
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am


Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest

cron