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: CPV2 support in Mala???  (Read 5592 times)

0 Members and 1 Guest are viewing this topic.

BamBam

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 283
  • Last login:November 03, 2011, 07:18:19 am
  • This is better than Disney Land man!
CPV2 support in Mala???
« on: November 06, 2006, 11:10:39 pm »
I have seleted the option to use Control Panel Viewer 2 (CPV2) as my panel viewer in Mala.  I have navigated Mala to the CPV2.exe file, but whenI load a game, I get a "Syntax error" and I don't have a Control Panel displayed.
Any ideas?

John
Galaga... Was there any other game?

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: CPV2 support in Mala???
« Reply #1 on: November 07, 2006, 12:14:35 am »
Dunno...I have not use that before

 I know J5 works great
 (Johnny 5)

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: CPV2 support in Mala???
« Reply #2 on: November 07, 2006, 11:13:07 am »
I am not familiar with Mala and the exact syntax it sends to external applications. I am the author of CPV2 and will help any way I can. If the author of Mala chimes in with the correct syntax I will verify the CPV2 works and if modifications are needed I will take the required actions.

I do remember briefely investigating AtomicFE and MaLa and seem to remember it looked like it should work quite easily.

John

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: CPV2 support in Mala???
« Reply #3 on: November 07, 2006, 11:29:28 am »

From the MaLa FAQ:

Quote
Does MaLa work with CPViewer?

Yes, MaLa works with CPViewer, CPMaker and Johnny5. Also with the additional MaLa Hardware MaLa can light up the used buttons for each game and shows the functions of the controls on a LCD.

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: CPV2 support in Mala???
« Reply #4 on: November 07, 2006, 01:50:05 pm »
Well, I have MaLa setup and am able to launch Mame games. However, I can't get the control panel viewer settings OR the external applications setting to do anything. THe syntax required by CPV2 is like so:

cpv2.exe -r=dkong

the variable used by MaLa is %rom%. However when I try to set up an external application and use the setting:

cpv2.exe -r=%rom%

I get nothing. If I leave the parameter off the end and just run the exe then it launches CPV2 and you get my default error, so it will run the executable properly, it just doesn't send the rom name, at least by the method I am trying.

I also tried the Control Panel viewer settings with a commandline of -r=%rom% at if I check the box to display the viewer before game launch it does work.

John

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
Re: CPV2 support in Mala???
« Reply #5 on: November 07, 2006, 02:03:28 pm »
There is an extra tab for control panel viewer apps.

options->mame config->control panel viewer

executable: c:\path\cpv2.exe
commandline: -r=%rom%

Then choose 'start viewer on game start' and/or 'replace info window with viewer'.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: CPV2 support in Mala???
« Reply #6 on: November 07, 2006, 02:26:57 pm »
Swindus,
      Thank you for the prompt reply. As stated I was able to get it working the way you describe (before the game launches). I will try the other setting you speak of (replace window). Is there a way to configure it as an external application. Currently, as I stated, it seems to read the exe but not append the commandline string to the end. What am I missing here?

Thanks,
John

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
Re: CPV2 support in Mala???
« Reply #7 on: November 07, 2006, 02:29:14 pm »
Is there a way to configure it as an external application. Currently, as I stated, it seems to read the exe but not append the commandline string to the end. What am I missing here?

At the moment there are no commandline parameter for the external applications. But I think I will add some in the next version.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: CPV2 support in Mala???
« Reply #8 on: November 07, 2006, 02:48:53 pm »
Good idea. I am sure your user base will make use of and appreciate the additions.

John

BamBam

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 283
  • Last login:November 03, 2011, 07:18:19 am
  • This is better than Disney Land man!
Re: CPV2 support in Mala???
« Reply #9 on: January 20, 2007, 09:13:01 am »
Thanks guys.
Galaga... Was there any other game?

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: CPV2 support in Mala???
« Reply #10 on: January 20, 2007, 05:37:05 pm »
There was a post recently about this topic

http://forum.arcadecontrols.com/index.php?topic=62014.0

To summarize:

You can launch CP Viewer properly
before a game starts if you are happy that it will substitute the Info Window (If you use that anyway?)

Currently you can't launch it properly via a customisable key for external apps as there is no way currently to pass rom info.

Swindus will properly add this in a future version

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: CPV2 support in Mala???
« Reply #11 on: January 21, 2007, 04:49:19 am »
Hey jcrouse why don't you have a resident option so that CPV2 runs in the background (perhaps as an icon in the icon tray) and polls for a custom defined key press, then when the keypress is detected CPV2 can enumerate window captions searching for MAME: then reading in the ROM name from the window caption, minimize Mame, then display the CP. You could also have controls.ini already stored in memory so displaying the CP would be quicker. Just a thought.

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: CPV2 support in Mala???
« Reply #12 on: January 26, 2007, 08:47:41 pm »

Looks like work has been done for the next release   :D

http://mala.arcadezentrum.com/wip.html

 :applaud: