[ALL] Rewrite some archive handling

Remove managed writing, simplify archive to archive handling, add ability to set modification date on files if in source rom.
This commit is contained in:
Matt Nadareski
2016-09-13 16:04:24 -07:00
parent 431ba78b39
commit 1dc45acca2
8 changed files with 58 additions and 150 deletions

View File

@@ -77,6 +77,7 @@ namespace SabreTools
// Set all default values
bool help = false,
add = false,
addblanks = false,
archivesAsFiles = false,
bare = false,
clean = false,
@@ -660,7 +661,7 @@ namespace SabreTools
else if (datfromdir)
{
InitDatFromDir(inputs, filename, name, description, category, version, author, forceunpack, outputFormat,
romba, superdat, noMD5, noSHA1, bare, archivesAsFiles, enableGzip, tempdir, maxParallelism);
romba, superdat, noMD5, noSHA1, bare, archivesAsFiles, enableGzip, addblanks, tempdir, maxParallelism);
}
// Split a DAT by extension