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

W map backgrounds are not rendered correctly #11

Closed
theCapypara opened this issue Sep 1, 2020 · 1 comment · Fixed by #33 or SkyTemple/skytemple#64
Closed

W map backgrounds are not rendered correctly #11

theCapypara opened this issue Sep 1, 2020 · 1 comment · Fixed by #33 or SkyTemple/skytemple#64

Comments

@theCapypara
Copy link
Member

Most of the W backgrounds are not correctly rendered.

W01A and W01B are weirdly enough correctly rendered in the SkyTemple UI but not by the BMA export methods. However the UI reports that all palette colors are black...? And only one palette exists...?

Viewing the backgrounds in the chunk editor throws this error (all chunks are empty):

Traceback (most recent call last):
  File "skytemple/module/tiled_img/drawer_tiled.py", line 179, in do_render
    self.draw(wdg, ctx)
  File "skytemple/module/tiled_img/drawer_tiled.py", line 116, in draw
    tiles_for_frame = tiles_for_pals[mapping.pal_idx]
IndexError: list index out of range

W03A - W05B are rendered as just white, but looking at them in the chunk editor, there seem to be many "colorful" and seemingly corrupted tiles, the same error is raised.

@ghost
Copy link

ghost commented Nov 14, 2020

I can try to work on that issue.

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 a pull request may close this issue.

1 participant