-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Sprite] Documenting Fix for variant desync between static and exp loading issue #5335
Comments
For reference, the list: key,front,back,expback,female
Also, it seems the most problematic mismatches are when exp backsprite uses shader json (1) and static backsprite uses its own sprite (2). Those are the cases that result in substitute sprite when exp sprites are enabled. These cases are at the top of the list. They can sometimes be fixed by just copying the shader json from the exp folder to the regular one. |
So @Unicornpowerstar Figured out what was the cause of the Noivern back sprite Issues.
Which after checking the report of back exp for Mareanie revealed that all variants in Gen 6 to gen 9 if static and exp dont have the same setup WILL BREAK and its only a matter of time before they do so.
Thanks to @SirzBenjie finding the contradictions in the
Variant/_Masterlist.json
wont be done Manually as they wrote a python script for it. #5316explanation
The reason why this happens is due to how the game loads exps and variant exps ontop of that.
before even loading a exp the game fully loads the static png for the Pokemon then after that loads the exp files.
If the mon has a Variant when it loads the Static, it also loads all variant info for that static. This is were the desync happens if the front static and front exp dont have the same setup. It desync them and the game code becomes unable to ever load them again without fixing the source of the desync.
Noivern back Variant not working.
The files in _masterlist
Static back


Exp back
what it looks like
The reason why Noibat will be used is due to last loaded sprite was Noibat for the cache but it can only load the static, as the exp failed to load and the faster solution was keeping the static for Noibat.
chaning the files _masterlist
Static back


Exp back
The result
In order to solve this a base fix need to be done to bring both to be able to go by png and the variant json.
It also doesn't matter if the desync is due to the static or the exp. as long they remain without having the same setup. They can and will break at any moment. all it would take is 1 or 2 failed attempts to load and it will stop working from then on.
Mareanie
Static back in _masterlist


Exp back in _masterlist
The text was updated successfully, but these errors were encountered: