Closed sam-ludlow closed 4 months ago
Pretty sure it was that
https://github.com/AntoPISA/MAME_SupportFiles/commit/0c9f81e1dc82c3faedc6623237f8a3b434761658
Bunch of changes here and the top comment that MAME-AO parses the version from did not change.
I changed the metadata caching to download fresh if its over 3 hours old (not on version bumps).
So the genre data was downloaded and the DB updated, then later genre data changed on GitHub the cache refreshed it as its the same version the DB was left alone BUT each time MAME-AO starts it parses the file again creating internal IDs. Oh dear now these don't match the DB.
I should look at that.
Use a hash of the file rather then the version, dummy.
Very interesting can you show an example of what was missing please.
It was a shambles, fixed in 1.90
I extracted to my current mam-ao and get this initially.
Hmm we got another issue for this please talk about it there.
Closing ticket Genre bug looks fixed.
I noticed when browsing through Genres it wasn't showing all the machines.
The fix is delete
_machine.sqlite
from inside the MAME version directory and let it get recreated.Root cause I'm not that sure. MAME-AO will update the DB with new genre data when
catver.ini
gets a version bump.I'm guessing the file changed on GitHub without a version bump?
The in-memory genre data is parsed each time MAME-AO starts and the DB only on the version bump. As parsing creates internal IDs they may have become out of sync with the IDs in the DB.
Not sure will have to look into it.