Commit Graph

58 Commits

Author SHA1 Message Date
Ladislav Zezula
f70bfc0eb6 Fixed division by zero in https://github.com/ladislav-zezula/StormLib/issues/335 2024-04-21 18:56:43 +02:00
Ladislav Zezula
29901739a2 Work in progress: New MPQ protector 2024-04-15 23:30:36 +02:00
Ladislav Zezula
909ff807e7 Regression tests passed 2023-12-30 08:59:09 +01:00
Ladislav Zezula
151856ab0b Added guard against fake MPK headers 2023-10-07 10:13:02 +02:00
Ladislav Zezula
2fb1a0939f Cosmetics 2023-06-06 15:36:07 +02:00
Ladislav Zezula
6c113f6681 lcLocale -> lcFileLocale. Now also contains platform 2022-09-28 20:15:07 +02:00
Ladislav Zezula
07f9be39a6 Code refined 2022-05-15 20:13:36 +02:00
Ladislav Zezula
4321c59d84 Added implementation of Srarctaft I BETA ADPCM decompression 2022-05-12 15:44:15 +02:00
Ladislav Zezula
e7af34bcfb Cosmetics 2021-12-18 07:23:40 +01:00
Ladislav Zezula
4f4f926c1a Support for protected SCX files 2021-12-17 22:33:19 +01:00
Ladislav Zezula
a3332c7c9b nError -> dwErrCode 2021-05-17 10:04:06 +02:00
Ladislav Zezula
62001d116a Minor fix 2021-04-16 08:56:16 +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
4a07a5851c Added support for NP_Protect protector (SC2 Maps) 2020-09-22 17:02:57 +02:00
Ladislav Zezula
ac0dfb94b0 Loading of MPQs v 4.0 with fake MPQ headers 2020-08-09 11:24:16 +02:00
namreeb
776eef8183 Fixed Linux build 2020-04-05 21:21:47 -10:00
Ladislav Zezula
468292a0c4 MIX files are now considered Watctaft III maps 2020-03-25 14:19:09 +01: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
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
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
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
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
Ladislav Zezula
dae6c5e315 + 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
2015-11-07 23:04:44 +01:00
Ladislav Zezula
99459abebd + Added support for an archaic file flag 0x10000000 2015-10-07 15:59:30 +02:00
unknown
5a943c56fc + Workspaces for Visual Studio 2015
+ Fixed warnings given by VS 2015
2015-10-04 12:21:43 +02:00
Ladislav Zezula
1b38ceb0d4 + Fixed defects found by Coverity (well, most of them) 2015-05-28 13:49:23 +02:00
unknown
d39d99944b + The "(attributes)" file si only loaded if the block table was not cut 2015-05-04 07:26:51 +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
d47864c13d + Fixed use-after-free in SListFileFindFirstFile
+ Replaces SFileMpqIsReadOnly with SFileMpqFlags
+ New MPQ flag: MPQ_FLAG_WAR3_MAP
2015-04-18 16:58:14 +02:00
unknown
c2261d5103 + Support for MPQ.KangTooJee map protector
+ Compacting optimized
2015-03-13 17:06:51 +01:00
Ladislav Zezula
9bb19c6c42 + If a MPQ looks like a Warcraft III map, MPQ User Data are not checked.
+ Bye bye, "Somj2hM16" protector.
2015-02-03 10:12:59 +01:00
unknown
23ffb9d452 + More paratemer checking to make nitpickers happy 2015-01-18 17:34:34 +01:00
Ladislav Zezula
2d3b3e11c0 + Improved patching process so that it works for Starcraft II patches
+ Removed memory leaks in file search
2014-10-07 11:23:52 +02:00
Ladislav Zezula
d740634db4 + Added support for signing MPQ archive (weak signature).
+ Added test cases for signature support
+ Release 9.10
2014-08-27 14:00:15 +02:00
Ladislav Zezula
d7044aecae + Added support for newest Spazzler protector 2014-08-25 12:59:01 +02:00
Ladislav
49032636de + Limited MPQ header search to 0x08000000 bytes 2014-06-13 23:05:24 +02:00
Ladislav Zezula
568f189ea5 + Improved key detection for archives with large sector sizes 2014-03-14 10:17:34 +01:00
Ladislav Zezula
48dbf357a3 + Support for BOBA map protector 2014-01-13 15:33:55 +01:00
Ladislav Zezula
699180bf90 + Support for MPQs locked by the Spazzler protector 2014-01-13 14:11:30 +01:00
Ladislav
3a9a6ec46b + Support for master-mirror pairs
+ Support for streaming MPQs
+ Bug fixes
2013-12-27 23:13:28 +01:00
Ladislav
3dd8d1198c + MPQ Bitmap processign was moved to TFileStream
+ Preparing for implementation of master-mirror streaming (like Blizzard games do)
2013-12-22 12:47:26 +01:00