• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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
    225
    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