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

fix remaining signatures in v4 and v8 anm #82

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

ExpHP
Copy link
Contributor

@ExpHP ExpHP commented Aug 20, 2020

Fixing all signatures to align with my findings here.

(Note: the version of the website currently live misidentifies v7:102 as "drawRect" when it is actually "spriteRand", and mistakenly gives v8:436 an "SS" signature; the signatures in this commit are correct)

Fixing all signatures to align with [my findings here](https://exphp.github.io/thpages/#anm/ins).

(Note: the version of the website currently live misidentifies v7:102 as "drawRect" when it is actually "spriteRand", and mistakenly gives v8:436 an "SS" signature; the signatures in this commit are correct)
@ExpHP
Copy link
Contributor Author

ExpHP commented Aug 20, 2020

Note: This does break recompilation for a lot of scripts, but only because the recently-added implementation of negative script indices is wonky. (basically, adding N to signatures for v4-v7 makes them as equally broken as v8 already is)

@Priw8
Copy link
Member

Priw8 commented Aug 20, 2020

Yeah, negative script indices are something that needs to be fixed separately, because other scripts that refer to them use their real index in the file instead of the field in the script struct... Should be easy to fix, though

@Priw8 Priw8 merged commit 7e80046 into thpatch:thanm-new-spec-format Aug 20, 2020
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