From 68e2c2527db10dcfdd9fdc2219c7fe9784abf738 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 18 Apr 2015 23:12:47 +0200 Subject: + SFileGetFileInfo(SFileMpqHashTable) now returns updated hash table instead of raw table loaded from the file --- test/StormTest.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/StormTest.cpp b/test/StormTest.cpp index d0a7f83..8a3d631 100644 --- a/test/StormTest.cpp +++ b/test/StormTest.cpp @@ -4052,7 +4052,7 @@ int main(int argc, char * argv[]) // Open a stream, paired with remote master (takes hell lot of time!) // if(nError == ERROR_SUCCESS) // nError = TestReadFile_MasterMirror("MPQ_2013_v4_alternate-downloaded.MPQ", "http://www.zezula.net\\mpqs\\alternate.zip", false); -*/ + // Search in listfile if(nError == ERROR_SUCCESS) nError = TestSearchListFile("ListFile_Blizzard.txt"); @@ -4126,6 +4126,10 @@ int main(int argc, char * argv[]) // Open an Warcraft III map locked by Spazy protector if(nError == ERROR_SUCCESS) nError = TestOpenArchive("MPQ_2015_v1_ProtectedMap_Spazy.w3x"); +*/ + // Open an empty archive (found in WoW cache - it's just a header) + if(nError == ERROR_SUCCESS) + nError = TestOpenArchive("flem1.w3x"); // Open an Warcraft III map whose "(attributes)" file has (BlockTableSize-1) entries if(nError == ERROR_SUCCESS) -- cgit v1.2.3