Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon

[APP] CPWizard v2.35


headkaze

Recommended Posts

There is a cool new feature coming to CPWizard! Now CPWizard can export bezels for all your Mame games with your own custom CP :)

So all you have to do to view the controls for a game will be to go to the Video Options menu in Mame and select Show Bezel. After you view the controls you can select Hide Bezel to go back to the game. CPWizard doesn't even need to be running for this new feature ;)

These are some real screenshots from Mame.

First shot shows Mame before showing the bezel

post-367-1196529000_thumb.png

Second shot is after showing the bezel

post-367-1196529034_thumb.png

Link to comment
Share on other sites

Is there any way to assign a key to turn the bezel on/off in MAME. Okay...I already know the answer is no, but I was really wondering if anyone has an idea of a way to write a script to do it or to modify the source? This could be kinda cool, but I'm not going to pull out my keyboard to look at the controls!

Link to comment
Share on other sites

Is there any way to assign a key to turn the bezel on/off in MAME. Okay...I already know the answer is no, but I was really wondering if anyone has an idea of a way to write a script to do it or to modify the source? This could be kinda cool, but I'm not going to pull out my keyboard to look at the controls!

You can assign UI_CONFIGURE to a button on your cab so that pressing it will bring up the menu. Originally the hiscore patch changed Mame to pause when the menu showed, that meant if you had a pause button on your cab (like I do) you could have that assigned to UI_CONFIGURE instead of pause.

But yeah it would be nice to add a bezel toggle button. I guess I could have a look some time at adding that to the hiscore diff. We could maybe even ask MKChamp to keep it in the official Hiscore patch.

Link to comment
Share on other sites

CPWizard v1.08 Released

- Added Exporting for Bezels

- Improved label mapping and grouping.

- Added Preview, Export Batch. Added Color Image and Keycode mappings to Options. Added Page Up/Down input.

When I choose a game with lightgun, cpwizard makes me see the skin LightgunBak.png (rightly)

But when I go back in gameex and choose another game with no gun, cpwizard uses still LightgunBak.png

I have no idea why it would do that. Can't seem to reproduce the problem here. Maybe it's something I've fixed in the new version?

Sometimes (when I hit pause on mame) cpwizard remains below and see only the black screen. Similar to minimized. I must press ALT-TAB or Esc to view it correctly and continue to use it. This does not happen often, I would say 20% of calls.

This is something I really want to work on for next release. Can you try this version and see if you still get this problem. When I have that issue solved I think it should nearly be ready to come out of beta.

EDIT: Oops just had to upload again, sorry found a minor bug in the Label Link / Alpha feature. Please download again if you have before I wrote this message.

Link to comment
Share on other sites

Sometimes (when I hit pause on mame) cpwizard remains below and see only the black screen. Similar to minimized. I must press ALT-TAB or Esc to view it correctly and continue to use it. This does not happen often, I would say 20% of calls.

I tried with 2 pc and the cab but there is always the problem but only with gameex. If I start only mame32 without gameex works fine

I have no idea why this ... but it could be my mame 120 with all advamced options active and screen options size 640x480 (equal to the desktop)

There is a situation that makes us think : I use superpunchout with two screens, boot cpwizard and work, but when I go back to the game, the game is minimized

When I choose a game with lightgun, cpwizard makes me see the skin LightgunBak.png (rightly)

But when I go back in gameex and choose another game with no gun, cpwizard uses still LightgunBak.png

The problem of skin-layout remains, I must return to configuration and call my layout, otherwise the layout is always the gun , this does not happen by removing "mame keyword" options (gun and mayong)

In addition to this annoyance I found other problems :

- Many games do not show directions but only buttons. Example: I do not understand what is the difference between the roms 20PACGAL and PACMAN. In cpwizard 20PACGAL not show directions but only button. Do you also have this problem?

- Enabling colors and restarting cpwizard, colors are no longer active

- Cpwizard for emu Project64 does not work

Request :

- I leave the main menu of cpwizard with a button without having to scroll EXIT each time. This key could be "BACK KEY" or a way to break out of the mame

- Joystick : The pagedown manuals/ebooks is beautifully with the right and left directions but why not do the same way to history and others? I got the same result configuring "INPUT" but it would be interesting to have by default

Link to comment
Share on other sites

I tried with 2 pc and the cab but there is always the problem but only with gameex. If I start only mame32 without gameex works fine

I have no idea why this ... but it could be my mame 120 with all advamced options active and screen options size 640x480 (equal to the desktop)

There is a situation that makes us think : I use superpunchout with two screens, boot cpwizard and work, but when I go back to the game, the game is minimized

Why are you running Mame32? Did you try Command Line Mame. There is no reason for you to be running Mame32.

The problem of skin-layout remains, I must return to configuration and call my layout, otherwise the layout is always the gun , this does not happen by removing "mame keyword" options (gun and mayong)

Very strange, I can't reproduce this problem at all. Could you check CPWizard.log for any errors when you do this.

In addition to this annoyance I found other problems :

- Many games do not show directions but only buttons. Example: I do not understand what is the difference between the roms 20PACGAL and PACMAN. In cpwizard 20PACGAL not show directions but only button. Do you also have this problem?

The reason is because 20pacgal has no data in controls.xml and in ListInfo.xml it has no CloneOf or RomOf, so I can not find it's parent therefore no control data can be found. In this case I use the Buttons="1" instead and hilight the first button and show a label of Action1. This is correct as shown in the MiniInfo.xml generated by CPWizard.

  <Game Name="20pacgal" SourceFile="20pacgal.c">
<Description>Ms. Pac-Man/Galaga - 20 Year Reunion</Description>
<Year>2000</Year>
<Manufacturer>Namco</Manufacturer>
<Display Type="raster" Rotate="90" Width="288" Height="224" Refresh="60" />
<Chip Type="cpu" Name="Z180" Clock="20000000" />
<Chip Type="audio" Name="Namco" Clock="96000" />
<Chip Type="audio" Name="DAC" Clock="" />
<Input Players="2" Buttons="1" Coins="2" Service="False">
<Control Type="joy8way" />
</Input>
<Driver Status="imperfect" Emulation="good" Color="good" Sound="good" Graphic="imperfect" SaveState="unsupported" PaletteSize="4096" />
<CatVer Category="Multiplay" VerAdded=".111u1" />
<NPlayers Type="2P alt" />
<HallOfFame WeightedAverage="75" Votes="16" />
</Game>

- Enabling colors and restarting cpwizard, colors are no longer active

You have to save your layout (click the floppy disk icon) as color options are stored in the layout file.

- Cpwizard for emu Project64 does not work

Yes I am aware of this, Project64 doesn't like to be minimized unfortunately. It was a bad example to have in there. I need to get time to go through and add profiles for emulators that work with CPWizard.

Request :

- I leave the main menu of cpwizard with a button without having to scroll EXIT each time. This key could be "BACK KEY" or a way to break out of the mame

Okay I will add a "Back Key" to exit menu option :)

- Joystick : The pagedown manuals/ebooks is beautifully with the right and left directions but why not do the same way to history and others? I got the same result configuring "INPUT" but it would be interesting to have by default

Hmm I'm not sure if it's a benefit to make Menu Left and Menu Right function as Page Up and Page Down. You can, as you say, define them the same anyway.

Cheers for the feedback sbaby :)

Link to comment
Share on other sites

Why are you running Mame32? Did you try Command Line Mame. There is no reason for you to be running Mame32.

Perhaps I have not explained well

With mame32 or mame command line cpwizard works fine (without gameex)

With gameex I have that problem

Cheers for the feedback sbaby :)

:P

Link to comment
Share on other sites

6-12-2007 - bezel_0121.zip Patch released

This diff when applied to Mame will show the bezel when pause (default 'p') is pressed and hide when unpaused.

This can be used with CPWizard's Export Batch feature in bezel format so you can display your CP when Mame is paused.

To apply the patch for Mame 0121 (Will most probably work for several versions after as well)

1. Download mame0121s.exe from here and extract the source

2. Download and install Mame Compiler

3. Select Start->Programs->Mame Compiler->MameCompiler

4. Point the "Mame Source Folder" to where you extracted the Mame source

5. Browse the "Diff Patch File" to bezel_0121.diff and press the "Apply Patch" button

6. Press the GO! button to compile

Link to comment
Share on other sites

CPWizard v1.1 Released

- Added Keyboard layout, Label Link arrow, Show Delay and CP Editor shortcuts

Perhaps I have not explained well

With mame32 or mame command line cpwizard works fine (without gameex)

With gameex I have that problem

:P

Hey sbaby can you try the new Show Delay option under Edit->Options->Display Settings to see if it will fix the problem of not displaying sometimes. Try setting the value from 1000 to 3000.

Link to comment
Share on other sites

WOW CPwizard homepage WOWOWOWOW :) Truly the top, compliments !!!

Hey sbaby can you try the new Show Delay option under Edit->Options->Display Settings to see if it will fix the problem of not displaying sometimes. Try setting the value from 1000 to 3000.

The problem persist, indeed, sometimes cpwizard works but after a few minutes disappears, with ALT_TAB it returns.

:(

With mame 0.120 I have particular settings , when mame 0.122 come i will try to update it with default configuration and I will test cpwizard again :(

Link to comment
Share on other sites

WOW CPwizard homepage WOWOWOWOW :) Truly the top, compliments !!!

The problem persist, indeed, sometimes cpwizard works but after a few minutes disappears, with ALT_TAB it returns.

:(

With mame 0.120 I have particular settings , when mame 0.122 come i will try to update it with default configuration and I will test cpwizard again :(

I need more info if you can elaborate a bit more sbaby. It seems like there is something going on and I have a suspicion as to what it might be but I need some more info. First of all when this happens is there an error in the CPWizard.log file? You say it disappears after a few minutes. Does it disappear *while* in the menu or does it just not show sometimes when you press *pause*. Is this problem occuring with the same game? Or does it seem to occur after playing a particular game and selecting a new one? Can you list in order the events it occurs.

Eg.

1. Loaded up GameEx

2. Run game 1942

3. Pressed 'p' CPWizard showed okay

4. Exited 1942 back to GameEx

5. Run game Mortal Kombat 2

6. Pressed 'p' CPWizard didn't show, had to alt-tab to show it

Link to comment
Share on other sites

Strangely tonight the problem is a bit lower, cpwizard tonight always appears but I had these problems :

1. Loaded up GameEx

2. Run game ARKANOID

3. Pressed 'p' CPWizard showed okay but return to game minimized, had to alt-tab to show it

4. Exited ARKANOID back to GameEx

5. Run game PACLAND

6. Pressed 'p' CPWizard showed okay

7. Exited PACLAND back to GameEx

8. Run game SUPER PUNCHOUT (2 screen)

9. Pressed 'p' CPWizard showed okay but return to game minimized, had to alt-tab to show it

10. Exited SUPER PUNCHOUT back to GameEx

This is the log :

12/12/2007 21.53.45: CPWizard v1.1 Beta 1

12/12/2007 21.53.45: OS: Microsoft Windows XP Professional

12/12/2007 21.53.45: Version: 5.1.2600

12/12/2007 21.53.45: Build: 2600

12/12/2007 21.53.45: RAM Total: 2048 MB

12/12/2007 21.53.45: RAM Used: 597 MB

12/12/2007 21.53.47: CPU: Intel® Core2 CPU 6420 @ 2.13GHz

12/12/2007 21.53.47: CPU: Intel® Core2 CPU 6420 @ 2.13GHz

12/12/2007 21.53.48: Video Card: Radeon X1950 Pro

12/12/2007 21.53.48: Video Driver: 6.14.10.6715

12/12/2007 21.53.48: Video RAM: 512 MB

12/12/2007 21.53.48: Video Card: Radeon X1950 Pro Secondary

12/12/2007 21.53.48: Video Driver: 6.14.10.6715

12/12/2007 21.53.48: Video RAM: 512 MB

12/12/2007 21.53.48: Video Card: ZD Soft Screen Capture Driver

12/12/2007 21.53.48: Video Driver: 3.0

12/12/2007 21.53.48: Sound Card: M-Audio Delta AP192

12/12/2007 21.53.48: .NET: .NET Framework 2.0 Installed

12/12/2007 21.53.48: Initializing Cmd File Watcher

12/12/2007 21.53.48: Initializing Display Manager

12/12/2007 21.53.48: Initializing Program Manager

12/12/2007 21.53.48: Reading Config

12/12/2007 21.53.48: Reading Mame Data

12/12/2007 21.53.48: Mame Version 0.120

12/12/2007 21.53.48: Initializing Mini Info Xml

12/12/2007 21.53.48: Initializing Mame Ini

12/12/2007 21.53.48: Reading Mame Ini

12/12/2007 21.53.48: Initializing Mame Cfg

12/12/2007 21.53.48: Initializing Mame Command Line

12/12/2007 21.53.48: Reading Mini Info Xml

12/12/2007 21.53.49: Reading All Mame Cfg's

12/12/2007 21.53.49: Reading Mame Ctrlr File

12/12/2007 21.53.49: Initializing Main Menu

12/12/2007 21.53.49: Initializing Layout Manager

12/12/2007 21.53.49: Initializing Game Info

12/12/2007 21.53.49: Initializing History Dat

12/12/2007 21.53.49: Initializing MameInfo Dat

12/12/2007 21.53.49: Initializing Command Dat

12/12/2007 21.53.49: Initializing Story Dat

12/12/2007 21.53.49: Reading History Dat

12/12/2007 21.53.49: Reading MameInfo Dat

12/12/2007 21.53.49: Reading Command Dat

12/12/2007 21.53.50: Reading Story Dat

12/12/2007 21.53.50: Initializing Artwork Manager

12/12/2007 21.53.50: Initializing Mame Manuals

12/12/2007 21.53.50: Initializing Emulator Manuals

12/12/2007 21.53.50: Initializing Emulator OpCard

12/12/2007 21.53.50: Initializing NFO Viewer

12/12/2007 21.53.50: Initializing IRC

12/12/2007 21.53.50: Initializing SendKeys

12/12/2007 21.53.50: Initializing Mame Interop

12/12/2007 21.53.50: Initializing Mame Manager

12/12/2007 21.53.50: Initializing Emulator Manager

12/12/2007 21.53.50: Initializing Keyboard Hook

12/12/2007 21.53.50: Initializing Direct Input

12/12/2007 21.53.50: Initializing MCE Remote

12/12/2007 21.53.50: Initializing Input Manager

12/12/2007 21.53.50: Initializing Emulator Maps

12/12/2007 21.53.50: Initializing Bezel

12/12/2007 21.53.50: Creating MainBitmap

12/12/2007 21.53.50: Starting Mame Interop

Link to comment
Share on other sites

Version 1.2 Released

- Added command line options, Show CP Only & Back Key will Exit Menu option. You can also disable any menu options.

sbaby: There are a few things for you to try in this version. First I added the "Back Key will Exit Menu" option for you so you can exit the menu by selecting the back key. Also the "Show Delay" also applies to restoring the Mame window, so can you experiment with different values for that again and get back to me?

Link to comment
Share on other sites

I tried the 1.2 release of CPWizard. It runs in the system tray when started, but locks up if maximized requiring the program to be terminated with the program manager. It is reported as not responding. I've uninstalled and reinstalled the program with no change in behavior. It looks like the error centers around intercom.dll. I've attached the log file. An older version (1.08) that I had downloaded but never installed works fine on my system. Thanks.

12/16/2007 1:00:04 PM: CPWizard v1.2

12/16/2007 1:00:05 PM: OS: Microsoft Windows XP Professional

12/16/2007 1:00:05 PM: Version: 5.1.2600

12/16/2007 1:00:05 PM: Build: 2600

12/16/2007 1:00:05 PM: RAM Total: 1022 MB

12/16/2007 1:00:05 PM: RAM Used: 639 MB

12/16/2007 1:00:07 PM: CPU: Intel® Pentium® D CPU 2.80GHz

12/16/2007 1:00:07 PM: CPU: Intel® Pentium® D CPU 2.80GHz

12/16/2007 1:00:07 PM: Video Card: 256MB ATI Radeon X1300PRO

12/16/2007 1:00:07 PM: Video Driver: 6.14.10.6618

12/16/2007 1:00:07 PM: Video RAM: 256 MB

12/16/2007 1:00:07 PM: Video Card: 256MB ATI Radeon X1300PRO Secondary

12/16/2007 1:00:07 PM: Video Driver: 6.14.10.6618

12/16/2007 1:00:07 PM: Video RAM: 256 MB

12/16/2007 1:00:07 PM: Sound Card: SigmaTel High Definition Audio CODEC

12/16/2007 1:00:07 PM: Sound Card: Unimodem Half-Duplex Audio Device

12/16/2007 1:00:07 PM: .NET: .NET Framework 1.0 Installed

12/16/2007 1:00:07 PM: .NET: .NET Framework 1.1 Installed

12/16/2007 1:00:07 PM: .NET: .NET Framework 2.0 Installed

12/16/2007 1:00:07 PM: Initializing InterComm Manager

12/16/2007 1:00:08 PM: Initializing Cmd Line Watcher

12/16/2007 1:00:08 PM: Starting InterComm Manager

12/16/2007 1:00:08 PM: Initializing Display Manager

12/16/2007 1:00:08 PM: Initializing Program Manager

12/16/2007 1:00:08 PM: Reading Config

12/16/2007 1:00:08 PM: Initializing Main Menu

12/16/2007 1:00:08 PM: Initializing Layout Manager

12/16/2007 1:00:08 PM: Initializing Game Info

12/16/2007 1:00:08 PM: Initializing History Dat

12/16/2007 1:00:08 PM: Initializing MameInfo Dat

12/16/2007 1:00:08 PM: Initializing Command Dat

12/16/2007 1:00:09 PM: Initializing Story Dat

12/16/2007 1:00:09 PM: Initializing Artwork Manager

12/16/2007 1:00:09 PM: Initializing Mame Manuals

12/16/2007 1:00:09 PM: Initializing Emulator Manuals

12/16/2007 1:00:09 PM: Initializing Emulator OpCard

12/16/2007 1:00:09 PM: Initializing NFO Viewer

12/16/2007 1:00:09 PM: Initializing IRC

12/16/2007 1:00:09 PM: Initializing SendKeys

12/16/2007 1:00:09 PM: Initializing Mame Interop

12/16/2007 1:00:09 PM: Initializing Mame Manager

12/16/2007 1:00:09 PM: Initializing Emulator Manager

12/16/2007 1:00:09 PM: Initializing Keyboard Hook

12/16/2007 1:00:10 PM: Initializing Direct Input

12/16/2007 1:00:10 PM: Initializing MCE Remote

12/16/2007 1:00:10 PM: Initializing Input Manager

12/16/2007 1:00:10 PM: Initializing Emulator Maps

12/16/2007 1:00:10 PM: Initializing Bezel

12/16/2007 1:00:10 PM: Reading Mame Data

12/16/2007 1:00:10 PM: Creating MainBitmap

12/16/2007 1:00:11 PM: ERROR @ OnCmdArgsChanged (ProgramManager)

12/16/2007 1:00:11 PM: Unable to load DLL 'InterComm.dll': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)

12/16/2007 1:00:11 PM: at cj.SetDataMode(b A_0)

at ah.a(Dictionary`2 A_0)

12/16/2007 1:00:11 PM: Starting Mame Interop

12/16/2007 1:00:38 PM: Shutting Down Program Manager

12/16/2007 1:00:38 PM: Writing Config

Link to comment
Share on other sites

Version 1.3 Released

- Full PC Game support. Fixed InterComm.dll problems some people were having (hopefully!)

ml_arcade: can you try Version 1.3 and see if it fixes that problem.

sbaby: I can't figure out why your have that problem, noone else has reported it to me. I can only suggest trying a higher value for the Show Delay. Hopefully I can fix it some time although it's very difficult without experiencing the problem, and there seems to be no error in your log file.

Link to comment
Share on other sites

When I choose a PC game cpwizard is ok but after if I choose a mame-game keyboard layout remains, it does not return to my mycab.xml

One thing I did notice with your MyCab.xml file is that it didn't look right like it was saved in an older version. I think you need to save it again (open it then click the floppy disk icon).

Then can you post me both your CPWizard.log and CPWizard.ini files.

Link to comment
Share on other sites

I tried to re-save mycab.xml but the result does not change. I sent you an email with what you asked me :)

Okay we fixed sbaby's issues with CPWizard. So get Version 1.35 if you haven't already

- The not loading correct layout after loading a lightgun game was caused by an old ini file from a previous release. Deleting CPWizard.ini and reconfiguring CPWizard should fix that.

- I didn't realise this but Dotfuscator turns enums into letters of the alphabet. So that was screwing up the text alignment when saving the layout file. This is also fixed in 1.35, so open your layout and save it again and you can now correctly use text align left, right or center and also text styles outline or dropshadow.

- There may be issues with CPWizard when GameEx is using ShowDesktop=false. So if your having issues there you might like to set it to true.

Link to comment
Share on other sites

Okay we fixed sbaby's issues with CPWizard. So get Version 1.35 if you haven't already

- The not loading correct layout after loading a lightgun game was caused by an old ini file from a previous release. Deleting CPWizard.ini and reconfiguring CPWizard should fix that.

Ok, now it also works without deleting cpwizard.ini :)

- I didn't realise this but Dotfuscator turns enums into letters of the alphabet. So that was screwing up the text alignment when saving the layout file. This is also fixed in 1.35, so open your layout and save it again and you can now correctly use text align left, right or center and also text styles outline or dropshadow.

YESSSSSSSS :)

- There may be issues with CPWizard when GameEx is using ShowDesktop=false. So if your having issues there you might like to set it to true.

How to configure this option in gameex for all emus (including mame)? :blink:

Link to comment
Share on other sites

Version 1.36

- Updated data files for Mame 0122

sbaby: I added an option for you so you don't have to set data files to read only. Follow these instructions

1. Download & Install CPWizard 1.36

2. Run CPWizard then Exit

3. Open CPWizard.ini

4. You should see a new section called [DataFiles] where you can set your own paths

BTW You are now in my "Thanks" area on the website for your help beta testing :)

Link to comment
Share on other sites

You should see a new section called [DataFiles] where you can set your own paths

This is great, wonderful idea, useful useful. Thanks

BTW You are now in my "Thanks" area on the website for your help beta testing :)

Hei :D there are even I, a true honor for me! Wow

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...