Skip to content

Conversation

@nesrocks
Copy link

This fix proposed by Pinobatch (aka Tepples) aims to improve the decoder compatibility for nametables that have no unused tile, as in all 256 CHR tiles were used. Original thread: https://forums.nesdev.org/viewtopic.php?p=224941#p224941

The improvement consists of the following change: if a read byte is the tag but is followed by a "01" that means the tag won't act as a tag, but as data.

An updated encoder must be used to make full use of the new logic, but this updated version can also be used to fully load previously encoded RLE data that use fewer than 256 tiles.

This fix proposed by Pinobatch (aka Tepples) aims to improve the decoder compatibility for nametables that have no unused tile, as in all 256 CHR tiles were used.

The improvement consists of the following change: if a read byte is the tag but is followed by a "01" that means the tag won't act as a tag, but as data.

An updated encoder must be used to make full use of the new logic, but this updated version can also be used to fully load previously encoded RLE data that use fewer than 256 tiles.
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