Commit Graph
28 Commits
Author SHA1 Message Date
Dominik PetersandGitHub fa806d366f match: func_800B92F4 / func_800B97A8 (#501)
* match: func_800B92F4

* fix: score.py script crashing on invalid / empty address

* match: func_800B97A8
2025-04-05 21:06:23 -04:00
Ryan MyersandGitHub 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
Ryan MyersandGitHub 31124801c0 Score update fixes (#467)
* Fixed a couple of issues for score calculations

* Update README
2025-02-27 14:27:28 -05:00
Ryan MyersandGitHub 39c01d4f5e Splat changes (#462)
* Merge changes from splat where it makes sense at this stage.

* Update score, and script for what seems like new map file style.

* format

* Fix accidental inclusion of version specific details.

* Match camera_init

* Update Score

* Near match for func_80046524

* Format

* Woops, it's NON_MATCHING

* Missed button pressed value

* Work on documenting func_80046524

* MAtch func_80046524

* Match func_80046524

* Minor changes

* Fix warnings in func_80046524

* format.py

* Update README

* Match func_800230D0

* Fix UB in mode_init_taj_race
2025-02-21 09:23:36 -05:00
Bl00D4NGEL 681cc243f3 refac: split verification steps into separate GH jobs. Fix score.py script crashing because of missing key. Update README to include ROM hash 2025-01-02 21:09:53 +01:00
David 34c465815c Added non matching score to score script. 2023-11-02 21:33:35 -05:00
f8e3c755a3 60% Matched! (#423)
* Match func_8005F99C

* unk8005FCD0 to Object_68

* Match func_800B7460

* epc cleanup

* Match func_8001EE74

* Match func_8001E6EC

* Match func_8000FD54

* Match func_80015348

* Match func_80016748

* Match func_8001AE64

* Match func_80016DE8

* Updated score

* Fix score

* Update src/object_models.h

Co-authored-by: David Benepe <benepe96@gmail.com>

---------

Co-authored-by: David Benepe <benepe96@gmail.com>
2023-10-20 08:12:50 -04:00
tonyspumoniandGitHub 65ab7d14ee Score summary (#370)
* update README with score summary

* use spaces instead of tabs for markdown

* one more newline so it looks good

* test emsp

* emsp seems good
2023-02-10 16:39:25 -07:00
b74f340fe3 Match and label some track functions (#354)
* match render_scene and render_level_segment

* improve accuracy of a name

* labbie

* disregard libultra in documentation score

* Start on triangle batch flags

* Q

* more tracks.c stuff

* Update src/unknown_0255E0.c

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

* Update unknown_0255E0.c

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2023-01-06 19:39:37 +00:00
c6351af6c3 lots of matching involving misc racers (#346)
* match func_8005E4C0

* label vehicle enums

* prelim

* match func_800B1130

* match func_8005F310

* prelim

* match func_8005C364

* rename and warning fix

* another wave of particle cleanup

* match func_8005E204

* fixed warnings

though it's just a plaster

* Update objects.c

* match func_8005D0D0

* macros

* some labels

* match func_8005D820

* reorganise boss headers

* stuff that I don't really feel like describing it's just lots of dumb stuff lol

* add collision.c

* one more

* some racer documentation

* fix blacklist bug in score.py

* more.

* nonequiv func_800314DC

* Update collision.c

* Update unknown_0255E0.h

* document two camera funcs

* Update racer.c

* quick fixes

* Update src/vehicle_tricky.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/vehicle_smokey.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/vehicle_misc.h

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/particles.h

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/vehicle_bluey.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* requested changes

* Update vehicle_smokey.c

* oops missed one

* Update object_functions.c

* Update racer.c

Co-authored-by: David Benepe <benepe96@gmail.com>
2022-12-30 14:14:53 +00:00
FazanaandGitHub f135d0f3ec Update score.py (#319) 2022-12-04 19:52:37 +00:00
David Benepe d897ac2bc4 Fixed score script 2022-12-01 16:37:37 -05:00
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
David Benepe 1ff698f437 Fixed score script. 2022-04-29 16:59:02 -04:00
Ryan Myers 0c114f958f Update the score to show NON_EQUIVALENT as well 2022-02-08 11:28:44 -05:00
Ryan Myers c1026498d8 Proper fix for score.py and static functions. It will ignore them now 2021-09-29 09:43:52 -04:00
Ryan Myers 4eacb7c0ea Hacky fix for score.sh to workaround a static function 2021-09-21 23:08:29 -04:00
David Benepe d4139842b9 Added NON_MATCHING count to score display. 2021-07-15 22:38:50 -05:00
David Benepe 83b2f29926 More documentation for menu.c 2021-06-15 20:21:43 -05:00
David Benepe 63b9300dd8 Improvements to a few scripts & renamed a couple files. 2021-06-13 14:48:10 -05:00
David Benepe 635eb650e8 Updated score script with game status. 2021-06-04 00:27:41 -05:00
David Benepe 64c56ff353 Fixed score.py 2020-08-04 15:16:23 -05:00
David Benepe d416539bd3 Fixed minor issues and added some asm files. 2020-08-01 07:43:45 -05:00
David Benepe 926105c95e Moved libultra files to /lib/ directory 2020-07-31 15:45:49 -05:00
David Benepe cca87e34e0 Found handwritten asm files 2020-07-29 09:30:04 -05:00