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

Fix invisble wall encoding in CCL/DAT files #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeremyredhead
Copy link

The real invisible wall tile 0x05 was getting overwritten by 0x20 in CCL (aka DAT) exports. (is it worth adding some sort overwrite check in the reverse index lookup? probably not but it's what popped in my head)

I also took the liberty of changing the byte-range check to simple equality tests since I think that's clearer in this case — I hope that's okay!

I noticed this when trying to convert my exported CCL levels to PAK format with c4 and it kept complaining about "non-lynx objects". I dug into it & presto bug found bug (hopefully) fixed!

The real invisible wall tile 0x05 was getting overwritten by 0x20 in CCL (aka DAT) exports.

I also took the liberty of changing the byte-range check to
simple equality tests since I think that's clearer in this 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

Successfully merging this pull request may close these issues.

1 participant