Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
#110390 - 07/21/17 02:35 PM Re: QMC2 mame_xml_cache_metadata update crash [Re: simon0117]  
Joined: May 2008
Posts: 4,838
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,838
Germany
Originally Posted by qmc2
So there's still something wrong with the XML cache DB. I thought that starting with "-cc" (cache clear) would fix that, but it apparently can't reset the DB (= drop tables & indexes) when the DB file is somehow corrupt. I dunno what might have caused it, but I doubt it has something to do with switching to the newer MAME version. You could however remove the DB file completely so it will be recreated from scratch during the next start-up ("rm ~/Library/Application Support/qmc2/mame-xml-cache.db").

Oh, and since your "machine list DB" file also seems to be corrupt, please remove that as well smile ("rm ~/Library/Application Support/qmc2/mame-machine-list.db").


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
#110398 - 07/22/17 04:14 PM Re: QMC2 mame_xml_cache_metadata update crash [Re: qmc2]  
Joined: Jul 2017
Posts: 8
simon0117 Offline
Member
simon0117  Offline
Member

Joined: Jul 2017
Posts: 8
Trashing those 2 files seemed to work, thanks. It says I should rescan my ROMs though, which is fine.

Not sure if it's related to this issue or not, but I launched a machine (Time Pilot) and my high scores were gone, i.e. didn't load from the last saved state. I assume it's somewhere in my previous MAME directory. But when I looked at my MAME folders along with the new mame0187-64bit folder was a folder named mame0187\-64bit containing cfg and sta folders. My working directory configured in QMC2 is /Users/simon/mame0187-64bit/

What is the suggested upgrade path for new versions of MAME and new versions of QMC2? It's still current a mystery why my DB files got corrupted after I attempted to upgrade both of these apps.

#110404 - 07/23/17 08:29 AM Re: QMC2 mame_xml_cache_metadata update crash [Re: simon0117]  
Joined: May 2008
Posts: 4,838
qmc2 Offline
qmc2  Offline

Very Senior Member

Joined: May 2008
Posts: 4,838
Germany
Originally Posted by simon0117
What is the suggested upgrade path for new versions of MAME and new versions of QMC2? It's still current a mystery why my DB files got corrupted after I attempted to upgrade both of these apps.

Well, the best upgrade method would be to just install the newer MAME version, point QMC2 to it if required (i.e. I build MAME from source and thus always use the same folder, but that's no requirement) and QMC2 will auto-detect that it's a new version and that it has to recreate some caches.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
Page 2 of 2 1 2

Moderated by  qmc2 

Who's Online Now
8 registered members (crazyc, Vas Crabb, Stiletto, Dorando, Pernod, R. Belmont, Reznor007, 1 invisible), 14 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,412
Posts108,941
Members4,757
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.024s Queries: 16 (0.007s) Memory: 4.9489 MB (Peak: 5.1465 MB) Zlib enabled. Server Time: 2017-09-25 14:57:53 UTC