Quick and dirty global setting for forcing un-compression of
sets.
This commit is contained in:
@@ -142,6 +142,8 @@ namespace ROMVault2.DatReaders
|
||||
}
|
||||
|
||||
thisFileType = forceZipping.ToLower() != "no" ? FileType.ZipFile : FileType.File;
|
||||
if (Settings.FixLevel == eFixLevel.Uncompressed)
|
||||
thisFileType = FileType.File;
|
||||
tDir.Dat = tDat;
|
||||
return true;
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace ROMVault2.DatReaders
|
||||
}
|
||||
}
|
||||
|
||||
thisFileType = FileType.ZipFile;
|
||||
thisFileType = Settings.FixLevel == eFixLevel.Uncompressed ? FileType.File : FileType.ZipFile;
|
||||
tDir.Dat = tDat;
|
||||
return true;
|
||||
|
||||
|
||||
@@ -81,6 +81,8 @@ namespace ROMVault2.DatReaders
|
||||
thisFileType = FileType.ZipFile;
|
||||
break;
|
||||
}
|
||||
if (Settings.FixLevel == eFixLevel.Uncompressed)
|
||||
thisFileType = FileType.File;
|
||||
|
||||
tDir.Dat = tDat;
|
||||
return true;
|
||||
|
||||
@@ -165,6 +165,8 @@ namespace ROMVault2.DatReaders
|
||||
// Look for: <notzipped>true</notzipped>
|
||||
string notzipped = VarFix.String(head.SelectSingleNode("notzipped"));
|
||||
if (notzipped.ToLower() == "true" || notzipped.ToLower() == "yes") thisFileType = FileType.File;
|
||||
if (Settings.FixLevel == eFixLevel.Uncompressed)
|
||||
thisFileType = FileType.File;
|
||||
|
||||
tDir.Dat = tDat;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user