From 468292a0c4f0febef52337ba1f2d9e3f76ccac63 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Wed, 25 Mar 2020 14:19:09 +0100 Subject: MIX files are now considered Watctaft III maps --- test/StormTest.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/StormTest.cpp') diff --git a/test/StormTest.cpp b/test/StormTest.cpp index 6b30629..4ed51cc 100644 --- a/test/StormTest.cpp +++ b/test/StormTest.cpp @@ -4421,7 +4421,7 @@ int _tmain(int argc, TCHAR * argv[]) // Not a test, but rather a tool for creating links to duplicated files // if(nError == ERROR_SUCCESS) // nError = FindFilePairs(ForEachFile_CreateArchiveLink, "2004 - WoW\\06080", "2004 - WoW\\06299"); - +/* // Search all testing archives and verify their SHA1 hash if(nError == ERROR_SUCCESS) nError = FindFiles(ForEachFile_VerifyFileChecksum, szMpqSubDir); @@ -4540,6 +4540,10 @@ int _tmain(int argc, TCHAR * argv[]) // Open an Warcraft III map whose "(attributes)" file has (BlockTableSize-1) entries if(nError == ERROR_SUCCESS) nError = TestOpenArchive(_T("MPQ_2014_v1_AttributesOneEntryLess.w3x")); +*/ + // Open a MIX file + if(nError == ERROR_SUCCESS) + nError = TestOpenArchive(_T("MPQ_2020_v1_AHF04patch.mix")); // Open a MPQ archive v 3.0 if(nError == ERROR_SUCCESS) -- cgit v1.2.3