Home > emulation utilities, Emulators, Miscellaneous > How to use cpwizard for dummies

How to use cpwizard for dummies

CPwizard is a great program that allows you to do add several options to your current mame project.  One of the most interesting options, at least to me, is the ability it has to automatically launch art and other information on a 2nd screen when you launch a game in mame. I hope this guide is helpful.

(image borrowed from headsoft)

Cpwizard was hard to set up, but thanks to headkaze I was able to figure this out.  I thought what I found out might be helpful to others, also check out headkaze’s website here www.headsoft.com.au

I worked off of the default file that comes with cpwizard. You can edit the buttons and add more.. but I’d suggest you first try this to get a hang of how cpwizard works.

Initial Setup Guide

1. Make sure you have MAME running for the games you want to try.  cpwizard can do other emulators, but this guide will not detail how to do that.

2. If you want to use customized keys, make sure you have that setup (via the ctrlr file or individual .cfg files per game)

3. Download cpwizard here and Follow the guide located at Headsoft found here , make sure you follow that guide and can open cpwizard

Fixing your Keys (if you using mame defaults you can skip this)

1. First you want to put mame.ini in the root folder (or a copy of it). The root folder is the same folder where you will find the mame.exe. This step is particularly important for those who have a customized control file. Cpwizar reads the mame.ini to figure out where to look and what ctrlr file you are using.

2. Check, open your mame.ini and check to see if it is pointing to the right folder and file? I highlighted the spots to check in red below.

rompath                   roms
samplepath             samples
artpath                     M:\mame32b\artwork
ctrlrpath                 ctrlr
inipath                     ini
fontpath                  .
cheatpath               cheat
crosshairpath       crosshair

and check here

coin_lockout               1
ctrlr                                 shateredsoulsarcade
mouse                            1
joystick                         1
lightgun                        1
multikeyboard           0
multimouse                1
steadykey                    0
offscreen_reload      0
joystick_map             auto
joystick_deadzone   0.3
joystick_saturation 0.85
natural                           0
uimodekey                    auto

4. Go back to cpwizard. Now you will have to relabel all the buttons to match your layout by right clicking on the keycode text (not the  button image, but the text) and then go to properties. You should be looking at the screen below now. Double click code value and match it to your button using the drop down menu. If you don’t double-click you won’t have access to the drop down menu. Do this for every button and joystick direction.

5. Now you have to Label link your buttons. You should see the screen below. For this step you need to double-click on the actual buttons (not the keycode label) and match the label link to that button, so the button labeled keycode_A should have a Label link to button A.

6. Now you can test it out, save your layout, and now click on view preview, pick a game and a menu will pop up. In this menu you use the ctrl key to choose an option.  Highlight control panel and press “ctrl”. Hopefully if all went well the control panel image will match your image!

7. Minimize cpwizard, it needs to be running for it to work with mame.  Now try launching a game from mame.  Pause your game (usually the “p” key) and cpwizard should come up (i’m not too sure about this part.. I’m not using this feature).

Controls, flyers, and art on a second screen

first make sure your second screen is winstalled and recognized by windows

1.For this to work you need all the art, flyers, pcbs, screenshots, cab art, control layout art.  I downloaded mine from the ftp server at emumovies.  There are many other resources out there, if you know of any please share.

2.  In cpwizard go to Edit options < Display Tab

under subscreen check off the box next to “enable” and change the subscreen to display 2

3. Now open the mame tab in the options menu. Under mame layout sub choose one of the sub files (you can test them out)

Final touches

If you are using mame default keys do not bother with this. When I was using the 2nd screen option I noticed that it was still showing the wrong buttons. Save over sub 2 with your control panel layout. If you open sub 2 you’ll notice that it’s a control panel layout (setup with the mame default keys).

Trouble Shooting

1. Check mame.ini ; did you specify the ctrlr folder correctly? did you specify the right ctrlr file? No misspellings? double check this

2. Did you make a copy of your mame.ini into the root folder?

3. Buttons have to be labeled twice.. sort of.  Once through the keycode and once through the label link.  Don’t know what I’m talking about? reread the guide 🙂

4. Did you save your layout?

5. Did you minimize cpwizard? If you exit it, it won’t work at all.

  1. gp
    June 3, 2011 at 1:21 PM

    Hey shateredsoul, I’m having an issue with CPWizard and was hoping you could help. I can get it to display the controls on a second screen, but only for however long I set the “timeout” to. “Sub Screen” has been enabled and set to \\Display2. If I enable “Sub Screen”, it will pause MAME, display the control panel on \\Display2 for whatever the “timeout” is set to, then closes and continues running MAME. “Sub Screen” un-checks itself every time I run MAME.

    I appologize in advance if this has been address before, but I’m really scratching my head over this one.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: