neslib icon indicating copy to clipboard operation
neslib copied to clipboard

RLE decoder update

Open nesrocks opened this issue 9 months ago • 0 comments

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.

nesrocks avatar Apr 14 '25 20:04 nesrocks