Commit graph

167 commits

Author SHA1 Message Date
widberg
d0a557a872 Move platforms and versions into bigfile module 2023-12-16 14:02:40 -05:00
widberg
200c09f710 Add Gzip compression for psc and lz 2023-11-29 18:57:40 -05:00
widberg
d9d9f42bec Add a None compression algorithm to psc 2023-11-29 18:37:54 -05:00
widberg
f11a1c5789 [CLI] Add aliases for crc formats 2023-11-28 10:10:25 -05:00
widberg
4840d55897 Add Ubisoft64 CRC 2023-11-28 09:42:13 -05:00
widberg
cec488c70b Parameterize csc 2023-11-18 18:49:35 -05:00
widberg
9243416492 Add name file extensions to platforms 2023-11-18 18:35:50 -05:00
widberg
160a6c658c Sketchy APTR reader and Zlib 2023-11-14 19:22:21 -05:00
widberg
515a156b54 Add create subcommand 2023-11-06 12:26:11 -05:00
widberg
0e5c1d7106 Honest attempt at Ubisoft writing 2023-11-01 18:04:12 -04:00
widberg
a2e59ac137 Set rust-version to 1.72.1 2023-11-01 12:22:49 -04:00
widberg
3a8e9ca557 dump_resource 2023-10-26 12:56:12 -04:00
widberg
0e1db2d646 Add Shaun reading 2023-10-26 10:36:34 -04:00
widberg
8b9634d403 Finally, lzo works 2023-10-26 10:36:34 -04:00
widberg
a52987ce68 fmt 2023-10-23 16:39:13 -04:00
widberg
e792bd8146 Add fuel save file arithmetic coding 2023-10-23 16:38:09 -04:00
widberg
b7d15faeff Start adding tags 2023-10-23 12:15:53 -04:00
widberg
f671240e51 Add StdioOrPath to lz and unlz 2023-10-23 10:23:29 -04:00
widberg
e469652254 Use StdioOrPath for csc 2023-10-23 09:53:52 -04:00
widberg
26dde8e84c Add StdioOrPath 2023-10-23 09:53:39 -04:00
widberg
dbf051d8f8 Add git info to long version 2023-10-21 16:58:09 -04:00
widberg
7958c10a0e Add FAT+LIN create 2023-10-21 16:28:21 -04:00
widberg
b11421dfc8 Add FAT+LIN extract 2023-10-21 15:45:11 -04:00
widberg
87bc514ff0 Add BlackSheep CRC-32 aka IEEE 802.3
Finally, someone used a standard
2023-10-20 15:18:44 -04:00
widberg
a430939225 Restructure modules 2023-10-18 11:10:14 -04:00
widberg
3d345024c1 Clean up
Run fmt and move csc stuff into lib
2023-10-17 17:39:37 -04:00
widberg
a4aa62c615 Create psc works!
Game runs fine with repacked psc
2023-10-17 17:11:42 -04:00
widberg
bb125f73c1 Stub out create psc 2023-10-17 16:12:47 -04:00
widberg
ae320ace43 Extract pscs to directories 2023-10-17 16:09:19 -04:00
widberg
ed75562fcf xpsc dumps psc to stdout for now 2023-10-17 16:00:17 -04:00
Jared Widberg
49ce3a4736 Clean up LZ stuff 2023-10-17 13:45:47 -04:00
widberg
51e845b42f Move helper structs into helpers module 2023-10-13 19:36:40 -04:00
widberg
504c2ee0d2 Clean up the CLI 2023-10-13 18:51:44 -04:00
widberg
fee86c82d2 Add csc subcommand for Black Sheep TSCs 2023-10-13 15:49:13 -04:00
widberg
be068935ef Add LZO and LZ4 de/compression
Right now just for the un/lz CLI subcommands but in the future for
Ubisoft and Asobo BigFiles.
2023-10-13 13:28:13 -04:00
widberg
d22acebc5e Fucked names impl part 1 2023-10-11 13:13:45 -04:00
widberg
5da75c7228 Add Kalisto CRC-32 algorithm 2023-10-10 16:26:20 -04:00
widberg
48dd5cf6a6 Slightly closer to writing Asobo2 format 2023-10-07 14:16:48 -04:00
widberg
abe3b3542f Add round trip command to test writing 2023-10-06 17:40:40 -04:00
widberg
7cdfc5a2b0 Move reverse crc32 into the library 2023-10-05 23:36:57 -04:00
widberg
338e68b09c Add reverse crc32 2023-10-05 22:15:54 -04:00
widberg
16c8f00f43 Borrow Vec instead of using .as_slice() 2023-10-04 08:11:47 -04:00
widberg
5db35d12b5 First step towards new Version type 2023-10-02 17:44:47 -04:00
widberg
c10f34f4d1 Use BffCliError instead of dyn Error and reduce code duplication 2023-10-02 16:23:23 -04:00
widberg
e856fc399b Opaque name type
Name is now a New Type of i32 with a static map of name+string pairs that it
uses when de/serializing. The extract and info commands can now read and write
name files.
2023-10-01 15:49:37 -04:00
widberg
d33da9dfcf Towards an opaque name type
Add a Names struct for reading and writing name files. Add a simple driver
command for this struct for testing. Use signed integers for name types to match
the name file format.
2023-10-01 14:40:46 -04:00
widberg
6b9dd0af8b Remove timer from info and extract subcommands 2023-09-28 16:07:02 -04:00
widberg
d96aa96f9b Run fmt and clippy 2023-08-29 19:28:11 -04:00
widberg
732455ed21 Add ugly and unsafe lz compression 2023-08-29 16:54:56 -04:00
widberg
62a24d8c89 Use From trait for platforms 2023-07-23 11:56:53 -04:00