mame
mame copied to clipboard
chdman addmeta and delmeta do not work
MAME version
0.262
System information
Windows 11
INI configuration details
No response
Emulated system/software
No response
Incorrect behaviour
chdman's addmeta and delmeta actions do not work. A "file not writeable" error is always returned.
Expected behaviour
chdman's addmeta and delmeta actions should add and delete metadata like it did with 0.146 and earlier.
Steps to reproduce
- Try to use
addmeta
with any chd. It fails. - Try to use
delmeta
with any chd. It fails.
Additional details
As far as I can tell, this bug has been present for over 11 years dating back to 0.147.
Past reports: mameworld.info bug report mametesters ID:5079
You need to create and use an uncompressed chd to use thosee commands. Then you can compress it.
Thanks for the tip. There is no documentation I could find that compression = none is a requirement. The error message and/or command line help should mention this.
Also, why is it a requirement to have no compression for this to work? That doesn't make any sense to me considering it seems to work the same way it did with version 0.146 which didn't have this restriction. The extra meta info is tacked on the end of the CHD just like it was before with compressed CHDs.
Also, is there a way to add metadata during initial chd creation? Seems a little silly to have to create an uncompressed chd first just to add metadata then compress with the copy
command