Commit graph

55 commits

Author SHA1 Message Date
Gered 54a707f860 add to_array helper method 2021-05-16 16:31:14 -04:00
Gered 93c2180da2 call memcmp directly during prs_compress
since we're doing offset/length checks regardless, calling memcmp here
instead of doing a slice comparison is at least twice as fast during
non-release builds. this is nice, as prs_compress can be quite slow
during non-release builds. and obviously during release builds, this
would be compiled down to a memcmp-equivalent anyway.
2021-05-16 16:31:00 -04:00
Gered c84142dfe9 re-work quest errors
use individual error types for both bin and dat modules instead of
all three modules sharing the same error type. maybe marginally better
this way? at least should generally be more clear about whether the
error is related to a bin, dat or general quest processing now
2021-05-15 15:24:49 -04:00
Gered 6c672f3d27 initial quest file bin/dat support
includes loading as compressed/uncompressed. no saving support yet.
2021-05-15 14:48:33 -04:00
Gered c71f9997bd initial commit
starting conversion of these tools over to rust. ported fuzziqer
encryption and prs compression routines over
2021-05-15 14:47:19 -04:00