IronyModManager icon indicating copy to clipboard operation
IronyModManager copied to clipboard

Compress Merge: Don't rebuild unchanged mods

Open MattMills opened this issue 4 years ago • 2 comments
trafficstars

Is your feature request related to a problem? Please describe. Excess time spent re-merging when changing/fixing mods.

Describe the solution you'd like I would really love it if the merge -> compress feature didn't recompress mods that didn't need to be, perhaps by comparing mtime on the zip files with the mtime on the source mod folder? Alternatively some kind of combined hash of all files stored in a zip metadata file?

Describe alternatives you've considered Don't think this applies, maybe I've missed something

Additional context Nerp.

MattMills avatar May 01 '21 02:05 MattMills

It's intentionally rebuilding mods as it's easier to rebuild than to store a hash of every file and check whether a mod needs to be re-merged. I'm looking for simplicity and maintainability not complexity in this case. In the end this is a process that is done perhaps once or twice not daily.

bcssov avatar May 01 '21 03:05 bcssov

I've been re-compressing a lot lately with a few mistakes and trying to get mod updates in... /shrug up to you I just thought it'd be nice to recompress 1 mod in 15 seconds than the ~10-15 min it has been taking.

MattMills avatar May 01 '21 06:05 MattMills