Puyo Puyo / Mean Bean Machine has some differences with how the mappings work. SonPLN would need to support:
An offset to confirm where the art data starts (there is a "tileoff" setting, but this just adds a blank tile at the beginning).
Mappings are stored as 1 byte uncompressed data (this means only 256 tiles from a certain offset can be selected)
Load only 256 tiles.
Allow an option to use a special palette (each 2-bits represents pal 0-3 for each tile).
Due to the restrictions, this does mean the tiles don't support: Priority | X Flip | Y Flip
Most mappings only use one palette, unless you set it up to use a special palette (hence how the Puzzle Board on Endless uses different palettes).
Now I have modified SonPLN myself to allow two settings in the ".ini" files:
tilesbegin = The offset where the art starts
tileslimit = Only display 256 tiles
Here's the modified code. Feel free to use it.
In order for SonPLN to read the mappings, AdolescentSeagull has made two Python3 tools to convert the mappings:
Byte to Word
Word to Byte
They can be downloaded here: Mapping Conversions.zip
What would be nice if this could be setup as a "Compression" type, so SonPLN converts the mapping into the Word format, and then saves them in the Byte format.
It maybe worth disabling Priority | X Flip | Y Flip if this "Compression" type is used.
AdolescentSeagull is looking at making a tool to take the 2-bit palette from the file, and add it to the Word mapping. Will post the tool when this is made.
An extra setting would be needed to take support this.
Puyo Puyo / Mean Bean Machine has some differences with how the mappings work. SonPLN would need to support:
Due to the restrictions, this does mean the tiles don't support: Priority | X Flip | Y Flip
Most mappings only use one palette, unless you set it up to use a special palette (hence how the Puzzle Board on Endless uses different palettes).
Now I have modified SonPLN myself to allow two settings in the ".ini" files:
Here's the modified code. Feel free to use it.
![Pic2](https://github.com/sonicretro/SonLVL/assets/62575054/c0a812eb-2546-4186-8d1d-245430103a10)
In order for SonPLN to read the mappings, AdolescentSeagull has made two Python3 tools to convert the mappings:
They can be downloaded here: Mapping Conversions.zip What would be nice if this could be setup as a "Compression" type, so SonPLN converts the mapping into the Word format, and then saves them in the Byte format.
It maybe worth disabling Priority | X Flip | Y Flip if this "Compression" type is used.
AdolescentSeagull is looking at making a tool to take the 2-bit palette from the file, and add it to the Word mapping. Will post the tool when this is made.
An extra setting would be needed to take support this.