From dae6c5e315445b0c25d6a500deb7e7e625d8df90 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Sat, 7 Nov 2015 23:04:44 +0100 Subject: + 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 --- test/StormTest.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'test') 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"); -- cgit v1.2.3