To solve this, the MAME developers created a new file format. They called it , which stands for Compressed Hunks of Data (though fans often jokingly refer to it as "MAME's Hard Drive").
Output example:
chdman info -i game.chd