Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

So, my problem is, I currently have a dual monitor setup. One is my usual Desktop monitor, and another is a HDTV. Desktop monitor is my primary one, and HDTV is my secondary. The problem is, a lot of old emulators only display on the primary monitor, so even if I set up GameEx to display on my secondary, the emulators will load on the primary. So to the point, I was wondering if there was some command or someway, to automatically switch primary/secondary monitors when GameEx launches, and reverse it once it exits. Currently, I have everything set up for the primary monitor, so if I manually switch my HDTV to my primary, then launch GameEx, everything shows up on my HDTV perfectly. Then I just need to swap them back after I'm done.

So, basically just hoping there is some way to automate this when launching GameEx.

Posted

DjoneK - what OS are you running? Also, have you looked at Display Changer? It appears that it is capable of changing the resolution, launching the program, and reverting back again via command line switches. It includes a console addition for using the command lines in batches and scripts that you could load before and after. Might be worth a look!

Also, if using Windows 7 should allow changing from one monitor to another. To access this feature you need to press Win+P or run DisplaySwitch.exe. Thereafter select the display that you want. Not sure how to do this with a command line or batch file. It may also leave you with the same results you currently have, but if there is a way to switch which is assigned as the primary for the specific program, then change back, it may be doable.

Posted

Thanks! That Display Changer tool was exactly what I needed. I just made 2 batch files, one to make the HDTV the Primary, and another to set it back to secondary as it is normally. Just ran one on startup, and the other on exit. Works beautifully.

Thanks again. :D

Posted

You're welcome! Glad it worked out for you! Would you mind sharing your batch files via upload to this thread as a zip file along with a readme.txt for setting up with your emus in GameEx? It may come in useful for others facing the same dilemma! With your permission we'll mark this thread as resolved!

Posted

Well.. the batch files are custom made with my own paths and whatnot, so they won't work for just anyone. Monitors each have their own unique name and you need to specify coordinates for screen position, but I'll gladly paste the contents here just to give an idea.

Make HDTV Primary (Launch on Startup)


@ECHO OFF
C:
CD\
CD "C:\Program Files\12noon Display Changer"
dccmd.exe -monitor="Generic PnP Monitor" -more -primary
dccmd.exe -monitor="HP w2007 Wide LCD Monitor" -apply -secondary -lx=1360 -ty=0

Make HDTV Secondary (Launch on Exit)


@ECHO OFF
C:
CD\
CD "C:\Program Files\12noon Display Changer"
dccmd.exe -monitor="HP w2007 Wide LCD Monitor" -more -primary
dccmd.exe -monitor="Generic PnP Monitor" -apply -secondary -lx=-1360 -ty=0

You could probably also use them to run before/after emus, but instead of setting it up under GameEx as a whole, you'd set it up inside the emulator configuration itself.

And yea, you can go ahead and tag this thread as resolved. :D

Posted

That is awesome - thanks again for sharing the batch file contents!

Guest
This topic is now closed to further replies.
×
×
  • Create New...