mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatTools] Add Redump MD5, SHA1, and SFV output
This commit is contained in:
@@ -176,6 +176,15 @@ namespace SabreTools.Helper
|
||||
case OutputFormat.Xml:
|
||||
extension = ".xml";
|
||||
break;
|
||||
case OutputFormat.RedumpMD5:
|
||||
extension = ".md5";
|
||||
break;
|
||||
case OutputFormat.RedumpSFV:
|
||||
extension = ".sfv";
|
||||
break;
|
||||
case OutputFormat.RedumpSHA1:
|
||||
extension = ".sha1";
|
||||
break;
|
||||
}
|
||||
string filename = (String.IsNullOrEmpty(datdata.FileName) ? datdata.Description : datdata.FileName);
|
||||
string outfile = outDir + filename + extension;
|
||||
|
||||
Reference in New Issue
Block a user