MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Roman
Regular
Reged: 09/21/03
Posts: 1583
Send PM
Re: Space savings from new CHD delta feature
10/26/23 09:01 AM


The problem with a batchfile is that you need to know the parent/clone relationship of sets and the exact storing position of each chd file.

So you need to provide the clone chd filename and the belonging parent chd filename to chdman to create a delta out of it. There is no rule in naming/storing, so a general batchfile is not possible without having the parent/clone relationship accessible from somewhere and the relations can theoretically change with each MAME version.

So...it sounds more like a job for a tool which knows the current -listxml/-listsoftware output, runs through folders collecting chd sha1s, finding the pairs in the xml data and creates an output (either a batchfile or directly calling chdman)....and surely it should also support revert in case a delta chd lost its parent...







Entire thread
Subject Posted by Posted on
* Space savings from new CHD delta feature John IV 10/21/23 08:04 PM
. * Re: Space savings from new CHD delta feature R. Belmont  10/26/23 08:10 PM
. * Re: Space savings from new CHD delta feature joey35car  10/25/23 09:23 PM
. * Re: Space savings from new CHD delta feature John IV  10/25/23 09:31 PM
. * Re: Space savings from new CHD delta feature joey35car  10/25/23 07:36 PM
. * Re: Space savings from new CHD delta feature Roman  10/26/23 09:01 AM
. * Re: Space savings from new CHD delta feature joey35car  10/26/23 09:35 AM
. * Re: Space savings from new CHD delta feature Roman  10/26/23 09:58 AM
. * Re: Space savings from new CHD delta feature Vas Crabb  10/26/23 11:42 AM
. * Re: Space savings from new CHD delta feature Roman  10/26/23 11:51 AM
. * Re: Space savings from new CHD delta feature? John IV  10/22/23 04:45 AM
. * Re: Space savings from new CHD delta feature? John IV  10/22/23 08:56 AM
. * Re: Space savings from new CHD delta feature? joey35car  10/22/23 05:48 PM
. * Re: Space savings from new CHD delta feature? John IV  10/22/23 06:27 PM
. * Re: Space savings from new CHD delta feature? John IV  10/23/23 09:24 AM
. * Re: Space savings from new CHD delta feature? joey35car  10/25/23 06:41 AM
. * Re: Space savings from new CHD delta feature? joey35car  10/22/23 05:46 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 137 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 725