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

Internal compiler error when decompiling certain tilesets #22

Open
grunt-lucas opened this issue Apr 2, 2024 · 0 comments
Open

Internal compiler error when decompiling certain tilesets #22

grunt-lucas opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@grunt-lucas
Copy link
Owner

Describe the bug
Trying to decompile the compiled version of SmokingArmy's combined tileset gives:

porytiles: internal compiler error: array::at
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is a bug. Please file an issue here:
https://github.com/grunt-lucas/porytiles/issues

In the issue body, please include the following info:
  - the above error message
  - the full command line you ran
  - any relevant input files
  - the version / commit of Porytiles you are using
  - the compiler (and settings) you built with (if you built from source)

Including these items makes it more likely a maintainer will be able to
reproduce the issue and create a fix release.

Note: I had to set the primary tiles override to 1024. I think this may have something to do with the bug. Will need to run it thru the debugger to see why the array access issue occurs.

Additional context

porytiles decompile-primary -Wall -o foo smoking_army_porytiles metatile_behaviors.h 

Original compilation command:

porytiles compile-primary -Wall -o foo -tiles-output-pal=true-color -tiles-primary-override=1024 smoking_army ./metatile_behaviors.h

Environment (please complete the following information):

  • Used commit 1af1364 but bug probably occurs with all versions
@grunt-lucas grunt-lucas added the bug Something isn't working label Apr 2, 2024
@grunt-lucas grunt-lucas added this to the Official 1.0.0 Release milestone Apr 2, 2024
@grunt-lucas grunt-lucas self-assigned this Apr 2, 2024
@grunt-lucas grunt-lucas changed the title Internal compiler error when decompiling a tileset Internal compiler error when decompiling certain tilesets Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant