Skip to content

Animation Sequence merger rewrite - #16

Merged
GingerAvalanche merged 17 commits into
masterfrom
anim-seq
Apr 9, 2026
Merged

Animation Sequence merger rewrite#16
GingerAvalanche merged 17 commits into
masterfrom
anim-seq

Conversation

@GingerAvalanche

Copy link
Copy Markdown
Owner

Right now it just replaces the AS files wholesale, but it does in-depth checking of just about everything I can think of that might error in a bas file, including...

  • Element child points to something that doesn't exist
  • Element child points in an infinite loop
  • Any property of any sequence element missing anything it's supposed to have. Tired of all this "oh why is this bas error happening?" nonsense. None o that anymore. You missing something? We gon yell at ya

Also, because the format is so extensively complete, it'll be real easy to trampoline off of this for a real merger again, if I ever figure out how to programmatically solve AnimSeq merging. Probably not gonna happen, though, considering how complex the merging can get.

Make errors with multiple contexts display more than just the top-most error, so that people stop claiming they get the same error.

This is similar to the change that generifies the top-most error message, but I like this one more because it actually gives some info
Need to solve references to objects
Currently refers to all objects as their own
Needs to use a list of elements and a map of children
There's like 5 commits worth of changes in here. Screw it. Uh...
Appeased the linter
Implemented diff and merge behavior for subtypes in case I ever figure out how to implement it for the overall AnimSeq type
Implemented diff and merge behavior for AnimSeq type as just passing the bas file through to the end
Implemented and hooked the traverser into the initial AnimSeq conversion
Turned Element extensions into a map of extension type: Extension so that we don't try to diff different extension types
Probably some other stuff, I don't know
Use MissingAampKey for missing aamp keys (novel idea!)
Specify Self type in invalid-parameter-type errors
Probably way overkill, but better than failure I guess
@GingerAvalanche
GingerAvalanche merged commit 46bef79 into master Apr 9, 2026
2 of 3 checks passed
@GingerAvalanche
GingerAvalanche deleted the anim-seq branch April 9, 2026 21:25
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.

1 participant