Quixote Quest Posted June 20, 2008 Share Posted June 20, 2008 Yep, it could very well be an Id problem. Also Quixote Quest can I suggest you download my UltraStikTest program from here and see if you can program your joysticks with that. It's using the same library as my plugin so it should make it easier to test rather than launching GameEx.HK: I see your "PlugInUltraStik.zip" at that link but not your UltraStikTest program, nor at your Soul Caliber site. (Cool cab and nice GameEx skin, BTW.) Quote Link to comment Share on other sites More sharing options...
headkaze Posted June 20, 2008 Author Share Posted June 20, 2008 HK: I see your "PlugInUltraStik.zip" at that link but not your UltraStikTest program, nor at your Soul Caliber site. (Cool cab and nice GameEx skin, BTW.)That link should take you to the 4th post in this thread. It's definately there! Quote Link to comment Share on other sites More sharing options...
Tempest Posted June 20, 2008 Share Posted June 20, 2008 Andy suggests that the PID for my Stik #1 is likely corrupted, so it looks like I'll have to mess around with regedit this weekend and see if that resolves things.Cheers!Yeah, I forgot about that! I had the same problem... If you are using USB devices, always make sure to plug each device into the same port everytime. Andy has directions on how to edit the registry to fix this (which I'm sure he gave you). I had to do the same thing before... It's not a big deal, but make a backup of your registry first just in case. Quote Link to comment Share on other sites More sharing options...
Brian Hoffman Posted June 20, 2008 Share Posted June 20, 2008 Yeah, I forgot about that! I had the same problem... If you are using USB devices, always make sure to plug each device into the same port everytime. Andy has directions on how to edit the registry to fix this (which I'm sure he gave you). I had to do the same thing before... It's not a big deal, but make a backup of your registry first just in case. There is a utility hosed here on the main page that will let you designate diffrent pid's for the same joystick hardware.Dont know if that will work but I thought Id throw it out there Quote Link to comment Share on other sites More sharing options...
Quixote Quest Posted June 21, 2008 Share Posted June 21, 2008 That link should take you to the 4th post in this thread. It's definately there!Okay, I found your test app by just clicking the thread tree. Anyhow: an update first: I used REGEDT to delete the PID for my Stiks, replugged them and now they are both working great. Ultramap 1.19 is working too. Firmware IDs at v2.3. Now as to your test app: I'm not sure exactly how it is supposed to work, but here is what I did: I chose ID 1 in the ID field; Chose "joy4way" in the Map drop down list; clicked the "Set Map" button at its right. Then, in the Map File directory field I browsed to set the path to your UltraStikTest "4-Way.um" file and clicked "open"; this filled the path field in your UltraStikTest app interface; Lastly, I clicked the "Set Map File" button at its right.I did not do anything with the "Set Flash" and "Set RAM" buttons.Then I ran Pac-Man directly via MAME3264 (v.111) app but not via GameEx. It definitely was not playing as the 4-way. I quit MAME.Does that mean that your plugin is not/will not be working? Something different I should be doing?Thanks Quote Link to comment Share on other sites More sharing options...
headkaze Posted June 21, 2008 Author Share Posted June 21, 2008 Okay, I found your test app by just clicking the thread tree. Anyhow: an update first: I used REGEDT to delete the PID for my Stiks, replugged them and now they are both working great. Ultramap 1.19 is working too. Firmware IDs at v2.3. Now as to your test app: I'm not sure exactly how it is supposed to work, but here is what I did: I chose ID 1 in the ID field; Chose "joy4way" in the Map drop down list; clicked the "Set Map" button at its right. Then, in the Map File directory field I browsed to set the path to your UltraStikTest "4-Way.um" file and clicked "open"; this filled the path field in your UltraStikTest app interface; Lastly, I clicked the "Set Map File" button at its right.I did not do anything with the "Set Flash" and "Set RAM" buttons.Then I ran Pac-Man directly via MAME3264 (v.111) app but not via GameEx. It definitely was not playing as the 4-way. I quit MAME.Does that mean that your plugin is not/will not be working? Something different I should be doing?ThanksNo that's not what your supposed to do. Don't use any of the Id stuff, that is supposed to set the Id of the joystick, not something you want to do. You want to test the programming of the joysticks.It says "Select Joystick:" above the list of devices it's found. So, you must select a joystick first by clicking it and hilighting it in the list, then try programming it by (A) Selecting a map from the drop down list and using the "Set Map" button and (B ) Browsing to a map file and using the "Set Map File" button.Don't worry about the Set Flash or Set RAM buttons. Also you can run UltraMap at the same time as my test program to view the + cursor to see if the maps are being programmed okay. You can tell it's a 4way when the little + only moves up, down, left or right. If you program 8 way it should move in 8 directions and analog should move anywhere etc. You don't need to run Mame to see if the programming of the joysticks is working. Quote Link to comment Share on other sites More sharing options...
Quixote Quest Posted June 22, 2008 Share Posted June 22, 2008 Ben:It's working. Thank you for all the patience and help! This is cool! Quote Link to comment Share on other sites More sharing options...
benjam47 Posted July 8, 2008 Share Posted July 8, 2008 After struggling with this plugin for a few days, I was about to come on here and plead for help, but I think a last ditch effort paid off. . .In order for this plugin to work, I have to start GameEx using "Run as Administrator" (I'm running Vista obviously). Same with the test program attached to this thread. I need to do some more testing but that *seems* to have resolved my problems (previously, the plugin did not appear to ever successfully change the map)Hope this helps anyone with a similar problem.Thanks for the plugin HeadKaze! Just one suggestion: Please add the path/filename of the mapfile that was loaded to the log, and any file access errors. Even after reading the docs, I spent some time guessing as to which path it was trying to read the map from, whether or not I was supposed to include the .um extension in the .ini file, and whether there were any permission errors reading the file. For example, if I instruct the plugin to load a map that I know doesn't exist, the log shows that it has selected that map, but no error messages when it tries to read the file Quote Link to comment Share on other sites More sharing options...
headkaze Posted January 27, 2009 Author Share Posted January 27, 2009 Version 1.2 Released- You can now change the map when Mame is paused so you can browse the menus in CPWizard.I really need feedback on this if it works or not as I have not done any testing!You can specify the map to use when Mame is paused in PlugInUltraStik.iniEg.[Mame]pause=joy4way Quote Link to comment Share on other sites More sharing options...
Wombat Posted January 29, 2009 Share Posted January 29, 2009 Yes..but...no..but...Intsalled both the new version of CPWizard and this Ultrastik plugin last night. In case it has any bearing on the issue I'll say now that I'm just one level behind the latest version of GameEx just recently released.I unzip into the appropriate place the new version of the plugin and try running an 8-way game (Do Don Pachi)... no problems (other thasn that discussed in my separate post about my CPWizard issues)... played a four-way game (Frogger) also okay, then tried so two-way horizontal games. Circus Charlie and Moon Patrol (as well as the others) both worked okay both in the game and navigating the CPWizard menu... i.e. I had vertical movement in the CPWizard pause menu when playing these two-way horizontal games.However I then loaded Galaga (also a two-way horizontal game) and as the game was going through its attract sequence GameEX aborted (i.e. I didn't even reach for the pause button) Attached you can see a screenshot of the resultant screen.If I go and turn the Ultrastik plugin off, Galaga runs okay under GameEx... turn it back on, it aborts. Doesn't seem to be anything of value inside the GameEx or CPwizard log but I'll post a snippet here of a similar rerun anyway.GameEx log:19:35:06.3 28/01/2009: Restoring Emulator Database From Cache19:35:06.4 28/01/2009: Restoring Emulator from Cache19:35:06.4 28/01/2009: Restoring Emulator Database From Cache19:35:09.4 28/01/2009: Running: cmd.exe /c C: C:\mame\mame.exe ddonpach -rompath C:\mame\roms -nowindow -joy -skip_gameinfo19:35:45.8 28/01/2009: Running: cmd.exe /c C: C:\mame\mame.exe mpatrol -rompath C:\mame\roms -nowindow -joy -skip_gameinfo19:35:45.8 28/01/2009: Launching CPWizard: "C:\Program Files\CPWizard\CPWizard.exe" -emu mame -game mpatrol -timeout 900019:36:33.3 28/01/2009: Running: cmd.exe /c C: C:\mame\mame.exe galaga -rompath C:\mame\roms -nowindow -joy -skip_gameinfo19:36:33.3 28/01/2009: Launching CPWizard: "C:\Program Files\CPWizard\CPWizard.exe" -emu mame -game galaga -timeout 9000CpWizard log:28/01/2009 7:34:35 PM: CPWizard v2.1128/01/2009 7:34:35 PM: OS: Microsoft Windows XP Home Edition28/01/2009 7:34:35 PM: Version: 5.1.260028/01/2009 7:34:35 PM: Build: 260028/01/2009 7:34:35 PM: RAM Total: 3072 MB28/01/2009 7:34:35 PM: RAM Used: 392 MB28/01/2009 7:34:36 PM: CPU: Intel® Core(tm)2 Duo CPU E6850 @ 3.00GHz28/01/2009 7:34:36 PM: Video Card: NVIDIA GeForce 8600 GT 28/01/2009 7:34:36 PM: Video Driver: 6.14.11.751628/01/2009 7:34:36 PM: Video RAM: 512 MB28/01/2009 7:34:36 PM: Sound Card: Realtek High Definition Audio28/01/2009 7:34:36 PM: .NET: .NET Framework 2.0 Installed28/01/2009 7:34:36 PM: Initializing InterComm Manager28/01/2009 7:34:36 PM: Initializing Cmd Line Watcher28/01/2009 7:34:36 PM: Starting InterComm Manager28/01/2009 7:34:36 PM: Initializing Display Manager28/01/2009 7:34:36 PM: Initializing Program Manager28/01/2009 7:34:36 PM: Reading Config28/01/2009 7:34:36 PM: Initializing Main Menu28/01/2009 7:34:36 PM: Initializing Layout Manager28/01/2009 7:34:36 PM: Initializing Controls Data28/01/2009 7:34:36 PM: Initializing Input Codes28/01/2009 7:34:36 PM: Initializing Layout Maps28/01/2009 7:34:36 PM: Initializing Game Info28/01/2009 7:34:36 PM: Initializing History Dat28/01/2009 7:34:36 PM: Initializing MameInfo Dat28/01/2009 7:34:36 PM: Initializing Command Dat28/01/2009 7:34:37 PM: Initializing Story Dat28/01/2009 7:34:37 PM: Initializing HiToText28/01/2009 7:34:37 PM: Initializing Artwork Manager28/01/2009 7:34:37 PM: Initializing Mame Manuals28/01/2009 7:34:37 PM: Initializing Emulator Manuals28/01/2009 7:34:37 PM: Initializing Emulator OpCard28/01/2009 7:34:37 PM: Initializing NFO Viewer28/01/2009 7:34:37 PM: Initializing IRC28/01/2009 7:34:37 PM: Initializing SendKeys28/01/2009 7:34:37 PM: Initializing Mame Interop28/01/2009 7:34:37 PM: Initializing Mame Manager28/01/2009 7:34:37 PM: Initializing Emulator Manager28/01/2009 7:34:37 PM: Initializing Keyboard Hook28/01/2009 7:34:37 PM: Initializing Direct Input28/01/2009 7:34:37 PM: Joystick 1: Ultimarc Ultra-Stik Player 128/01/2009 7:34:37 PM: Joystick 2: Ultimarc Ultra-Stik Player 228/01/2009 7:34:37 PM: Initializing MCE Remote28/01/2009 7:34:37 PM: Initializing Input Manager28/01/2009 7:34:37 PM: Initializing Profiles28/01/2009 7:34:37 PM: Initializing Bezel28/01/2009 7:34:37 PM: Reading Mame Data28/01/2009 7:34:37 PM: Reading MiniInfo Xml28/01/2009 7:34:38 PM: Mame Version 0.12928/01/2009 7:34:38 PM: Reading Mame Ini28/01/2009 7:34:38 PM: Initializing Mame Cfg28/01/2009 7:34:38 PM: Initializing Mame Command Line28/01/2009 7:34:38 PM: Reading History Dat28/01/2009 7:34:38 PM: Reading MameInfo Dat28/01/2009 7:34:38 PM: Reading Command Dat28/01/2009 7:34:39 PM: Reading All Mame Cfg's28/01/2009 7:34:39 PM: Reading Mame Ctrlr File28/01/2009 7:34:40 PM: Creating MainBitmap28/01/2009 7:34:40 PM: Starting Mame Interop28/01/2009 7:35:12 PM: OnMameStart (MameManager) -> OnMameStart28/01/2009 7:35:12 PM: OnMameStart (MameManager) -> GameName: ddonpach28/01/2009 7:35:20 PM: OnMamePaused (MameManager) -> OnMamePaused28/01/2009 7:35:20 PM: OnMamePaused (MameManager) -> Showing Mame28/01/2009 7:35:20 PM: Show (ProgramManager) -> Show28/01/2009 7:35:20 PM: Show (ProgramManager) -> Mame Running28/01/2009 7:35:20 PM: Show (ProgramManager) -> Searching for Mame28/01/2009 7:35:20 PM: FindMame (MameManager) -> Mame Running hWnd: 0x235949628/01/2009 7:35:20 PM: FindMame (MameManager) -> Window Rect: {X=0,Y=0,Width=1920,Height=1200}28/01/2009 7:35:20 PM: FindMame (MameManager) -> Command Line: mame.exe ddonpach -rompath "C:\mame\roms" -nowindow -joy -skip_gameinfo28/01/2009 7:35:20 PM: Show (ProgramManager) -> Game Found: ddonpach28/01/2009 7:35:20 PM: Show (ProgramManager) -> Getting Game Details28/01/2009 7:35:20 PM: Show (ProgramManager) -> Taking Screenshot28/01/2009 7:35:20 PM: Show (ProgramManager) -> Minimizing Mame28/01/2009 7:35:20 PM: MinimizeMame (MameManager) -> Minimizing Mame hWnd: 0x235949628/01/2009 7:35:20 PM: Show (ProgramManager) -> Showing Loading Screens28/01/2009 7:35:20 PM: ShowLoading (ProgramManager) -> Showing Loading Form: 028/01/2009 7:35:20 PM: Show (ProgramManager) -> Showing Layout Form28/01/2009 7:35:20 PM: Show (frmLayout) -> frmLayout hWnd: 0x6612628/01/2009 7:35:20 PM: ForceForegroundWindow (HideDesktop) -> Already Foreground hWnd: 0x6612628/01/2009 7:35:20 PM: Show (frmLayout) -> Success! Foreground hWnd: 0x66126 (Preview)28/01/2009 7:35:20 PM: Show (ProgramManager) -> Show CP Only is False28/01/2009 7:35:20 PM: Show (ProgramManager) -> Exit To Menu is True28/01/2009 7:35:20 PM: Show (ProgramManager) -> Display Mode is MainMenu28/01/2009 7:35:20 PM: ShowScreen (ProgramManager) -> Hiding Main Menu28/01/2009 7:35:20 PM: ShowScreen (ProgramManager) -> Resetting Menu28/01/2009 7:35:20 PM: ShowScreen (ProgramManager) -> Setting Exit To Menu True28/01/2009 7:35:20 PM: ShowScreen (ProgramManager) -> Showing MainMenu28/01/2009 7:35:32 PM: CPForm_FormClosing (frmLayout) -> Closing28/01/2009 7:35:32 PM: RestoreMame (MameManager) -> Restoring Mame hWnd: 0x235949628/01/2009 7:35:32 PM: Show (ProgramManager) -> Closing Loading Screens28/01/2009 7:35:33 PM: OnMameUnPaused (MameManager) -> OnMameUnPaused28/01/2009 7:35:35 PM: OnMameStop (MameManager) -> OnMameStop28/01/2009 7:35:35 PM: OnMameStop (MameManager) -> Success28/01/2009 7:35:46 PM: ShowScreen (ProgramManager) -> ShowScreen: Layout (Display Mode) False (Layout Override) False (Exit To Menu) False (Dynamic Load)28/01/2009 7:35:46 PM: ShowScreen (ProgramManager) -> Mame Mode28/01/2009 7:35:46 PM: ShowScreen (ProgramManager) -> Getting Game Details28/01/2009 7:35:46 PM: ShowScreen (ProgramManager) -> Showing Layout Form28/01/2009 7:35:46 PM: Show (frmLayout) -> frmLayout hWnd: 0x294932028/01/2009 7:35:46 PM: ForceForegroundWindow (HideDesktop) -> Foreground hWnd: 0x028/01/2009 7:35:46 PM: Show (frmLayout) -> Failed! Foreground hWnd: 0x0 ()28/01/2009 7:35:46 PM: ShowScreen (ProgramManager) -> Display Mode is Layout28/01/2009 7:35:46 PM: ShowScreen (ProgramManager) -> Hiding Main Menu28/01/2009 7:35:46 PM: ShowScreen (ProgramManager) -> Resetting Menu28/01/2009 7:35:46 PM: ShowScreen (ProgramManager) -> Setting Exit To Menu False28/01/2009 7:35:46 PM: ShowScreen (ProgramManager) -> Showing Layout28/01/2009 7:35:48 PM: Show (frmLayout) -> frmLayout hWnd: 0x294932028/01/2009 7:35:48 PM: Show (frmLayout) -> Attempting Try 328/01/2009 7:35:48 PM: ForceForegroundWindow (HideDesktop) -> Foreground hWnd: 0x294932028/01/2009 7:35:48 PM: Show (frmLayout) -> Success! Foreground hWnd: 0x2949320 (Preview)28/01/2009 7:35:49 PM: CPForm_FormClosing (frmLayout) -> Closing28/01/2009 7:35:49 PM: Show (ProgramManager) -> Closing Loading Screens28/01/2009 7:35:50 PM: OnMameStart (MameManager) -> OnMameStart28/01/2009 7:35:50 PM: OnMameStart (MameManager) -> GameName: mpatrol28/01/2009 7:36:02 PM: OnMamePaused (MameManager) -> OnMamePaused28/01/2009 7:36:02 PM: OnMamePaused (MameManager) -> Showing Mame28/01/2009 7:36:02 PM: Show (ProgramManager) -> Show28/01/2009 7:36:02 PM: Show (ProgramManager) -> Mame Running28/01/2009 7:36:02 PM: Show (ProgramManager) -> Searching for Mame28/01/2009 7:36:02 PM: FindMame (MameManager) -> Mame Running hWnd: 0x301485628/01/2009 7:36:02 PM: FindMame (MameManager) -> Window Rect: {X=0,Y=0,Width=1920,Height=1200}28/01/2009 7:36:02 PM: FindMame (MameManager) -> Command Line: mame.exe mpatrol -rompath "C:\mame\roms" -nowindow -joy -skip_gameinfo28/01/2009 7:36:02 PM: Show (ProgramManager) -> Game Found: mpatrol28/01/2009 7:36:02 PM: Show (ProgramManager) -> Getting Game Details28/01/2009 7:36:02 PM: Show (ProgramManager) -> Taking Screenshot28/01/2009 7:36:02 PM: Show (ProgramManager) -> Minimizing Mame28/01/2009 7:36:02 PM: MinimizeMame (MameManager) -> Minimizing Mame hWnd: 0x301485628/01/2009 7:36:02 PM: Show (ProgramManager) -> Showing Loading Screens28/01/2009 7:36:02 PM: ShowLoading (ProgramManager) -> Showing Loading Form: 028/01/2009 7:36:02 PM: Show (ProgramManager) -> Showing Layout Form28/01/2009 7:36:02 PM: Show (frmLayout) -> frmLayout hWnd: 0x13169228/01/2009 7:36:02 PM: ForceForegroundWindow (HideDesktop) -> Foreground hWnd: 0x13169228/01/2009 7:36:02 PM: Show (frmLayout) -> Success! Foreground hWnd: 0x131692 (Preview)28/01/2009 7:36:02 PM: Show (ProgramManager) -> Show CP Only is False28/01/2009 7:36:02 PM: Show (ProgramManager) -> Exit To Menu is True28/01/2009 7:36:02 PM: Show (ProgramManager) -> Display Mode is MainMenu28/01/2009 7:36:02 PM: ShowScreen (ProgramManager) -> Hiding Main Menu28/01/2009 7:36:02 PM: ShowScreen (ProgramManager) -> Resetting Menu28/01/2009 7:36:02 PM: ShowScreen (ProgramManager) -> Setting Exit To Menu True28/01/2009 7:36:02 PM: ShowScreen (ProgramManager) -> Showing MainMenu28/01/2009 7:36:02 PM: CPForm_FormClosing (frmLayout) -> Closing28/01/2009 7:36:02 PM: RestoreMame (MameManager) -> Restoring Mame hWnd: 0x301485628/01/2009 7:36:02 PM: Show (ProgramManager) -> Closing Loading Screens28/01/2009 7:36:11 PM: OnMameUnPaused (MameManager) -> OnMameUnPaused28/01/2009 7:36:14 PM: OnMamePaused (MameManager) -> OnMamePaused28/01/2009 7:36:14 PM: OnMamePaused (MameManager) -> Showing Mame28/01/2009 7:36:14 PM: Show (ProgramManager) -> Show28/01/2009 7:36:14 PM: Show (ProgramManager) -> Mame Running28/01/2009 7:36:14 PM: Show (ProgramManager) -> Searching for Mame28/01/2009 7:36:14 PM: FindMame (MameManager) -> Mame Running hWnd: 0x301485628/01/2009 7:36:14 PM: FindMame (MameManager) -> Window Rect: {X=0,Y=0,Width=1920,Height=1200}28/01/2009 7:36:14 PM: FindMame (MameManager) -> Command Line: mame.exe mpatrol -rompath "C:\mame\roms" -nowindow -joy -skip_gameinfo28/01/2009 7:36:14 PM: Show (ProgramManager) -> Game Found: mpatrol28/01/2009 7:36:14 PM: Show (ProgramManager) -> Getting Game Details28/01/2009 7:36:14 PM: Show (ProgramManager) -> Taking Screenshot28/01/2009 7:36:14 PM: Show (ProgramManager) -> Minimizing Mame28/01/2009 7:36:14 PM: MinimizeMame (MameManager) -> Minimizing Mame hWnd: 0x301485628/01/2009 7:36:14 PM: Show (ProgramManager) -> Showing Loading Screens28/01/2009 7:36:14 PM: ShowLoading (ProgramManager) -> Showing Loading Form: 028/01/2009 7:36:14 PM: Show (ProgramManager) -> Showing Layout Form28/01/2009 7:36:14 PM: Show (frmLayout) -> frmLayout hWnd: 0x32829628/01/2009 7:36:14 PM: ForceForegroundWindow (HideDesktop) -> Foreground hWnd: 0x32829628/01/2009 7:36:14 PM: Show (frmLayout) -> Success! Foreground hWnd: 0x328296 (Preview)28/01/2009 7:36:14 PM: Show (ProgramManager) -> Show CP Only is False28/01/2009 7:36:14 PM: Show (ProgramManager) -> Exit To Menu is True28/01/2009 7:36:14 PM: Show (ProgramManager) -> Display Mode is MainMenu28/01/2009 7:36:14 PM: ShowScreen (ProgramManager) -> Hiding Main Menu28/01/2009 7:36:14 PM: ShowScreen (ProgramManager) -> Resetting Menu28/01/2009 7:36:14 PM: ShowScreen (ProgramManager) -> Setting Exit To Menu True28/01/2009 7:36:14 PM: ShowScreen (ProgramManager) -> Showing MainMenu28/01/2009 7:36:14 PM: CPForm_FormClosing (frmLayout) -> Closing28/01/2009 7:36:14 PM: RestoreMame (MameManager) -> Restoring Mame hWnd: 0x301485628/01/2009 7:36:14 PM: Show (ProgramManager) -> Closing Loading Screens28/01/2009 7:36:20 PM: OnMameUnPaused (MameManager) -> OnMameUnPaused28/01/2009 7:36:24 PM: OnMameStop (MameManager) -> OnMameStop28/01/2009 7:36:24 PM: OnMameStop (MameManager) -> Success28/01/2009 7:36:33 PM: ShowScreen (ProgramManager) -> ShowScreen: Layout (Display Mode) False (Layout Override) False (Exit To Menu) False (Dynamic Load)28/01/2009 7:36:33 PM: ShowScreen (ProgramManager) -> Mame Mode28/01/2009 7:36:33 PM: ShowScreen (ProgramManager) -> Getting Game Details28/01/2009 7:36:33 PM: ShowScreen (ProgramManager) -> Showing Layout Form28/01/2009 7:36:33 PM: Show (frmLayout) -> frmLayout hWnd: 0x360468028/01/2009 7:36:33 PM: ForceForegroundWindow (HideDesktop) -> Foreground hWnd: 0x028/01/2009 7:36:33 PM: Show (frmLayout) -> Failed! Foreground hWnd: 0x0 ()28/01/2009 7:36:33 PM: ShowScreen (ProgramManager) -> Display Mode is Layout28/01/2009 7:36:33 PM: ShowScreen (ProgramManager) -> Hiding Main Menu28/01/2009 7:36:33 PM: ShowScreen (ProgramManager) -> Resetting Menu28/01/2009 7:36:33 PM: ShowScreen (ProgramManager) -> Setting Exit To Menu False28/01/2009 7:36:33 PM: ShowScreen (ProgramManager) -> Showing Layout28/01/2009 7:36:35 PM: Show (frmLayout) -> frmLayout hWnd: 0x360468028/01/2009 7:36:35 PM: Show (frmLayout) -> Attempting Try 328/01/2009 7:36:35 PM: ForceForegroundWindow (HideDesktop) -> Foreground hWnd: 0x360468028/01/2009 7:36:35 PM: Show (frmLayout) -> Success! Foreground hWnd: 0x3604680 (Preview)28/01/2009 7:36:39 PM: CPForm_FormClosing (frmLayout) -> Closing28/01/2009 7:36:39 PM: Show (ProgramManager) -> Closing Loading Screens28/01/2009 7:36:40 PM: OnMameStart (MameManager) -> OnMameStart28/01/2009 7:36:40 PM: OnMameStart (MameManager) -> GameName: galaga28/01/2009 7:36:55 PM: OnMameOutput (MameManager) -> OnMameOutput: led1,028/01/2009 7:36:55 PM: OnMameOutput (MameManager) -> OnMameOutput: led0,028/01/2009 7:37:10 PM: OnMameStop (MameManager) -> OnMameStop28/01/2009 7:37:10 PM: OnMameStop (MameManager) -> SuccessHmm...now that I look again at that log what are the two lines that say:28/01/2009 7:36:55 PM: OnMameOutput (MameManager) -> OnMameOutput: led1,028/01/2009 7:36:55 PM: OnMameOutput (MameManager) -> OnMameOutput: led0,0I don't have LEDs on my panel nor did I think I activated any option/plugin for them... Why do they only appear in the Galaga section? Quote Link to comment Share on other sites More sharing options...
headkaze Posted January 29, 2009 Author Share Posted January 29, 2009 Believe it or not from the info you gave me I think I fixed the bug. Those led outputs are sent from Mame, you don't need to worry about them, nothing is done when they are sent to CPWizard and in Verbose debug mode they are outputted to the log file. But you gave me a clue because in the UltraStik plugin I don't do anything when outputs are sent. So what happened is Mame sent the outputs and the UltraStik plugin wasn't checking to see if nothing was supposed to happen. Hence the NullReference exception. It was one line of code. So please download Version 1.21 and try again.If it fails again please edit the PlugInUltraStik.ini and uncomment out Debug=true then post PlugInUltraStik.log. Apart from that little bug it seems like it's working okay. Quote Link to comment Share on other sites More sharing options...
Wombat Posted February 1, 2009 Share Posted February 1, 2009 Tried about 20 of my favourite MAME games on the weekend, including a lot with two-way movement. So far, so good.... all worked wonderfully and up/down navigation in CPWizard pause menu was possible. Thanks Headkaze! Quote Link to comment Share on other sites More sharing options...
Stu1983 Posted July 28, 2009 Share Posted July 28, 2009 I just finished building my new control panel with 2 ultrastiks and I thought I'd give your plugin a try but I can't seem to get it to initializeHere's the interesting bit of the log:15:56:26.1 28/07/2009: Loading PlugIns15:56:26.1 28/07/2009: Loaded Plugin:"Cursor Hider" Version 1.01 By Stu15:56:26.1 28/07/2009: PlugIn: "Cursor Hider" Initialized OK15:56:26.1 28/07/2009: Using Plugin System Version: 1.315:56:26.1 28/07/2009: Loaded Plugin:"LCD/LED Plugin" Version 2.87 By Ben Baker15:56:27.8 28/07/2009: PlugIn: "LCD/LED Plugin" Initialized OK15:56:27.8 28/07/2009: Using Plugin System Version: 1.315:56:27.8 28/07/2009: Could Not Load Plugin: 815:56:27.8 28/07/2009: Checking for applications to Launch On StartupAnd here is the full log:15:56:26.1 28/07/2009: GameEx: Version 10.18: Starting Log15:56:26.1 28/07/2009: Operating System Platform: Win32NT15:56:26.1 28/07/2009: Operating System Name: Windows Vista15:56:26.1 28/07/2009: Operating System Version: 6.0.600115:56:26.1 28/07/2009: Vista Aero NOT running15:56:26.1 28/07/2009: Initializing Vista volume control15:56:26.1 28/07/2009: Checking for versions of .net Framework installed15:56:26.1 28/07/2009: .net Framework 2.0 Installed15:56:26.1 28/07/2009: Intel® Core(tm)2 Duo CPU E8500 @ 3.16GHz, 4094MB15:56:26.1 28/07/2009: 3.17Ghz - 2 Cores or CPU's15:56:26.1 28/07/2009: Running Randomize()15:56:26.1 28/07/2009: Loading PlugIns15:56:26.1 28/07/2009: Loaded Plugin:"Cursor Hider" Version 1.01 By Stu15:56:26.1 28/07/2009: PlugIn: "Cursor Hider" Initialized OK15:56:26.1 28/07/2009: Using Plugin System Version: 1.315:56:26.1 28/07/2009: Loaded Plugin:"LCD/LED Plugin" Version 2.87 By Ben Baker15:56:27.8 28/07/2009: PlugIn: "LCD/LED Plugin" Initialized OK15:56:27.8 28/07/2009: Using Plugin System Version: 1.315:56:27.8 28/07/2009: Could Not Load Plugin: 815:56:27.8 28/07/2009: Checking for applications to Launch On Startup15:56:27.8 28/07/2009: Launching and not waiting: E:\GameEx\Utilities\RunB4.bat15:56:27.8 28/07/2009: Running Misc startup tasks15:56:27.8 28/07/2009: Setting Menu types15:56:27.8 28/07/2009: Opening Configuration File15:56:27.8 28/07/2009: Getting Configuration Values15:56:27.8 28/07/2009: Using Theme: Future Retro v415:56:27.8 28/07/2009: Checking for alternate Image Directory for Theme: Future Retro v415:56:27.8 28/07/2009: Launching HideOS.exe15:56:27.8 28/07/2009: Initialising Video/MNG DLL's15:56:27.9 28/07/2009: GameEx will check for media insertion (may affect performance)15:56:27.9 28/07/2009: Hiding Taskbar15:56:27.9 28/07/2009: Is Media Center running?15:56:27.9 28/07/2009: Checking/Creating LCD Registry values15:56:27.9 28/07/2009: Check Media Center Exit/Start Mode15:56:27.9 28/07/2009: Media Center Mode 015:56:27.9 28/07/2009: Video previews on. Warning: Only recommended on modern systems15:56:27.9 28/07/2009: Custom Keyboard Input enabled: Getting custom codes15:56:27.9 28/07/2009: Custom Game Device Input enabled: Getting custom codes15:56:27.9 28/07/2009: Snap Delay set to: 415:56:27.9 28/07/2009: Get other settings15:56:27.9 28/07/2009: Mouse Input is disabled15:56:27.9 28/07/2009: Desktop set to Hide ICONS and set Background to Black15:56:27.9 28/07/2009: SlikStik support enabled15:56:27.9 28/07/2009: Using DirectInput for keyboard input15:56:27.9 28/07/2009: Start work for Form15:56:27.9 28/07/2009: Getting Original Screen Size15:56:27.9 28/07/2009: Opening Database Connection15:56:27.9 28/07/2009: Initializing Component15:56:27.9 28/07/2009: Retrieving resolution setting15:56:27.9 28/07/2009: MAME Path is: E:\Mame15:56:27.9 28/07/2009: Model 2 Path Path is: E:\Sega Model 215:56:27.9 28/07/2009: Multi Core/Hyper Threading detected. Looking for emulator_multicpu.exe15:56:27.9 28/07/2009: Model 2 EXE file is: emulator_multicpu.exe15:56:27.9 28/07/2009: Model 2 emulator with command line support detected15:56:27.9 28/07/2009: Use Model 2 on. emulator_multicpu.exe will launch Sega Model 2 games15:56:27.9 28/07/2009: MAME EXE file is: mame64.exe15:56:27.9 28/07/2009: ROM Path is: E:\Mame\roms15:56:27.9 28/07/2009: Catver.ini is located at: E:\Mame\catver.ini15:56:27.9 28/07/2009: History.dat is located at: E:\Mame\history.dat15:56:27.9 28/07/2009: nplayers.ini is located at: E:\Mame\nplayers.ini15:56:28.0 28/07/2009: MAMEinfo.dat is located at: E:\Mame\mameinfo.dat15:56:28.0 28/07/2009: Loading Controls.ini map file15:56:28.0 28/07/2009: Snap Path is: E:\Mame\snap15:56:28.0 28/07/2009: AVI Snap Path is: E:\Mame\avisnap15:56:28.0 28/07/2009: Flyer Path is: E:\Mame\flyers15:56:28.0 28/07/2009: Cabinet Path is: E:\Mame\cabinets15:56:28.0 28/07/2009: Title Path is: E:\Mame\titles15:56:28.0 28/07/2009: PCB Path is: E:\Mame\pcb15:56:28.0 28/07/2009: Artwork Preview Path is: E:\Mame\artwork15:56:28.0 28/07/2009: Panel Path is: E:\Mame\cpanel15:56:28.0 28/07/2009: Manual Path is: E:\Mame\Manuals15:56:28.0 28/07/2009: Icon Path: Not Found15:56:28.0 28/07/2009: Marquee Path is: E:\Mame\marquees15:56:28.0 28/07/2009: Loading Custom Emulators15:56:28.0 28/07/2009: Loading Emulator 8: Nintendo GameBoy Mono & Color15:56:28.0 28/07/2009: Loading Emulator 9: Nintendo GameBoy Advance15:56:28.0 28/07/2009: Loading Emulator 11: Nintendo NES15:56:28.0 28/07/2009: Loading Emulator 12: Nintendo SNES15:56:28.1 28/07/2009: Loading Emulator 13: Nintendo N6415:56:28.1 28/07/2009: Loading Emulator 30: Nintendo GameBoy Advance15:56:28.1 28/07/2009: Loading Emulator 31: Nintendo GameBoy Mono & Color15:56:28.1 28/07/2009: Loading Emulator 32: Nintendo Virtual Boy15:56:28.1 28/07/2009: Loading Emulator 33: Nintendo NES15:56:28.2 28/07/2009: Loading Emulator 34: Nintendo SNES15:56:28.2 28/07/2009: Loading Emulator 35: Nintendo N6415:56:28.2 28/07/2009: Loading Emulator 36: Nintendo GameCube15:56:28.2 28/07/2009: Loading Emulator 40: Sega Game Gear15:56:28.3 28/07/2009: Loading Emulator 41: Sega Master System15:56:28.3 28/07/2009: Loading Emulator 42: Sega Mega Drive15:56:28.3 28/07/2009: Loading Emulator 43: Sega Saturn15:56:28.3 28/07/2009: Loading Emulator 44: Sega Dreamcast15:56:28.4 28/07/2009: Loading Emulator 50: Atari 520015:56:28.4 28/07/2009: Loading Emulator 51: Atari 780015:56:28.4 28/07/2009: Loading Emulator 52: Atari Jaguar15:56:28.5 28/07/2009: Loading Emulator Group 1: Sega15:56:28.5 28/07/2009: Loading Emulator Group 2: Nintendo15:56:28.5 28/07/2009: Loading Emulator Group 3: Atari15:56:28.5 28/07/2009: Using 3D Alpha Blended Animations. This could be slow15:56:28.5 28/07/2009: Using General Font: Alien League15:56:28.5 28/07/2009: Using Title Font: Microsoft Sans Serif15:56:28.5 28/07/2009: Initialising DirectDraw15:56:28.6 28/07/2009: Creating DirectDraw Device15:56:28.6 28/07/2009: Using Device: Ultimarc ArcadeVGA215:56:28.7 28/07/2009: 2042mb video memory available15:56:28.7 28/07/2009: Setting Resolution to 640x480 32 bit color15:56:28.7 28/07/2009: Creating DirectDraw Surfaces15:56:28.7 28/07/2009: Creating Primary Surface - Full Screen Mode15:56:28.7 28/07/2009: Creating Back Buffer15:56:28.7 28/07/2009: Version 2 Theme being used. Loading.15:56:28.7 28/07/2009: Loading Button Data15:56:28.7 28/07/2009: Loading Font Data15:56:28.7 28/07/2009: Loading Layout Data15:56:28.7 28/07/2009: Loading Taskbar Data15:56:28.8 28/07/2009: Loading graphic Surfaces15:56:28.8 28/07/2009: Display is running at: 640x480 32bit color, 58hz15:56:28.8 28/07/2009: Creating Surfaces Flags15:56:28.8 28/07/2009: Creating Surfaces Misc and Dialogs15:56:28.8 28/07/2009: Creating Surfaces Volume15:56:28.8 28/07/2009: Creating Surfaces Arrows15:56:28.8 28/07/2009: Creating Surfaces GameEXlogo Text15:56:28.8 28/07/2009: Creating Surfaces Toolbar15:56:28.8 28/07/2009: Creating Surfaces Backgrounds15:56:28.9 28/07/2009: Creating Surfaces Toolbar Controls15:56:28.9 28/07/2009: Creating Surfaces GameEx Logo15:56:28.9 28/07/2009: Creating Surface Unselected15:56:28.9 28/07/2009: Creating Surfaces Snaps15:56:28.9 28/07/2009: Creating Surfaces Menu and List Bars15:56:28.9 28/07/2009: Creating Fonts15:56:28.9 28/07/2009: Creating Game Font15:56:29.0 28/07/2009: Creating Game Font Faded15:56:29.0 28/07/2009: Creating Title Font15:56:29.0 28/07/2009: Restoring Title Font From Cache15:56:29.1 28/07/2009: Creating Font Black15:56:29.1 28/07/2009: Creating Font Black Small15:56:29.2 28/07/2009: Fonts Created Succesfully15:56:29.2 28/07/2009: 2006mb video memory left available15:56:29.2 28/07/2009: Creating instance of global keyboard hook15:56:29.2 28/07/2009: Attempting to load game list15:56:29.3 28/07/2009: Starting GameExtender Publisher15:56:29.3 28/07/2009: Text/Language: English15:56:29.3 28/07/2009: Applying Language/Text15:56:29.3 28/07/2009: Initialising Bass Audio Library15:56:29.4 28/07/2009: MAME CMD options: 15:56:29.4 28/07/2009: Loading last used Game List15:56:29.5 28/07/2009: Loading Start Page15:56:29.6 28/07/2009: Setting Music Volume15:56:29.6 28/07/2009: Creating DirectSound Device15:56:29.6 28/07/2009: Trying: Primary Sound Driver15:56:29.6 28/07/2009: Loading Sound Files15:56:29.6 28/07/2009: DirectSound Device Created Successfully15:56:29.6 28/07/2009: Initialising DirectInput for Gamepad support15:56:29.6 28/07/2009: Using Device Ultimarc Ultra-Stik Player 115:56:29.6 28/07/2009: Using Device Ultimarc Ultra-Stik Player 215:56:29.6 28/07/2009: Initialising DirectInput for Keyboard support15:56:29.7 28/07/2009: Initializing MCE Remote15:56:29.7 28/07/2009: Playing intro sound file15:56:29.7 28/07/2009: Initialization OK! Starting GameEx!15:56:29.7 28/07/2009: Testing Main Loop Once: Processing Frame15:56:30.0 28/07/2009: Testing Main Loop Once: Main Loop ran successfully15:56:51.4 28/07/2009: Exiting GameEx!15:56:51.4 28/07/2009: Saving Settings15:56:52.4 28/07/2009: Disposing Plugins15:56:52.4 28/07/2009: Closing database connection15:56:52.5 28/07/2009: Checking for applications to Launch On Exit15:56:52.5 28/07/2009: Launching and waiting: E:\GameEx\Utilities\RunAfter.batI tried your test program from the 3rd or 4th post in this thread and it's working fineAny ideas? I'm running Vista x64ThanksStu Quote Link to comment Share on other sites More sharing options...
headkaze Posted July 28, 2009 Author Share Posted July 28, 2009 Sorry Stu I have no idea and "Could Not Load Plugin" doesn't tell me much. I do know that it's been tested on Vista 64 before. Perhaps Tom could give us some ideas? Quote Link to comment Share on other sites More sharing options...
Tom Speirs Posted July 28, 2009 Share Posted July 28, 2009 Not the best error message I agree! This is actually an exception when trying to call the initializiation funtion within the plugin.EDIT: Thats not correct, I see this is the UltraStik plugin, and not the LCD one erroring. I dont really know what is causing this. GameEx is just failing loading the DLL assembly itself. Perhaps a .net framework version issue? Quote Link to comment Share on other sites More sharing options...
headkaze Posted July 28, 2009 Author Share Posted July 28, 2009 I just realised that I did add logging to the UltraStik plugin. Stu take a look in GameEx's PLUGINS folder for PlugInUltraStik.log and if it contains any errors that might help out. Quote Link to comment Share on other sites More sharing options...
Stu1983 Posted July 28, 2009 Share Posted July 28, 2009 Seemingly it hasn't even managed to create the log file before erroringI have up to dot net 3.5 installedThanksStu Quote Link to comment Share on other sites More sharing options...
Tom Speirs Posted July 28, 2009 Share Posted July 28, 2009 Yes, its not getting that far. Its odd that the plugin would list in the plugin manager but not run in GameEx so it cant be .net. I suppose youve tried a reboot etc? Quote Link to comment Share on other sites More sharing options...
Stu1983 Posted July 28, 2009 Share Posted July 28, 2009 I hadn't tried a reboot but just done one there now but now differenceIs there supposed to be a config window for this pluggin? Although it lists in the manager when I click config nothing happensStu**Update**Just tried it on another PC and I can see the about screen after click the config button in the manager.So what would cause that window to not appear on my cabinet pc?Stu Quote Link to comment Share on other sites More sharing options...
Stu1983 Posted July 30, 2009 Share Posted July 30, 2009 Any chance I could get a look at your code headkaze so I can try work this out myself?I really can't see what would be causing the about window not to appear, I've reinstalled dot net but hasn't made any differenceStu Quote Link to comment Share on other sites More sharing options...
headkaze Posted July 30, 2009 Author Share Posted July 30, 2009 All I have for the Configure method is the followingpublic void Configure(){ using(Configuration config = new Configuration()) { config.ShowDialog(null); }}And the Configuration form is basically empty. There is nothing that could cause an exception there, so IMHO there is a problem instanciating the plugin, not something in the plugin itself. So I take it other plugins are running fine? Have you tried downloading the version from my website and copying it manually into GameEx's PLUGINS folder?Attached it an x86 compiled version but it really shouldn't make a difference. My dev machine is XP 64 and it runs fine, and from memory we had the plugin tested by a few Vista 64 users.PlugInUltraStik.zip Quote Link to comment Share on other sites More sharing options...
Stu1983 Posted July 30, 2009 Share Posted July 30, 2009 Yeah I had already tried the one from your site but it didn't make a difference and the new one you posted above didn't help either.It's really odd because all the other plugin config screens appear fine I even tried your rotate plugin which is your most recent, I think.If I had your code I was going to go through commenting out section by section until I can get it to load.My other PC is also Vista x64 and it works on it so thats not the problem.Stu Quote Link to comment Share on other sites More sharing options...
iano Posted July 30, 2009 Share Posted July 30, 2009 Are you running at 640x480 ? Maybe the low screen resolution could have something to do with the issue. Quote Link to comment Share on other sites More sharing options...
headkaze Posted July 30, 2009 Author Share Posted July 30, 2009 My other PC is also Vista x64 and it works on it so thats not the problem.When you run the Plugin Manager, the only method invoked is "Configure" so I don't see how going through the code will help. There is nothing to comment out apart from the lines I showed you above. I can make you up a debug version with message boxes etc. but I think the plugin is failing initialization, which means it doesn't even get to call a method. What shall we try now? Quote Link to comment Share on other sites More sharing options...
Stu1983 Posted July 30, 2009 Share Posted July 30, 2009 When you run the Plugin Manager, the only method invoked is "Configure" so I don't see how going through the code will help. There is nothing to comment out apart from the lines I showed you above. I can make you up a debug version with message boxes etc. but I think the plugin is failing initialization, which means it doesn't even get to call a method. What shall we try now?I've had bother before when I was making a plugin and it turned out it was code further on down the plugin that was causing it break.I was goona go with the opposite approach and start by commenting out pretty much everything apart from the config button code and see if just that would work by itself, then start adding the code back in until it fails to initialise.I am running 640x480 but I can't see this being an issue as all the other plugin about screen appear, I have a fully configured LCD/LED Plugin that was all configured at 640x480.Stu 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.