• 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.

Tileset Rearranger

Maruno

Lead Dev of Pokémon Essentials
  • 5,286
    Posts
    17
    Years
    • Seen May 3, 2024
    This plugin will work in Essentials v19 and newer.

    Description

    The Tileset Rearranger plugin allows you to rearrange tiles in a tileset. You can swap tiles, erase tiles, insert whole rows and delete whole rows. It is useful for organising your tilesets in a better way, for identifying tiles that are going unused, and for cutting tilesets down in size. You can also easily find out which maps are using a particular tileset. Changes made to a tileset's layout will be automatically applied to map data and the tileset's graphic upon saving.

    Tiles that are in use by a map are indicated with a star. This takes into account all tiles covered by an event with a name of "size(x,y)" - all covered tiles will be marked as used. You cannot by any means delete a tile which is in use by a map.

    All controls are shown on-screen and are dynamic, meaning they change depending on what is possible at any given moment.

    Saving changes to a tileset

    When saving, the following files are modified:
    • Tileset data (Tilesets.rxdata)
    • Map files (Map###.rxdata) that use the amended tileset - alters tiles used and event graphics if they use a tile from the tileset
    • Tileset graphic in Graphics/Tilesets/
    For each of these, a backup is first created (with "_backup" appended to the filename). A new backup will overwrite an existing backup file. There is no built-in way to restore from a backup, so you will have to rename the files manually if you want to undo a saved change.

    A tileset can be loaded and rearranged if its graphic is taller than the GPU cache size limit (Bitmap.max_size), but it cannot be saved until it is shrunk down to this limit or smaller. The current height and maximum allowed height are shown in the editor.

    Screenshots

    Spoiler:


    How to use

    1. Download the plugin from here.
    2. Extract the "Tileset Rearranger" folder and its contents to the "Plugins" folder of your project.
    3. Run your game. The plugin should compile automatically.
    4. The Tileset Rearranger can be found in the Debug menu, at the bottom of the "Information editors..." sub-menu.
     
    Back
    Top