From 4a07a5851ca7b2eaab2cdc41ec1e75803f52ccc9 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Tue, 22 Sep 2020 17:02:57 +0200 Subject: Added support for NP_Protect protector (SC2 Maps) --- src/SBaseCommon.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/SBaseCommon.cpp') diff --git a/src/SBaseCommon.cpp b/src/SBaseCommon.cpp index fc80dee..a116625 100644 --- a/src/SBaseCommon.cpp +++ b/src/SBaseCommon.cpp @@ -945,6 +945,7 @@ void * LoadMpqTable( // On archives v 1.0, hash table and block table can go beyond EOF. // Storm.dll reads as much as possible, then fills the missing part with zeros. // Abused by Spazzler map protector which sets hash table size to 0x00100000 + // Abused by NP_Protect in MPQs v4 as well if(ha->pHeader->wFormatVersion == MPQ_FORMAT_VERSION_1) { // Cut the table size -- cgit v1.2.3