323 Commits

Author SHA1 Message Date
dd6fbba431 Renamed dcb_exe::Exe to ExeReader. 2021-04-06 19:20:19 +01:00
83d9fe5e84 Moved dcb_exe::exe::{data, func, header, pos} to the crate level. 2021-04-06 19:19:03 +01:00
1e2f059895 Moved dcb_exe::exe::inst to crate::inst. 2021-04-06 19:13:11 +01:00
b41bd32fbd Renamed known_* to game_* and split game_data into foreign_data.
Renamed `Found` to `DataKind`.
2021-04-06 18:54:12 +01:00
b0053bfb1c Added checksum checking for the executable bytes. 2021-04-06 18:29:27 +01:00
4235461c44 dcb-decompiler now works again by taking in directly the executable. 2021-04-06 18:13:33 +01:00
1bf5807777 DirLister now stores the metadata of the file along with it's path when constructed. 2021-04-05 16:37:03 +01:00
b1fe029e67 mkdrv now uses println instead of log::info. 2021-04-05 16:27:43 +01:00
925948b6b5 mkdrv now lists all files by alphabetical order (which isn't accurate yet, but works for now).
`mkdrv` now correctly pads the file to a multiple of sector size.
2021-04-05 16:26:23 +01:00
a5506c6688 dcb-undrv now correctly sets the modification date on directories. 2021-04-05 15:45:41 +01:00
27f296304b Renamed iso2bin to mkbin and bin2iso to unbin. 2021-04-05 15:09:32 +01:00
93ba9d23f4 Renamed drv to dcb-mkdrv, undrv to dcb-undrv and unpak to dcb-unpak. 2021-04-05 15:06:02 +01:00
4b71ef0bac Updated to 1.53.0-nightly. 2021-04-05 15:03:38 +01:00
ea9e4bb34d Added dcb-bin2iso binary. 2021-04-02 15:19:52 +01:00
c483dca032 Fixed eof condition in SectorsRangeIter. 2021-04-02 15:17:57 +01:00
2e03865b48 Fixed some variants in header::FromBytesError not having a #[source].
Fixed issue with `Dcb` deserialization.
2021-04-02 15:01:28 +01:00
a81fda3798 Removed unused folder in dcb-iso2bin. 2021-04-02 14:30:58 +01:00
112b9e0860 Updated CdRomWriter to keep the current sector on it's own.
`Sector::new` and children now return a `Result` instead of `Option`.
Renamed `dcb-xa-packer` to `dcb-iso2bin`.
2021-04-02 14:30:27 +01:00
3be8ac9bd1 Cached terminator value in OnlyValidCharsAlphabet. 2021-03-31 21:49:12 +01:00
856fa8d28f Changed order of checking for file / directory to treat all non-directories (such as symlinks) as files. 2021-03-31 21:47:47 +01:00
81e64fda75 Slightly updated documentation on dcb-drv. 2021-03-31 21:00:05 +01:00
bd53e223cb Updated some documentation on PakEntryReader. 2021-03-31 20:44:04 +01:00
7c5f13866c Moved dcb_pak::entry to dcb_pak::reader::entry. 2021-03-30 21:20:09 +01:00
8617c0faab Renamed PakEntry into PakEntryReader. 2021-03-30 21:15:03 +01:00
912839985b Added PakFileReader:cur_pos.
`unpak` now uses an internal index instead of the header id, as those aren't unique.
2021-03-30 21:10:43 +01:00
243d623055 Updated unpak. 2021-03-30 19:48:51 +01:00
1b4ac1bfa7 Added some extra methods to CdRomReader. 2021-03-29 11:10:34 +01:00
da013746e3 Slightly updated unpak. 2021-03-29 10:48:23 +01:00
a63f46a355 Renamed pak-extractor to unpak. 2021-03-28 21:08:14 +01:00
60d1ee2c64 Moved try_create_folder to dcb-util. 2021-03-28 21:06:23 +01:00
5b484eece3 Updated rustfmt.toml. 2021-03-28 21:00:18 +01:00
c705db9658 undrv now supports multiple input files, as well as a quiet flag, and a flag for warning on overriding. 2021-03-28 20:54:41 +01:00
1e32cd345e Fixed returning an error when encountering special file names in drv.
Added `fmt_err_wrapper` helper to `dcb-utils`.
2021-03-28 20:40:59 +01:00
061c7eb071 Renamed drv-extractor to undrv and drv-packer to drv. 2021-03-16 20:45:44 +00:00
c10316b531 Updated to version 1.52.0-nightly. 2021-03-16 20:40:19 +00:00
7cba0aa52c Updated lints and features to 1.52.0-nightly. 2021-03-11 16:01:19 +00:00
9961c92ff9 Renamed Filesystem to FilesystemReader. 2021-01-30 21:21:42 +00:00
edcd8b45e1 Slightly revised string types in dcb-iso9660. 2021-01-30 21:13:46 +00:00
66f981d63f Moved drv and pak from dcb-io into their own crates. 2021-01-27 20:44:23 +00:00
8e194e967d Fixed bug in PakFileReader's impl.
Made `pak-extractor` no longer log to file and makde it used buffered input.
2021-01-27 11:26:53 +00:00
4f2415b4a5 Improved .PAK reading. 2021-01-27 10:37:35 +00:00
529263d5d3 Removed some bounds on DirWriterLister by hand-implementing derives. 2021-01-27 09:25:55 +00:00
5504ace431 Moved DirWriterLister to it's own module.
Removed currently superfluous `DirList` associated type, as it cannot be used without creating an infinite type.
2021-01-27 09:02:02 +00:00
03eee9ee66 Added cdrom-xa-packer.
Added `dcb_cdrom_xa::writer`.
2021-01-26 20:54:12 +00:00
dbb556f408 Renamed CdRom to CdRomReader and moved it to it's own module. 2021-01-26 19:30:26 +00:00
beaab45aa4 Improved implementation and added documentation for subheader. 2021-01-26 19:24:08 +00:00
e22c5e3bdc Updated Address, now knowing it is bcd encoded. 2021-01-26 16:20:10 +00:00
426aadb9b8 Slightly refactored drv-packer. 2021-01-25 06:06:04 +00:00
db09f88a88 Refactored drv-extractor. 2021-01-25 05:59:26 +00:00
5fc311ff49 Made DirWriterLister now require the number of entries.
Refactored `drv-packer`.
2021-01-25 05:35:25 +00:00