Commit Graph
1657 Commits
Author SHA1 Message Date
3f48db7616 Fix warnings and polish build environment a little (#489)
* 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

* fix a whole heaping spaghetti pile of warnings

* stack sizes and header depdendancies

* more warns

* fix bug oops

* t

* Update Makefile

Create extract_boot.py

* Update extract_custom_boot.py

* somehow this blew up again in the merge

* Update Makefile

* fix these

* Delete extract_boot.py

* simplification

* Sage is stoopid

* Update controller.c

* permissions

* Update get-binutils.sh

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2025-03-26 12:56:16 +00: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
FazanaandGitHub 59f86699a1 gcc building (#487) 2025-03-20 21:40:03 +00:00
Dominik PetersandGitHub ad6cf02037 match: func_800C15D4 (#486)
* match: func_800C15D4

* fix: linting
2025-03-20 11:18:09 -04:00
Ryan MyersandGitHub ef5ab1d376 Match func_80004384 (#485)
* Formatter

* Update Score

* Update function name to be more accurate

* Match func_80004384

* Update score

* Remove ASM file

* == FALSE to !
2025-03-18 07:35:25 -04:00
David BenepeandGitHub 2b946d7bc9 Merge pull request #484 from Bl00D4NGEL/match/menu_credits_loop
match: menu_credits_loop
2025-03-15 23:24:05 -04:00
Bl00D4NGEL 2d7eca8196 match: menu_credits_loop 2025-03-16 04:17:29 +01:00
David BenepeandGitHub c9920dac94 Merge pull request #483 from DavidSM64/fixm2ctx 2025-03-14 18:18:02 -04:00
David ce4a092660 For real this time. 2025-03-14 16:32:59 -04:00
Ryan MyersandGitHub 7980bd7c78 Match menu_track_select_init (#481)
* Match menu_track_select_init

* Update score
2025-03-14 15:03:30 -04:00
David BenepeandGitHub df1b47540b Merge pull request #482 from DavidSM64/fixm2ctx
Fixed m2ctx.py issues
2025-03-14 15:02:29 -04:00
David 484d2bc100 Fixed m2ctx.py issues 2025-03-14 14:58:06 -04:00
Ryan MyersandGitHub 019b2fa9d0 Match menu_ghost_data_init (#480)
* Match menu_ghost_data_init

* 75% matching!

* Fix readme
2025-03-13 14:17:05 -04:00
Ryan MyersandGitHub d7e3aa069a Match func_80087F14 (#479)
* Fix some warnings in a non equivalent function.

* Match func_80087F14

* Update score

* Little bit of documenting

* func_80083098 update

* var name update

* Minor cleanup

* Fix some var names on documenting to account for the fact that it's pages, and not files sizes.

* Remove a need for a static char by figuring out a better match.
2025-03-12 16:03:32 -04:00
Ryan MyersandGitHub be8410c33e Match func_80094D28 and fix several warnings in menu.c (#478)
* Fix most warnings in menu.c

* Better match for gWoodPanelVertCoords

* Realized s8 meant -1 instead of 255

* Match func_80094D28
2025-03-11 19:32:15 -04:00
Ryan MyersandGitHub 88d0931f7a Match func_80080580 (#477)
* Match func_80080580

* Update score

* Remove dialogue_tt_gamestatus file

* Match func_80084854

* Update score

* Update func_80094D28 to a closer match
2025-03-11 11:14:49 -04:00
Ryan MyersandGitHub 4a8d4299c7 Match 3 menu functions (#476)
* Fix typo and update some vehicle values.

* Match load_menu_text

* Cleanup load_menu_text

* Match func_80080BC8

* Match func_80080E90

* Fix NON_EQUIVALENT builds and update score
2025-03-08 18:57:40 -05:00
Ryan MyersandGitHub d6569b249b Match func_80092188 (#475)
* Match func_80092188

* Update score
2025-03-07 13:33:51 -05:00
Dominik PetersandGitHub b13aa33b64 match: func_80050A28 (#474) 2025-03-07 09:41:12 -05:00
Ryan MyersandGitHub 3d67a064f2 Match func_8004F7F4 (#473)
* Match func_8004F7F4

* score update
2025-03-06 19:56:36 -05:00
f1f2f9791f match: func_8005B818 (#472)
* partial match: func_8005B818

* refac: add UNUSED to unused variables, rename them to padX

* partial match: increase match score of func_8005B818 by assigning and then using a variable

* match: func_8005B818

* chore: update README with score

* Apply suggestions from code review

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

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2025-03-06 09:06:08 -05:00
Ryan MyersandGitHub efc8a5b095 Match func_80054FD0 (#471)
* Match func_80054FD0

* Update README
2025-03-05 16:23:56 -05:00
Ryan MyersandGitHub db602828c3 4 More matches, and large struct changes (#469)
* Match func_8005698C and fix func_8001B7A8

* Larger update to match func_80032424 and change a couple of structs

* format

* Fix many warnings

* Matxh func_80014B50

* Format func_80014B50

* Racing Smokey!

* Match func_80053750

* Update score

* Fix some explicit casts
2025-03-02 17:18:23 -05:00
Ryan MyersandGitHub 3209990c94 Match func_80026E54 and func_80026070 (#468) 2025-02-27 15:40:33 -05: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