Hi all, First of all apologies to Laurent Desnogues, Lawrence and anyone else offended, for using this list to promote work of mine on a different mame port.
Recently I stumbled across sdlmame on the internet, which unlike xmame supports 107 / 108 now and I immediately fell in love with it, I 've wanted to clean up or even rewrite the xmame code for a long time and this looks like a good new start, so as some of you have probably already noticed I've begun working / writing patches for sdlmame. Tonight I've finished the foundation for supporting effects in sdlmame and changing the used effect on the fly, which pretty much means that sdlmame now has all the features I want, so I want to share my work with you all and and the same time hope to get some people testing my work :) So I'm verry happy to introduce to you the evil patch set, the name was conjured by RB (the sdlmame maintainer) and this patchset has this name because it introduces features which are one way or another evil and thus will not be added to the official SDLmame sources. I decided I liked the name as it makes clear that these are features not supported by RB or OG and thus you should not (EVER, NEVER!) contact them about this. Okay, well with that said, as the subject says this patch adds support for the scale2x effect, there is infrastructure for more effects, this is just a proof of concept. To use scale2x start sdlmame with "-prescale 2 -prescale_effect 1" or "-prescale 3 -prescale_effect 1" Notice that this version also recognises the following hotkeys for in game changing of osd settings: * left-control + F3, toggle fullstretch on/off * left-control + F4, toggle keepaspect on/off * left-control + F5, toggle opengl filtering * left-control + F6, decrease prescaling * left-control + F7, increase prescaling * left-control + F8, decrease effect * left-control + F9, increase effect * left-control + F10, toggle between soft / opengl rendering Notice that although there are increase / decrease effect hotkeys there currently only is one effect, so they are more disable/enable keys atm. For good measure this patchset also includes keybled support in order for this to work users must make a small change to their xkb configuration. For older versions of X users must edit /usr/X11R6/lib/X11/xkb/compat/basic and change "indicator.allowExplicit" from False to True and then restart their X server. For newer versions they must edit both: /usr/share/X11/xkb/compat/lednum /usr/share/X11/xkb/compat/ledcaps And remove the '!' in front of allowExplicit and then restart their X server. Once this is done you can test of application control of the leds is allowed by running the following cmds from a terminal: xset led 1 xset -led 1 xset led 2 xset -led 2 Etc. Well with that all said here is the patch, it comes in 2 parts, the first part is to be applied against a clean sdlmame0108u4 which you can download here: http://rbelmont.mameworld.info/?p=147 It contains many changes which have all been send to RB for merging: http://people.atrpms.net/~hdegoede/sdlmame0108u4-to-be-merged.patch The second part which is to be applied on top of the first part contains the actually scale2x / effect and keybled code (and will not be merged): http://people.atrpms.net/~hdegoede/sdlmame0108u4-scale2x.patch For those of you who don't know howto apply a patch, goto your clean sdlmame0108u4 dir and type: patch -p1 < [patchfile] Then compile and enjoy. Please let me know how this works for you and report any bugs you find. Thanks & Regards, Hans _______________________________________________ Xmame mailing list [email protected] http://toybox.twisted.org.uk/mailman/listinfo/xmame
