Commit Graph

263 Commits

Author SHA1 Message Date
aa8f87ed64 Renamed some dcb_io::drv entries to reflect what they're doing better. 2021-01-24 11:20:40 +00:00
2c785bf73d drv-extractor now respects the dates of the files.
Added `DirEntry::seek_to`.
2021-01-24 10:48:09 +00:00
9222ef40d6 Changed the Bytes derive to have endianess per-field.
Started using the new derive.
2021-01-24 10:19:22 +00:00
792b1d365c Improved dcb-bytes's documentation and added a derive. 2021-01-24 10:06:49 +00:00
baf40599a1 Added 3d model set extractor.
Figured out `Unknown0` in `PakEntry`'s kind.
2021-01-24 05:27:35 +00:00
cc2c1c9713 Added pak-extractor binary.
Changed `PakFile` layout.
2021-01-24 00:04:45 +00:00
466f0a5a33 Moved clippy::similar_names lint to crate allows. 2021-01-23 22:59:53 +00:00
233490822f Fixed tests not compiling. 2021-01-23 22:44:50 +00:00
de384d3bbf Added drv-extractor bin.
Made all functions that take a reader take it by mutable reference.
2021-01-23 22:34:32 +00:00
577939d6d8 PakFile can now be constructed from a reader. 2021-01-23 08:04:10 +00:00
c88e1b4f94 Fixed bug in FileReader's io::Reader implementation when reading buffers larger than the remaining sector bytes. 2021-01-23 07:48:07 +00:00
80d3dc9a81 Updated GameFile to the new interface.
Fixed bug with `FileReader`'s `io::Seek` impl, where it didn't actually seek the file.
Fixed bug with `DirEntry::from_reader` impl, where it didn't read the remaining entry bytes.
2021-01-23 07:19:55 +00:00
3aea6d78e7 Updated iso9660's DirEntry to read files and directories better. 2021-01-23 05:41:14 +00:00
f2589d23d2 Updated .DRV filesystem to work with a generic reader and not read everything at once. 2021-01-23 04:08:55 +00:00
519f7f1845 Added extra flags to dcb-iso-9660's entry flags. 2021-01-23 03:14:14 +00:00
dd26994182 Revised some documentation on dcb-iso9660. 2021-01-22 22:46:39 +00:00
d9c6bf96e0 Revised CdRom interface. 2021-01-21 23:30:53 +00:00
2af0871f2c Merge branch 'dcb-io-rework' 2021-01-21 22:32:39 +00:00
9fa368afe4 Removed unnecessary dependencies on most things.
Turned `dcb-tools` into several packages.
Revised `dcb-util` a bit.
2021-01-21 22:30:29 +00:00
2766b4c4d5 Separated dcb-iso9660 into itself and dcb-cdrom-xa. 2021-01-21 21:12:27 +00:00
0facd39b93 Removed warnings from extractor. 2021-01-21 20:20:15 +00:00
d637d6964e Renamed PakEntry::FileHeader to Animation2d.
Added `Animation2d` type and strarted working on it's deserialization.
2021-01-21 18:06:50 +00:00
e65ba48dd8 PakEntry now does no parsing. 2021-01-20 19:36:26 +00:00
3dcd61b9b6 Added PakEntry for each entry within a PakFile. 2021-01-20 06:00:09 +00:00
00194d55d1 Worked on .PAK implementation.
Started work on `.TIM` implementation.
2021-01-20 05:05:39 +00:00
4c07bbe4c4 Moved .DRV filesystem to top-level in dcb-io.
Started work on parsing `.PAK` files.
2021-01-20 02:14:33 +00:00
6f436271e2 Started on documentation for dcb_iso9660::fs. 2021-01-19 19:18:49 +00:00
3335397328 Started updating docs for dcb-iso9660::cdrom.
Started implementation on error detection.
2021-01-19 16:06:01 +00:00
2408cece65 Revised dcb::card::Table. 2021-01-18 22:26:00 +00:00
0ebd141373 Implemented the custom filesystem. 2021-01-18 21:38:06 +00:00
e14897ea52 Fixed some documentation issues.
Started work on making `dcb-io` the custom filesystem.
2021-01-18 17:02:12 +00:00
2332a585af Mostly finished the reading part for dcb-iso9660. 2021-01-18 16:51:35 +00:00
733879ee82 Filesystem now stores the primary volume descriptor. 2021-01-18 15:39:40 +00:00
c15ab13007 Moved most of the ISO 9660 implementation from dcb-io to dcb-iso9660.
Cleaned up the implementation of `dcb-iso9660` a bit.
2021-01-18 15:15:32 +00:00
cd6a5a8491 Updated documentation on dcb-iso9660. 2021-01-18 14:50:55 +00:00
af3da1708f Fixed array_split(_mut)? requiring arrayref. 2021-01-18 14:44:36 +00:00
087b2ebe87 Started work on separating the iso 9660 filesystem from dcb-io, to leave it just for the custom filesystem. 2021-01-18 14:28:12 +00:00
f80606ec71 Changed Filesystem to just carry the root dir entry. 2021-01-18 14:06:44 +00:00
a462d4c87d Fixed string's formatting impls being recursive.
Added special cases for `FileAlphabet`.
2021-01-17 21:34:51 +00:00
b0921aa93c Removed ByteArray::SIZE.
Added several filesystem entities.
Revised alphabet strings.
2021-01-17 21:26:21 +00:00
8b650c5aad Removed old dcb-io implementation and started on new one based on the filesystem. 2021-01-17 18:14:32 +00:00
2a1ed4c1eb Started documentation on filesystem. 2021-01-16 21:54:36 +00:00
0924f1084b Function and data instrutions are now prefixed by tabs. 2021-01-16 17:33:16 +00:00
7e9dec9659 DataNode is now public.
Revised `node::InsertError`.
Logging to file is now from `Debug` on up.
2021-01-16 17:22:09 +00:00
62ab28982b Fixed some wrong data in known_data. 2021-01-16 16:51:47 +00:00
831dc61597 Data is now classified on whether it was found heuristically or known. 2021-01-16 16:31:01 +00:00
87bdcbaf19 Fixed some data being at wrong addresses. 2021-01-16 16:10:55 +00:00
9e95b1b87d Removed depency for anyhow in dcb-exe.
Added `dcb_util::fmt_err`.
2021-01-16 16:06:18 +00:00
e57d32e352 Added new cli option, print-data-table, and fixed long ones. 2021-01-16 15:47:47 +00:00
eff64e3f6e Revised documentation and implementation of DataTable.
Added `Display` for `DataTable`.
2021-01-16 15:38:19 +00:00