Skip to content

Score script updates#715

Open
AloXado320 wants to merge 3 commits intoDavidSM64:masterfrom
AloXado320:score_upd
Open

Score script updates#715
AloXado320 wants to merge 3 commits intoDavidSM64:masterfrom
AloXado320:score_upd

Conversation

@AloXado320
Copy link
Collaborator

@AloXado320 AloXado320 commented Jan 18, 2026

Better late than never, anyways:

Changes

  • Support for multiple versions

    • Dynamically check the code size of each version, no longer uses hardcoded values.
    • Use respective whitelist for functions that exist on specific versions (jpn, v79+).
    • Better symbol address process, mostly to fix and edge case when an asm file reports 0 bytes.
  • Moved treemap to a different file

    • Add file stats when hoving a file info, instead of showing "0 bytes".
    • Fixed treemap html optional file argument.
    • Removed the main text labels, they were quite small and the mouse hover labels are just enough.
  • Fixed ASM regex due to updated file labels, now it counts properly.

  • Fixed score function duplication, now functions with a unique name are parsed once.

  • Updated score progress.

Fixes #681

Notes

  • Some progress is missing due to sins_s16 and sins_2 entries not being in the map file, that should be fixed in the math_utils PR after removing the hardcoded values in undefined_syms.txt file.
  • Progress got slightly lowered due to the duplicated score fix, didn't think it would be noticeable.

@lever9870-sudo
Copy link

Thanks so much

Copy link
Owner

@DavidSM64 DavidSM64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. LGTM

@JordanLongstaff
Copy link
Contributor

W00t! Thanks so much for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Score script requires US v77 ROM

4 participants