df08fc85a6
Separated entry into two submodules for reader and writer.
2021-01-25 04:59:14 +00:00
21480ebb0e
Made DirEntryReader return an Option when reading from bytes, instead of the caller checking for a specific error.
...
Improved documentation for `drv`.
2021-01-25 04:41:33 +00:00
3d54f23022
Improved DrvFsWriter interface by using the DirWriterList trait.
...
Fixed `DirWriter::write_entries` not writing all entries correctly.
Added `drv-packer` binary.
2021-01-25 00:23:12 +00:00
26972d128b
Started work on .DRV filesystem writer.
2021-01-24 14:08:26 +00:00
15c2b5ac46
Improved implementation of Drv filesystem.
2021-01-24 12:31:20 +00:00
42b694ced0
Renamed DirEntry back, as it represents the dir entry itself on disk.
...
Added `to_bytes` implementation of `DirEntry`.
2021-01-24 11:46:05 +00:00
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
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
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
f2589d23d2
Updated .DRV filesystem to work with a generic reader and not read everything at once.
2021-01-23 04:08:55 +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