Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: dbinott on June 18, 2016, 11:53:43 AM

Title: Info.Control returning blank?
Post by: dbinott on June 18, 2016, 11:53:43 AM
Where does AM get it's info about controls when using Info.Control? For some reason it's returning blank for me.
Code: [Select]
maps_info=Info.Control;
fe.game_info( maps_info )
Title: Re: Info.Control returning blank?
Post by: piggei on June 27, 2016, 06:25:53 AM
You need this info in your ROM list file... check it in the romlists dir....
I needed a PHP script to insert all the MAME/FBA info in my list, because mame.xml file didn't work, but i checked Info.Control and it works!
Title: Re: Info.Control returning blank?
Post by: dbinott on June 28, 2016, 05:55:31 AM
I see, controls are not in there. Now trying to figure out how to get them in there with my already filtered mame xml list.