• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Pokecrystal] [Tool] Metatiled - Python app that converts an image in PNG format to a map compatible with pokecrystal or polishedcrystal

  • 1
    Posts
    55
    Days
    • Seen Oct 18, 2024
    Hi everyone!

    I've made an app that converts a PNG to a map that can be imported in Pokemon Crystal and derivated ROMs.

    I see this as a complementary tool for Polished Map and Polished Map++ made by legendary Rangi42.

    Why?

    So far, there is no program that allows generating the necessary files to create a compatible map with the mentioned ROMs almost from scratch.

    Working directly on an image to generate a map with programs like Aseprite or Photoshop has its advantages. It's easier to design tiles on the go and see how they fit into the overall map.

    Additionally, this program allows compressing the tilesets for the .ablk format, so that only the strictly necessary tiles are used (to which different colors and X and Y flips can then be applied).

    Usage

    python3 metatiled.py <map_image> --palette <palette_name> [--compress]

    or

    python3 metatiled.py <map_image> -p <palette_name> [-c]

    Positional Arguments

    • <map_image>: Name of the map image file in PNG format.

    Flags

    • --palette, -p: Name of the palette to use that corresponds to the image. This argument is required.
    • --compress, -c: Apply additional compression to the tiles. This argument is optional.

    Notes

    • Ensure that the map image is in PNG format.
    • The --palette option is required and must specify one of the available palettes. You have to make sure your image is using the that palette. All colors must be contained in that palette, except the 4 ones that are used for the roofs.
    • The --compress option is optional and, if used, will apply additional compression to the tiles.

    You can find it here + more info:

    https://github.com/j4n7/metatiled
     
    Last edited:
    Back
    Top