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

Puyo Puyo / Mean Bean Machine - SonPLN Support #170

Open
radioshadow opened this issue Jun 1, 2024 · 0 comments
Open

Puyo Puyo / Mean Bean Machine - SonPLN Support #170

radioshadow opened this issue Jun 1, 2024 · 0 comments

Comments

@radioshadow
Copy link

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
    Pic3

Here's the modified code. Feel free to use it.
Pic1
Pic2


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.

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

No branches or pull requests

1 participant