Commit Graph

74 Commits

Author SHA1 Message Date
Ladislav Zezula
a3332c7c9b nError -> dwErrCode 2021-05-17 10:04:06 +02:00
Ladislav Zezula
7a0fcab2d2 Yet another NP_Protect version 2020-12-20 11:05:08 +01:00
Ladislav Zezula
383e1572ee Added support for amternative MPQ markers 2020-12-13 12:32:25 +01:00
Ladislav Zezula
866269d740 * Better checks for MPQ header v 4.0 2020-12-06 11:28:10 +01:00
Ladislav Zezula
b6102b2600 Removed trailing whitespace 2020-11-23 12:56:00 +01:00
Ladislav Zezula
809005c7f0 * Release 9.23
* Fixed regressions
* Fixed test program
2020-11-21 04:27:09 +01:00
Ladislav Zezula
b13aaed6d0 Fixed some variants of NP_Protect-ed maps 2020-11-18 19:12:53 +01:00
Ladislav Zezula
080158ee13 Added universal makefile for Visual Studio 2020-10-26 10:41:57 +01:00
Ladislav Zezula
f3560fa9af Name conflict with Unreal Engine 4: TBitArray 2020-10-26 08:11:00 +01:00
Ladislav Zezula
ece4f1ad66 TBitArray: Changed struct to class 2020-10-25 16:26:18 +01:00
Ladislav Zezula
738444bddc Changed PLATFORM_* to STORMLIB_* 2020-10-24 09:21:20 +02:00
Ladislav Zezula
51d49e2e16 TBitArray made private 2020-10-24 08:19:07 +02:00
Ladislav Zezula
4a07a5851c Added support for NP_Protect protector (SC2 Maps) 2020-09-22 17:02:57 +02:00
Ladislav Zezula
65784a4ee9 Fixed missing hash table in case when HET table exists 2020-08-31 07:36:54 +02:00
Ladislav Zezula
ac0dfb94b0 Loading of MPQs v 4.0 with fake MPQ headers 2020-08-09 11:24:16 +02:00
Zezula Ladislav
33fd0ed19b Bleh 2019-09-11 15:21:41 +02:00
Zezula Ladislav
0eb09af5fe Added detection of compiled LUA scripts 2019-09-11 15:20:43 +02:00
Ladislav Zezula
17d51a8256 * New feature: Force add listfile 2018-11-08 17:06:12 +01:00
Zezula Ladislav
f35d106059 + Fixed arbitrarily large allocations caused by TQMPHeader::dwBlockTableSize 2018-10-15 11:23:52 +02:00
Zezula Ladislav
dae0b690f7 + SFileAddListFile and SFileCompactArchive now take "const TCHAR *" instead of "const char *"
+ Fixed some bugs
2017-11-08 15:31:45 +01:00
Zezula Ladislav
80021e4a67 + Fixed bug when SFileAddFileEx could add a file with MPQ_FILE_SINGLE_UNIT to a Warcraft III map 2017-07-28 10:43:49 +02:00
Ladislav Zezula
f813753a66 Added support for PG1.11.973 protector 2017-07-26 20:34:02 +02:00
Zezula Ladislav
9915997070 + By "2 GB", I really mean 2 GB. 2017-01-12 04:58:27 +01:00
Ladislav Zezula
866f56db23 + Reverted include directories 2016-11-06 16:50:07 +01:00
Lectem
32f7f18642 fix cmake dependency and move headers to include 2016-11-05 03:56:39 +01:00
Ladislav Zezula
b8fb98fcc4 + Yet another protector 2016-09-30 11:23:29 +02:00
Ladislav Zezula
f311254785 + Fixed bug in opening SQP archives
+ More efficient version of GetNearestPowerOfTwo
2016-07-14 14:15:29 +02:00
Ladislav Zezula
303631f9d7 + Updated for protectors fiddling with too big block table index 2016-06-18 20:32:15 +02:00
Ladislav Zezula
47b6b6eb4a + Support for MPQs that have invalid (and ignored) flags in the block table
+ Support for MPQs that have malformed block indexes (0x8000xxxx or 0x4000xxxx)
2016-05-27 16:50:50 +02:00
Ladislav Zezula
f1655f8afe + Added support for an updated Somj2hM16 protection 2016-05-26 23:46:09 +02:00
Ladislav Zezula
b86b4e7f63 + Fixed bug on compacting archive 2016-05-18 20:35:11 +02:00
Ladislav Zezula
881ea60a01 + Fixed correction of table index 2016-03-29 15:35:16 +02:00
Ladislav Zezula
ed195c0d72 + Support for protectors that set hash table offset to zero
+ Support for protectors that set block table offset to zero
2016-03-22 10:56:51 +01:00
Ladislav Zezula
b5b9acbaf0 + Updates 2016-03-13 16:17:00 +01:00
Ladislav Zezula
7d65d87773 + Anti-integer overflow in calculating buffer for hash table, and position of the block table entry 2016-01-28 08:56:48 +01:00
unknown
922d3a82b8 + Fixed patch archives
+ Empty MPQs are no longer marked as malformed
2015-08-03 17:41:31 +02:00
Ladislav Zezula
81ec1c1e8e + Make coverity happy 2015-05-28 14:46:13 +02:00
Ladislav Zezula
76a9d7ce5d + Fixed use-after-free 2015-05-28 14:15:28 +02:00
Ladislav Zezula
1b38ceb0d4 + Fixed defects found by Coverity (well, most of them) 2015-05-28 13:49:23 +02:00
unknown
58166d6ba7 + Too large listfiles are ignored on malformed maps 2015-05-13 18:13:06 +02:00
unknown
3cfa7f2a1a + Fixed possible stack overflow in HashStringJenkins
+ StormLib now creates a listfile even for empty archives to make sure it will be maintained at later point when files are added to it
+ Bug fixes in listfile loading
2015-05-06 16:33:45 +02:00
unknown
abd17ec91e + Optimized loading listfile 2015-05-04 11:42:00 +02:00
unknown
9c0f0db993 + Fixed bug in defragmenting block table 2015-05-04 10:23:46 +02:00
unknown
eb4d88942e + Re-added 2015-05-01 08:02:52 +02:00
unknown
6738463c06 Merge branch 'master' of https://github.com/ladislav-zezula/StormLib
Conflicts:
	src/SBaseFileTable.cpp
2015-05-01 08:02:14 +02:00
unknown
46930855f5 + Removed back reference of FileTable -> HashTable, as it is logically incorrect
+ Optimized patching process so it consimes less memory
+ Added hash table and block table defragmenting for malformed War3 maps
2015-05-01 07:06:29 +02:00
unknown
81e2b8ec2d + PDWORD -> LPDWORD 2015-04-22 20:01:26 +02:00
unknown
5747ad4910 + Defragmenting file table fixed 2015-04-21 19:36:13 +02:00
unknown
68e2c2527d + SFileGetFileInfo(SFileMpqHashTable) now returns updated hash table instead of raw table loaded from the file 2015-04-18 23:12:47 +02:00
unknown
c2261d5103 + Support for MPQ.KangTooJee map protector
+ Compacting optimized
2015-03-13 17:06:51 +01:00