Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up REL templates #60

Merged
merged 8 commits into from
Oct 10, 2024
Merged

Conversation

robojumper
Copy link
Collaborator

This sets up headers (with state managers and states) and a corresponding C++ file with actor profile and state functions, and automatically labels all the boilerplate functions in symbols.txt for ~600 RELs. The info was mined from dtk's split asm files using a script I've included in this PR for posterity, though it's far less useful now.

This is a pretty significant increase to the matched-but-unlinked percentage in our RELs and should hopefully make it easier to work on RELs.

dtk can't always reliably identify REL sections in its initial analysis.
This is a manual fix - the list of RELs to fix was found by looking
at supposed .rodata splits that contained an fBase vtable, since vtables
should be in .data. This fix is required for scripted creation of REL actors
based on rel .data
@elijah-thomas774 elijah-thomas774 merged commit 98f7e90 into zeldaret:main Oct 10, 2024
1 check passed
@robojumper robojumper deleted the rel_automation branch October 10, 2024 16:21
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.

2 participants