Visitor Q Posted October 14, 2008 Share Posted October 14, 2008 Ok, here is my log from when it happens.10/14/2008 5:24:37 PM: CPWizard v1.9110/14/2008 5:24:38 PM: OS: Microsoft® Windows Vistaâ?¢ Ultimate 10/14/2008 5:24:38 PM: Version: 6.0.600110/14/2008 5:24:38 PM: Build: 600110/14/2008 5:24:38 PM: RAM Total: 4095 MB10/14/2008 5:24:38 PM: RAM Used: 1416 MB10/14/2008 5:24:39 PM: CPU: Intel® Core2 Duo CPU E8500 @ 3.16GHz10/14/2008 5:24:39 PM: Video Card: ATI Radeon HD 4800 Series 10/14/2008 5:24:39 PM: Video Driver: 7.01.01.80910/14/2008 5:24:39 PM: Video RAM: 512 MB10/14/2008 5:24:39 PM: Sound Card: High Definition Audio Device10/14/2008 5:24:39 PM: Sound Card: High Definition Audio Device10/14/2008 5:24:39 PM: .NET: .NET Framework 2.0 Installed10/14/2008 5:24:39 PM: Initializing InterComm Manager10/14/2008 5:24:39 PM: Initializing Cmd Line Watcher10/14/2008 5:24:39 PM: Starting InterComm Manager10/14/2008 5:24:39 PM: Initializing Display Manager10/14/2008 5:24:39 PM: Initializing Program Manager10/14/2008 5:24:39 PM: Reading Config10/14/2008 5:24:39 PM: Initializing Main Menu10/14/2008 5:24:39 PM: Initializing Layout Manager10/14/2008 5:24:39 PM: Initializing Controls Data10/14/2008 5:24:39 PM: Initializing Input Codes10/14/2008 5:24:40 PM: Initializing Layout Maps10/14/2008 5:24:40 PM: Initializing Game Info10/14/2008 5:24:40 PM: Initializing History Dat10/14/2008 5:24:40 PM: Initializing MameInfo Dat10/14/2008 5:24:40 PM: Initializing Command Dat10/14/2008 5:24:41 PM: Initializing Story Dat10/14/2008 5:24:41 PM: Initializing Artwork Manager10/14/2008 5:24:41 PM: Initializing Mame Manuals10/14/2008 5:24:41 PM: Initializing Emulator Manuals10/14/2008 5:24:41 PM: Initializing Emulator OpCard10/14/2008 5:24:41 PM: Initializing NFO Viewer10/14/2008 5:24:41 PM: Initializing IRC10/14/2008 5:24:41 PM: Initializing SendKeys10/14/2008 5:24:41 PM: Initializing Mame Interop10/14/2008 5:24:41 PM: Initializing Mame Manager10/14/2008 5:24:41 PM: Initializing Emulator Manager10/14/2008 5:24:41 PM: Initializing Keyboard Hook10/14/2008 5:24:41 PM: Initializing Direct Input10/14/2008 5:24:41 PM: Initializing MCE Remote10/14/2008 5:24:41 PM: Initializing Input Manager10/14/2008 5:24:41 PM: Initializing Profiles10/14/2008 5:24:42 PM: Initializing Bezel10/14/2008 5:24:42 PM: Reading Mame Data10/14/2008 5:24:42 PM: Reading MiniInfo Xml10/14/2008 5:24:43 PM: Mame Version 0.12710/14/2008 5:24:43 PM: Reading Mame Ini10/14/2008 5:24:43 PM: Initializing Mame Cfg10/14/2008 5:24:43 PM: Initializing Mame Command Line10/14/2008 5:24:43 PM: Reading History Dat10/14/2008 5:24:45 PM: Reading MameInfo Dat10/14/2008 5:24:46 PM: Reading Command Dat10/14/2008 5:24:46 PM: Reading Story Dat10/14/2008 5:24:47 PM: Reading All Mame Cfg's10/14/2008 5:24:47 PM: Creating MainBitmap10/14/2008 5:24:47 PM: Starting Mame Interop10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> OnMameStart10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> GameName: donpachi10/14/2008 5:25:20 PM: OnMameStop (MameManager) -> OnMameStop10/14/2008 5:25:20 PM: ERROR @ OnMameStop (MameManager)10/14/2008 5:25:20 PM: Object reference not set to an instance of an object.10/14/2008 5:25:20 PM: at cn.i()10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> ShowScreen: Layout (Display Mode) False (Layout Override) False (Exit To Menu) False (Dynamic Load)10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Mame Mode10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Getting Game Details10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Showing Layout Form10/14/2008 5:25:30 PM: Show (frmLayout) -> frmLayout hWnd: 0x59055810/14/2008 5:25:30 PM: ForceForegroundWindow (HideDesktop) -> Foreground hWnd: 0x59055810/14/2008 5:25:30 PM: Show (frmLayout) -> Success! Foreground hWnd: 0x59055810/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Display Mode is Layout10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Hiding Main Menu10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Resetting Menu10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Setting Exit To Menu False10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Showing Layout10/14/2008 5:25:32 PM: CPForm_FormClosing (frmLayout) -> Closing10/14/2008 5:25:33 PM: OnMameStart (MameManager) -> OnMameStart10/14/2008 5:25:33 PM: OnMameStart (MameManager) -> GameName: kinst10/14/2008 5:25:47 PM: OnMamePaused (MameManager) -> OnMamePaused10/14/2008 5:25:47 PM: OnMamePaused (MameManager) -> Showing Mame10/14/2008 5:25:47 PM: Show (ProgramManager) -> Show10/14/2008 5:25:47 PM: Show (ProgramManager) -> Mame Running10/14/2008 5:25:47 PM: Show (ProgramManager) -> Searching for Mame10/14/2008 5:25:47 PM: FindMame (MameManager) -> Mame Running hWnd: 0x65609410/14/2008 5:25:47 PM: FindMame (MameManager) -> Window Rect: {X=0,Y=0,Width=1024,Height=768}10/14/2008 5:25:48 PM: FindMame (MameManager) -> Command Line: mame.exe kinst -rompath "D:\Emulation\Roms\Mame" -nowindow -joy -skip_gameinfo10/14/2008 5:25:48 PM: Show (ProgramManager) -> Game Found: kinst10/14/2008 5:25:48 PM: Show (ProgramManager) -> Getting Game Details10/14/2008 5:25:48 PM: Show (ProgramManager) -> Taking Screenshot10/14/2008 5:25:48 PM: Show (ProgramManager) -> Minimizing Mame10/14/2008 5:25:48 PM: MinimizeMame (MameManager) -> Minimizing Mame hWnd: 0x65609410/14/2008 5:25:48 PM: Show (ProgramManager) -> Showing Loading Form10/14/2008 5:25:48 PM: ShowLoading (ProgramManager) -> Showing Loading Form: 010/14/2008 5:25:48 PM: Show (ProgramManager) -> Showing Layout Form10/14/2008 5:25:48 PM: Show (frmLayout) -> frmLayout hWnd: 0x6627810/14/2008 5:25:48 PM: ForceForegroundWindow (HideDesktop) -> Foreground hWnd: 0x6627810/14/2008 5:25:48 PM: Show (frmLayout) -> Success! Foreground hWnd: 0x6627810/14/2008 5:25:48 PM: Show (ProgramManager) -> Show CP Only is False10/14/2008 5:25:48 PM: Show (ProgramManager) -> Exit To Menu is True10/14/2008 5:25:48 PM: Show (ProgramManager) -> Display Mode is MainMenu10/14/2008 5:25:48 PM: ShowScreen (ProgramManager) -> Hiding Main Menu10/14/2008 5:25:48 PM: ShowScreen (ProgramManager) -> Resetting Menu10/14/2008 5:25:48 PM: ShowScreen (ProgramManager) -> Setting Exit To Menu True10/14/2008 5:25:48 PM: ShowScreen (ProgramManager) -> Showing MainMenu10/14/2008 5:26:10 PM: OnMameStop (MameManager) -> OnMameStop10/14/2008 5:26:10 PM: OnMameStop (MameManager) -> Success10/14/2008 5:27:15 PM: CPForm_FormClosing (frmLayout) -> Closing Quote Link to comment Share on other sites More sharing options...
Sick Leave Posted October 15, 2008 Share Posted October 15, 2008 I haven't gotten around to trying this CPWizard with my consoles yet, so I'm not sure if this is obvious or not. To get CPWizard to work for MAME, you need the controls.dat database. For console games, were do I get this data or does it just show the button letters for all games?It pulls data from two sources: a .ini file and the .mdb database. The database contains some basic information and can be identical to the one used by GameEx. The .ini file needs to be created for all of the games you need. It's a lot like the old controls.ini files used for MAME. You can even create additional labels to show up in CPViewer. For example, here's an entry from my NES.ini...[Default]EMU_EMUNAME=NintendoP1_MISC=P2_MISC=GAME_MISC=[Bases Loaded]JOYCODE_1_UP=UpJOYCODE_1_DOWN=DownJOYCODE_1_LEFT=LeftJOYCODE_1_RIGHT=RightJOYCODE_1_BUTTON1=StealJOYCODE_1_BUTTON2=Swing / ReturnJOYCODE_2_UP=UpJOYCODE_2_DOWN=DownJOYCODE_2_LEFT=LeftJOYCODE_2_RIGHT=RightJOYCODE_2_BUTTON1=Pick-OffJOYCODE_2_BUTTON2=Pitch / ThrowP1_MISC=Batting / BaserunningP2_MISC=Pitching / FieldingI use my Player 1 portion of the layout to show one thing and Player 2 to show another. If your layout shows more than one player, you'll either have to create separate labels as I've done above or link the different buttons to the same label since there is no mirrored setting that I know of.The keycodes, joycodes, etc. work fine for not displaying anything is they are not used. Any custom text labels will appear if there is no text to replace them, so I "pre-declare" those labels as blank.I hope this makes some sense... Quote Link to comment Share on other sites More sharing options...
headkaze Posted October 15, 2008 Author Share Posted October 15, 2008 VistorQ: For some reason Mame is shutting down before CPWizard is being shown10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> OnMameStart10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> GameName: donpachi10/14/2008 5:25:20 PM: OnMameStop (MameManager) -> OnMameStop10/14/2008 5:25:20 PM: ERROR @ OnMameStop (MameManager)10/14/2008 5:25:20 PM: Object reference not set to an instance of an object.10/14/2008 5:25:20 PM: at cn.i()I don't know what could cause that. Do you have "Skip Disclaimer" turned on under Edit->Options->Mame? Can make sure it's turned off? Quote Link to comment Share on other sites More sharing options...
Visitor Q Posted October 15, 2008 Share Posted October 15, 2008 VistorQ: For some reason Mame is shutting down before CPWizard is being shown10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> OnMameStart10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> GameName: donpachi10/14/2008 5:25:20 PM: OnMameStop (MameManager) -> OnMameStop10/14/2008 5:25:20 PM: ERROR @ OnMameStop (MameManager)10/14/2008 5:25:20 PM: Object reference not set to an instance of an object.10/14/2008 5:25:20 PM: at cn.i()I don't know what could cause that. Do you have "Skip Disclaimer" turned on under Edit->Options->Mame? Can make sure it's turned off?Well this maybe due to the fact that I need to shut down Mame and then Crtl, Alt Delete your program to exit out of it. I'll see if I can take a video tonight and post it on YouTube to give you a better idea on what is going on but I will check those options you mentioned above as well in the meantime. Quote Link to comment Share on other sites More sharing options...
bkenobi Posted October 15, 2008 Share Posted October 15, 2008 So there isn't a prebuilt set of controls data for consoles yet, or it already exists and is included with the download (I'm at work now and can't check)? I'm assuming the worst and that I'd have to come up with a database for each console that contains thousands of entries... Quote Link to comment Share on other sites More sharing options...
Sick Leave Posted October 15, 2008 Share Posted October 15, 2008 There may be one out there, but it definitely wasn't included with CPWizard. Quote Link to comment Share on other sites More sharing options...
bkenobi Posted October 15, 2008 Share Posted October 15, 2008 So has anyone here put anything together for NES, SNES, N64, SMS, Genesis, etc that they could share? I guess if it's something that takes hours to do, I'll probably do a google search before I delve into another "waste of time" as my wife likes to call my hobbies Quote Link to comment Share on other sites More sharing options...
shaunopp Posted October 15, 2008 Share Posted October 15, 2008 CPWizard v1.90 Released- Now supports dual monitor games and resolution change. Added support for source, cloneof, romof & parent to Mame's layout override. Fixed Export Bezel option not savingI thought maybe this had fixed my res change issue with multisync arcade monitors but no go. Just wanted to report it as a heads-up, I know it's probably tough to get to the bottom of without an arcade monitor. What happens is the first time I hit pause I see the CP image cutoff in a little box in the upper left corner of the screen, going back into the game and then hitting pause again will bring up the CP perfectly visible fullscreen. Seems to work consistently every other iteration of pressing the pause button. I have a Betson Imperial Multisync arcade monitor. Quote Link to comment Share on other sites More sharing options...
Visitor Q Posted October 16, 2008 Share Posted October 16, 2008 VistorQ: For some reason Mame is shutting down before CPWizard is being shown10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> OnMameStart10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> GameName: donpachi10/14/2008 5:25:20 PM: OnMameStop (MameManager) -> OnMameStop10/14/2008 5:25:20 PM: ERROR @ OnMameStop (MameManager)10/14/2008 5:25:20 PM: Object reference not set to an instance of an object.10/14/2008 5:25:20 PM: at cn.i()I don't know what could cause that. Do you have "Skip Disclaimer" turned on under Edit->Options->Mame? Can make sure it's turned off?For the Love of God I don't understand it... I checked to make sure that was not checked, it was not and save the layout. All of a sudden it started working. I guess you can't fix something that is no longer broke. Glad it is working cause I really like it, can't wait to explore everything it does.Keeping my figures crossed. Thanks. Quote Link to comment Share on other sites More sharing options...
Visitor Q Posted October 16, 2008 Share Posted October 16, 2008 Looks like I spoke too soon...Now when I pause the game I get the correct screen but then I can't unpause the game, see video.I short this is whatâ??s happening in the video.---UPLOADING---I load the game.Pause the game.CPWiz pops up like it should and I have full control over CPWiz.Then I try to unpause the game and it will not let me out of the CPWiz screen or unpause the game.So I hit my normal keys to exit out of the game in Game Ex which I can do but then I have no control over the Game Ex Menu.I hit esc and it exit out of Game Ex to the desktop and then you can see my background.So I hit crt, alt and delete to shut down one of the two files I listed above before. Quote Link to comment Share on other sites More sharing options...
bkenobi Posted October 16, 2008 Share Posted October 16, 2008 You need to set up the keys to exit out of CPWizard correctly for your setup. If you want to use the 'P' key to exit CPWizard, change the exit key to 'P'. You can also have more than one button mapped to a command if you separate the command with a pipe "|" or use multiple keys by using an ampersand "&". Quote Link to comment Share on other sites More sharing options...
Visitor Q Posted October 16, 2008 Share Posted October 16, 2008 You need to set up the keys to exit out of CPWizard correctly for your setup. If you want to use the 'P' key to exit CPWizard, change the exit key to 'P'. You can also have more than one button mapped to a command if you separate the command with a pipe "|" or use multiple keys by using an ampersand "&".Thank You.That did correct it. Infact I did not have back button or exit key checked. My Bad.Now if you can figure out my zip problem (unrelated to CPWiz) I will be all set. Quote Link to comment Share on other sites More sharing options...
headkaze Posted October 16, 2008 Author Share Posted October 16, 2008 Another thing worth noting is if you apply the bezel_0127.diff patch to Mame in a custom compiled version (I always compile my own with hiscore support and bezel patch) then CPWizard will actually unpause Mame when you exit CPWizard. You must have the "Send Pause Key" option set and the bezel patch applied for it to work though. Quote Link to comment Share on other sites More sharing options...
Visitor Q Posted October 16, 2008 Share Posted October 16, 2008 Another thing worth noting is if you apply the bezel_0127.diff patch to Mame in a custom compiled version (I always compile my own with hiscore support and bezel patch) then CPWizard will actually unpause Mame when you exit CPWizard. You must have the "Send Pause Key" option set and the bezel patch applied for it to work though.When you speak about the bezel patch are you talking about just using artwork bezels to incase the games on the screen?Also...Is there an easy way to get COMMAND.DAT working in Mame or do you have to compile something in?I was reading on their site about using Mame 32 Plus or Mame 32 FX but I am just using a compiled version of command line Mame. I see it says about having them both installed, is this needed to make this work in CPWizard or does CPWiz handle what those two other version of Mame would have? Quote Link to comment Share on other sites More sharing options...
bkenobi Posted October 16, 2008 Share Posted October 16, 2008 Huh, I didn't realize that I could have it unpause too. I've been using it without and wondered about that. I'll have to get that tweaked next chance I get. Thanks! Quote Link to comment Share on other sites More sharing options...
headkaze Posted October 16, 2008 Author Share Posted October 16, 2008 VisitorQ: The bezel patch also patches Mame so it can unpause when exiting CPWizard so it's not just for using bezels.CPWizard supports command.dat using the standard command line Mame so you don't need those other versions. It's just another option in the menu called "Control Info". Quote Link to comment Share on other sites More sharing options...
Visitor Q Posted October 16, 2008 Share Posted October 16, 2008 VisitorQ: The bezel patch also patches Mame so it can unpause when exiting CPWizard so it's not just for using bezels.CPWizard supports command.dat using the standard command line Mame so you don't need those other versions. It's just another option in the menu called "Control Info".Hmmm... I am not 100% sure but I think when I assigned â??Pâ? to a button and used the option for an exit key, made it â??Pâ? as well I was able to exit both pause and CPWiz.I will have to try command.dat tonight. Quote Link to comment Share on other sites More sharing options...
Visitor Q Posted October 17, 2008 Share Posted October 17, 2008 command.dat works just fine.Ok so now I got another questions. In Game Ex it uses a lot of these files like catver.ini, nplayers.ini etc. but they are located in my Game Ex Data folder and CPWiz has it's own data folder. Should I just keep both these dirs up to date with the same files or can I pick one dir and have both programs look to it so I can't make a mistake not updating one when new files come out?Thanks. Quote Link to comment Share on other sites More sharing options...
headkaze Posted October 17, 2008 Author Share Posted October 17, 2008 command.dat works just fine.Ok so now I got another questions. In Game Ex it uses a lot of these files like catver.ini, nplayers.ini etc. but they are located in my Game Ex Data folder and CPWiz has it's own data folder. Should I just keep both these dirs up to date with the same files or can I pick one dir and have both programs look to it so I can't make a mistake not updating one when new files come out?Thanks.Have a look in CPWizard.ini under [DataFiles] you can set your own paths there, but I suggest you leave ListInfo and MiniInfo the way they are. Quote Link to comment Share on other sites More sharing options...
Visitor Q Posted October 17, 2008 Share Posted October 17, 2008 Have a look in CPWizard.ini under [DataFiles] you can set your own paths there, but I suggest you leave ListInfo and MiniInfo the way they are.Should I move all the rest to the Game Ex Data dir and by that I mean every single file in CPWiz data dir except those two files you mentioned? Quote Link to comment Share on other sites More sharing options...
headkaze Posted October 17, 2008 Author Share Posted October 17, 2008 I would only move the data files that GameEx uses the same as CPWizard. Quote Link to comment Share on other sites More sharing options...
Visitor Q Posted October 17, 2008 Share Posted October 17, 2008 I would only move the data files that GameEx uses the same as CPWizard.Ok... I will take a look at it here over the weekend.Thanks. Quote Link to comment Share on other sites More sharing options...
kingb33 Posted October 19, 2008 Share Posted October 19, 2008 Hey HeadKaze, any chance we would see the ability to leave CPWizard up on a 2nd monitor and it not pausing MAME anytime soon....? Quote Link to comment Share on other sites More sharing options...
Visitor Q Posted October 19, 2008 Share Posted October 19, 2008 I would only move the data files that GameEx uses the same as CPWizard.I was thinking about this...If I move the files that only Game Ex uses and change the CPWizard.ini under [DataFiles] as you say, the files that I leave behind in the CPWizard Data Dir, how will the program know to use them if I change that path in the CPWizard.ini?You see what I am saying? Quote Link to comment Share on other sites More sharing options...
bkenobi Posted October 20, 2008 Share Posted October 20, 2008 HK was just suggesting that you keep the files that both programs use in a single location so that when they need updating you only have to do it once. You can certainly keep one copy of these files for each application that uses them, it just means you will have to remember each location when you do an update. I personally keep all dat type files in one location (C:\Emu\MAME\DATS). When I update MAME, I update all of the files in that directory that I can (some don't get updated that often since their authors don't...controls.dat for instance). There's no "right" or "wrong" way to do it. 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.