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. Thank you for your support. Tom Speirs

Patreon

Gameex crashes after attaching gamepads, attract mode root cause?


gimpper

Recommended Posts

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 File

20:48:28.8 9/5/2011: GameEx: Version 12.06: Starting Log

20:48:28.9 9/5/2011: Operating System Platform: Win32NT

20:48:29.3 9/5/2011: Operating System Name: Windows XP

20:48:29.6 9/5/2011: Operating System Version: 5.1.2600

20:48:30.2 9/5/2011: Checking for versions of .net Framework installed

20:48:30.5 9/5/2011: .net Framework 1.1 Installed

20:48:30.7 9/5/2011: .net Framework 2.0 Installed

20:48:31.1 9/5/2011: .net Framework 3.0 Installed

20:48:31.2 9/5/2011: .net Framework 3.5 Installed

20:48:31.5 9/5/2011: Intel® Pentium® 4 CPU 3.20GHz, 2046MB

20:48:31.7 9/5/2011: 3.2Ghz - 2 Cores or CPU's

20:48:32.0 9/5/2011: Running Randomize()

20:48:32.5 9/5/2011: Loading PlugIns

20:48:33.9 9/5/2011: Checking for applications to Launch On Startup

20:48:35.0 9/5/2011: Running Misc startup tasks

20:48:35.5 9/5/2011: Setting Menu types

20:48:35.7 9/5/2011: Getting Configuration Values

20:48:36.1 9/5/2011: Using Theme: MCE Glossy V4

20:48:36.3 9/5/2011: Checking for alternate Image Directory for Theme: MCE Glossy V4

20:48:36.4 9/5/2011: Launching HideOS.exe

20:48:36.6 9/5/2011: Initialising Video/MNG DLL's

20:48:37.5 9/5/2011: Arcade Mode is on

20:48:38.2 9/5/2011: GameEx will check for media insertion (may affect performance)

20:48:38.3 9/5/2011: Hiding Taskbar

20:48:38.7 9/5/2011: Is Media Center running?

20:48:39.2 9/5/2011: Checking/Creating LCD Registry values

20:48:39.4 9/5/2011: Check Media Center Exit/Start Mode

20:48:39.5 9/5/2011: Media Center Mode 2

20:48:39.7 9/5/2011: Video previews on. Warning: Only recommended on modern systems

20:48:40.0 9/5/2011: Snap Delay set to: 2

20:48:40.0 9/5/2011: Get other settings

20:48:40.1 9/5/2011: Desktop set to Hide ICONS and set Background to Black

20:48:40.1 9/5/2011: Set: Find emulator artwork on best match basis

20:48:40.2 9/5/2011: SlikStik support enabled

20:48:40.2 9/5/2011: Using DirectInput for keyboard input

20:48:40.2 9/5/2011: Start work for Form

20:48:40.2 9/5/2011: Getting Original Screen Size

20:48:40.2 9/5/2011: Opening Database Connection

20:48:41.3 9/5/2011: Initializing Component

20:48:42.1 9/5/2011: Retrieving resolution setting

20:48:42.1 9/5/2011: MAME Path is: C:\Emulators\MAME

20:48:42.1 9/5/2011: daphne Path is: C:\daphne

20:48:42.1 9/5/2011: daphne EXE file is: Daphne.exe

20:48:42.2 9/5/2011: Use daphne on. Daphne.exe will launch games

20:48:42.2 9/5/2011: Model 2 Path Path is: C:\Emulators\Model2

20:48:42.2 9/5/2011: Multi Core/Hyper Threading detected. Looking for emulator_multicpu.exe

20:48:42.2 9/5/2011: Model 2 EXE file is: emulator_multicpu.exe

20:48:42.2 9/5/2011: Model 2 emulator with command line support detected

20:48:42.3 9/5/2011: Use Model 2 on. emulator_multicpu.exe will launch Sega Model 2 games

20:48:42.3 9/5/2011: MAME EXE file is: mame.exe

20:48:42.4 9/5/2011: ROM Path is: D:\Hyperspin\ROMS\mame\roms

20:48:42.4 9/5/2011: Catver.ini is located at: C:\GameEx\DATA\catver.ini

20:48:42.4 9/5/2011: controls.ini is located at: C:\GameEx\data\controls.ini

20:48:42.4 9/5/2011: History.dat is located at: C:\GameEx\DATA\history.dat

20:48:42.4 9/5/2011: nplayers.ini is located at: C:\GameEx\DATA\nplayers.ini

20:48:42.4 9/5/2011: command.dat is located at: C:\GameEx\DATA\command.dat

20:48:42.4 9/5/2011: MAMEinfo.dat is located at: C:\GameEx\DATA\mameinfo.dat

20:48:42.4 9/5/2011: Loading Controls.ini map file

20:48:42.5 9/5/2011: Snap Path is: C:\Emulators\MAME\snaps

20:48:42.5 9/5/2011: AVI Snap Path is: C:\Emulators\MAME\video

20:48:42.5 9/5/2011: Flyer Path is: C:\Emulators\MAME\flyers

20:48:42.5 9/5/2011: Cabinet Path is: C:\Emulators\MAME\cabinets

20:48:42.5 9/5/2011: Cabinet 3D Path: Not Found

20:48:42.6 9/5/2011: Title Path is: C:\Emulators\MAME\titles

20:48:42.6 9/5/2011: PCB Path is: C:\Emulators\MAME\pcb

20:48:42.6 9/5/2011: Artwork Preview Path is: C:\Emulators\MAME\artwork

20:48:42.6 9/5/2011: Panel Path is: C:\Emulators\MAME\cpanel

20:48:42.7 9/5/2011: Manual Path is: C:\GameEx\DEMO\MAME\manual

20:48:42.7 9/5/2011: Icon Path is: C:\Emulators\MAME\icons

20:48:42.7 9/5/2011: Marquee Path is: C:\Emulators\MAME\marquees

20:48:42.7 9/5/2011: Applying Language/Text

20:48:42.7 9/5/2011: Text/Language: English

20:48:42.8 9/5/2011: Loading Custom Emulators

20: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 Problems

20:48:43.3 9/5/2011: Loading Emulator 29: Future Pinball

20: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 Box

20: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 Animations

20:48:43.7 9/5/2011: Using General Font: Trebuchet MS

20:48:43.7 9/5/2011: Using Title Font: Trebuchet MS

20:48:43.7 9/5/2011: Initialising Direct3D

20:48:43.8 9/5/2011: Mouse Input is disabled

20:48:43.8 9/5/2011: Applying GameEx is Loading Image

20:48:44.0 9/5/2011: Setting Resolution to 800x600 32 bit color

20:48:44.1 9/5/2011: Creating Surfaces

20:48:44.6 9/5/2011: Creating Primary Surface - Full Screen Mode

20:48:44.7 9/5/2011: Creating Back Buffer

20:48:44.9 9/5/2011: Version 2 Theme being used. Loading.

20:48:44.9 9/5/2011: Loading Button Data

20:48:44.9 9/5/2011: Loading Font Data

20:48:44.9 9/5/2011: Loading Layout Data

20:48:44.9 9/5/2011: Loading Taskbar Data

20:48:44.9 9/5/2011: Loading graphic Surfaces

20:48:44.9 9/5/2011: Display is running at: 800x600 32bit color, 60hz

20:48:45.1 9/5/2011: Creating Surfaces Misc and Dialogs

20:48:45.3 9/5/2011: Creating Surfaces Volume

20:48:45.3 9/5/2011: Creating Surfaces Arrows

20:48:45.4 9/5/2011: Creating Surfaces GameEXlogo Text

20:48:45.4 9/5/2011: Creating Surfaces Toolbar

20:48:45.7 9/5/2011: Creating Surfaces Backgrounds

20:48:45.7 9/5/2011: Creating Surfaces Toolbar Controls

20:48:45.7 9/5/2011: Creating Surfaces GameEx Logo

20:48:45.8 9/5/2011: Creating Surface Unselected

20:48:45.8 9/5/2011: Creating Surfaces Snaps

20:48:45.8 9/5/2011: Creating Surfaces Menu and List Bars

20:48:46.2 9/5/2011: Creating Fonts

20:48:46.2 9/5/2011: Creating Game Font

20:48:46.8 9/5/2011: Creating Game Font Faded

20:48:47.4 9/5/2011: Creating Title Font

20:48:47.4 9/5/2011: Restoring Title Font From Cache

20:48:47.6 9/5/2011: Creating Font Black

20:48:47.7 9/5/2011: Creating Font Black Small

20:48:47.8 9/5/2011: Fonts Created Succesfully

20:48:47.8 9/5/2011: 3MB Video Memory Used

20:48:47.8 9/5/2011: Initialising Bass Audio Library

20:48:47.8 9/5/2011: Creating instance of global keyboard hook

20:48:48.5 9/5/2011: Playing Startup Video on thread

20:48:48.5 9/5/2011: Attempting to load game list

20:48:49.4 9/5/2011: MAME CMD options: -nowindow -joy -skip_gameinfo

20:48:49.4 9/5/2011: Loading last used Game List

20:48:50.3 9/5/2011: Loading Start Page

20:48:50.4 9/5/2011: Creating DirectSound Device

20:48:50.4 9/5/2011: Trying: Primary Sound Driver

20:48:50.4 9/5/2011: Loading Sound Files

20:48:51.2 9/5/2011: DirectSound Device Created Successfully

20:48:51.2 9/5/2011: Initialising DirectInput for Gamepad support

20:48:51.8 9/5/2011: Using Device TigerGame PS/PS2 Game Controller Adapter

20:48:51.9 9/5/2011: Using Device TigerGame PS/PS2 Game Controller Adapter

20:48:52.2 9/5/2011: Initialising DirectInput for Keyboard support

20:48:52.2 9/5/2011: Initializing MCE Remote

20:49:14.8 9/5/2011: Playing intro sound file

20:49:14.8 9/5/2011: Initialization OK! Starting GameEx!

20:49:14.8 9/5/2011: Testing Main Loop Once: Processing Frame

20:49:15.7 9/5/2011: Testing Main Loop Once: Main Loop ran successfully

20:52:55.7 9/5/2011: Starting Attract Mode

20:52:55.7 9/5/2011: Reading MAME hall of fame

20:52:56.1 9/5/2011: Shutting down display

20:52:56.3 9/5/2011: Mouse Input is disabled

20:52:56.3 9/5/2011: Mouse Input is disabled

20:52:56.3 9/5/2011: Exception occured running Attract Mode

20: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 disabled

20:53:32.6 9/5/2011: 21 Consecutive Exceptions Occured

20: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 seconds

20:53:32.6 9/5/2011: Exception count will be dropped to 15

20:53:36.6 9/5/2011: Mouse Input is disabled

20:53:36.6 9/5/2011: Exception initializing display

20: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: Exiting

20:53:36.7 9/5/2011: Closing database connection

20: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 Settings

Any help would be much appreciated!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Joy2key 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 ;)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...