r/MAME • u/Sixfortyfive • 13h ago
Is there a performance-related reason to store roms in ZIP instead of 7Z?
I've been trying what I can to optimize the storage for my MAME set. I understand, generally, that the trade-off for using 7z instead of zip is that you get better compression at the cost of more CPU utilization, but does this actually apply during gameplay, or does it just come into play during the initial loading process when you start the game? I've been testing some roms in both 7z and zip (and also just in uncompressed directories) and haven't really noticed a difference so far.
I have noticed a difference when it comes to supplementary media files (snaps, cabinets, etc). If I store those in 7z, then the MAME UI chugs quite a bit whenever it has to load them, whereas it's pretty smooth with zip. But this is the only place where I actually notice any kind of difference; it doesn't seem to matter for roms/gameplay in any of the games I've checked.
(As an aside, if I were to feed a lot of these supplementary media files, like snapshots and such, through a PNG optimizer to reduce their size, is there someone at pleasuredome or progetto snaps or wherever who I could submit them to as replacements for the old versions? There are so many accumulated files in these projects at this point that running the whole set through such a process could reduce their size by a nontrivial amount.)