headkaze Posted December 1, 2007 Author Share Posted December 1, 2007 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 bezelSecond shot is after showing the bezel Quote Link to comment Share on other sites More sharing options...
Brian Hoffman Posted December 1, 2007 Share Posted December 1, 2007 Very nice Quote Link to comment Share on other sites More sharing options...
bkenobi Posted December 1, 2007 Share Posted December 1, 2007 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! Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 1, 2007 Author Share Posted December 1, 2007 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. Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 1, 2007 Author Share Posted December 1, 2007 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.pngI 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. Quote Link to comment Share on other sites More sharing options...
sbaby Posted December 2, 2007 Share Posted December 2, 2007 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 fineI 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 minimizedWhen 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.pngThe 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 workRequest :- 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 Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 2, 2007 Author Share Posted December 2, 2007 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 fineI 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 minimizedWhy 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 activeYou 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 workYes 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 mameOkay 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 defaultHmm 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 Quote Link to comment Share on other sites More sharing options...
sbaby Posted December 2, 2007 Share Posted December 2, 2007 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 problemCheers for the feedback sbaby Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 6, 2007 Author Share Posted December 6, 2007 6-12-2007 - bezel_0121.zip Patch releasedThis 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 source2. Download and install Mame Compiler3. Select Start->Programs->Mame Compiler->MameCompiler4. Point the "Mame Source Folder" to where you extracted the Mame source5. Browse the "Diff Patch File" to bezel_0121.diff and press the "Apply Patch" button6. Press the GO! button to compile Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 11, 2007 Author Share Posted December 11, 2007 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 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. Quote Link to comment Share on other sites More sharing options...
sbaby Posted December 11, 2007 Share Posted December 11, 2007 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 Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 12, 2007 Author Share Posted December 12, 2007 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 GameEx2. Run game 19423. Pressed 'p' CPWizard showed okay4. Exited 1942 back to GameEx5. Run game Mortal Kombat 26. Pressed 'p' CPWizard didn't show, had to alt-tab to show it Quote Link to comment Share on other sites More sharing options...
sbaby Posted December 12, 2007 Share Posted December 12, 2007 Strangely tonight the problem is a bit lower, cpwizard tonight always appears but I had these problems :1. Loaded up GameEx2. Run game ARKANOID3. Pressed 'p' CPWizard showed okay but return to game minimized, had to alt-tab to show it4. Exited ARKANOID back to GameEx5. Run game PACLAND6. Pressed 'p' CPWizard showed okay7. Exited PACLAND back to GameEx8. Run game SUPER PUNCHOUT (2 screen)9. Pressed 'p' CPWizard showed okay but return to game minimized, had to alt-tab to show it10. Exited SUPER PUNCHOUT back to GameExThis is the log :12/12/2007 21.53.45: CPWizard v1.1 Beta 112/12/2007 21.53.45: OS: Microsoft Windows XP Professional12/12/2007 21.53.45: Version: 5.1.260012/12/2007 21.53.45: Build: 260012/12/2007 21.53.45: RAM Total: 2048 MB12/12/2007 21.53.45: RAM Used: 597 MB12/12/2007 21.53.47: CPU: Intel® Core2 CPU 6420 @ 2.13GHz12/12/2007 21.53.47: CPU: Intel® Core2 CPU 6420 @ 2.13GHz12/12/2007 21.53.48: Video Card: Radeon X1950 Pro12/12/2007 21.53.48: Video Driver: 6.14.10.671512/12/2007 21.53.48: Video RAM: 512 MB12/12/2007 21.53.48: Video Card: Radeon X1950 Pro Secondary12/12/2007 21.53.48: Video Driver: 6.14.10.671512/12/2007 21.53.48: Video RAM: 512 MB12/12/2007 21.53.48: Video Card: ZD Soft Screen Capture Driver12/12/2007 21.53.48: Video Driver: 3.012/12/2007 21.53.48: Sound Card: M-Audio Delta AP19212/12/2007 21.53.48: .NET: .NET Framework 2.0 Installed12/12/2007 21.53.48: Initializing Cmd File Watcher12/12/2007 21.53.48: Initializing Display Manager12/12/2007 21.53.48: Initializing Program Manager12/12/2007 21.53.48: Reading Config12/12/2007 21.53.48: Reading Mame Data12/12/2007 21.53.48: Mame Version 0.12012/12/2007 21.53.48: Initializing Mini Info Xml12/12/2007 21.53.48: Initializing Mame Ini12/12/2007 21.53.48: Reading Mame Ini12/12/2007 21.53.48: Initializing Mame Cfg12/12/2007 21.53.48: Initializing Mame Command Line12/12/2007 21.53.48: Reading Mini Info Xml12/12/2007 21.53.49: Reading All Mame Cfg's12/12/2007 21.53.49: Reading Mame Ctrlr File12/12/2007 21.53.49: Initializing Main Menu12/12/2007 21.53.49: Initializing Layout Manager12/12/2007 21.53.49: Initializing Game Info12/12/2007 21.53.49: Initializing History Dat12/12/2007 21.53.49: Initializing MameInfo Dat12/12/2007 21.53.49: Initializing Command Dat12/12/2007 21.53.49: Initializing Story Dat12/12/2007 21.53.49: Reading History Dat12/12/2007 21.53.49: Reading MameInfo Dat12/12/2007 21.53.49: Reading Command Dat12/12/2007 21.53.50: Reading Story Dat12/12/2007 21.53.50: Initializing Artwork Manager12/12/2007 21.53.50: Initializing Mame Manuals12/12/2007 21.53.50: Initializing Emulator Manuals12/12/2007 21.53.50: Initializing Emulator OpCard12/12/2007 21.53.50: Initializing NFO Viewer12/12/2007 21.53.50: Initializing IRC12/12/2007 21.53.50: Initializing SendKeys12/12/2007 21.53.50: Initializing Mame Interop12/12/2007 21.53.50: Initializing Mame Manager12/12/2007 21.53.50: Initializing Emulator Manager12/12/2007 21.53.50: Initializing Keyboard Hook12/12/2007 21.53.50: Initializing Direct Input12/12/2007 21.53.50: Initializing MCE Remote12/12/2007 21.53.50: Initializing Input Manager12/12/2007 21.53.50: Initializing Emulator Maps12/12/2007 21.53.50: Initializing Bezel12/12/2007 21.53.50: Creating MainBitmap12/12/2007 21.53.50: Starting Mame Interop Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 15, 2007 Author Share Posted December 15, 2007 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? Quote Link to comment Share on other sites More sharing options...
sbaby Posted December 16, 2007 Share Posted December 16, 2007 Thanks HK, all new features works fine, great work but my problem ALT-TAB persists (Delay from 1000 to 3000, is indifferent) Quote Link to comment Share on other sites More sharing options...
ml_arcade Posted December 16, 2007 Share Posted December 16, 2007 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.212/16/2007 1:00:05 PM: OS: Microsoft Windows XP Professional12/16/2007 1:00:05 PM: Version: 5.1.260012/16/2007 1:00:05 PM: Build: 260012/16/2007 1:00:05 PM: RAM Total: 1022 MB12/16/2007 1:00:05 PM: RAM Used: 639 MB12/16/2007 1:00:07 PM: CPU: Intel® Pentium® D CPU 2.80GHz12/16/2007 1:00:07 PM: CPU: Intel® Pentium® D CPU 2.80GHz12/16/2007 1:00:07 PM: Video Card: 256MB ATI Radeon X1300PRO12/16/2007 1:00:07 PM: Video Driver: 6.14.10.661812/16/2007 1:00:07 PM: Video RAM: 256 MB12/16/2007 1:00:07 PM: Video Card: 256MB ATI Radeon X1300PRO Secondary12/16/2007 1:00:07 PM: Video Driver: 6.14.10.661812/16/2007 1:00:07 PM: Video RAM: 256 MB12/16/2007 1:00:07 PM: Sound Card: SigmaTel High Definition Audio CODEC12/16/2007 1:00:07 PM: Sound Card: Unimodem Half-Duplex Audio Device12/16/2007 1:00:07 PM: .NET: .NET Framework 1.0 Installed12/16/2007 1:00:07 PM: .NET: .NET Framework 1.1 Installed12/16/2007 1:00:07 PM: .NET: .NET Framework 2.0 Installed12/16/2007 1:00:07 PM: Initializing InterComm Manager12/16/2007 1:00:08 PM: Initializing Cmd Line Watcher12/16/2007 1:00:08 PM: Starting InterComm Manager12/16/2007 1:00:08 PM: Initializing Display Manager12/16/2007 1:00:08 PM: Initializing Program Manager12/16/2007 1:00:08 PM: Reading Config12/16/2007 1:00:08 PM: Initializing Main Menu12/16/2007 1:00:08 PM: Initializing Layout Manager12/16/2007 1:00:08 PM: Initializing Game Info12/16/2007 1:00:08 PM: Initializing History Dat12/16/2007 1:00:08 PM: Initializing MameInfo Dat12/16/2007 1:00:08 PM: Initializing Command Dat12/16/2007 1:00:09 PM: Initializing Story Dat12/16/2007 1:00:09 PM: Initializing Artwork Manager12/16/2007 1:00:09 PM: Initializing Mame Manuals12/16/2007 1:00:09 PM: Initializing Emulator Manuals12/16/2007 1:00:09 PM: Initializing Emulator OpCard12/16/2007 1:00:09 PM: Initializing NFO Viewer12/16/2007 1:00:09 PM: Initializing IRC12/16/2007 1:00:09 PM: Initializing SendKeys12/16/2007 1:00:09 PM: Initializing Mame Interop12/16/2007 1:00:09 PM: Initializing Mame Manager12/16/2007 1:00:09 PM: Initializing Emulator Manager12/16/2007 1:00:09 PM: Initializing Keyboard Hook12/16/2007 1:00:10 PM: Initializing Direct Input12/16/2007 1:00:10 PM: Initializing MCE Remote12/16/2007 1:00:10 PM: Initializing Input Manager12/16/2007 1:00:10 PM: Initializing Emulator Maps12/16/2007 1:00:10 PM: Initializing Bezel12/16/2007 1:00:10 PM: Reading Mame Data12/16/2007 1:00:10 PM: Creating MainBitmap12/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 Interop12/16/2007 1:00:38 PM: Shutting Down Program Manager12/16/2007 1:00:38 PM: Writing Config Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 16, 2007 Author Share Posted December 16, 2007 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. Quote Link to comment Share on other sites More sharing options...
sbaby Posted December 17, 2007 Share Posted December 17, 2007 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 Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 17, 2007 Author Share Posted December 17, 2007 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.xmlOne 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. Quote Link to comment Share on other sites More sharing options...
sbaby Posted December 18, 2007 Share Posted December 18, 2007 I tried to re-save mycab.xml but the result does not change. I sent you an email with what you asked me Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 19, 2007 Author Share Posted December 19, 2007 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. Quote Link to comment Share on other sites More sharing options...
sbaby Posted December 19, 2007 Share Posted December 19, 2007 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)? Quote Link to comment Share on other sites More sharing options...
bkenobi Posted December 19, 2007 Share Posted December 19, 2007 I don't think there's any way to disable hide desktop for MAME. I could be wrong though.Actually, now that I think about it, there should be. If you go to Advanced MAME Options or Enable/disable features, it should be in there. Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 20, 2007 Author Share Posted December 20, 2007 Version 1.36- Updated data files for Mame 0122sbaby: I added an option for you so you don't have to set data files to read only. Follow these instructions1. Download & Install CPWizard 1.362. Run CPWizard then Exit3. Open CPWizard.ini4. You should see a new section called [DataFiles] where you can set your own pathsBTW You are now in my "Thanks" area on the website for your help beta testing Quote Link to comment Share on other sites More sharing options...
sbaby Posted December 20, 2007 Share Posted December 20, 2007 You should see a new section called [DataFiles] where you can set your own pathsThis is great, wonderful idea, useful useful. ThanksBTW You are now in my "Thanks" area on the website for your help beta testing Hei there are even I, a true honor for me! Wow Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.