Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
Re: QMC2 mame_xml_cache_metadata update crash [Re: simon0117] #110390
07/21/17 02:35 PM
07/21/17 02:35 PM
Joined: May 2008
Posts: 4,892
Germany
Q
qmc2 Offline
Very Senior Member
qmc2  Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,892
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!
Re: QMC2 mame_xml_cache_metadata update crash [Re: qmc2] #110398
07/22/17 04:14 PM
07/22/17 04:14 PM
Joined: Jul 2017
Posts: 8
S
simon0117 Offline OP
Member
simon0117  Offline OP
Member
S
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.

Re: QMC2 mame_xml_cache_metadata update crash [Re: simon0117] #110404
07/23/17 08:29 AM
07/23/17 08:29 AM
Joined: May 2008
Posts: 4,892
Germany
Q
qmc2 Offline
Very Senior Member
qmc2  Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,892
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
0 registered members (), 33 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,555
Posts111,752
Members4,801
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.035s Queries: 14 (0.013s) Memory: 5.6522 MB (Peak: 5.8174 MB) Zlib enabled. Server Time: 2018-07-20 22:06:24 UTC