Commit graph

73 commits

Author SHA1 Message Date
Truman Kilen
69e78f4b53 clippy 2023-02-11 23:42:36 -06:00
Truman Kilen
432d202a3c Fix incorrect block count check 2023-02-11 23:24:32 -06:00
Truman Kilen
a3389a1aa9 Don't spam test log with useless byte asserts 2023-02-11 19:39:54 -06:00
Truman Kilen
fcc868c60e Remove accidentally commited config 2023-02-11 19:39:54 -06:00
Truman Kilen
5b6b2666a6 Fix not converting path to lowercase before hashing 2023-02-11 19:39:54 -06:00
Truman Kilen
8fa8dfa2f9 Fix reading path hash index 2023-02-11 19:39:51 -06:00
Truman Kilen
17ddf22e73 Allow converting PakReader into PakWriter to append files to an existing pak 2023-02-10 23:37:45 -06:00
Truman Kilen
02307378b2 Fix writing wrong block size 2023-02-10 22:29:04 -06:00
Truman Kilen
0e05acadb0 Fix writing compressed encoded entries 2023-02-10 21:50:10 -06:00
Truman Kilen
8fddd3961f Fix compression algos not being written 2023-02-10 19:48:55 -06:00
Truman Kilen
9692c7a4d1 Fix not writing entry block count 2023-02-10 19:31:03 -06:00
Truman Kilen
f94e6c460d Simplify matrix test 2023-02-10 18:07:07 -06:00
Truman Kilen
8564cf6268 Remove unnecessary prefix 2023-02-10 17:12:31 -06:00
Truman Kilen
847f2d7aa8 Use use Aes256 for both encoding and decoding 2023-02-10 17:10:40 -06:00
Truman Kilen
d4a56617f8 Fix error reporting wrong version 2023-02-10 16:32:16 -06:00
Truman Kilen
03358df460 Remove redundant tests 2023-02-07 23:07:07 -06:00
Truman Kilen
04c5bbfddc Remove misplaced manifest key 2023-02-07 23:05:12 -06:00
Truman Kilen
348e502156 chore: Release 2023-02-07 22:58:41 -06:00
Truman Kilen
5bec080261 Update compatibility table 2023-02-07 22:54:04 -06:00
Truman Kilen
159eb32134 Fix writing V9 footer 2023-02-07 22:48:44 -06:00
Truman Kilen
a69b2e44dd Add pak write matrix tests 2023-02-07 22:48:31 -06:00
Truman Kilen
194a197360 Fix unncessary mut 2023-02-07 22:48:07 -06:00
Truman Kilen
16305f8c95 Unify index types and add version flag to pack command 2023-02-07 22:30:49 -06:00
Truman Kilen
399f2f0187 Rework PakReader to allow for parallel reads 2023-02-07 20:54:04 -06:00
许杰友 Jieyou Xu (Joe)
fefd02a369
Implement support for rewriting plain v11 paks (#2) 2023-02-02 11:58:27 -06:00
Truman Kilen
d2bd98bb53 Rename unpak -> repak 2023-02-01 20:48:37 -06:00
Truman Kilen
8a5c46136e Fix test dependencies 2023-02-01 16:27:56 -06:00
Truman Kilen
64ef7ac617 clippy 2023-01-31 23:14:52 -06:00
Truman Kilen
a5a587f94a Error if pack input is not a directory 2023-01-31 23:14:39 -06:00
Truman Kilen
b1cfe4aa1f Fix incorrect unpack output directory default 2023-01-31 23:14:03 -06:00
Truman Kilen
898be58855 Add verbose flag to pack/unpack 2023-01-31 22:55:37 -06:00
Truman Kilen
1d5a2410e8 Move binary to separate crate 2023-01-31 22:55:26 -06:00
Truman Kilen
953be3726c Rewrite unpak command 2023-01-31 21:41:36 -06:00
Truman Kilen
8d009c784e Remove hashbrown dependency 2023-01-22 11:45:19 -06:00
Truman Kilen
ed653969a7 Implement v8b PakWriter 2023-01-22 09:27:40 -06:00
Truman Kilen
be58d245e8 Test read coverage 2023-01-21 11:53:31 -06:00
Truman Kilen
a03dafaa15 Add into_reader to get the underlying reader back 2023-01-21 11:52:30 -06:00
Truman Kilen
de69a98d34 fmt + clippy 2023-01-20 13:07:28 -06:00
Truman Kilen
529bdcac4e Refactor version handling to handle subversions and correctly parse v8a 2023-01-20 12:09:44 -06:00
Truman Kilen
af3ef60f30 Add v8a (4.22) tests 2023-01-19 22:47:34 -06:00
Truman Kilen
461bc66c30 WIP pak init refactor 2023-01-19 21:53:13 -06:00
Truman Kilen
0b5bded4b4 Implement parsing of v11 2023-01-19 21:24:36 -06:00
Truman Kilen
254e0ce4c0 Fix alignment for encrypted file data 2023-01-19 21:13:03 -06:00
Truman Kilen
58bbb52738 Make base64 a dev dependency 2023-01-19 17:47:58 -06:00
Truman Kilen
02038bd8cf Check mount point in test 2023-01-19 01:31:04 -06:00
Truman Kilen
232e6f2a8c Fix v8 footer size 2023-01-19 01:31:04 -06:00
Truman Kilen
46e2ced47e Add tests for v5, v7-v9, v11 2023-01-19 01:31:01 -06:00
Truman Kilen
d62915ec16 Handle AES key parsing outside of pak 2023-01-17 00:54:05 -06:00
spuds
6c2fe4dfb7
more general reading 2023-01-15 16:26:23 +00:00
spuds
7dda23967d fix bad compression and make example multithreaded 2023-01-14 19:33:54 +00:00