DazzleHP Posted May 7, 2014 Share Posted May 7, 2014 Thank man! I was just struggling with this myself. Nice find! Me too! lol Thanks for sussing that one out - my head was starting to hurt 1 Quote Link to comment Share on other sites More sharing options...
Adultery Posted June 15, 2014 Author Share Posted June 15, 2014 Updated to 1.0.5!This is mostly due to a fix pointed out by MNMax21, but I also added a new feature for checking the master database online instead of downloading a server generated text file, which should make things happen much faster than waiting for the script to catch up.Plugin now checks online for games instead of downloading a local listThis keeps the list up to the second a game is entered instead of waiting for the server to update the game listIf no connection to the request site is made, override mode is used to capture snapsFixed a bug where Snow Bros was not being found in game listSmoothed out some code that detects key presses and takes snapsMoved the snap folder for temporary MAME snaps to the user's %temp% folder, keeping things tidyGet it from the first post. 3 Quote Link to comment Share on other sites More sharing options...
KRC Posted June 15, 2014 Share Posted June 15, 2014 Nice Work Adultery ! 1 Quote Link to comment Share on other sites More sharing options...
GimmeClassics Posted June 15, 2014 Share Posted June 15, 2014 Thank you Adultery for this update and MNMax21 for your involvement 1 Quote Link to comment Share on other sites More sharing options...
Stu1983 Posted October 2, 2014 Share Posted October 2, 2014 I can't seem to get this to workMy cabinet is online but it just keeps telling me that every game is not a HiScore gameI'm using the latest map file so I'm running the right romsI'm running Mame 15003/10/2014 00:00:01 : Hi-Score Snapper (Version: 1.0.5)03/10/2014 00:00:01 : 13.31 INITIALIZED OK!: GameEx03/10/2014 00:00:01 : Cleaning up old data...03/10/2014 00:00:01 : INIT PLUGIN: Initialization completed!03/10/2014 00:00:01 : MAME version: 0.15003/10/2014 00:00:01 : MAME check complete!03/10/2014 00:01:00 : 1943: The Battle of Midway is not a Hi-Score game! Exiting command-line utility!03/10/2014 00:01:17 : 1944: The Loop Master is not a Hi-Score game! Exiting command-line utility!03/10/2014 00:01:40 : Anteater is not a Hi-Score game! Exiting command-line utility!03/10/2014 00:02:02 : Arkanoid is not a Hi-Score game! Exiting command-line utility!03/10/2014 00:02:31 : Blazing Star is not a Hi-Score game! Exiting command-line utility!03/10/2014 00:02:56 : Saving XML...03/10/2014 00:02:56 : Cleaning up...03/10/2014 00:02:56 : Hasta la vista... Baby. Quote Link to comment Share on other sites More sharing options...
Adultery Posted October 2, 2014 Author Share Posted October 2, 2014 Hi Stu,When you say you're using the latest MAP file, does that mean you're not using integrated MAME support? As in, do you have MAME set up as a seperate emulator per chance? This plugin only works for integrated support. Quote Link to comment Share on other sites More sharing options...
Stu1983 Posted October 3, 2014 Share Posted October 3, 2014 That would be it then, yes I have a separate emulator setup with only the HiScore games listed, this is how the guide said to set it up.Is there a better way? I like idea of having the HiScores games separated out.There's another bug, if you tick the send F12 option then close and open the config, the option is unticked. Quote Link to comment Share on other sites More sharing options...
DazzleHP Posted October 3, 2014 Share Posted October 3, 2014 Is there a better way? I like idea of having the HiScores games separated out.If you use the custom mame hiscore list rather than the map, the snapper will recognise the games and work. Grab it here (right-click & save as). If you're not familiar with custom MAME lists there is a guide here, it's easy to follow and you may become obsessed with creating your own too At the bottom of the guide is a few lists i've created if you're interested, including the list to our new Monster Mash tourney if you want to get in on that too! 1 Quote Link to comment Share on other sites More sharing options...
Adultery Posted October 3, 2014 Author Share Posted October 3, 2014 What he said. I much prefer that method because I like keeping my mame games in one spot while having a custom list of each competition.As for the bug, yes I caught and fixed that already but it wasn't enough of an issue for a release. The setting does save, it's just that the checkbox doesn't properly update on loading. 1 Quote Link to comment Share on other sites More sharing options...
Stu1983 Posted October 3, 2014 Share Posted October 3, 2014 funny as I was setting it up I was thinking it would be better setup as a custom list.We'll I have the custom list working but I'm still having no luck with the plugin.It now see the game but I never get the screenshot.I've checked the temp directory and there is a folder with the game name but the folder is empty.Also I notice that when I press shift+home my LEDWiz turns off 03/10/2014 21:34:37 : Hi-Score Snapper (Version: 1.0.5)03/10/2014 21:34:37 : 13.31 INITIALIZED OK!: GameEx03/10/2014 21:34:37 : Cleaning up old data...03/10/2014 21:34:37 : INIT PLUGIN: Initialization completed!03/10/2014 21:34:37 : MAME version: 0.15003/10/2014 21:34:37 : MAME check complete!03/10/2014 21:35:12 : Checking for HiScore...03/10/2014 21:35:14 : Online Hi-Score check: Found game list! Setting up...03/10/2014 21:35:14 : Successfully added 63 hi-score games to the verified game list!03/10/2014 21:35:14 : Checking list for Hi-Score game...03/10/2014 21:35:14 : Found dkong in list! Initializing snapper!03/10/2014 21:35:14 : Starting snap monitor...03/10/2014 21:35:16 : LOG CMDLINE: MAME CommandLine: mamex64.exe dkong -rompath "E:\_Roms\Mame\Roms" -bezel -artpath artworkgameex -nocheat -snapshot_directory "C:\Users\Stu\AppData\Local\Temp\hss" -snapsize 1024x76803/10/2014 21:35:28 : Stopping snap monitor...03/10/2014 21:35:31 : Saving XML...03/10/2014 21:35:31 : Cleaning up...03/10/2014 21:35:31 : Hasta la vista... Baby.So I ran it again with Headkaze LED plugin turned offI then get an exceptionSee the end of this message for details on invokingjust-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.IndexOutOfRangeException: Index was outside the bounds of the array.at DracLabs.Snap_Worker.Internal_Snap.Get_Last_Created_File(String img_dir)at DracLabs.Snap_Worker.Internal_Snap.Get_MAME_Internal_Snap()at Monitor.Keys_Timer_Tick(Object sender, EventArgs e)at System.Windows.Forms.Timer.OnTick(EventArgs e)at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************mscorlibAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.5477 (Win7SP1GDR.050727-5400)CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------GameExAssembly Version: 1.0.0.0Win32 Version: 1.0.0.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/GameEx.exe----------------------------------------System.Windows.FormsAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------SystemAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.DrawingAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------Microsoft.VisualBasicAssembly Version: 8.0.0.0Win32 Version: 8.0.50727.5420 (Win7SP1.050727-5400)CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll----------------------------------------Microsoft.DirectX.Direct3DXAssembly Version: 1.0.2911.0Win32 Version: 9.12.589.0000CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll----------------------------------------CopyDataClassAssembly Version: 1.0.0.0Win32 Version: 1.0.0.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/CopyDataClass.DLL----------------------------------------ArtDownloaderAssembly Version: 0.0.0.0Win32 Version: 0.0.0.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/ArtDownloader.DLL----------------------------------------Microsoft.DirectX.DirectInputAssembly Version: 1.0.2902.0Win32 Version: 5.04.00.2904CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll----------------------------------------Interop.UPNPLibAssembly Version: 1.0.0.0Win32 Version: 1.0.0.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/Interop.UPNPLib.DLL----------------------------------------FFDShowAPIAssembly Version: 1.0.0.0Win32 Version: 1.0.0.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/FFDShowAPI.DLL----------------------------------------Interop.DvdCoreAssembly Version: 1.0.0.0Win32 Version: 1.0.0.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/Interop.DvdCore.DLL----------------------------------------Interop.WMPLibAssembly Version: 1.0.0.0Win32 Version: 1.0.0.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/Interop.WMPLib.DLL----------------------------------------Microsoft.DirectX.Direct3DAssembly Version: 1.0.2902.0Win32 Version: 9.05.132.0000CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll----------------------------------------Interop.iTunesLibAssembly Version: 1.13.0.0Win32 Version: 1.13.0.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/Interop.iTunesLib.DLL----------------------------------------Microsoft.DirectX.DirectDrawAssembly Version: 1.0.2902.0Win32 Version: 5.04.00.2904CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectDraw/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectDraw.dll----------------------------------------System.ConfigurationAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------System.XmlAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400)CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------System.DataAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll----------------------------------------System.Data.SQLiteAssembly Version: 1.0.81.0Win32 Version: 1.0.81.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/System.Data.SQLite.DLL----------------------------------------Microsoft.DirectX.DirectSoundAssembly Version: 1.0.2902.0Win32 Version: 5.04.00.2904CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectSound/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectSound.dll----------------------------------------System.TransactionsAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll----------------------------------------System.ManagementAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll----------------------------------------AccessibilityAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll----------------------------------------CursorHiderAssembly Version: 1.0.3416.17500Win32 Version: 1.0.3416.17500CodeBase: file:///E:/_EmulatorsArcade/GameEx/PlugIns/CursorHider.dll----------------------------------------DT LoaderAssembly Version: 1.0.5357.24070Win32 Version: 1.0.5357.24070CodeBase: file:///E:/_EmulatorsArcade/GameEx/PlugIns/DT%20Loader.dll----------------------------------------HiScore SnapperAssembly Version: 1.0.5279.22290Win32 Version: 1.0.5279.22290CodeBase: file:///E:/_EmulatorsArcade/GameEx/PlugIns/HiScore%20Snapper.dll----------------------------------------PlugInUltraStikAssembly Version: 1.3.0.0Win32 Version: 1.3.0.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/PlugIns/PlugInUltraStik.dll----------------------------------------System.EnterpriseServicesAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll----------------------------------------System.WebAssembly Version: 2.0.0.0Win32 Version: 2.0.50727.5479 (Win7SP1GDR.050727-5400)CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll----------------------------------------NetVideoPlayerAssembly Version: 1.1.5042.24299Win32 Version:CodeBase: file:///E:/_EmulatorsArcade/GameEx/NetVideoPlayer.DLL----------------------------------------msvcm90Assembly Version: 9.0.30729.6161Win32 Version: 9.00.30729.6161CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57/msvcm90.dll----------------------------------------Microsoft.DirectXAssembly Version: 1.0.2902.0Win32 Version: 5.04.00.2904CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll----------------------------------------Interop.AVGAComObjAssembly Version: 1.0.0.0Win32 Version: 1.0.0.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/Interop.AVGAComObj.DLL----------------------------------------ZIPAssembly Version: 1.0.0.0Win32 Version: 1.0.0.0CodeBase: file:///E:/_EmulatorsArcade/GameEx/ZIP.DLL----------------------------------------************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:<configuration><system.windows.forms jitDebugging="true" /></configuration>When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.Looking at the methods being called I assume the out of bounds is because you are trying to grab the last snap but for some reason it doesn't existIf I run MAME and hit F12 myself the snap is created but your plugin doesn't seem to be sending F12 for me.I have direct input enabled... you say that the F12 setting is saved even though the display doesn't show anything but I don't see it in my settings file<?xml version="1.0" encoding="utf-8" standalone="yes"?><hi_snapper> <settings> <xml_ver>1.1</xml_ver> <created>02 October 2014 23:25:40</created> <debug>False</debug> <username>Stu1983</username> <initials>STU</initials> <snap_path>E:\_EmulatorsArcade\GameEx\HiScore Snapper</snap_path> <snap_type>1</snap_type> </settings> <mame> <enabled>True</enabled> <use_ddraw>False</use_ddraw> <no_size>False</no_size> </mame> <misc> <log_cl>True</log_cl> <force>False</force> </misc></hi_snapper> Quote Link to comment Share on other sites More sharing options...
Adultery Posted October 3, 2014 Author Share Posted October 3, 2014 Pisser, you're right it's not there. Paste this into your settings.xml and I'll put out an update in a few.<hi_snapper> <settings> <xml_ver>1.1</xml_ver> <created>02 October 2014 23:25:40</created> <debug>False</debug> <username>Stu1983</username> <initials>STU</initials> <snap_path>E:\_EmulatorsArcade\GameEx\HiScore Snapper</snap_path> <snap_type>1</snap_type> </settings> <mame> <enabled>True</enabled> <use_ddraw>False</use_ddraw> <send_key>True</send_key> </mame> <misc> <log_cl>True</log_cl> <force>False</force> </misc></hi_snapper> Quote Link to comment Share on other sites More sharing options...
Adultery Posted October 5, 2014 Author Share Posted October 5, 2014 Version 1.0.6 hit the streets today! Check out these bug fixes and enhancements:Fixed a bug where 'Send F12' option checkbox handler got lost in configurationTweaked the online checking so it will look online for a game and update the list if a full day has gone by without a restartAdded competition marquee download from the online DB and the competition marquee is now drawn to the submision snapA lot of other enhancements including specific messages in the log to indicate if mame integrated mode is being usedSnapper now runs in attract mode too if you start a hi-score game using the F5 keyNew message added to overhead if 'force snap' mode is enabled (either by configuration or because online datavase connection cannot be made)Here's an example of the new overlay changes:-DATABASE: SERVER SIDE CHANGES-Added new check for enabled/disabled competitions and gamesIf a seasonal comp is over the games will not be included in the listed gamesIf a game is not enabled it will also not be listedServer now checks database directly instead of relying on a text list generated by DBMExtra special thanks to Stu1983 for the assistance in squishing the bug where the F12 setting wasn't being saved properly.Find the download at the usual places. 2 Quote Link to comment Share on other sites More sharing options...
Stu1983 Posted October 7, 2014 Share Posted October 7, 2014 Thanks Adultery, that's it working now... now I just need to get a score worthy of taking a snap of 1 Quote Link to comment Share on other sites More sharing options...
MNMax21 Posted October 9, 2014 Share Posted October 9, 2014 Hey Adultery, I was just reading this topic again due to the recent postings and I thought of something. I am not a programmer by any means, so I am wondering if this is even an option. I still use the turn on and turn off option for the plugin, because of the whole d3d deal. It's still a fairly easy deal, as I just exit out of GameEx and check the box to turn it on when I need a snapshot. Again, I do this because I use bezel artwork around the game itself, due to my larger screen. When the plugin is enabled, that artwork becomes blurry. Long short of it, I was wondering if there was a way to somehow make a sequence of key pressing put a check mark into that box without exiting GameEx to get to the PlugIn enabler .exe. Meaning basically, is there a way one could just make the plug in active while staying inside GameEx? Quote Link to comment Share on other sites More sharing options...
Adultery Posted October 9, 2014 Author Share Posted October 9, 2014 Not the way the system is currently set up unfortunately. Tom initializes the plugins when GameEx loads up. The preferred option here is to just compile your own copy of mame with DirectInput so you can use D3D as your renderer which is much less painful than you might think and adds additional functionality such as hiscore and no nag support. Quote Link to comment Share on other sites More sharing options...
Draco1962 Posted October 9, 2014 Share Posted October 9, 2014 I would think it possible to compile two different MAME executibles (in their own directories as distinct emulators, ROMS, etc.), one with D3D enabled and the other without. They could be combined as an emulator group or kept separate. Quote Link to comment Share on other sites More sharing options...
MNMax21 Posted October 9, 2014 Share Posted October 9, 2014 Sorry Adultery, I know you've touched on this topic before. I don't mean to keep rehashing it. I compiled my current version of MAME with the HK Mame Compiler 64(Edit: pretty sure it's .153). I don't recall an option for how you wanted to have things rendered. Is there a wiki or some website I can go to for further information? I really have no clue what the rendering stuff means, so I'd be starting from zero. Quote Link to comment Share on other sites More sharing options...
Adultery Posted October 9, 2014 Author Share Posted October 9, 2014 I meant D3D sorry. On one of the tabs on HK's compiler, there's a check box for 'Enable DirectInput'. Maybe Compile Options? I'm not positive atm. Just check that box before you compile and then you can use the plugin's 'mame internal snap mode' where it sends f12 to mame for taking the snap, which means you can use any renderer you wish. Quote Link to comment Share on other sites More sharing options...
Adultery Posted November 5, 2014 Author Share Posted November 5, 2014 So...I want to add a timer to the plugin that shows the amount of time your game session was and add that to the snap.Thoughts on this? Quote Link to comment Share on other sites More sharing options...
DazzleHP Posted November 5, 2014 Share Posted November 5, 2014 It's an idea, and couldn't do any harm, but what use would it have? For instance some games seem to run better in directx than in directdraw, so if you play for 2 hours in directx, get your score then reload in ddraw to capture the leaderboard, what would be the purpose? Unless you can combine playtime in both modes which i'm sure you can.Never mean to step on your toes man you know that, but was just wondering what application it could have? Quote Link to comment Share on other sites More sharing options...
Adultery Posted November 5, 2014 Author Share Posted November 5, 2014 Just so you could say 'Look what I got for a score in 20 mins' or whatever. I will probably make it optional.More for fun than for restrictive purposes. It was an idea I had while I was in there to add support for mame as a seperate emulator if it's not part of integrated mame. Quote Link to comment Share on other sites More sharing options...
garetmax Posted March 3, 2015 Share Posted March 3, 2015 I can't get any snaps to be made. When I push the shift-home combo, Mame pauses then starts pulling up CP-Wizard's Mame menu then closes that and puts me back to the play this game list. I see in the log its trying to put a snap in a hidden directory. It seems like this might be a folder permission issue with where its supposed to put the snap but I don't see a problem in that folder. What do I need to change?Settings.xmlGameEx.ini Quote Link to comment Share on other sites More sharing options...
Adultery Posted March 3, 2015 Author Share Posted March 3, 2015 I think the conflict is in CP Wizard unfortunately, the snap button must be hooked through it somehow. Quote Link to comment Share on other sites More sharing options...
garetmax Posted March 3, 2015 Share Posted March 3, 2015 I turned off CPWizard and the snapper is working so definitely there's some sort of conflict there. I tried different CPWizard detect pause settings/etc but couldn't get anything to work. I'm hoping someone has their setup working with CPWizard and the Snapper somehow. Here's what I was using for CPWizard that works without the snapper. Quote Link to comment Share on other sites More sharing options...
DazzleHP Posted March 3, 2015 Share Posted March 3, 2015 What happens if you disable/uncheck "Screenshot" in CP Wizard? I've never used it (CP Wizard) but would assume that both plugins use the same method.EDIT - Don't be afraid to shoot me down if i'm way off course here - as i said i've never used CP Wizard. I just like to give options/reasons to ponder 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.