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:
A tileset can be loaded and rearranged if its graphic is taller than the GPU cache size limit (
Screenshots
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.
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/
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
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.