gimpper Posted September 6, 2011 Posted September 6, 2011 I've owned an adapter allowing the use of PSX controllers as gamepads and used it for several months without a problem. The program Joytokey is launched by Gameex just prior to starting a game and I plug in my gamepads just before that. However my wife is confused by plugging in the gamepads just before use and also sometimes they need to be re-calibrated so she asked if they could always stay plugged in. So I modded my cabinet and made a permanent spot for the gamepads and I decided to keep them plugged in. However now Gameex loads (I have my cab shelled so it's straight to Gameex) but after a few minutes I get a Windows error message and Gameex crashes. Seems the gamepads are the problem since I wasn't seeing this before, but can anyone figure out what the root cause is? Something about when the attract mode starts. Here is the error that Gameex spits out:20:48:26.8 9/5/2011: Opening Configuration File20:48:28.8 9/5/2011: GameEx: Version 12.06: Starting Log20:48:28.9 9/5/2011: Operating System Platform: Win32NT20:48:29.3 9/5/2011: Operating System Name: Windows XP20:48:29.6 9/5/2011: Operating System Version: 5.1.260020:48:30.2 9/5/2011: Checking for versions of .net Framework installed20:48:30.5 9/5/2011: .net Framework 1.1 Installed20:48:30.7 9/5/2011: .net Framework 2.0 Installed20:48:31.1 9/5/2011: .net Framework 3.0 Installed20:48:31.2 9/5/2011: .net Framework 3.5 Installed20:48:31.5 9/5/2011: Intel® Pentium® 4 CPU 3.20GHz, 2046MB20:48:31.7 9/5/2011: 3.2Ghz - 2 Cores or CPU's20:48:32.0 9/5/2011: Running Randomize()20:48:32.5 9/5/2011: Loading PlugIns20:48:33.9 9/5/2011: Checking for applications to Launch On Startup20:48:35.0 9/5/2011: Running Misc startup tasks20:48:35.5 9/5/2011: Setting Menu types20:48:35.7 9/5/2011: Getting Configuration Values20:48:36.1 9/5/2011: Using Theme: MCE Glossy V420:48:36.3 9/5/2011: Checking for alternate Image Directory for Theme: MCE Glossy V420:48:36.4 9/5/2011: Launching HideOS.exe20:48:36.6 9/5/2011: Initialising Video/MNG DLL's20:48:37.5 9/5/2011: Arcade Mode is on20:48:38.2 9/5/2011: GameEx will check for media insertion (may affect performance)20:48:38.3 9/5/2011: Hiding Taskbar20:48:38.7 9/5/2011: Is Media Center running?20:48:39.2 9/5/2011: Checking/Creating LCD Registry values20:48:39.4 9/5/2011: Check Media Center Exit/Start Mode20:48:39.5 9/5/2011: Media Center Mode 220:48:39.7 9/5/2011: Video previews on. Warning: Only recommended on modern systems20:48:40.0 9/5/2011: Snap Delay set to: 220:48:40.0 9/5/2011: Get other settings20:48:40.1 9/5/2011: Desktop set to Hide ICONS and set Background to Black20:48:40.1 9/5/2011: Set: Find emulator artwork on best match basis20:48:40.2 9/5/2011: SlikStik support enabled20:48:40.2 9/5/2011: Using DirectInput for keyboard input20:48:40.2 9/5/2011: Start work for Form20:48:40.2 9/5/2011: Getting Original Screen Size20:48:40.2 9/5/2011: Opening Database Connection20:48:41.3 9/5/2011: Initializing Component20:48:42.1 9/5/2011: Retrieving resolution setting20:48:42.1 9/5/2011: MAME Path is: C:\Emulators\MAME20:48:42.1 9/5/2011: daphne Path is: C:\daphne20:48:42.1 9/5/2011: daphne EXE file is: Daphne.exe20:48:42.2 9/5/2011: Use daphne on. Daphne.exe will launch games20:48:42.2 9/5/2011: Model 2 Path Path is: C:\Emulators\Model220:48:42.2 9/5/2011: Multi Core/Hyper Threading detected. Looking for emulator_multicpu.exe20:48:42.2 9/5/2011: Model 2 EXE file is: emulator_multicpu.exe20:48:42.2 9/5/2011: Model 2 emulator with command line support detected20:48:42.3 9/5/2011: Use Model 2 on. emulator_multicpu.exe will launch Sega Model 2 games20:48:42.3 9/5/2011: MAME EXE file is: mame.exe20:48:42.4 9/5/2011: ROM Path is: D:\Hyperspin\ROMS\mame\roms20:48:42.4 9/5/2011: Catver.ini is located at: C:\GameEx\DATA\catver.ini20:48:42.4 9/5/2011: controls.ini is located at: C:\GameEx\data\controls.ini20:48:42.4 9/5/2011: History.dat is located at: C:\GameEx\DATA\history.dat20:48:42.4 9/5/2011: nplayers.ini is located at: C:\GameEx\DATA\nplayers.ini20:48:42.4 9/5/2011: command.dat is located at: C:\GameEx\DATA\command.dat20:48:42.4 9/5/2011: MAMEinfo.dat is located at: C:\GameEx\DATA\mameinfo.dat20:48:42.4 9/5/2011: Loading Controls.ini map file20:48:42.5 9/5/2011: Snap Path is: C:\Emulators\MAME\snaps20:48:42.5 9/5/2011: AVI Snap Path is: C:\Emulators\MAME\video20:48:42.5 9/5/2011: Flyer Path is: C:\Emulators\MAME\flyers20:48:42.5 9/5/2011: Cabinet Path is: C:\Emulators\MAME\cabinets20:48:42.5 9/5/2011: Cabinet 3D Path: Not Found20:48:42.6 9/5/2011: Title Path is: C:\Emulators\MAME\titles20:48:42.6 9/5/2011: PCB Path is: C:\Emulators\MAME\pcb20:48:42.6 9/5/2011: Artwork Preview Path is: C:\Emulators\MAME\artwork20:48:42.6 9/5/2011: Panel Path is: C:\Emulators\MAME\cpanel20:48:42.7 9/5/2011: Manual Path is: C:\GameEx\DEMO\MAME\manual20:48:42.7 9/5/2011: Icon Path is: C:\Emulators\MAME\icons20:48:42.7 9/5/2011: Marquee Path is: C:\Emulators\MAME\marquees20:48:42.7 9/5/2011: Applying Language/Text20:48:42.7 9/5/2011: Text/Language: English20:48:42.8 9/5/2011: Loading Custom Emulators20:48:42.8 9/5/2011: Loading Emulator 2: Nintendo SNES (ZSNES)20:48:43.0 9/5/2011: Loading Emulator 3: Nintendo N64 (Project64)20:48:43.1 9/5/2011: Loading Emulator 6: Sega CD (Fusion)20:48:43.1 9/5/2011: Loading Emulator 7: Sega Master System (Fusion)20:48:43.1 9/5/2011: Loading Emulator 8: Sega Genesis (Fusion)20:48:43.1 9/5/2011: Loading Emulator 9: Nintendo Game Boy Advance (VisualBoyAdvance)20:48:43.1 9/5/2011: Loading Emulator 10: Sony Playstation (pSX)20:48:43.1 9/5/2011: Loading Emulator 14: SNK Neo-Geo Pocket (NeoPop)20:48:43.1 9/5/2011: Loading Emulator 16: Sega 32x (Fusion)20:48:43.2 9/5/2011: Loading Emulator 20: SNK Neo-Geo CD (NeoRaine)20:48:43.2 9/5/2011: Loading Emulator 23: NEC TurboGrafx CD (mednafen)20:48:43.2 9/5/2011: Loading Emulator 26: Nintendo NES (VirtuaNES)20:48:43.2 9/5/2011: Loading Emulator 27: Sega Saturn (SSF 0.12) Known Problems20:48:43.3 9/5/2011: Loading Emulator 29: Future Pinball20:48:43.3 9/5/2011: Loading Emulator 32: Sega GameGear (Fusion)20:48:43.3 9/5/2011: Loading Emulator 34: Nintendo Game Boy (VisualBoyAdvance)20:48:43.4 9/5/2011: Loading Emulator 35: Nintendo Game Boy Color (VisualBoyAdvance)20:48:43.4 9/5/2011: Loading Emulator 36: Nintendo GameCube (Dolphin)20:48:43.4 9/5/2011: Loading Emulator 37: Commodore Amiga CD32 (WinUAE)20:48:43.5 9/5/2011: Loading Emulator 39: Atari Lynx (Handy)20:48:43.5 9/5/2011: Loading Emulator 41: Dos Box20:48:43.5 9/5/2011: Loading Emulator 42: International - Super Famicom (ZSNES)20:48:43.5 9/5/2011: Loading Emulator 43: International - Famicom (VirtuaNES)20:48:43.6 9/5/2011: Loading Emulator 44: International - NEC PC-FX (MagicFX)20:48:43.6 9/5/2011: Loading Emulator 45: NEC PC-Engine CD (PCE)20:48:43.6 9/5/2011: Loading Emulator 47: NEC TurboGrafx-16 (MagicEngine)20:48:43.6 9/5/2011: Loading Emulator 48: International - Game Boy Advance (VisualBoyAdvance)20:48:43.7 9/5/2011: Using Version 3 Themes Animations20:48:43.7 9/5/2011: Using General Font: Trebuchet MS20:48:43.7 9/5/2011: Using Title Font: Trebuchet MS20:48:43.7 9/5/2011: Initialising Direct3D20:48:43.8 9/5/2011: Mouse Input is disabled20:48:43.8 9/5/2011: Applying GameEx is Loading Image20:48:44.0 9/5/2011: Setting Resolution to 800x600 32 bit color20:48:44.1 9/5/2011: Creating Surfaces20:48:44.6 9/5/2011: Creating Primary Surface - Full Screen Mode20:48:44.7 9/5/2011: Creating Back Buffer20:48:44.9 9/5/2011: Version 2 Theme being used. Loading.20:48:44.9 9/5/2011: Loading Button Data20:48:44.9 9/5/2011: Loading Font Data20:48:44.9 9/5/2011: Loading Layout Data20:48:44.9 9/5/2011: Loading Taskbar Data20:48:44.9 9/5/2011: Loading graphic Surfaces20:48:44.9 9/5/2011: Display is running at: 800x600 32bit color, 60hz20:48:45.1 9/5/2011: Creating Surfaces Misc and Dialogs20:48:45.3 9/5/2011: Creating Surfaces Volume20:48:45.3 9/5/2011: Creating Surfaces Arrows20:48:45.4 9/5/2011: Creating Surfaces GameEXlogo Text20:48:45.4 9/5/2011: Creating Surfaces Toolbar20:48:45.7 9/5/2011: Creating Surfaces Backgrounds20:48:45.7 9/5/2011: Creating Surfaces Toolbar Controls20:48:45.7 9/5/2011: Creating Surfaces GameEx Logo20:48:45.8 9/5/2011: Creating Surface Unselected20:48:45.8 9/5/2011: Creating Surfaces Snaps20:48:45.8 9/5/2011: Creating Surfaces Menu and List Bars20:48:46.2 9/5/2011: Creating Fonts20:48:46.2 9/5/2011: Creating Game Font20:48:46.8 9/5/2011: Creating Game Font Faded20:48:47.4 9/5/2011: Creating Title Font20:48:47.4 9/5/2011: Restoring Title Font From Cache20:48:47.6 9/5/2011: Creating Font Black20:48:47.7 9/5/2011: Creating Font Black Small20:48:47.8 9/5/2011: Fonts Created Succesfully20:48:47.8 9/5/2011: 3MB Video Memory Used20:48:47.8 9/5/2011: Initialising Bass Audio Library20:48:47.8 9/5/2011: Creating instance of global keyboard hook20:48:48.5 9/5/2011: Playing Startup Video on thread20:48:48.5 9/5/2011: Attempting to load game list20:48:49.4 9/5/2011: MAME CMD options: -nowindow -joy -skip_gameinfo20:48:49.4 9/5/2011: Loading last used Game List20:48:50.3 9/5/2011: Loading Start Page20:48:50.4 9/5/2011: Creating DirectSound Device20:48:50.4 9/5/2011: Trying: Primary Sound Driver20:48:50.4 9/5/2011: Loading Sound Files20:48:51.2 9/5/2011: DirectSound Device Created Successfully20:48:51.2 9/5/2011: Initialising DirectInput for Gamepad support20:48:51.8 9/5/2011: Using Device TigerGame PS/PS2 Game Controller Adapter20:48:51.9 9/5/2011: Using Device TigerGame PS/PS2 Game Controller Adapter20:48:52.2 9/5/2011: Initialising DirectInput for Keyboard support20:48:52.2 9/5/2011: Initializing MCE Remote20:49:14.8 9/5/2011: Playing intro sound file20:49:14.8 9/5/2011: Initialization OK! Starting GameEx!20:49:14.8 9/5/2011: Testing Main Loop Once: Processing Frame20:49:15.7 9/5/2011: Testing Main Loop Once: Main Loop ran successfully20:52:55.7 9/5/2011: Starting Attract Mode20:52:55.7 9/5/2011: Reading MAME hall of fame20:52:56.1 9/5/2011: Shutting down display20:52:56.3 9/5/2011: Mouse Input is disabled20:52:56.3 9/5/2011: Mouse Input is disabled20:52:56.3 9/5/2011: Exception occured running Attract Mode20:52:56.3 9/5/2011: Error in the application.20:52:56.5 9/5/2011: at Microsoft.DirectX.Direct3D.Device..ctor(Int32 adapter, DeviceType deviceType, Control renderWindow, CreateFlags behaviorFlags, PresentParameters[] presentationParameters)20:52:56.5 9/5/2011: at o.a(Form A_0, Int32 A_1, Int32 A_2, Boolean A_3, Boolean A_4, Boolean A_5, Boolean A_6)20:52:56.5 9/5/2011: at o..ctor(Form A_0, Int32 A_1, Int32 A_2, Boolean A_3, Boolean A_4, Boolean A_5, Boolean A_6)20:52:56.6 9/5/2011: at ag.a(Boolean A_0, Boolean A_1, Boolean A_2, Boolean A_3, Int32 A_4)20:52:56.6 9/5/2011: at ag.a(Boolean A_0, Boolean A_1, Boolean A_2, Boolean A_3, Int32 A_4)20:52:56.6 9/5/2011: at ag.a(Boolean A_0, Boolean A_1)20:52:56.6 9/5/2011: at ag.d(Boolean A_0)20:52:56.9 9/5/2011: Mouse Input is disabled20:53:32.6 9/5/2011: 21 Consecutive Exceptions Occured20:53:32.6 9/5/2011: Object reference not set to an instance of an object.20:53:32.6 9/5/2011: at ag.s(Boolean A_0)20:53:32.6 9/5/2011: at ag.ac()20:53:32.6 9/5/2011: Trying reinitialising the display after sleeping for 4 seconds20:53:32.6 9/5/2011: Exception count will be dropped to 1520:53:36.6 9/5/2011: Mouse Input is disabled20:53:36.6 9/5/2011: Exception initializing display20:53:36.6 9/5/2011: Error in the application.20:53:36.6 9/5/2011: at Microsoft.DirectX.Direct3D.Device..ctor(Int32 adapter, DeviceType deviceType, Control renderWindow, CreateFlags behaviorFlags, PresentParameters[] presentationParameters)20:53:36.6 9/5/2011: at o.a(Form A_0, Int32 A_1, Int32 A_2, Boolean A_3, Boolean A_4, Boolean A_5, Boolean A_6)20:53:36.7 9/5/2011: at o..ctor(Form A_0, Int32 A_1, Int32 A_2, Boolean A_3, Boolean A_4, Boolean A_5, Boolean A_6)20:53:36.7 9/5/2011: at ag.a(Boolean A_0, Boolean A_1, Boolean A_2, Boolean A_3, Int32 A_4)20:53:36.7 9/5/2011: at ag.ac()20:53:36.7 9/5/2011: --**--20:53:36.7 9/5/2011: 21 Consecutive Exceptions Occured: Exiting20:53:36.7 9/5/2011: Closing database connection20:53:36.7 9/5/2011: First Exception:20:53:36.7 9/5/2011: Object reference not set to an instance of an object.20:53:36.7 9/5/2011: at ag.s(Boolean A_0)20:53:36.7 9/5/2011: at ag.ac()20:53:36.7 9/5/2011: Last Exception:20:53:36.7 9/5/2011: Object reference not set to an instance of an object.20:53:36.7 9/5/2011: at ag.s(Boolean A_0)20:53:36.7 9/5/2011: at ag.ac()20:53:37.1 9/5/2011: Exiting GameEx!20:53:37.1 9/5/2011: Saving SettingsAny help would be much appreciated!
Adultery Posted September 6, 2011 Posted September 6, 2011 Same problem when you try to launch a MAME game, or specifically after attract mode starts?
gimpper Posted September 6, 2011 Author Posted September 6, 2011 Actually did some testing, I can go into an out of any emulator fine. I tried playing several of them for a few minutes at a time since that seems to be how long it takes to get the error and didn't see anything strange. I browsed around Gameex for about 10 minutes just looking through the games and no problem there either. But if I let things sit idle for over 3 minutes or so it goes into error. First the screen goes dark, then the music from whatever video snap is playing goes silent, background music stays on and I get this error message:"Unhanded exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue."When I click continue it opens up the Gameex error screen with the aforementioned message.I also found that if the gamepads are NOT plugged in at the start then there is no problem going into and out of the attract mode. So somehow the gamepads plugged in is the problem.
gimpper Posted September 6, 2011 Author Posted September 6, 2011 Based on what I figured out in my last post I came up with a fix that could be considered temporary but is as good as permanent for me. I went into the advanced config and disabled joystick input. I don't use the gamepad for browsing, just for playing the games and that's all handled by Joytokey. Once I disabled gamepads in Gameex I was able to start with the gamepads attached and go into the attract mode no problem and out of it again and also once I went into an emulator that used the gamepad when I came out I still had no problem with the attract mode. Still, I'd like to know what was causing the problem if anyone can figure that out for me?
Adultery Posted September 6, 2011 Posted September 6, 2011 Hmm... So do you use custom controls? Also what driver for your controllers? Do you launch joy2key with a bat file or is it always running? Do you use a global exit key? Does it happen with one controller plugged in and the other one not plugged in? Are there any problems in your Windows system logs? If you use a dongle have you tried another USB port? Did you try setting GameEx to only check for controller activity in Input Settings?
gimpper Posted September 7, 2011 Author Posted September 7, 2011 Hmm... So do you use custom controls? Also what driver for your controllers? Do you launch joy2key with a bat file or is it always running? Do you use a global exit key? Does it happen with one controller plugged in and the other one not plugged in? Are there any problems in your Windows system logs? If you use a dongle have you tried another USB port? Did you try setting GameEx to only check for controller activity in Input Settings?Nothing custom, just installed the USB connector using the appropriate software. It's a Super Joybox 5 Pro from Mayflash. Unless you mean something else by custom controls. When I installed, it installed 2 drivers Projoycpl.dll and ffdrv1.dllJoy2key is not launched when GameEx loads. It is launched in the 'start before' line of the emulator and terminated in the 'run after' line.I do not have a global exit key, esc has been disabled in my cab.I tried running it with one controller plugged in at a time with the same results.The Windows Event Viewer shows nothing of note.I tried a second USB port with the same result. Finally I tried the GameEx setting to only check for controller activity. The same error occurs when going into attract mode with the "21 Consecutive Exceptions Occurred" seeming to be the critical error that causes GameEx to shut down.I appreciate your help on this on Adultery but since it seems to work fine with GameEx not looking for the controls I am caring about finding the root of the issue less and less
Recommended Posts