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

Glitchy Kagari Sprite #1

Open
kedarguru opened this issue Jul 11, 2020 · 1 comment
Open

Glitchy Kagari Sprite #1

kedarguru opened this issue Jul 11, 2020 · 1 comment

Comments

@kedarguru
Copy link

There is a minor glitch with a subset of Kagari from SG0:
AKG_ASB_t64_d5_0.png
AKG_ASB_t64_d5_1.png
AKG_ASB_t64_d5_2.png

I wonder if this is a special case of some kind?

Here's what it looks like:

AKG_ASB_t64_d5_0

@kedarguru kedarguru changed the title glichy Kagari sprite glitchy Kagari sprite Jul 11, 2020
@kedarguru kedarguru changed the title glitchy Kagari sprite Glitchy Kagari Sprite Jul 11, 2020
@AbsurdlySuspicious
Copy link
Owner

AbsurdlySuspicious commented Jul 12, 2020

I checked this sprite and it seems it's been mapped this way initially. Perhaps it was never used in game? (or hotfixed in engine code) I will keep this issue open in case I've missed something


This glitch on the right is the layer 0 (Base) - it is a legitimate part of other sprite variants and it's chunk range is 0-5. These 3 bugged sprite variants depends on Sub layer with id 5 which consists of chunks 1762-2211. Indexes of actual sprite's square chunks they are pointing at are probably mistakenly skewed by x+1 (on initial sprite during "compression" process, not in compressed png that was shipped with game) which causes sprite shift towards left and repetitive use of chunks which layer 0 already points at. I haven't actually manually checked these chunks but after checking layer/sprite map it seems to be the case.

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

No branches or pull requests

2 participants