40 Commits

Author SHA1 Message Date
Sławomir Śpiewak
329589122a Fix cases where files with non-ascii names would fail to decrypt. 2024-08-18 10:46:41 +02:00
Sławomir Śpiewak
d2a22fa2fb Update ArcDX8.cs
We already read the entry to the array. Don't attempt to read twice. Or in other words, just copy from the prepared array.
2024-08-14 18:30:45 +02:00
Sławomir Śpiewak
0817dacd99 Update ArcDX8.cs
More fixes.
This is not done yet.
2024-08-11 18:59:30 +02:00
Sławomir Śpiewak
ed0f0489d3 Update HuffmanDecoder.cs
Fix not so obvious errors.
2024-08-11 15:41:21 +02:00
Sławomir Śpiewak
57749e5cac Update HuffmanDecoder.cs
Fix obvious bugs.
2024-08-07 17:51:43 +02:00
Sławomir Śpiewak
4773ff148f Update HuffmanDecoder.cs 2024-08-05 16:14:04 +02:00
Sławomir Śpiewak
2ad5095cec Update HuffmanDecoder.cs
compressedSize does not include header.
2024-08-05 16:07:31 +02:00
Sławomir Śpiewak
3f4c263ec5 Update HuffmanDecoder.cs
Since Huffman node is now a class it must be explicitely initiated.
2024-08-05 15:47:28 +02:00
Sławomir Śpiewak
4d5be92386 Update HuffmanDecoder.cs
Fix constructor visibility error;
Change to big endian 32 bit.
2024-08-05 15:44:55 +02:00
Sławomir Śpiewak
e3236c0fbd Revert "Add ToUint64 for big endian numbers"
This reverts commit 681e82dd3f738ba8400996d3802b2172efd66cf2.
2024-08-05 15:43:28 +02:00
Sławomir Śpiewak
681e82dd3f Add ToUint64 for big endian numbers 2024-08-05 15:37:02 +02:00
Sławomir Śpiewak
071a33eb94 Actually init arrays. 2024-08-05 15:17:26 +02:00
Sławomir Śpiewak
ab67cb5187 Finish up implementation.
Debugging next.
2024-08-05 15:07:56 +02:00
Sławomir Śpiewak
aa2900f15b Implement construction of DxLib's Huffman tree 2024-08-02 19:29:19 +02:00
Sławomir Śpiewak
881e5f1e3f Update ArcDX8.cs
Start work on huffman compression.
2024-08-01 14:42:40 +02:00
Sławomir Śpiewak
beaab0ecee Fixes 2024-08-01 11:53:08 +02:00
Sławomir Śpiewak
45e7af60ea Fix issues. 2024-08-01 11:46:41 +02:00
Sławomir Śpiewak
738b2950f6 Fix logic error. 2024-07-31 16:32:53 +02:00
Sławomir Śpiewak
6a90018798 Apply suggestions from upstream 2024-07-31 16:32:35 +02:00
Sławomir Śpiewak
3bd697577c Multiple Changes:
DXA8 now directly asks for password, as guessing it, is made improbable.
Promote several private methods to `protected` status
Add code for indexing DXA8 files. (not finished)
2024-07-17 19:53:13 +02:00
Sławomir Śpiewak
30e04eae1f Update ArcDX8.cs 2024-07-15 14:22:34 +02:00
Sławomir Śpiewak
b3f5195a9a Ensure that DXA is not "decrypted" when not needed. 2024-07-15 14:20:17 +02:00
Sławomir Śpiewak
2e8057aa54 Update ArcDX8.cs
Add anything that can be done without user input.
2024-07-15 14:15:14 +02:00
Sławomir Śpiewak
2a6f3ab70c Add support for DXArchive8 encryption. 2024-07-14 20:59:18 +02:00
morkt
77fde27d26 bunch of stuff. 2023-08-24 01:33:50 +04:00
morkt
96d113115b (DxLib): support version 7 encryption. 2019-02-02 04:56:00 +04:00
morkt
aa7bfca83f (DxLib): guess key of version 6 archives. 2018-11-09 10:25:28 +04:00
morkt
00ea0d3e4e (DxOpener): log guessed key. 2018-10-25 16:48:07 +04:00
morkt
1c3a553e87 (MED): look up game title. 2018-09-08 18:04:20 +04:00
morkt
cd4e1174af fixed code to work with new resource settings interface. 2018-01-08 20:04:23 +04:00
morkt
37539cc083 -debug. 2017-07-15 06:00:33 +04:00
morkt
2aa6f92b1a (DxLib): implemented archives version 6. 2017-07-05 01:11:23 +04:00
morkt
bb18303eb4 IBinaryStream migration. 2016-10-16 09:22:53 +04:00
morkt
f1d66206bc (IResource.CanWrite): new property.
(ArchiveFormat.CanCreate): renamed to CanWrite.
2016-10-11 00:05:22 +04:00
morkt
b18ede8684 implemented '*_scr.med' archives decryption. 2016-05-31 02:41:33 +04:00
morkt
97c4722d86 implemented DxLib MED archives. 2016-05-30 15:48:02 +04:00
morkt
9af7f41ef5 guess keys of DXA archives. 2016-03-18 06:23:51 +04:00
morkt
cc229c51cc (IndexReader): use Path.Combine to concatenate file names. 2016-03-15 18:52:12 +04:00
morkt
9084a4857f refactored DX archives. 2016-03-14 20:38:30 +04:00
morkt
51b0675cd0 moved ArcDX to DxLib folder. 2016-03-14 19:04:37 +04:00