ee5d34dd78
Added some battle cafe tai values.
2021-08-07 00:11:29 +01:00
177b9fe928
Updated consecutive wins value to reflect how it's used in all msds.
2021-08-06 23:58:20 +01:00
e3ae4762cf
Now sharing values between all msds.
2021-08-06 23:55:40 +01:00
8b42a6df05
Added some more values.
2021-08-06 23:52:53 +01:00
26cec2a0c5
Added all data about arenas in city00.msd.
...
Now not running clippy until fuse building errors can be addressed.
2021-08-06 23:40:19 +01:00
4409e55d4d
Added more labels and values to city00.msd.
2021-08-06 23:07:19 +01:00
25396dc1c8
Sorted city00 labels and added one.
2021-08-06 21:59:03 +01:00
2edd0137bc
Added more labels and values for city00.
2021-08-06 21:57:46 +01:00
ecae601b54
Added some more values to city00.msd.
...
Although they might be shared, so this might be renamed to just `msd.values` in the future.
2021-08-06 21:33:50 +01:00
69d57f27c0
Added labels + values of CITY00.MSD.
2021-08-06 21:22:42 +01:00
03de391f0f
Started finding info about the card table.
2021-05-16 13:49:24 +01:00
7845039dc0
Refactored funcs and data related to interruptse and added extra.
2021-05-11 01:49:58 +01:00
edb1571608
Revised documentation for start.
2021-05-10 20:19:36 +01:00
05f1579dfd
Moved some data to foreign.
2021-05-09 20:50:08 +01:00
ab15d12099
Added FromStr impl for DataType.
2021-05-09 04:17:01 +01:00
aeb373c3ba
Removed the need to specify kind on known / foreign data.
2021-05-09 04:13:59 +01:00
b34b4c9caf
Added new data, functions and overrides.
2021-05-08 21:10:39 +01:00
6b3528507f
Now parsing and requiring branch delay slot markers.
...
Fixes #2 .
2021-05-07 21:27:01 +01:00
1749b78fed
Added function validation.
...
Fixed issue with function `modify_spu_delay1`.
`dcb_util::fmt_err{_wrapper}` not supports non-static errors.
2021-04-30 15:54:49 +01:00
49c8ee53cc
Added missing labels to all known functions.
2021-04-30 15:25:46 +01:00
e04317c091
Functions now have a kind.
2021-04-30 15:00:15 +01:00
475c3c241b
Added warning on unused overrides.
2021-04-29 22:58:16 +01:00
80a85d6ca2
Decompiler now outputs + after any jump / condition instruction.
2021-04-29 22:20:28 +01:00
c211a2fc86
Revised some names in parse::line and added some unit tests.
2021-04-29 12:06:25 +01:00
b572f1d922
Removed existing Addr{Hi, Lo} and renamed AddrSigned{Hi, Lo} to Addr{Hi, Lo}, as all addresses are siged when obtaining their lo and hi.
2021-04-28 20:13:04 +01:00
bff47fad58
Switched all current @addr_ to @signed_addr_, as they all use addiu, thus they are addresses.
2021-04-28 20:05:07 +01:00
a98c971306
Added some more overrides.
2021-04-28 20:03:58 +01:00
64c7d09b4b
Added AddrSignedLo and AddrSignedHi label functions.
2021-04-28 19:40:37 +01:00
a5beaa479d
Turned all heuristically found data locations used in the overrides to known data.
2021-04-28 16:48:34 +01:00
cd6f64cb34
Updated parse::line to support label functions.
...
Fixed single-argument "nop" not being parsed.
2021-04-28 15:25:56 +01:00
cb07f9cd60
Added better instruction argument override.
...
Added more instruction argument overrides.
2021-04-27 19:58:41 +01:00
e5fae97779
`Added overriding for certain positions.
2021-04-27 19:15:04 +01:00
23c98ecd47
nop now doesn't have any arguments if only 1 nop exists.
...
Renamed and added some data / functions.
2021-04-27 17:48:06 +01:00
c25f1f2092
Moved some foreign data from game to foreign.
2021-04-20 02:38:43 +01:00
cceddaaa1e
Added some more data related to a currently wip function.
2021-04-19 05:09:52 +01:00
76a76439b7
Fixed major bug in range_disjoint.
...
Added some more data and functions.
2021-04-19 03:12:52 +01:00
6c2de4fd80
Renamed function table's comments to inline comments and added block comments.
...
Found some of C's standard library functions.
Added random functions found.
`dcb-decompiler` will now properly align inline comments.
2021-04-18 23:12:32 +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
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
2a1ed4c1eb
Started documentation on filesystem.
2021-01-16 21:54:36 +00:00
62ab28982b
Fixed some wrong data in known_data.
2021-01-16 16:51:47 +00:00
87bdcbaf19
Fixed some data being at wrong addresses.
2021-01-16 16:10:55 +00:00
72986f9ced
Added all found A, B and C functions.
2021-01-15 00:00:46 +00:00
ab7a0903c3
Functions and data now have # prefixes and suffixes.
...
Function labels cannot be equal to it's starting position now.
2021-01-14 22:48:03 +00:00
92995bc62e
Added new Marker type.
2021-01-14 16:46:05 +00:00
f56ef6b136
Made Data fully immutable and removed it's *Eq impl.
...
Moved `DataTable::search_instruction` to `Data`.
Completely revised `DataTable`'s implementation.
Fixed duplicate and mis-typed data in `known_data`.
2021-01-14 16:22:07 +00:00
25c32f977c
Function table heuristics now take the known data table for filtering.
...
`Directive::decode_with_data` now returns a `Result`.
Fixed `DataType` not rounding strings to the next word.
`Data` now sorts by smallest first in case positions are equal.
Fixed `get_containing` in `DataTable` and added `get_starting_at`.
2021-01-13 22:33:10 +00:00
29643a72db
Removed custom implementation of DataType.
...
Removed `DataType::AsciiChar` and added `DataType::AsciiStr`.
`inst::Inst::decode` now takes a data and func table.
2021-01-12 15:19:07 +00:00
c04eb2245a
Changed all Encodable::encode impl declarations to be consistent.
2021-01-09 15:57:11 +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