Ladislav Zezula
4f4e2154cd
Added check for loading CRC table
2025-04-20 21:16:05 +02:00
pionere
786f74bd30
free/release SectorOffsets of TMPQFile in AllocateSectorOffsets
2025-02-28 10:08:19 +01:00
Ladislav Zezula
d1bf5e1c71
Changed behavior of patched files with MPQ_FLAG_DELETE_MARKER
2024-12-04 09:16:28 +01:00
Ladislav Zezula
2ec11ad1fd
Added functions for conversions between MPQ file name <-> Safe file name
2024-11-02 09:18:37 +01:00
Ladislav Zezula
19a8f83554
Fixed stack overflow in https://github.com/ladislav-zezula/StormLib/issues/328
2024-04-21 14:33:20 +02:00
Ladislav Zezula
dbe502676f
+ Fixed regression tests
...
+ Refactored udage of UNICODE characters
+ Fixed regression tests on Linux
2024-03-07 17:46:27 +01:00
Ladislav Zezula
909ff807e7
Regression tests passed
2023-12-30 08:59:09 +01:00
Ladislav Zezula
5d938c500a
Tabs -> Spaces
2023-11-13 10:35:13 +01:00
Ladislav Zezula
0d89b2b473
Fixed bug in SFileSetFileLocale
2023-10-06 06:38:05 +02:00
Ladislav Zezula
e2a9429979
SHA256 is available only in test program
2023-09-23 07:00:33 +02:00
Ladislav Zezula
cb56fff1a5
StormLib will not make Warcraft III maps larger than 2GB
2023-09-23 01:08:58 +02:00
Ladislav Zezula
8debce7eab
Fixed heap overflow in handling of file patch
2023-08-04 11:19:49 +02:00
Ladislav Zezula
f2c086cef8
Fixed heap overflow
2023-07-08 14:29:02 +02:00
Ladislav Zezula
6c113f6681
lcLocale -> lcFileLocale. Now also contains platform
2022-09-28 20:15:07 +02:00
Ladislav Zezula
d5d2413e95
Fixed
2022-06-12 20:51:09 +02:00
GaryOderNichts
d1b47ab454
Big endian fixes
2022-03-26 19:34:34 +01:00
Ladislav Zezula
503ab19d3d
SFileAddListFile optimized for protectors that set too large hash table
2022-02-13 07:40:22 +01:00
Ladislav Zezula
a5ef7a850a
Fixed assert on some platforms
2021-12-26 11:36:55 +01:00
Ladislav Zezula
7da097c513
Regression tests
2021-12-21 10:37:24 +01:00
Ladislav Zezula
4f4f926c1a
Support for protected SCX files
2021-12-17 22:33:19 +01:00
Ladislav Zezula
26b2f0e8b6
PDWORD -> LPDWORD
2021-05-17 15:19:36 +02:00
Ladislav Zezula
33bdae86c2
Added alignment-aware block encryption/decryption
2021-05-17 12:57:54 +02:00
Ladislav Zezula
a3332c7c9b
nError -> dwErrCode
2021-05-17 10:04:06 +02:00
Gleb Mazovetskiy
172ed20dec
Fix big endian on non-Mac
...
Mac-specific functions aren't all that useful, simply replaces them with
a platform-agnostic implementation.
2021-04-01 16:41:02 +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
b13aaed6d0
Fixed some variants of NP_Protect-ed maps
2020-11-18 19:12:53 +01:00
Ladislav Zezula
738444bddc
Changed PLATFORM_* to STORMLIB_*
2020-10-24 09:21:20 +02:00
Ladislav Zezula
4a07a5851c
Added support for NP_Protect protector (SC2 Maps)
2020-09-22 17:02:57 +02:00
Ladislav Zezula
f438d59c5c
* Removed sprintf as source of incompatibilities
...
* Fixed bug
2020-08-26 10:17:05 +02:00
Ladislav Zezula
1f17e92643
Added checks for obviously fake files
2020-03-25 17:36:20 +01: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
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
8a370dd933
+ Fixed workspace for storm_dll
...
+ Updated storm.dll from Warcraft 1.27
2016-07-15 14:57:46 +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
7597fe1702
+ Yet another protector solved
2016-07-11 22:52:11 +02:00
Ladislav Zezula
303631f9d7
+ Updated for protectors fiddling with too big block table index
2016-06-18 20:32:15 +02:00
unknown
a8a92ccc92
+ Fixed bug in SFileReadFile
2015-05-28 17:24:56 +02:00
Ladislav Zezula
1b38ceb0d4
+ Fixed defects found by Coverity (well, most of them)
2015-05-28 13:49:23 +02:00
unknown
c45446094e
+ SFileFindFile now correctly returns hash index and locale, if exist
2015-05-13 17:41:34 +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
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
5747ad4910
+ Defragmenting file table fixed
2015-04-21 19:36:13 +02:00
unknown
9337089747
+ Better handling of MPQs corrupted by yet another silly MPQ protector
2015-04-01 06:52:50 +02:00
Ladislav Zezula
e5b9f5132a
+ SFileVerify: Added check whether the weak signature is not zeroed out.
...
+ Typos
2015-03-17 07:49:42 +01:00
unknown
c2261d5103
+ Support for MPQ.KangTooJee map protector
...
+ Compacting optimized
2015-03-13 17:06:51 +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