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. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Ok, here is my log from when it happens.

10/14/2008 5:24:37 PM: CPWizard v1.91

10/14/2008 5:24:38 PM: OS: Microsoft® Windows Vista� Ultimate

10/14/2008 5:24:38 PM: Version: 6.0.6001

10/14/2008 5:24:38 PM: Build: 6001

10/14/2008 5:24:38 PM: RAM Total: 4095 MB

10/14/2008 5:24:38 PM: RAM Used: 1416 MB

10/14/2008 5:24:39 PM: CPU: Intel® Core2 Duo CPU E8500 @ 3.16GHz

10/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.809

10/14/2008 5:24:39 PM: Video RAM: 512 MB

10/14/2008 5:24:39 PM: Sound Card: High Definition Audio Device

10/14/2008 5:24:39 PM: Sound Card: High Definition Audio Device

10/14/2008 5:24:39 PM: .NET: .NET Framework 2.0 Installed

10/14/2008 5:24:39 PM: Initializing InterComm Manager

10/14/2008 5:24:39 PM: Initializing Cmd Line Watcher

10/14/2008 5:24:39 PM: Starting InterComm Manager

10/14/2008 5:24:39 PM: Initializing Display Manager

10/14/2008 5:24:39 PM: Initializing Program Manager

10/14/2008 5:24:39 PM: Reading Config

10/14/2008 5:24:39 PM: Initializing Main Menu

10/14/2008 5:24:39 PM: Initializing Layout Manager

10/14/2008 5:24:39 PM: Initializing Controls Data

10/14/2008 5:24:39 PM: Initializing Input Codes

10/14/2008 5:24:40 PM: Initializing Layout Maps

10/14/2008 5:24:40 PM: Initializing Game Info

10/14/2008 5:24:40 PM: Initializing History Dat

10/14/2008 5:24:40 PM: Initializing MameInfo Dat

10/14/2008 5:24:40 PM: Initializing Command Dat

10/14/2008 5:24:41 PM: Initializing Story Dat

10/14/2008 5:24:41 PM: Initializing Artwork Manager

10/14/2008 5:24:41 PM: Initializing Mame Manuals

10/14/2008 5:24:41 PM: Initializing Emulator Manuals

10/14/2008 5:24:41 PM: Initializing Emulator OpCard

10/14/2008 5:24:41 PM: Initializing NFO Viewer

10/14/2008 5:24:41 PM: Initializing IRC

10/14/2008 5:24:41 PM: Initializing SendKeys

10/14/2008 5:24:41 PM: Initializing Mame Interop

10/14/2008 5:24:41 PM: Initializing Mame Manager

10/14/2008 5:24:41 PM: Initializing Emulator Manager

10/14/2008 5:24:41 PM: Initializing Keyboard Hook

10/14/2008 5:24:41 PM: Initializing Direct Input

10/14/2008 5:24:41 PM: Initializing MCE Remote

10/14/2008 5:24:41 PM: Initializing Input Manager

10/14/2008 5:24:41 PM: Initializing Profiles

10/14/2008 5:24:42 PM: Initializing Bezel

10/14/2008 5:24:42 PM: Reading Mame Data

10/14/2008 5:24:42 PM: Reading MiniInfo Xml

10/14/2008 5:24:43 PM: Mame Version 0.127

10/14/2008 5:24:43 PM: Reading Mame Ini

10/14/2008 5:24:43 PM: Initializing Mame Cfg

10/14/2008 5:24:43 PM: Initializing Mame Command Line

10/14/2008 5:24:43 PM: Reading History Dat

10/14/2008 5:24:45 PM: Reading MameInfo Dat

10/14/2008 5:24:46 PM: Reading Command Dat

10/14/2008 5:24:46 PM: Reading Story Dat

10/14/2008 5:24:47 PM: Reading All Mame Cfg's

10/14/2008 5:24:47 PM: Creating MainBitmap

10/14/2008 5:24:47 PM: Starting Mame Interop

10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> OnMameStart

10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> GameName: donpachi

10/14/2008 5:25:20 PM: OnMameStop (MameManager) -> OnMameStop

10/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 Mode

10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Getting Game Details

10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Showing Layout Form

10/14/2008 5:25:30 PM: Show (frmLayout) -> frmLayout hWnd: 0x590558

10/14/2008 5:25:30 PM: ForceForegroundWindow (HideDesktop) -> Foreground hWnd: 0x590558

10/14/2008 5:25:30 PM: Show (frmLayout) -> Success! Foreground hWnd: 0x590558

10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Display Mode is Layout

10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Hiding Main Menu

10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Resetting Menu

10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Setting Exit To Menu False

10/14/2008 5:25:30 PM: ShowScreen (ProgramManager) -> Showing Layout

10/14/2008 5:25:32 PM: CPForm_FormClosing (frmLayout) -> Closing

10/14/2008 5:25:33 PM: OnMameStart (MameManager) -> OnMameStart

10/14/2008 5:25:33 PM: OnMameStart (MameManager) -> GameName: kinst

10/14/2008 5:25:47 PM: OnMamePaused (MameManager) -> OnMamePaused

10/14/2008 5:25:47 PM: OnMamePaused (MameManager) -> Showing Mame

10/14/2008 5:25:47 PM: Show (ProgramManager) -> Show

10/14/2008 5:25:47 PM: Show (ProgramManager) -> Mame Running

10/14/2008 5:25:47 PM: Show (ProgramManager) -> Searching for Mame

10/14/2008 5:25:47 PM: FindMame (MameManager) -> Mame Running hWnd: 0x656094

10/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_gameinfo

10/14/2008 5:25:48 PM: Show (ProgramManager) -> Game Found: kinst

10/14/2008 5:25:48 PM: Show (ProgramManager) -> Getting Game Details

10/14/2008 5:25:48 PM: Show (ProgramManager) -> Taking Screenshot

10/14/2008 5:25:48 PM: Show (ProgramManager) -> Minimizing Mame

10/14/2008 5:25:48 PM: MinimizeMame (MameManager) -> Minimizing Mame hWnd: 0x656094

10/14/2008 5:25:48 PM: Show (ProgramManager) -> Showing Loading Form

10/14/2008 5:25:48 PM: ShowLoading (ProgramManager) -> Showing Loading Form: 0

10/14/2008 5:25:48 PM: Show (ProgramManager) -> Showing Layout Form

10/14/2008 5:25:48 PM: Show (frmLayout) -> frmLayout hWnd: 0x66278

10/14/2008 5:25:48 PM: ForceForegroundWindow (HideDesktop) -> Foreground hWnd: 0x66278

10/14/2008 5:25:48 PM: Show (frmLayout) -> Success! Foreground hWnd: 0x66278

10/14/2008 5:25:48 PM: Show (ProgramManager) -> Show CP Only is False

10/14/2008 5:25:48 PM: Show (ProgramManager) -> Exit To Menu is True

10/14/2008 5:25:48 PM: Show (ProgramManager) -> Display Mode is MainMenu

10/14/2008 5:25:48 PM: ShowScreen (ProgramManager) -> Hiding Main Menu

10/14/2008 5:25:48 PM: ShowScreen (ProgramManager) -> Resetting Menu

10/14/2008 5:25:48 PM: ShowScreen (ProgramManager) -> Setting Exit To Menu True

10/14/2008 5:25:48 PM: ShowScreen (ProgramManager) -> Showing MainMenu

10/14/2008 5:26:10 PM: OnMameStop (MameManager) -> OnMameStop

10/14/2008 5:26:10 PM: OnMameStop (MameManager) -> Success

10/14/2008 5:27:15 PM: CPForm_FormClosing (frmLayout) -> Closing

Posted
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=Nintendo
P1_MISC=
P2_MISC=
GAME_MISC=
[Bases Loaded]
JOYCODE_1_UP=Up
JOYCODE_1_DOWN=Down
JOYCODE_1_LEFT=Left
JOYCODE_1_RIGHT=Right
JOYCODE_1_BUTTON1=Steal
JOYCODE_1_BUTTON2=Swing / Return
JOYCODE_2_UP=Up
JOYCODE_2_DOWN=Down
JOYCODE_2_LEFT=Left
JOYCODE_2_RIGHT=Right
JOYCODE_2_BUTTON1=Pick-Off
JOYCODE_2_BUTTON2=Pitch / Throw
P1_MISC=Batting / Baserunning
P2_MISC=Pitching / Fielding

I 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...

Posted

VistorQ: For some reason Mame is shutting down before CPWizard is being shown

10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> OnMameStart
10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> GameName: donpachi
10/14/2008 5:25:20 PM: OnMameStop (MameManager) -> OnMameStop
10/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?

Posted
VistorQ: For some reason Mame is shutting down before CPWizard is being shown

10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> OnMameStart
10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> GameName: donpachi
10/14/2008 5:25:20 PM: OnMameStop (MameManager) -> OnMameStop
10/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.

Posted

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...

Posted

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 :unsure:

Posted
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 saving

I 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.

Posted
VistorQ: For some reason Mame is shutting down before CPWizard is being shown

10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> OnMameStart
10/14/2008 5:25:14 PM: OnMameStart (MameManager) -> GameName: donpachi
10/14/2008 5:25:20 PM: OnMameStop (MameManager) -> OnMameStop
10/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. :blink:

I guess you can't fix something that is no longer broke. :P

Glad it is working cause I really like it, can't wait to explore everything it does.

Keeping my figures crossed. :unsure:

Thanks. :)

Posted

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.

Posted

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 "&".

Posted
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. :o

My Bad.

Now if you can figure out my zip problem (unrelated to CPWiz) I will be all set. ;)

Posted

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.

Posted
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?

Posted

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!

Posted

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".

Posted
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.

Posted

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.

Posted
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.

Posted
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?

Posted
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?

Posted

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.

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...