|
> > > I've noticed that ClrMame Pro preserves attributes from the source sets > during > > > rebuilds. i.e. the archive, hidden, read only and system flags. > > > > > > No...it only does that if settings->preserve archive/file date/time is > enabled. > > I usually turn them off (they are enabled by default). Because I can then see > > which sets have changed. > > I've turned them off and the problem still occurs. Hidden, system and read only > flags are preserved from the original source. The date time flags are altered or > not depending on those settings. You can test it yourself, take a romset with a > few roms in it and make one read only, one system, one hidden. Now rebuild that > rom, the target rom has the same attributes. > > Thanks, > Tim >
The reason for this is the unzip operation. The unzip operation unzips the files with their set date/time/attributes. A normal copy operation of files (e.g. when you rebuild not-zipped files) updates the date/time/attributs.
So when the files were +h in the zipfile, they will be +h in the new archive even when preseve date/time is disabled.
I will rethink if I change the unzip behaviour.
Roman Scherzer ClrMamePro
|