Software Support > PowerMAME

PowerMAME plug-in??

<< < (8/8)

squirrellydw:
There's a good chance my chip set is going to be nvidia so I hope everything works ok.

Howard_Casto:
For the record, J5 doesn't require any external files to light buttons either.  The last beta I made has a "smart guess" mode the fills in labels based on internal mame info.  These labels aren't accurate, but which buttons get lighted are.  It's basically the exact same function powermame does, only it's external so you aren't teathered to the last version of power mame.  So yes, even games that don't have a controls.ini entry are going to light up. 

In not sure where you guys got the idea that any of these apps are dependant upon controls.ini for the lighting.  Controls.ini is for the labels.  Generally speaking it isn't required for lighting.

headkaze:

--- Quote from: Howard_Casto on February 15, 2007, 02:53:42 pm ---For the record, J5 doesn't require any external files to light buttons either.  The last beta I made has a "smart guess" mode the fills in labels based on internal mame info.  These labels aren't accurate, but which buttons get lighted are.  It's basically the exact same function powermame does, only it's external so you aren't teathered to the last version of power mame.  So yes, even games that don't have a controls.ini entry are going to light up. 

In not sure where you guys got the idea that any of these apps are dependant upon controls.ini for the lighting.  Controls.ini is for the labels.  Generally speaking it isn't required for lighting.

--- End quote ---

I didn't realise you didn't need controls.ini just for lighting up the buttons. But there is some good reasons for using it anyway since it's faster to parse and the "speak button actions" feature of my plugin require the labels anyway. Though that does leave a bunch of games that arn't in controls.ini that could be lit up using ListInfo.xml. I guess you just use "<input buttons=xx" instead?

Howard_Casto:
lol I wish it were that simple.

I don't settle for "accurate enough" so lights are binded to physical keyboard keys in j5.  So after I get the listxml info I have to read all the cfg files (rom, parent, driver, default, ctrlr) parse those, take into account the "device" settings and any old commands like -mouse and -joystick to determine if analog keys are binded and THEN I can light the buttons. 

All so if you remap button 1 in mortal kombat it'll still light the right button. 

As of around .100 you can use the rom name flag with -listxml to print out only the xml for that game.  That is when I added support for best guessing, because as you said, you can't parse the full listxml very quickly.  When mame does some of the work for you though, it's pretty fast.

Navigation

[0] Message Index

[*] Previous page

Go to full version