Adultery Posted December 2, 2011 Share Posted December 2, 2011 MAME Commander 22.1.6 Take complete control of your MAME games with this plugin. Version 2.1.0 is a complete, from the ground up re-write of the earlier 2.0.8 Mame Commander. This change brings a ton of new features, as well as the best of the old version. You can control nearly every aspect of your MAME launching. Here's the rundown:MAME IntegrationSearch all of everything using MAME.Select from the following criteria:ROM NameGame NameManufacturerCategoryRelease Year# Of Players# Of ButtonsDriverCheck your XML based off the current version of MAMESet a MAME path or just use GameEx's MAME.EXE locationSet your support file paths or use GameEx's specified filesCommand SettingsAdd or remove the game from GameEx's Filter ListAdd or remove the game from GameEx's Do Not Filter ListSet a custom global command line for that game Note: This overrides your global command line for GameEx but does not replace it!Set game specific commands to be sent when the game is runOverride SettingsCheck the box to enable/disable Emulator overridesBrowse for the emulator you wish to useSet up the commands to be sent to the emulator Note: This supports all GameEx command line switches also (ie "[RomPath]\[RomFile]", etc)Launch Before/After/Also Launch IntegrationSetting a command for Launch Before will launch the command before the game runsSetting a command for Launch Also will launch the command the same time that game runsSetting a command for Launch After will launch the command after the game exitsA command might look something like this: C:\Xpadder\Xpadder.exe "C:\Xpadder\Emulator Profiles\NES-1.xpadderprofile" "C:\Xpadder\Emulator Profiles\NES-2.xpadderprofile"Search FilteringSet ROM, Driver, and Emulation Status filters to apply when searching for gamesCheck the box to only search the ROMs you have added to GameExExtra Game InformationView your art for the selected gameGet all the MAME info on the game, like status, savestate support, etcView the game's History and MameInfo informationSee all the dip switches for a game and what their values areSee all the ROMs required and some info about themMame Switch ImporterBrowse a list of switches split up by categoryView a brief description of the switch's purpose when appliedShows an example of the MAME switchAdd To Global adds the command-line switch (and value if needed) to the global command for that gameAdd To Game adds the command-line switch (and value if needed) to the game switchesAny questions or comments? Feel free to ask 'em. I also like feature requests.Download it here:NOTE: MAME Commander 2 is not packed in with GameEx! The lighter weight MC Lite is, however, and is suitable for most users... Most of the advanced features have been removed from the Lite version and the search does not rely on the MAME xml. If you need something more, or need greater control of your MAME build, this plugin is for you. It should be noted that the MAME all games XML is a big file, and if you use an older system you may have issues using this version.Download @ DracLabs, or use the DracLabs Plugin Downloader softwareBeta Version [Current - 2.1.6u1]:NOTE: this is a beta version, you can try out all the new features of the plugin before they're released. If you choose to use this beta version and you encounter an error, please enable "Debug Mode" in the configuration and provide your full log so I can address it.Download @ DracLabs, or use the DracLabs Plugin Downloader softwareCHANGELOG2.1.5 <> 2.1.6:Added icon to show wether game is listed in your GameEx ROM listIf it shows as not added, you need to check your filter options and/or update your MAME game list within GameExAdded setting to default MAME paths under "MAME Options/Path Options"This will change your settings to the GameEx.ini values when clickedAdded check for games that are muted in the screen saver when the global command line has been changedAdded check for MAME to mute when subbed with another emulatorOnly MAME offers this option. If you use another emulator that's not a MAME build, there will be no change to the emulator settingsCleaned up the XML routine quite a fair amountAdded a click to the logo to take you to this threadAdded Debug Mode logging under "Help" in the toolstripFixed a bug where MameInfo path was not being read or changed if manipulated in the MAME optionsPolished some routines that needed cleaning upFixed a bug in the Launch Before/Launch After/Also Launch routineTo use this feature, make sure you enclose the EXE path in quotes. This path also supports GameEx variables in the same way QuickLaunch doesAdded more logging in Debug Mode should issues arise while running the plugin2.1.4:Huge stability update!XML version is now checked prior to loading into memory, so plugin loads much faster nowFixed a bug where PlugInManager.exe was crashing unexpectedly during XML creationFixed a bug where the plugin was unable to update to a new XML after changing it in the Path SetupAdded something nice to look at while searches and loading are being performedOptimized the XML writing to file to increase the speed when updating/creating your XMLOther minor tweaks/optimizations2.1.3:Added detection for MAME "u" BuildsFixed bug where MAME version could not be detected when comparing XML version and MAME version, or the XML creation got stuck in a loop (only affected "u" builds)Added new search fields:# of buttonsDriverCategoryAdded ROM information to the More Info sectionFixed a bug where plugin manager was crashing when no MAME exe was specified in GameExAdded a check to fix "/DATA/" path in GameEx configurationAdded better support for custom MAME compiles2.1.1 - 2.1.2:Added Emulator OverridesAdded GameEx search filterAdded Launch Before/After/Also commandsMany bugs fixedAdded GameEx command conversion2.1.0:Initial Re-Release 1 Quote Link to comment Share on other sites More sharing options...
starbuck Posted December 2, 2011 Share Posted December 2, 2011 Always coming up with cool stuff, thanks for all you do Quote Link to comment Share on other sites More sharing options...
deadboy Posted December 2, 2011 Share Posted December 2, 2011 Awesome idea. Can't wait to try it out! Quote Link to comment Share on other sites More sharing options...
celly Posted December 2, 2011 Share Posted December 2, 2011 Sweet! Just dl'd it. I'll letcha know. Quote Link to comment Share on other sites More sharing options...
Adultery Posted December 3, 2011 Author Share Posted December 3, 2011 Updated to 1.65 Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 3, 2011 Share Posted December 3, 2011 Nice work Adultery. I'm happy to help out in any way I can PS When I click "Add Switch" I get a database error. Just a continuation from my suggestion on using a log file, you should wrap methods in a try/catch block and output the error to the log. Quote Link to comment Share on other sites More sharing options...
Adultery Posted December 3, 2011 Author Share Posted December 3, 2011 Crumbs, I thought I fixed that... I put in at least 4 hours worth of work on OleDB today and I really thought I squished the bugs. That JIT debugger sucks! It haunts me in my sleep!!I was using the log module for my own build but I didn't include it in the final compile... I really ought to keep that in there so I can address bug reports without having to pick through errors. I'm going to add that back in next revision.Thanks again for the assistance HK, you've been a huge help. Quote Link to comment Share on other sites More sharing options...
AlphaUMi Posted December 3, 2011 Share Posted December 3, 2011 Wow wow wow!!! Great idea, great improvement! Quote Link to comment Share on other sites More sharing options...
Adultery Posted December 3, 2011 Author Share Posted December 3, 2011 Updated to 1.75 Quote Link to comment Share on other sites More sharing options...
headkaze Posted December 4, 2011 Share Posted December 4, 2011 Looking sweet. I recommend that when you run out of window real estate (which is going to be soon) that you consider breaking things up into pages in a tab control. They are really easy to use too.Always happy to help out and so glad you're using a real language and not something horrible like AutoHotkey. I can't believe people even attempt making a window based application in that. Quote Link to comment Share on other sites More sharing options...
fRequEnCy Posted December 4, 2011 Share Posted December 4, 2011 Always happy to help out and so glad you're using a real language and not something horrible like AutoHotkey. I can't believe people even attempt making a window based application in that.Nor I. And I'm an AutoIt scriptor. Because of you and Tom, I've made the move to C# and only use AutoIt for automation. Quote Link to comment Share on other sites More sharing options...
Adultery Posted December 4, 2011 Author Share Posted December 4, 2011 I'm glad it's actually working! LOL!I'm really doing this more for practice than anything else. It's a happy side effect that it actually functions! Also I'm writing some pretty sweet classes I can just use in other projects... I coded my own log file creator to report every step of the way and make troubleshooting a hell of a lot easier (no sense in just outputting errors if screwy stuff happens and it doesn't crash the plugin) and my own DB connector which I'm sure will come in handy when I make an Emu Commander in the future... I know how to use tabs already, this just got crazy complicated in a hurry when all it was supposed to do was add one string to the MAME command line.Never tried AHK but I can't get my dirty hooks embedded into GameEx's namespace with that. Thanks for the props... I think it's progressing well for my very first app. Glad it could be GameEx related too! The SnapShot proggy is on the back burner for now.Enough rambling. I'm working on the easter egg. /me retreats back into the shadows Quote Link to comment Share on other sites More sharing options...
fRequEnCy Posted December 4, 2011 Share Posted December 4, 2011 Great job buddy! Looking good. Just tweak the things I mentioned in IM. Keep it up! Thanks for sharing with the community. Quote Link to comment Share on other sites More sharing options...
Adultery Posted December 6, 2011 Author Share Posted December 6, 2011 Thanks for the kind words you guys! I can't believe no one's really using it, but it's more for me anyways. HUGE update today!2.01 available now. Go get it! Quote Link to comment Share on other sites More sharing options...
Draco1962 Posted December 6, 2011 Share Posted December 6, 2011 Of course you update it while I am still asleep... DORK! I am very impressed with this program and as I will be spending more time getting my MAME house in order (i.e., compiling MAME to reflect the 0.143 release, CLRMAMEPro, etc.) I can see making this a part of my ongoing tweaking to make my games more enjoyable. Since I am old and have gotten away from cmd lines as my only means of existence, I look forward to being able to apply switches through this utility instead of manually tweaking each one.One suggestion or maybe not - is it possible to run the Plug-In manager as an application from within GameEx to access this utility? What would it take to be able to use MAME Commander from within GameEx without having to go through Plug-in Manager? Quote Link to comment Share on other sites More sharing options...
Adultery Posted December 6, 2011 Author Share Posted December 6, 2011 Honestly the way it hooks into GameEx and its functions is through the plugin system. I don't think you'd be able to make changes to anything while GameEx is actually running since it loads the plugin into memory when you start it up. One of the great features of this is that it grabs whatever GameEx processes and changes it on the fly. If I were to load it outside of GameEx I think I would have to initiate MAME through the app and you would have to change your MAME EXE to this... I'm really not sure if that'll work or not.Half the fun is seizing the plugin system though... There's a lot of interesting stuff going on in there. A lot is possible! I could probably make a standalone quick editor for external programs to edit the ini though... /me ponders Quote Link to comment Share on other sites More sharing options...
Adultery Posted December 7, 2011 Author Share Posted December 7, 2011 Updated to 2.05. Quote Link to comment Share on other sites More sharing options...
Adultery Posted December 7, 2011 Author Share Posted December 7, 2011 Er, I mean 2.06 ( sorry, bug fixes. ) Quote Link to comment Share on other sites More sharing options...
deadboy Posted December 7, 2011 Share Posted December 7, 2011 This seems awesome. As soon as I'm done building my new control panel I'm gonna play the heck out of this. Tangentially related question. Is there a comprehensive list mame switches somewhere easy to find/read?Thanks in advance for helping a newb. Quote Link to comment Share on other sites More sharing options...
Adultery Posted December 7, 2011 Author Share Posted December 7, 2011 Yes there is, but soon you won't need it. I'm actually adding a pull-down list with a description of each plugin to the next beta. In the mean time you can find Windows command lines for MAME here, but it's basically just the Windows.txt in the MAME DOCS folder. Quote Link to comment Share on other sites More sharing options...
deadboy Posted December 7, 2011 Share Posted December 7, 2011 Now that is user friendly! Quote Link to comment Share on other sites More sharing options...
nullPointer Posted December 7, 2011 Share Posted December 7, 2011 MAME Commander *Updated 12/8/11*No. Way. Adultery have you been sent from the future to protect Sarah Conner (and develop MAME Commander in an effort to defeat SkyNet before it becomes sentient)!? If so, I'm with you man! Let's stick it to those robot bastards! FREEDOM!Just kidding. This program is sweet and I'm really excited to see all the progress. I'm also excited to see what becomes of Emulator Commander. If it's able to manage plugin profiles for PCSX2, ePSXe and the like that would be sweet. Great work man. Quote Link to comment Share on other sites More sharing options...
Adultery Posted December 7, 2011 Author Share Posted December 7, 2011 It'll serve the same basic function of manipulating the command line. All the extra crap I'm doing now is just fluff. Of course in the case of emulators, it's up to you to make the stuff work. I obviously can't use every emulator available, so I can't get all crazy with the extras the same as I can with MAME.I'm glad you dig it though, thanks for the kind words. EDIT: Shoot I just realized the date is wrong... I was wondering what the hell you were talking about Null! LOL! I must have picked up an extra day somewhere. Well this release will be out tomorrow then. Don't use it or your rig will explode! LOL! Quote Link to comment Share on other sites More sharing options...
Adultery Posted December 8, 2011 Author Share Posted December 8, 2011 Getting tired of me yet? A peek at the new beta: Quote Link to comment Share on other sites More sharing options...
deadboy Posted December 8, 2011 Share Posted December 8, 2011 Super tiny thing. My plug in manager is in the configuration folder ungder gamex in the start manager rather than utilities. I don't recall moving it so maybe install puts it somewhere dif now than when you installed? 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.