aboutsummaryrefslogtreecommitdiff
path: root/test/Test.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <ladislav.zezula@avg.com>2014-01-13 15:33:55 +0100
committerLadislav Zezula <ladislav.zezula@avg.com>2014-01-13 15:33:55 +0100
commit48dbf357a334725059dd7ab12c4af041417e4dc4 (patch)
tree2e07ded23c756614f677d2c6b5b07a30bbf2ae63 /test/Test.cpp
parent699180bf90ef4952dc7e0f57ce025f54424e30cd (diff)
+ Support for BOBA map protector
Diffstat (limited to 'test/Test.cpp')
-rw-r--r--test/Test.cpp7
1 files changed, 4 insertions, 3 deletions
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");