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

Tileset Rearranger

Maruno

Lead Dev of Pokémon Essentials
5,286
Posts
16
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