Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: showing Johny 5 or CPmaker on 2nd display?  (Read 1472 times)

0 Members and 1 Guest are viewing this topic.

bioart

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:November 28, 2006, 11:38:14 pm
    • The ArtCade
showing Johny 5 or CPmaker on 2nd display?
« 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

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: showing Johny 5 or CPmaker on 2nd display?
« Reply #1 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.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

mccoy178

  • It's hard to work with a straight jacket on
  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3127
  • Last login:September 03, 2021, 10:23:42 am
  • Go Bucks!
Re: showing Johny 5 or CPmaker on 2nd display?
« Reply #2 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.

bioart

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:November 28, 2006, 11:38:14 pm
    • The ArtCade
Re: showing Johny 5 or CPmaker on 2nd display?
« Reply #3 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

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: showing Johny 5 or CPmaker on 2nd display?
« Reply #4 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) 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.


I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

Popcorrin

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:March 06, 2022, 11:11:43 am
Re: showing Johny 5 or CPmaker on 2nd display?
« Reply #5 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.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: showing Johny 5 or CPmaker on 2nd display?
« Reply #6 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.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

Popcorrin

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:March 06, 2022, 11:11:43 am
Re: showing Johny 5 or CPmaker on 2nd display?
« Reply #7 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).

bioart

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:November 28, 2006, 11:38:14 pm
    • The ArtCade
Re: showing Johny 5 or CPmaker on 2nd display?
« Reply #8 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

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19431
  • Last login:Yesterday at 07:59:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: showing Johny 5 or CPmaker on 2nd display?
« Reply #9 on: December 30, 2005, 02:03:49 am »
I'm very interested in this as well.