Main > Software Forum
Help on programming a frontend
Jayme65:
Hi,
I'm thinking of programming a frontend as an exercice while I'm learning to program.
I understand that to make it work with mame I'll have to use the XML file produced by mame itself...but what about other emulator?
There is not such files available for each emulator (SNES, Gamegear...)?
So does it mean that I'll simply have to scan the rom folder of each emulator to get a list of roms inside...or is there another way?
Thanks very much for any kind help on the topic ;-)
youki:
Hi,
Even with MAME you don't really need to deal with the XML. It really depends of that you want achieve.
If you want simply display the list of roms you have you can browse the roms folder, build a list and use it. It will work for all emulators.
the problem wit the browsing method is if you have thousand of roms , it can me long. It is why usually you use predefined game list (build from Mame.XML , or from -list or manuallly) to avoid to browse the folder.
the XML file of mame, can be used if you want do some more advanced feature, like sort game by category , control...etc...
I hope it helps you.
Jayme65:
Thanks very much for your reply!
So, you confirm that there's no list available for other frontends...and that I would simply have to browse the "roms" folder to get the rom list and that's the way all other frontend works?
Thanks
youki:
I don't know all emulators, but most of them don't have lists .
Or most of them don't have a standard way to generate a list.
Therefore I think you can find some list on the web for various emulators.
FrontEnd allows you in configuration tools to build a Game list from your roms folder , and then the Front Ends load the Game list (without browsing to speed up the process).
gonzo90017:
With other arcade emulators you should use a .dat file. Since all arcade emus use the same naming format as mame http://www.logiqx.com/Dats/ For console emulators you could you do rom folder scan. Since all of them are named exactly like the game except for those annoying (J) (u) symbols. But there are frontends that get rid of them. I really like the way youki's frontend works in terms of lists. It uses a meta data file that you can add, delete or change rom names to. So it works for all arcade emus.
Navigation
[0] Message Index
[#] Next page
Go to full version