MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4462
Loc: Melbourne, Australia
Send PM
Re: Mame Front End Developer Guide
12/17/20 05:41 AM


> My main issue at the moment is querying for lists. I'd like to duplicate the same
> selections as mame for now ie. Available, Unavailable etc. None of the cli options
> seem to be what I want. Thanks ahead of time.

You’re not supposed to shell out to MAME for every operation like that. You’re supposed to store the -listxml output in a database so you can query it with good performance and build the lists from that.

See the minimaws sample code for an example of how you can store the data in a relational database: https://github.com/mamedev/mame/tree/master/scripts/minimaws/







Entire thread
Subject Posted by Posted on
* Mame Front End Developer Guide stranskydesign 12/15/20 07:47 AM
. * Re: Mame Front End Developer Guide Vas Crabb  12/17/20 05:41 AM
. * Re: Mame Front End Developer Guide stranskydesign  12/20/20 10:11 AM
. * Re: Mame Front End Developer Guide Robbbert  12/20/20 11:52 AM
. * Re: Mame Front End Developer Guide stranskydesign  12/21/20 04:22 AM
. * Re: Mame Front End Developer Guide stranskydesign  12/16/20 08:07 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 41 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 647