16 Commits

Author SHA1 Message Date
Ryan Myers
278112886b Sort Includes Alphabetically (#666)
* Consistent tabs in makefile

* Update clang format to fix broken config settings

* Use new clang format settings to sort includes

* Minor python script warning fixes

* Fix a woopsy
2025-07-04 14:43:05 -04:00
Fazana
9fd0885200 More documenting and labelling things I've learned, suddenly and unsuddenly. (#645)
* ooh

* race

* Update menu.c

* fix more menu UB

* fix some warns

* fix symbols

* more model stuff

* confusion

* format le code

* Update racer.h

* Update src/objects.c

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>

* Update src/racer.c

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>

* improve vehicle anim func

* clean up another function

* Update tools/python/calc_func_checksums.py

Co-authored-by: Dominik Peters <github@d-peters.com>

* Update tools/python/calc_func_checksums.py

Co-authored-by: Dominik Peters <github@d-peters.com>

* oop

* Update object_functions.c

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
Co-authored-by: Dominik Peters <github@d-peters.com>
2025-06-25 17:57:50 +01:00
Ryan Myers
6db9a8d6ea Splat merge (#470)
* First pass

* Fix n64crc and add submodules properly

* Fix other versions

* Match func_8005B818 for v80 code.

* Formatting

* Fix build for JPN in last commit. Still broken in post v77 roms though.

* Fix builds for other versions.

* Match load_menu_text for other versions.

* Fix progress script

* update m2c

* Modify asset tools to remove the LD script code.

* Fix asm file macro inclue

* Get a working splat version for us_1.0 to build from the assets tool.

* update asm differ

* Update tools again

* Fix the makefile to only compile assets when requested. This will build all versions successfully, and compile assets for us_1.0 when requested.

* First round of suggestions

* Small cleanup

* Fix the gcc_generate.py path.

* Make entrypointThreadStack

* Small addition to the last commit

* "Fix" score script. Still need to fix the score values themselves, but at least it runs and is kind of close.

* Much closer matching score script

* Fix the splat version due to a breaking change in 0.33.0 for this repo for now.

* Fix the main function name

* Add gitignore entries

* Fix the padding problem to be handled by objcopy instead of a binary pad from splat.

* Update the README and change dependencies to setup.

* Have a hasm header that can be tweaked.

* Still calculate the checksum on no_verify builds or they won't work.

* Add support for boot_custom.bin

* Fix custom boot ld code.

* Fix score script

* Fix gcc building.

* Update m2c

* Fix warning, stop ignoring mod assets, and add some handy make rules.

* Uggh, serves me right for not testing.

* First stab at modifiable entrypoint.

* Fix typo, and small README change

* Stop n64crd from defaulting to returning 6105, so we can properly fail if the CIC checksum fails. Also, fix the

* Extract custom boot script

* Update automated scripts.

* Woops, fixed the MAXCONTROLLERS thing now.

* Add the method for building binutils back. Sorry!

* Only use -m32 when the longbit says we're on a 64 bit platform.

* Woops....

* Hopefully fix arm detection for raspi ido downloads.
2025-03-25 09:07:00 -04:00
Fazana
88864107ab Finish labelling most functions in audio.c + camera.c (#431)
* name some camera things

* yea there

* lots of audio

* match a func

* better

* x

* egg

* all but one func in audio.c nopw

* audio looks good for now

* Update audio.c

* correct taj thing

* fix warnings

* Update audiosfx.h

* Update README.md
2023-11-02 18:53:53 +00:00
Fazana
d8e58622e0 Name the last two files in src (#429)
* label animation and a few object flags

* models

* name funny spline

* Update menu.c

* better name

* rename unknown_005740.c

* ah its happened again

* fix warnings

* Fix that dumb idiot warning finally

* teag

* rename the last audio file

* Update math_util.c

* update math util to the latest

* small funny format

* quick change

* fix warnings

* Update README.md

* Fix a maths func

* fix nonequiv building

* bro come on
2023-10-31 16:39:28 +00:00
David
f356eb04e1 Some minor fixes 2023-06-11 14:10:16 -05:00
Fazana
e47fc4b0ef Couple matches (#270)
* match func_80077268

* Update borders.c

* Update borders.h

* game.c labels

* rename border

* match func_80068BF4 and func_80069484

* Update camera.c

* camera.c labels

* more camera.c documentation

oh god this is gonna be another one of THOSE PR's again isn't it?

* Update camera.c

* destruction

* nonmatching func_80002DF8

* make clean now removes the linker

* Update unknown_003260.c

* match func_800A0EB4

* match render_background

* fix warnings

* style fixes

* label indicator arrows in the UI

* requested changes

* struct renames

* match func_800A7B68

* Update README.md

* match func_800A5A64

* Fix unforgivable typo

sorry im not a fake fan I sware on me nan

* Update README.md

* more detailed documentation of game_ui

* match func_800A01A0

* prelim changes

* oh no

* nonmatching func_80024D54

* labbel

* fix build

* fix context warnings

* match func_800A7520

* fixes

* requested changes
2022-10-30 19:58:59 +00:00
Fazana
2a035eb98a rename traction checksum 2022-04-28 19:31:38 +01:00
David Benepe
e970ecaf0e Renamed all files in unknown_0348C0 2022-02-13 08:33:50 -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
David Benepe
c5885903c1 Lots of progress in unknown_077C50 & unknown_06B2B0 2021-07-22 02:23:31 -05:00
Antonio Castelli
a86f811f00 Renamed D_* prefixed functions to func_* 2021-06-12 01:52:35 -07:00
Antonio Castelli
ab9510e5c8 Fixed cursed audio when ROM is shifted. 2021-06-12 01:31:14 -07:00
David Benepe
02f2e43802 made calc_func_checksums a lot faster 2021-06-11 09:28:17 -05:00
David Benepe
f16317428e Wrote script to fix checksums 2021-06-11 01:14:18 -05:00