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 becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

If neither of those of work for you, you can donate any amount by clicking here.

Recommended Posts

Posted

Anyone have a working config for playing flash games inside gameex? I think a wrapper may be needed unless someone knows a flash player that uses command line options. Anyone?

Posted
  headkaze said:
Just a quick search on Google and I found this.

Let me know if it works, and post your config and I'll make an emulator download/config for the Wizard for it.

I think this will work. Thanks! I'll post back when I test it out.

Posted
  headkaze said:
Just a quick search on Google and I found this.

Let me know if it works, and post your config and I'll make an emulator download/config for the Wizard for it.

Works great. I dl a flash game pack with over 500 games and all I tried seemed to work. Ive attached my ini file here.

Can I control my mouse with keyboard commands? I have gameex in a cabinet without a mouse. I have an I-Pac :(

SWF_Opener.zip

Posted
  TSpeirs said:
Yes, by creating an advanced emulator config.

Is there a doc on this I can read?

Posted
  lingpanda said:
Is there a doc on this I can read?

Just look at one of the existing configs. Just select one and click edit, its a setting in the emulator config. I'm pretty sure theres already one included with gameex for basic mouse control unless I neglected to include it in the install.

Posted
  TSpeirs said:
Just look at one of the existing configs. Just select one and click edit, its a setting in the emulator config. I'm pretty sure theres already one included with gameex for basic mouse control unless I neglected to include it in the install.

These are the files in the config/emulators folder.

IMPORT-EXPORT Folder

Project 64 V2.ini

Visual Pinball V2.ini

VKCodes.htm

ZSNES V2.ini

All these *.ini's say exactly the same thing.

# This is an advanced emulator configuration file. It does things such as allow keyboard only emulators to be operated by a gamepad, wait for additional processes to exit and map keys. If this file is used it overrides the MAPKeys setting for the emulator.

[GENERAL]

# Enabled. Use this.

Enabled=True

#Make MCE Back button and X-ARCADE Escape and SlikStik Escape to close emulator process

MapBack=True

#Make Escape key close emulator process

MapEscape=False

I don't see anything that allows mouse movement controlled by keyboard or other means. Windows has a built in mouse emulation by keystrokes. But it is way to slow and not compatible with this flash player.

Another thing. The edit command is missing from the gameex wizard. Its only present in the old config menu. HK may need to look at this.

Posted
  lingpanda said:
I don't see anything that allows mouse movement controlled by keyboard or other means. Windows has a built in mouse emulation by keystrokes. But it is way to slow and not compatible with this flash player.

Yeah, you probably need to do a manual install of GameEx from the website. Auto-Update has had issues for a while, although its fixed for next version.

Posted
  TSpeirs said:
Yeah, you probably need to do a manual install of GameEx from the website. Auto-Update has had issues for a while, although its fixed for next version.

Fresh Install off of website. Checked folders and still have same issue. What exactly will I see in the folder when it is working correctly? :(

Posted
  lingpanda said:
Fresh Install off of website. Checked folders and still have same issue. What exactly will I see in the folder when it is working correctly? :(

You should see the addition of "PC Mouse V3.ini", no?

Posted
  TSpeirs said:
You should see the addition of "PC Mouse V3.ini", no?

I see that file but like all the rest. The description for each *ini. reads

# This is an advanced emulator configuration file. It does things such as allow keyboard only emulators to be operated by a gamepad, wait for additional processes to exit and map keys. If this file is used it overrides the MAPKeys setting for the emulator.

Is this supposed to be the mouse emulation ini? I suppose it has the wrong description inside?

Posted
  lingpanda said:
I see that file but like all the rest. The description for each *ini. reads

# This is an advanced emulator configuration file. It does things such as allow keyboard only emulators to be operated by a gamepad, wait for additional processes to exit and map keys. If this file is used it overrides the MAPKeys setting for the emulator.

Is this supposed to be the mouse emulation ini? I suppose it has the wrong description inside?

Scroll down and.........

[MOUSEMAPPING]

# For registered users, the ability to control the mouse with a gamepad and/or directional keys.

# For example for PC strategy games.

# Apparantly this functionality is similar to the software Pinnacle profiler. Remember you can setup an emulator

# as one PC game. Specify enabled, and mousespeed 0-20. 20 Being fastest. This setting overrides the directional

# mapping for the above and buttons 1 and 2 Button 1/CTRL becomes left mouse. Button 2/ALT Right mouse

Posted
  TSpeirs said:
Scroll down and.........

[MOUSEMAPPING]

# For registered users, the ability to control the mouse with a gamepad and/or directional keys.

# For example for PC strategy games.

# Apparantly this functionality is similar to the software Pinnacle profiler. Remember you can setup an emulator

# as one PC game. Specify enabled, and mousespeed 0-20. 20 Being fastest. This setting overrides the directional

# mapping for the above and buttons 1 and 2 Button 1/CTRL becomes left mouse. Button 2/ALT Right mouse

DOH!!

Ok found it. Atleast now I know when I need to help others. Heh. Now time to test out with the flash software.

Thanks Tom.

Posted
  TSpeirs said:
No problem, let us know how you get on.

Ok one small problem. I can emulate the movement with my I-PAC but the mouse clicks don't seem to work. The ini says Ctrl and Alt are used for mouse clicks. They don't seem to be working. I'm sure my noobish self is just not seeing something.

  lingpanda said:
Ok one small problem. I can emulate the movement with my I-PAC but the mouse clicks don't seem to work. The ini says Ctrl and Alt are used for mouse clicks. They don't seem to be working. I'm sure my noobish self is just not seeing something.

Well Its working now. Just restarted gameex and its working. Didn't change anything. Not sure why. On a side note. The speech plugin only says 4 games then quits working.

Posted
  lingpanda said:
Ok one small problem. I can emulate the movement with my I-PAC but the mouse clicks don't seem to work. The ini says Ctrl and Alt are used for mouse clicks. They don't seem to be working. I'm sure my noobish self is just not seeing something.

Well Its working now. Just restarted gameex and its working. Didn't change anything. Not sure why. On a side note. The speech plugin only says 4 games then quits working.

If you can post the log after a session where the speech stops working it would really help me out.

Thanks

Posted
  TSpeirs said:
If you can post the log after a session where the speech stops working it would really help me out.

Thanks

00:51:30.2 11/26/2006: GameEx: Version 7.03: Starting Log

00:51:30.2 11/26/2006: Operating System Platform: Win32NT

00:51:30.2 11/26/2006: Operating System Name: Windows XP

00:51:30.2 11/26/2006: Operating System Version: 5.1.2600

00:51:30.2 11/26/2006: Checking for versions of .net Framework installed

00:51:30.2 11/26/2006: .net Framework 1.1 Installed

00:51:30.2 11/26/2006: .net Framework 2.0 Installed

00:51:30.2 11/26/2006: AMD Athlon XP 3200+

00:51:30.2 11/26/2006: 2.2Ghz

00:51:30.2 11/26/2006: Running Randomize()

00:51:30.2 11/26/2006: Loading PlugIns

00:51:30.3 11/26/2006: Loaded Plugin:"Speak Game Name" Version 1.0 By Tom Speirs

00:51:30.3 11/26/2006: PlugIn: "Speak Game Name" Initialized OK

00:51:30.3 11/26/2006: Checking for applications to Launch On Startup

00:51:30.4 11/26/2006: Initialising Video/MNG DLL's

00:51:30.4 11/26/2006: Running Misc startup tasks

00:51:30.4 11/26/2006: Setting Menu types

00:51:30.4 11/26/2006: Opening Configuration File

00:51:30.4 11/26/2006: Getting Configuration Values

00:51:30.4 11/26/2006: Using Theme: Default - Arcade-Classic V2 800x600

00:51:30.4 11/26/2006: Checking for alternate Image Directory for Theme: Default - Arcade-Classic V2 800x600

00:51:30.4 11/26/2006: Arcade Mode is on

00:51:30.4 11/26/2006: Launching HideOS.exe

00:51:30.4 11/26/2006: Hiding Taskbar

00:51:30.4 11/26/2006: Is Media Center running?

00:51:30.4 11/26/2006: Checking/Creating LCD Registry values

00:51:30.4 11/26/2006: Check Media Center Exit/Start Mode

00:51:30.4 11/26/2006: Media Center Mode 2

00:51:30.5 11/26/2006: Text/Language: English

00:51:30.5 11/26/2006: Applying Language/Text

00:51:30.6 11/26/2006: Snap Delay set to: 1

00:51:30.6 11/26/2006: Get other settings

00:51:30.6 11/26/2006: Set: Find emulator artwork on best match basis

00:51:30.6 11/26/2006: SlikStik support enabled

00:51:30.6 11/26/2006: Using DirectInput for keyboard input

00:51:30.7 11/26/2006: Start work for Form

00:51:30.7 11/26/2006: Getting Original Screen Size

00:51:30.7 11/26/2006: Loading ICON

00:51:30.7 11/26/2006: Initializing Component

00:51:30.7 11/26/2006: Initialising Bass Audio Library

00:51:30.8 11/26/2006: Loading default loading screen

00:51:30.9 11/26/2006: Loading Custom Emulators

00:51:30.9 11/26/2006: Loading Emulator 1: Nintendo 64 Games

00:51:30.9 11/26/2006: Loading Emulator 2: Nintendo SNES games

00:51:30.9 11/26/2006: Loading Emulator 4: Nintendo N.E.S

00:51:31.0 11/26/2006: Loading Emulator 9: Genesis

00:51:31.0 11/26/2006: Loading Emulator 10: WinKawaks

00:51:31.0 11/26/2006: Loading Emulator 11: Playstation Games

00:51:31.1 11/26/2006: Loading Emulator 12: Guilty Gear Isuka

00:51:31.1 11/26/2006: Loading Emulator 13: Dreamcast

00:51:31.1 11/26/2006: Loading Emulator 14: Atari Lynx

00:51:31.2 11/26/2006: Loading Emulator 15: Virtua Tennis

00:51:31.2 11/26/2006: Loading Emulator 16: Sega Master System

00:51:31.2 11/26/2006: Loading Emulator 17: GameBoy

00:51:31.3 11/26/2006: Loading Emulator 18: NEC TurboGrafx 16 (MagicEngine)

00:51:31.3 11/26/2006: Loading Emulator 19: SNK Neo Geo Pocket (NeoPop)

00:51:31.4 11/26/2006: Loading Emulator 20: Mattel Intellivision (Bliss)

00:51:31.4 11/26/2006: Loading Emulator 22: Atari 2600 (Stella)

00:51:31.4 11/26/2006: Loading Emulator 23: SWF Opener

00:51:31.5 11/26/2006: Using 3D Alpha Blended Animations. This could be slow

00:51:31.5 11/26/2006: Using General Font: Tahoma

00:51:31.5 11/26/2006: Using Title Font: ELLIS

00:51:31.6 11/26/2006: Initialising DirectDraw

00:51:31.6 11/26/2006: Applying GameEx is Loading Image

00:51:31.6 11/26/2006: Creating DirectDraw Device

00:51:31.6 11/26/2006: Using Device: RADEON 9800 XT

00:51:32.0 11/26/2006: Setting Resolution to 1024x768 32 bit color

00:51:32.0 11/26/2006: Creating DirectDraw Surfaces

00:51:32.0 11/26/2006: Creating Primary Surface - Full Screen Mode

00:51:32.1 11/26/2006: Creating Back Buffer

00:51:32.1 11/26/2006: Version 2 Theme being used. Loading.

00:51:32.1 11/26/2006: Loading Button Data

00:51:32.1 11/26/2006: Loading Font Data

00:51:32.1 11/26/2006: Loading Layout Data

00:51:32.1 11/26/2006: Loading Taskbar Data

00:51:32.1 11/26/2006: Loading graphic surfaces

00:51:32.2 11/26/2006: Creating Surfaces Misc and Dialogs

00:51:32.2 11/26/2006: Creating Surface Volume

00:51:32.2 11/26/2006: Creating Surfaces Arrows

00:51:32.2 11/26/2006: Creating Surfaces GameEXlogo Text

00:51:32.2 11/26/2006: Creating Surfaces Toolbar

00:51:32.2 11/26/2006: Creating Surfaces Backgrounds

00:51:32.4 11/26/2006: Creating Surfaces Toolbar Controls

00:51:32.4 11/26/2006: Creating Surfaces GameEx Logo

00:51:32.4 11/26/2006: Creating Surfaces Home & Exit

00:51:32.4 11/26/2006: Creating Surfaces Snaps

00:51:32.4 11/26/2006: Creating Surfaces Menu and List Bars

00:51:32.5 11/26/2006: Creating Fonts

00:51:32.5 11/26/2006: Creating Menu Font

00:51:33.4 11/26/2006: Creating Game Font

00:51:34.1 11/26/2006: Creating Font Black

00:51:34.3 11/26/2006: Creating Font Black Small

00:51:34.4 11/26/2006: Creating Game Font Faded

00:51:35.2 11/26/2006: Creating Title Font

00:51:35.2 11/26/2006: Restoring Title Font From Cache

00:51:35.2 11/26/2006: Fonts Created Succesfully

00:51:35.3 11/26/2006: Creating Radio Station Genres

00:51:35.4 11/26/2006: Succesfully created station genres

00:51:35.4 11/26/2006: Initialising Windows Media Player Component

00:51:35.4 11/26/2006: MAME Path is: C:\Program Files\Emu\Mame\Mame32

00:51:35.4 11/26/2006: daphne Path is: C:\Program Files\Emu\daphne-0.99.7-win32

00:51:35.4 11/26/2006: daphne EXE file is: Daphne.exe

00:51:35.4 11/26/2006: Use daphne on. Daphne.exe will launch games

00:51:35.5 11/26/2006: Model 2 Path Path is: C:\Program Files\Emu\m2emulator

00:51:35.5 11/26/2006: Model 2 EXE file is: emulator.exe

00:51:35.5 11/26/2006: Use Model 2 on. m2launcher.exe will launch Sega Model 2 games

00:51:35.5 11/26/2006: ZiNc Path is: C:\Zinc

00:51:35.5 11/26/2006: ZiNc EXE file is: zinc.exe

00:51:35.5 11/26/2006: Use ZiNc on. zinc.exe will launch PSX games

00:51:35.5 11/26/2006: MAME EXE file is: Mame32.exe

00:51:35.5 11/26/2006: ROM Path is: C:\Program Files\Emu\Mame\Mame32\roms

00:51:35.5 11/26/2006: Catver.ini is located at: C:\Program Files\GameEx\DATA\catver.ini

00:51:35.5 11/26/2006: controls.ini is located at: C:\Program Files\GameEx\data\controls.ini

00:51:35.5 11/26/2006: History.dat is located at: C:\Program Files\GameEx\DATA\history.dat

00:51:35.5 11/26/2006: nplayers.ini is located at: C:\Program Files\GameEx\DATA\nplayers.ini

00:51:35.6 11/26/2006: MAMEinfo.dat is located at: C:\Program Files\GameEx\DATA\mameinfo.dat

00:51:35.7 11/26/2006: Loading Controls.ini map file

00:51:35.7 11/26/2006: Snap Path is: C:\Program Files\Emu\Mame\Mame32\snap

00:51:35.7 11/26/2006: AVI Snap Path is: C:\Program Files\Emu\Mame\Mame32\mng

00:51:35.7 11/26/2006: Flyer Path is: C:\Program Files\Emu\Mame\Mame32\flyers

00:51:35.7 11/26/2006: Cabinet Path is: C:\Program Files\Emu\Mame\Mame32\cabinets

00:51:35.7 11/26/2006: Title Path is: C:\Program Files\Emu\Mame\Mame32\titles

00:51:35.7 11/26/2006: Panel Path is: C:\Program Files\Emu\Mame\Mame32\cpanel

00:51:35.7 11/26/2006: Icon Path is: C:\Program Files\Emu\Mame\Mame32\icons

00:51:35.7 11/26/2006: Marquee Path is: C:\Program Files\Emu\Mame\Mame32\marquees

00:51:35.7 11/26/2006: MAME CMD options: -triplebuffer -nowindow -joy

00:51:35.7 11/26/2006: Attempting to load game list

00:51:36.2 11/26/2006: Loading last used Game List

00:51:36.2 11/26/2006: Setting Music Volume

00:51:36.2 11/26/2006: Creating DirectSound Device

00:51:36.2 11/26/2006: Trying: Primary Sound Driver

00:51:36.2 11/26/2006: Loading Sound Files

00:51:36.2 11/26/2006: DirectSound Device Created Successfully

00:51:36.2 11/26/2006: Creating ICONS

00:51:36.2 11/26/2006: Restoring Cached ICONS from File

00:51:36.5 11/26/2006: Initialising DirectInput for Gamepad support

00:51:36.5 11/26/2006: Unable to create a joystick device

00:51:36.5 11/26/2006: Initialising DirectInput for Keyboard support

00:51:36.6 11/26/2006: Playing Startup Video

00:51:36.7 11/26/2006: Playing intro sound file

00:51:36.7 11/26/2006: Initializing MCE Remote

00:51:36.7 11/26/2006: Initialization OK! Starting GameEx!

00:51:36.7 11/26/2006: Testing Main Loop Once: Processing Frame

00:51:37.0 11/26/2006: Testing Main Loop Once: Main Loop ran successfully

00:52:10.3 11/26/2006: PlugIn: "Speak Game Name" caused an exception and is being disabled.

00:52:10.3 11/26/2006: Exception has been thrown by the target of an invocation.

00:52:10.3 11/26/2006: at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)

00:52:10.3 11/26/2006: at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess)

00:52:10.3 11/26/2006: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

00:52:10.3 11/26/2006: at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)

00:52:10.3 11/26/2006: at GameEx.PlugIns.InvokeMethod(Object obj, String sProperty, Object oValue)

00:52:10.3 11/26/2006: at GameEx.PlugIns.InvokeMethod(Object obj, String sProperty, Game_Info oValue)

00:52:10.3 11/26/2006: at GameEx.PlugIns.Event_GameShowInfo(Game_Info gi)

00:52:16.6 11/26/2006: Exiting GameEx!

00:52:16.6 11/26/2006: Saving Settings

00:52:21.3 11/26/2006: Disposing Plugins

00:52:21.3 11/26/2006: Checking for applications to Launch On Exit

Posted

Tom I see the mistake here..

GameEx.PlugIns.Event_GameShowInfo(Game_Info gi)

You should be calling it using an IntPtr..

Game_Info Info;

Info.GameData.Category = "Category";
Info.GameData.Year = "Year";
Info.GameData.Developer = "Developer";
Info.GameData.Description = "Description";
Info.MameInfo.Players = "Players";
Info.MameInfo.Control = "Control";
Info.MameInfo.ParentRom = "ParentRom";
Info.EmulatorName = "EmulatorName";
Info.GameName = "GameName";
Info.ROMPath = "ROMPath";
Info.ROMName = "ROMName";

IntPtr InfoPtr = Marshal.AllocCoTaskMem(Marshal.SizeOf(typeof(Game_Info)));
Marshal.StructureToPtr(Info, InfoPtr, false);

InvokeMethod(oApp, "Event_GameShowInfo", InfoPtr);

Marshal.FreeCoTaskMem(InfoPtr);

Posted

Thanks Ben but that's not it.

That proc is in GameEx not the plugin, that gets called from elsewhere within GameEx itself so it does not use an intpr.

It seems the error is actually generated within the plugin by the look of the stack trace and message.

Posted

Are you sure? Check out the log..

  Quote
...

00:52:10.3 11/26/2006: at GameEx.PlugIns.InvokeMethod(Object obj, String sProperty, Object oValue)

00:52:10.3 11/26/2006: at GameEx.PlugIns.InvokeMethod(Object obj, String sProperty, Game_Info oValue)

00:52:10.3 11/26/2006: at GameEx.PlugIns.Event_GameShowInfo(Game_Info gi)

See above your calling InvokeMethod with GameEx.PlugIns.Event_GameShowInfo(Game_Info gi). That is where the exception is occuring and the reason is because the Game_info struct is not what that method is expecting as a parameter, it's expecting an IntPtr.

The code I posted before is what should be in GameEx, not the plugin. You have to send the struct to the plugin's method using an IntPtr.

Posted
  headkaze said:
Are you sure? Check out the log..

See above your calling InvokeMethod with GameEx.PlugIns.Event_GameShowInfo(Game_Info gi). That is where the exception is occuring and the reason is because the Game_info struct is not what that method is expecting as a parameter, it's expecting an IntPtr.

The code I posted before is what should be in GameEx, not the plugin. You have to send the struct to the plugin's method using an IntPtr.

No

It does this, see the void, thats the start of the stack trace in the log above.

void Event_GameShowInfo(Game_Info gi)

gi.GameData.Category = "Category";

gi.GameData.Year = "Year";

gi.GameData.Developer = "Developer";

gi.GameData.Description = "Description";

gi.MameInfo.Players = "Players";

gi.MameInfo.Control = "Control";

gi.MameInfo.ParentRom = "ParentRom";

gi.EmulatorName = "EmulatorName";

IntPtr InfoPtr = Marshal.AllocCoTaskMem(Marshal.SizeOf(typeof(Game_Info)));

Marshal.StructureToPtr(gi, InfoPtr, false);

InvokeMethod(oApp, "Event_GameShowInfo", InfoPtr);

Marshal.FreeCoTaskMem(InfoPtr);

Posted
  headkaze said:
Are you sure? Check out the log..

See above your calling InvokeMethod with GameEx.PlugIns.Event_GameShowInfo(Game_Info gi). That is where the exception is occuring and the reason is because the Game_info struct is not what that method is expecting as a parameter, it's expecting an IntPtr.

The code I posted before is what should be in GameEx, not the plugin. You have to send the struct to the plugin's method using an IntPtr.

Yeah sorry for confusing you, thats an overloaded function that takes Game_Info but it then takes it converts it to an intptr and calls InvokeMethod again, see 3rd line.

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