From 48dbf357a334725059dd7ab12c4af041417e4dc4 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Mon, 13 Jan 2014 15:33:55 +0100 Subject: + Support for BOBA map protector --- test/Test.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/Test.cpp') diff --git a/test/Test.cpp b/test/Test.cpp index 6b76848..a82a6e1 100644 --- a/test/Test.cpp +++ b/test/Test.cpp @@ -3427,9 +3427,6 @@ int main(int argc, char * argv[]) // if(nError == ERROR_SUCCESS) // nError = FindFilePairs(ForEachFile_CreateArchiveLink, "2004 - WoW\\06080", "2004 - WoW\\06299"); - HANDLE hFile = NULL; - SFileCreateFile(NULL, "huhu", 0, 260, 0, MPQ_FILE_COMPRESS, &hFile); - // Search all testing archives and verify their SHA1 hash if(nError == ERROR_SUCCESS) nError = FindFiles(ForEachFile_VerifyFileChecksum, szMpqSubDir); @@ -3538,6 +3535,10 @@ int main(int argc, char * argv[]) if(nError == ERROR_SUCCESS) nError = TestOpenArchive("MPQ_2002_v1_ProtectedMap_Spazzler.w3x"); + // Open an Warcraft III map locked by the Spazzler protector + if(nError == ERROR_SUCCESS) + nError = TestOpenArchive("MPQ_2002_v1_ProtectedMap_BOBA.w3m"); + // Open a MPQ archive v 3.0 if(nError == ERROR_SUCCESS) nError = TestOpenArchive("MPQ_2010_v3_expansion-locale-frFR.MPQ"); -- cgit v1.2.3