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

CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM
Re: [Q] Devices now showing up in FE.
02/28/18 02:16 PM


My frontend, Emu Loader, parse the entire -listxml in about 18 seconds and it scan the listxml.xml file from top to bottom three times over so games can be properly detected and separated by type (device set, bios set, parent set, clone set). It takes all that time because the frontend gets a lot of info from each game.
But of course, MAME takes around 24 seconds to generate a full listxml output.
My frontend reads listxml.xml as a plain text file and it detects tags manually.

If you just need set title, set name, set cloneof, bios/device references then it will be very fast to parse listxml output (around 5 seconds or so). I don't know what set info IV/Play gets from MAME or how it validates ROMs/CHDs though.

If you parse the games list every time the frontend is loaded, then after the listxml.xml output file is generated for the first time, you could keep it around until IV/Play detects a new MAME binary at startup, then it created a new listxml file.


Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]







Entire thread
Subject Posted by Posted on
* [Q] Devices now showing up in FE. John IV 02/28/18 04:24 AM
. * Re: [Q] Devices now showing up in FE. John IV  03/02/18 07:02 AM
. * Re: [Q] Devices now showing up in FE. Vas Crabb  02/28/18 10:49 AM
. * Re: [Q] Devices now showing up in FE. TafoidAdministrator  02/28/18 11:12 AM
. * Re: [Q] Devices now showing up in FE. CiroConsentino  02/28/18 02:16 PM
. * Re: [Q] Devices now showing up in FE. John IV  02/28/18 07:14 PM
. * Re: [Q] Devices now showing up in FE. Vas Crabb  03/01/18 07:09 AM
. * Re: [Q] Devices now showing up in FE. Vas Crabb  02/28/18 11:22 AM
. * Re: [Q] Devices now showing up in FE. TafoidAdministrator  02/28/18 12:24 PM
. * Re: [Q] Devices now showing up in FE. R. Belmont  03/01/18 11:12 PM
. * Re: [Q] Devices now showing up in FE. CiroConsentino  03/02/18 01:26 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 333 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 719