diff options
author | Ladislav Zezula <E:\Ladik\Mail> | 2015-11-07 23:04:44 +0100 |
---|---|---|
committer | Ladislav Zezula <E:\Ladik\Mail> | 2015-11-07 23:04:44 +0100 |
commit | dae6c5e315445b0c25d6a500deb7e7e625d8df90 (patch) | |
tree | ea2c745ca2633a13fb859277ec73dc690a2565e4 /test | |
parent | 18dda26660660e7ceaf18524e3d5e3d611df8f20 (diff) |
+ Hashing function no longer replaces slashes for backslashes (storm.dll v 2002 doesn't do that either)
+ Support for names beginning with slashes, like \/\BTNThoriumAmmunition.blp
Diffstat (limited to 'test')
-rw-r--r-- | test/StormTest.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/StormTest.cpp b/test/StormTest.cpp index f2ead09..af41024 100644 --- a/test/StormTest.cpp +++ b/test/StormTest.cpp @@ -4184,11 +4184,11 @@ int main(int argc, char * argv[]) // Test working with an archive that has no listfile
if(nError == ERROR_SUCCESS)
nError = TestOpenFile_OpenById("MPQ_1997_v1_Diablo1_DIABDAT.MPQ");
-*/
+
// Open a file whose archive's (signature) file has flags = 0x90000000
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPQ_1997_v1_Diablo1_STANDARD.SNP", "ListFile_Blizzard.txt");
-/*
+
// Open an empty archive (found in WoW cache - it's just a header)
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPQ_2012_v2_EmptyMpq.MPQ");
@@ -4271,7 +4271,11 @@ 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 Warcraft III map locked by Spazy protector
+ if(nError == ERROR_SUCCESS)
+ nError = TestOpenArchive("MPQ_2015_v1_MessListFile.mpq");
+/*
// Open an protected map
if(nError == ERROR_SUCCESS)
nError = TestOpenArchive("MPQ_2015_v1_flem1.w3x");
|