Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: bioart on December 24, 2005, 02:31:39 pm

Title: showing Johny 5 or CPmaker on 2nd display?
Post by: bioart on December 24, 2005, 02:31:39 pm
Hey Guys,

I thought I saw this before, but either I don't know how to search, or I imagined it/no one actually got it to work. 

I have a 7" VGA display that I want to mount on my arcade.  It will be driven by a second video card, so Windows (XP) will think know that I have 2 monitors.  I want the FE (Mamewah at the moment, but anything that supports what i want will be tried) to display itself and start games on the big monitor.  At the same time, I want a couple of things:

When the game starts, johny5 or cpmaker/etc. gets called and displays on the small monitor.  The image stays while I play.  While I'm browsing on the FE, it would be great to also show the controls on the second display, but that's not as important...

Anyone done this succesfully?

Thanks!

Art
Title: Re: showing Johny 5 or CPmaker on 2nd display?
Post by: Buddabing on December 24, 2005, 02:57:11 pm
Hey Guys,

I thought I saw this before, but either I don't know how to search, or I imagined it/no one actually got it to work.
Title: Re: showing Johny 5 or CPmaker on 2nd display?
Post by: mccoy178 on December 25, 2005, 03:21:53 am
I'm very interested in this as well.  I believe Howard Casto has something in the works as well.
Title: Re: showing Johny 5 or CPmaker on 2nd display?
Post by: bioart on December 25, 2005, 07:45:26 pm
Good to hear there is some hope...

Now that I have the hardware for it... anyone needing a tester, let me know :)

Art
Title: Re: showing Johny 5 or CPmaker on 2nd display?
Post by: Buddabing on December 27, 2005, 09:36:36 am
I've implemented multi display support for my viewer application. For anyone who wants to test, here is what needs to be done:

Download viewer.zip (from here (http://cpmaker.mameprojects.com/files/viewer.zip)) and extract viewer.exe to a directory. Launch a command prompt and cd to that directory.

Run viewer.exe (any png or jpg file) -cplog . Exit the viewer program with ESC. If you have a png file named controls.png, run viewer.exe thusly:
Code: [Select]
viewer controls.png -cplog
Then look at viewer.log with any text editor (you can run notepad from the same command prompt) and search for lines that say "Enumerating video device xxxxxxx". Mine said something like "..\.\DISPLAY1".

If you have two sceeens, more than one "Enumerating" message should appear.

To make the image appear on the second screen, just run viewer.exe with the -screen parameter.

If your screen has "..\.\DISPLAY2" just run:
Code: [Select]
viewer.exe <any .png or .jpg file> ..\.\DISPLAY2
Hopefully this will work.

Please let me know yea or nay.


Title: Re: showing Johny 5 or CPmaker on 2nd display?
Post by: Popcorrin on December 28, 2005, 09:30:25 am
I got it to work but the only problem is that the image disappears when the viewer loses focus.  I had the image displayed on the 2nd monitor and tried starting a game and as soon as I switched focus from viewer to another application the image disappeared.
Title: Re: showing Johny 5 or CPmaker on 2nd display?
Post by: Buddabing on December 28, 2005, 10:16:25 am
I got it to work but the only problem is that the image disappears when the viewer loses focus.
Title: Re: showing Johny 5 or CPmaker on 2nd display?
Post by: Popcorrin on December 28, 2005, 11:49:23 pm
Yes, I just launched mame fullscreen on the 2nd display and when I switched focus it caused the screen to go blank.  It actually reminded me of when you minimize a window(the way it shrinks to the taskbar).
Title: Re: showing Johny 5 or CPmaker on 2nd display?
Post by: bioart on December 30, 2005, 12:09:40 am
So the hardware is now installed (pictures soon).  I ended up mounting it right under the marquee...  I think it could be useful to control my net jukebox on it while watching games/etc. Having it high will make it really useful to see the controls, while keeping it away from the kids...

I will next version of cpviewer when it's ready :)

Art
Title: Re: showing Johny 5 or CPmaker on 2nd display?
Post by: Howard_Casto on December 30, 2005, 02:03:49 am
I'm very interested in this as well.