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

headkaze

Elite Member
  • Posts

    5120
  • Joined

  • Last visited

  • Days Won

    37

Everything posted by headkaze

  1. Just tested.. I can get the error everytime after selecting a few games from the mame list. Then it will close the plugin. I also got a few of the following errors when running GameEx again. Then it started working again.
  2. lol yes it was the overloaded InvokeMethod that got me. I would never have expected that, and I thought you were going crazy because the problem looked so obvious to me! Oh well, time to keep racking our brains.
  3. 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.
  4. 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);
  5. I have uploaded the new version of the test program which should now have the LEDWiz working. So those with a LEDWiz please give it a try and let me know the results. You can get it from the first post. I've also just added a test for a feature that will flash the LED's on a LEDWiz in time with music. So if that can be tested too. Make sure you set the Recording input of your soundcard to Stereo Mix Out. You may have to set the volume to zero on Stereo Mix Out as well. I'm also waiting for someone to test the Beta Brite stuff.
  6. Tom this could be a bug, if the voice stopps working after screen saver mode chances are the plugin has caused an exception and closed. Can you please check this out.
  7. I'm pretty sure this is the file you can use... Microsoft Mary, Mike and Sam 5.0 (68MB).
  8. Continuing on what Tom is saying, believe it or not plugins are better than integrated code because they allow a user to swtich off the functionality completely if they dont want it meaning it doesn't use any resources. It's all a part of modular coding design, so yeah I'm really excited about the potention this new feature has. And I think Tom has a really cool idea for taking plugins to the next level. Where you can code modules that fully integrate, so you could write your own jukebox plugin for example. It will be interesting to see how far this can go.
  9. Well, the custom mode in Setup Wizard is supposed to mean you don't have to click through a thousand pages of settings. But yeah, I like C++ for speed critical stuff. But if you look at GameEx which is written entirely in .NET (with a few components in C++), it runs pretty damn well. That's DirectX for you I guess.
  10. The Setup Wizard not fast enough for ya? hehe The thing is this whole FE is written in .NET so there is no point in thinking about C++. I do use C++ but only for things like wrappers and stuff that can't be done easily in .NET. Trust me when I say this, coming from someone who can code in C++, .NET is a beautiful language and it's the future. I recommend it to you, and the earlier you start the quicker you can get good at it. It really is a lovely language, and what you can do in C++ in 2 hours you can do in .NET in 10 minutes. It's worth a look And the plugin system is written for it, so I'm really hoping you will give it a try!
  11. Ive been looking at your recent post "Virtual CD\DVD CLI (Command Line Interface) " and can't help but see another plugin.. heh
  12. *shrugs* Not sure about a pinned topic, up to you. Perhaps another addition to the FAQ, but noone reads that anyways right lol
  13. Plugins for GameEx opens up new doors. The best FE just gets better! I urge people like Nologic to give C# a try, you can download the Microsoft Visual C# 2005 Express Edition for free and write you own plugins for GameEx. (There is an example plugin in the PLUGINS folder of the latest GameEx release) Things like mounting images and whatever you can think of can all be integrated into the new plugin system. If you are new to C# and need help writing a plugin just make a post and we will try to help. The plugin system is still in development, so if you need a feature to make your own plugin a reality just let Tom know and I'm sure he will take a look at adding it. There is still more to be done with the plugin's but right now there is a lot that can be made. This also means external developers like me can help add features to GameEx so if you come up with a good idea for a plugin just post a feature request and we will see if it can be made! Finally.... please note the current plugins are all very new, and have not been tested fully. So if you can test them and report back any bugs on the forums.
  14. 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.
  15. I think Tom just needs to add an Applicaton.DoEvents() in his update loop and that should take care of that.
  16. It's a bit hard to fix a problem that I can't replicate or understand what is going on. That is why I posted a test version of the wrapper in post #4. If it's hilighting the game, then I know at least the problem comes after I select the ROM from the list. If you have a look at the attached picture, it's what I expect you to get if you follow my instructions in post #4 using overrev as the command line argument.
  17. Okay some good news, I decided to use MikeQ's LEDWiz dll instead of Randy's ocx and loadman has confirmed that it's working. Now I just need to do a bit more testing then merge it into LCDTest for more testing, then hopefully into the plugin template.
  18. Hmm that is strange. That is not the full version of the wrapper, that is a test version which is only supposed to hilight the game, not run it. The full version of the wrapper is the one that comes with GameEx. GameEx copies the m2loader.exe from the GameEx directory to the model2 folder then launches it from there. Attached is the full version that should be with GameEx, but make sure you copy it to the GameEx folder if you are trying to launch from GameEx. If you have problems, get back to me perhaps I can fix this wrapper once and for all. m2loader.zip
  19. I've fixed the links, they should work now.
  20. From my experience if you select fullscreen before the game has loaded it will crash. With the model2 wrapper I wrote (which for some reason doesn't work for some people), I have to launch the game and check that the game's window has opened before I can make it go fullscreen. If I don't it will crash.
  21. Maybe you guys can do a test for me. Can you place the attached m2loader in your model2 emulator folder, and create a shortcut to it. Eg. "C:\Emulators\Model2\m2loader.exe" overrev Try a few ROM names other than overrev; bel, doab, lastbrnx, skisuprg, vstriker, zerogun etc. When you launch the shortcut does it hilight the right game? m2loader.zip
  22. Thanks for that guys, I'll see if I can bring ChankEx into fullscreen using a different method.
  23. I've just had a play with ChankEx using the Soul Calibur hacks and I don't honestly notice any difference. I'm really starting to wonder why I bothered adding support for it. Personally I'm going back to using the original Chankast, this hack dosn't seem to be worth it IMHO.
  24. Hmm I think I know what may be causing the crashing for you emph. Some of the hacked dll's may be causing it. I've just tried a fresh install of ChankEx with my wrapper and I can replicate the crashing. The way I fixed it was to copy over the following dll's from the original Chankast Chankast_Cdrom.dll Chankast_Cdrom_Aspi.dll Chankast_Input.dll Chankast_Input_Semi.dll I think ChankEx uses some pretty crude hacks and may not be worth the effort after all. I'm not sure if replacing the above dll's means that some of the hacks don't work either.
  25. Just download from here and install over the top. You shouldn't lose any of your current settings. I've been installing over the top for a long time and have never lost a setting.
×
×
  • Create New...