44 Commits

Author SHA1 Message Date
432c4d0b62 Added minimal tmd2obj implementation. 2021-06-03 19:10:06 +01:00
98e9bf8a76 Added minimal deck editor. 2021-06-01 02:06:06 +01:00
aaf1d52678 Added minimal tim parser implementation. 2021-05-28 17:33:53 +01:00
c622af8262 Added experimental file editor. 2021-05-22 22:26:04 +01:00
5ef361f58b Added primitive msd extractor. 2021-05-17 23:00:14 +01:00
4510d2ba73 Added minimal card editor using egui.
Made some fields in `dcb` publid.
`generate_enum_property_mod` now adds a `ALL` const with all variants, as well as a `as_str`.
2021-05-13 04:19:31 +01:00
de99f4d929 Renamed compiler to as and decompiler to disasm. 2021-05-07 23:52:54 +01:00
275592a6ba Added dcb-dbg for debugging programs.
Fixed issue with `ExecState::exec` skipping instructions.
2021-05-01 17:26:25 +01:00
443c6f6c38 Fixed jalr not supporting parsing single argument.
Fixed `[ls]wc{n}` not supporting non-offset register arguments.
Fixed `li` prefering unsigned values.
`pseudo::{load, store}` now use their unique mnemonics to avoid collision with basic instructions.
`ParseCtx:arg_pos` now supports label offsets.
Added `Inst::write` to write instructions.
Added `Pos + i64` impl.
Brought back and fixed `dcb-compiler`.
Fixed current function labels not having a leading `.`.
2021-04-26 17:58:05 +01:00
1cc35f830d Temporarily removed dcb-compiler while parsing is re-done.
Renamed some types in `inst::parse`.
2021-04-25 09:33:50 +01:00
8bba037a35 Started work on dcb-mkiso-bin. 2021-04-24 09:18:13 +01:00
35caa3ad3f Added dcb-uniso-bin to extract all files within the iso in a .bin file. 2021-04-24 09:06:57 +01:00
1e2f059895 Moved dcb_exe::exe::inst to crate::inst. 2021-04-06 19:13:11 +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
ea9e4bb34d Added dcb-bin2iso binary. 2021-04-02 15:19:52 +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
a63f46a355 Renamed pak-extractor to unpak. 2021-03-28 21:08:14 +01:00
061c7eb071 Renamed drv-extractor to undrv and drv-packer to drv. 2021-03-16 20:45:44 +00:00
66f981d63f Moved drv and pak from dcb-io into their own crates. 2021-01-27 20:44:23 +00:00
03eee9ee66 Added cdrom-xa-packer.
Added `dcb_cdrom_xa::writer`.
2021-01-26 20:54:12 +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
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
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
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
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
48e29ec83c Revamped most things.
Honstly not sure what's happened, but `dcb-exe` is mostly being redone from scratch.
2021-01-08 13:39:50 +00:00
c78822db7e Improved dcb-exe slightly, now gets compiled. 2020-11-11 20:07:12 +00:00
38ea8db1db Split dcb into dcb-io, dcb-exe, dcb-util and dcb.
Also worked on `dcb-exe` slightly, but still not fully supported.
2020-11-11 17:56:37 +00:00
de5c550e7a Fully integrated dcb-tools into the repo. 2020-10-21 01:17:41 +01:00
2a39f8b438 Moved Bytes interface to dcb-bytes crate.
Instead of implementing `Bytes for Option<T>`, a proxy is now used, as `dcb-bytes` is in a separate crate.
2020-09-20 02:34:39 +01:00
152c8250ff Made dcb a workspace and moved the current implementation to the main crate dcb. 2020-09-20 00:45:38 +01:00
fac333c0ed Improved AsciiStrArr. 2020-09-18 04:42:26 +01:00
65deb1fe84 Added global allow for new clippy lint, clippy::unwrap_in_result.
Fixed bug with `Read` and `Write` implementations of `GameFile`.
`Data` and `Real` addresses, now print `0x` before their number to indicate they're hexadecimal.
Added unit tests for `Read` and `Write` implementations of `GameFile`.
2020-09-17 15:48:52 +01:00
d876673326 Changed from err-impl to thiserror for deriving errors.
Added `PartialEq`, `Eq`, `Clone` and `Copy` bounds for as many errors as possible.
2020-07-11 21:52:19 +01:00
8a87ab2bcc Changed dependency err-impl to be a git dependency.
Re-enabled workflow for `clippy` and testing.
2020-05-13 04:03:04 +01:00
8b4b11113a Refactored array_split(_mut) macro.
Now using `AsciiString` instead of `arrayvec::ArrayVec<[ascii::AsciiChar; _]>`.
2020-04-26 07:10:45 +01:00
888ace2017 Changed Bytes interface to provide more safety with arrays. 2020-04-21 19:13:05 +01:00
e426d229f9 Revised Digimon and most properties to the new interfaces. 2020-04-21 17:17:39 +01:00
e943819853 Added bounds on the Bytes error types.
Started using `err-impl`, fork of `err-derive` that does not implement `Display` or `From`.
2020-04-20 21:56:35 +01:00
bfd4f4cf01 Brought files from previous implementation and adapted some to the new implementation. 2020-04-11 14:37:30 +01:00
25972c7881 Initial commit 2020-04-10 11:23:13 +01:00