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: CPwizard button problem  (Read 4420 times)

0 Members and 1 Guest are viewing this topic.

system01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 283
  • Last login:March 04, 2023, 08:06:55 pm
  • System Idle Processes are the Devil's Playthings
CPwizard button problem
« on: September 25, 2008, 10:34:12 pm »
First off:  HeadKaze - Mad south-side north-west train-face props for all youve contributed for this arcade "fad"!  I find myself using your stuff all the time, and would be spending a lot more time without them (MameCompiler, InstantSheller, CPWizard, Controls util).  Thank you!  :applaud:

Ive read the app Help, webpage, and searched here...

Now, Ive been messing with CPWizard for about a week now and I have a few noob issues.  I have the layout all squared away and running correctly through MaLa.  But when it comes up the buttons are named 1, 2, 3, etc and no directions on the joystick.  In your help file it shows punch and kick and whatever, and it shows rotate left and right for asteroids, but mine: 1 2 and 3.  The buttons do alpha-out and if I have colors on they change correctly.  I have controls.ini and .xml in the C:\mame folder and have it pointing there.

Also, how does MISC_P1_INPUTTYPE work?  Nothing ever shows up.

Im betting that Im missing one path or file that fixes this all up, but I ant figure it out. :(

TIA

<edit, forgot to attach>
« Last Edit: September 25, 2008, 10:36:01 pm by system01 »

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: CPwizard button problem
« Reply #1 on: September 26, 2008, 08:16:53 am »
CPW reads controls.xml from it's own Data folder. There are a few things to check

- Make sure your mame.ini is located in your Mame's root folder if your using a ctrlr file
- Use the View->Preview feature to check out some games
- MISC_P1_INPUTTYPE should definately be working. If nothing shows up that sounds like there is a problem with the install. Did you download and run CPWizardSetup.exe?

P.S I didn't write InstantSheller that was written by Tom Speirs ;)

system01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 283
  • Last login:March 04, 2023, 08:06:55 pm
  • System Idle Processes are the Devil's Playthings
Re: CPwizard button problem
« Reply #2 on: September 26, 2008, 10:55:34 am »

- Make sure your mame.ini is located in your Mame's root folder if your using a ctrlr file
Its in there.  But Im not using a ctrlr file anyway.

- Use the View->Preview feature to check out some games
Been doing that, but the output's the same.  Well, the buttons alpha-fade, but I still get 1, 2, 3 and no directional joystick info.

- MISC_P1_INPUTTYPE should definately be working. If nothing shows up that sounds like there is a problem with the install. Did you download and run CPWizardSetup.exe?
Yep.  In fact Ive tried this on 3 different machines.  Ive been working on this on my work machine and my home machine, then when Ive got the layout to a try-able state I copy mame.xml (my layout) over to my cab and try it out.  All 1.90 .exe installs and all with the same results.

Im using mame 127u4 compiled with your compiler with the hiscore diff and the CPW pause diff.  I also modified the 'recommended games' sections in mameinfo.dat to display in correctly in MaLa, if that makes a difference.

Heres a preview from the view>preview menu:


system01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 283
  • Last login:March 04, 2023, 08:06:55 pm
  • System Idle Processes are the Devil's Playthings
Re: CPwizard button problem
« Reply #3 on: September 26, 2008, 11:53:53 am »
Allright, I just got it working...

My problem was I had Dynamic Data Loading ticked.  Thing is, when you uncheck it you have to restart CPW for it to take effect.  Everythings working perfect now.

A couple other things:
Is there a way to make a label invisible?  Id like to make arrow "buttons" that light up/fade around the joystick and I dont want the text to show up.

And are you planning to make labels rotatable?  I have a 2-player cocktail and It would be cool to have the palyer2 buttons facing opposite - even if they might be all grayed out (sucker!).

Thanks a million for looking into this.

system01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 283
  • Last login:March 04, 2023, 08:06:55 pm
  • System Idle Processes are the Devil's Playthings
Re: CPwizard button problem
« Reply #4 on: September 26, 2008, 01:26:59 pm »
Answering my own questions here...  ;D

A couple other things:
Is there a way to make a label invisible?  Id like to make arrow "buttons" that light up/fade around the joystick and I dont want the text to show up.

I realize I would just set up different layouts with different pictures and then set the controls filter under options.

All of this finally just clicked for me,  and I see this has even more potential than I realized.  Im now going to run CPW on the fly with pause, but Im also making a special "cpmaker" layout and batch it.  Then I can set up a definable in MaLa to show the game controls (from the pics I batched) as I scroll through the gamelist.

Amazing HK! :notworthy:
<darth vader> The force is strong with this one... </darth vader>

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: CPwizard button problem
« Reply #5 on: September 26, 2008, 01:58:12 pm »
I've written a batch file to create images for mala using irfanview to crop and resize a small portion of my layouts. If that would be helpful to you let me know and I can give you the details.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

system01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 283
  • Last login:March 04, 2023, 08:06:55 pm
  • System Idle Processes are the Devil's Playthings
Re: CPwizard button problem
« Reply #6 on: September 26, 2008, 03:36:38 pm »
... Im not sure I follow.   Are you taking pieces of your mala layout and using it as a back for CPW controls?

See attached.  I plan on just floating these over MaLa.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1912
  • Last login:October 22, 2024, 11:51:12 am
    • My Arcade (updated 1/30/13)
Re: CPwizard button problem
« Reply #7 on: September 26, 2008, 04:19:03 pm »
No, I mean the CPWizard generated image - taking the part that just shows the main controls. In a sense, zooming in to show just the controls and nothing from the surrounding part of the image. Then I display those "subset" images in a mala definable.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

system01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 283
  • Last login:March 04, 2023, 08:06:55 pm
  • System Idle Processes are the Devil's Playthings
Re: CPwizard button problem
« Reply #8 on: September 26, 2008, 06:21:14 pm »
Gotcha.  Thanks for the offer but I got what I needed with batching a different layout.

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: CPwizard button problem
« Reply #9 on: September 27, 2008, 09:28:14 am »
Oh yeah I broke the Dynamic Data Loading feature last release. I really should turn it off now as I don't think I'll bother fixing it.

PS You can also batch export CP's using CPW.