185 Commits

Author SHA1 Message Date
David Benepe
cb38d0cc81 Fixed mips2c issues hopefully. 2022-10-28 18:35:16 -04:00
David Benepe
1bc714e08d Added suggestions, also fixed a couple of regex warnings 2022-10-28 15:15:32 -04:00
David Benepe
761063abc0 Improved generate_ctx 2022-10-28 13:51:47 -04:00
Ryan Myers
37e2fecf7e Split out functions in unknown_070110, and do some documenting on the… (#243)
* Split out functions in unknown_070110, and do some documenting on them. Also fixes the scoring script to include UNUSED funcs

* Match func_80021400

* Match unused func_800B3678

* Commit suggestions

* Match func_80009AB4

* Fix breaking NON_EQUIVALENT builds when I changed the LevelHeader struct

* I swear I fixed this before the last push, but oh well. Here's the proper fix

* Match func_80007FA4

* Add suggestions for PR, and do a NON_EQUIVALENT but near match of func_8005F310

* Add offsets to the sound_ids, and set them up in some arrays that are a list of sounds to play.

* Update a few variables to floats to match func_800699E4

* Fix NON_EQUIVALENT

* Nearly match func_80011134

* Match func_8001B668 and do some more documenting

* Match func_80069A40

* Do a NON_EQUIVALENT, possible NON_MATHCING match of func_8005CB680

* Do NON_MATCHING of func_8005C364 +  update diff.py

* WIP func_8005A6F0

* Remove unk8004F77C struct as it's just Object_Racer

* Match func_8005A6F0

* Match func_8002263C

* WIP func_8005B818

* WIP func_80011570 and match catmull_rom_interpolation

* Match func_80011570

* Remove some extra function declarations from C files, and used the .h files instead.

* Better matches for the catmull math funcs

* Get obj_loop_effectbox a little closer to matching

* Match obj_loop_goldenballoon

* Fix some minor whitespace issues.

Co-authored-by: Ryan Myers <foldor@gmail.com>
2022-09-20 09:42:30 -04:00
Ryan Myers
3dd6118172 Matches, Cleanup, and function splitting (#242)
* Minor labeling during some investigation

* Match func_8006CCF0

* func_80093A40

* Match func_80094170

* Match func_80004A60

* Get func_80093D40 a little closer to matching

* Match menu_track_select_loop

* Match some for loops that were weird before. They needed to be one liners

* Match debug_print_fixed_matrix_values

* Match func_800867D4 and combine two structs into one

* Fixed warnings in load_screen

* Fix multiple funcs being in one file, and match them.

* Split functions out of func_80069A40, and match.

* Fix previous commit by matching func_80069ACC

* Split a function out of func_800A718C, and match it. Then do a near match of func_80085B9C.

* Split and match func_800B61E0

* Split and match 2 funcs from func_800048D8

* Split functions out of setupOSTasks

* Split out a few more funcs, and match an empty one

* Split out more functions

* Splitting more funcs again

* Split more funcs out, and match a couple on the wa

* Update score

* Update progress script to include unmatched lib funcs, and fix the shield output.

* Fix progress.py counting labels as unique functions, and kind of match update_spatial_audio_position

* Apply suggestions

* Missed a change
2022-08-28 07:02:05 -04:00
Ryan Myers
f3418b26ce Update diff.py and mips_to_c script to the latest versions 2022-05-09 21:58:58 -04:00
David Benepe
1ff698f437 Fixed score script. 2022-04-29 16:59:02 -04:00
Fazana
2a035eb98a rename traction checksum 2022-04-28 19:31:38 +01:00
David Benepe
3e416d33dd Decompiled 4 functions from unknown_0ABDF0 2022-04-06 19:58:23 -04:00
David Benepe
b601228245 Lets do this again. 2022-03-18 18:35:32 -04:00
David Benepe
e970ecaf0e Renamed all files in unknown_0348C0 2022-02-13 08:33:50 -05:00
Ryan Myers
b87fc3a47a Update diff.py 2022-02-08 11:30:50 -05:00
Ryan Myers
0c114f958f Update the score to show NON_EQUIVALENT as well 2022-02-08 11:28:44 -05:00
David Benepe
d53a548ebc Fixed up minor issues with fix_regional_names.py script 2022-02-07 12:48:48 -05:00
David Benepe
f3040ce30b Filtering out symbols should happen instantly now. 2022-02-07 12:05:10 -05:00
David Benepe
534dbe9158 Completed the regional naming script 2022-02-07 11:14:15 -05:00
David Benepe
6b78b5cffd Added all regional_names 2022-02-07 11:14:15 -05:00
David Benepe
0447332ed3 More progress with regional names x2 2022-02-07 11:14:15 -05:00
David Benepe
dd8198656b More progress with regional names 2022-02-07 11:14:15 -05:00
David Benepe
51f8df1ddf Moved the naming dict to a JSON file 2022-02-07 11:14:15 -05:00
David Benepe
cc37e923eb Fixed up messages 2022-02-07 11:14:15 -05:00
David Benepe
e50bcd3dfb Added script to convert symbols between US and UK english 2022-02-07 11:14:15 -05:00
Antonio
95eef02120 Renamed function checksum + length variables. 2021-12-12 21:04:00 -08:00
Antonio
2986864c42 Function checksum calculator additionally updates function length.
This is necessary because, if the target function deviates in size
compared to the original (e.g. decompiled but non-matching),
calc_func_checksums and the game's internal checksum calculator
will become out of sync, no longer match the target checksum, and
will fail.
2021-12-12 20:56:10 -08:00
AntonioCastelli
5cb7b02102 Refactored variable. (#190)
From comment in https://github.com/DavidSM64/Diddy-Kong-Racing/pull/189.
2021-12-10 07:29:33 -05:00