• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Tileset Rearranger

Resource Tileset Rearranger 1.4

Maruno

Essentials dev
Essentials Developer
Joined
Apr 5, 2017
Posts
562
Maruno submitted a new resource:

Tileset Rearranger - Rearrange tiles in tilesets

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

Read more about this resource...
 
I attempted to rearrange a tileset and after rearranging the tiles and deleting some unused rows when I tried to save changes it created this error. The tileset was 502 rows in length.


Ruby:
Expand Collapse Copy
[2021-08-11 22:52:56 -0500]
[Pokémon Essentials version 19.1]
[Pokémon Alexandrite v0.9.4]
[v19.1 Hotfixes 1.0.4]
[EBDX v1.2.1]

Exception: NoMethodError
Message: undefined method `+' for nil:NilClass

Backtrace:
[Tileset Rearranger] Tileset Rearranger.rb:583:in `block (4 levels) in save_map_tile_data'
[Tileset Rearranger] Tileset Rearranger.rb:578:in `each'
[Tileset Rearranger] Tileset Rearranger.rb:578:in `block (3 levels) in save_map_tile_data'
[Tileset Rearranger] Tileset Rearranger.rb:577:in `each'
[Tileset Rearranger] Tileset Rearranger.rb:577:in `block (2 levels) in save_map_tile_data'
[Tileset Rearranger] Tileset Rearranger.rb:576:in `each'
[Tileset Rearranger] Tileset Rearranger.rb:576:in `block in save_map_tile_data'
[Tileset Rearranger] Tileset Rearranger.rb:571:in `each'
[Tileset Rearranger] Tileset Rearranger.rb:571:in `save_map_tile_data'
[Tileset Rearranger] Tileset Rearranger.rb:536:in `save_tileset'

I used the "Clear Unused Tiles" and the "Delete Unused Rows" options, please let me know what other debugging information could be helpful.
 
Hello
I think this will help me fix my invalid tile issue with an extra large tileset i used. But i cannot get the plugin to load with the game. it does not show up on the command prompt with my other plugins. I looked a few things up and help control when loading the game, and i compiled the data from within the game from the debug menu but it still does not find this plugin. Do you have any suggestions for this issue?
Thank you for your help
 
Hello
I think this will help me fix my invalid tile issue with an extra large tileset i used. But i cannot get the plugin to load with the game. it does not show up on the command prompt with my other plugins. I looked a few things up and help control when loading the game, and i compiled the data from within the game from the debug menu but it still does not find this plugin. Do you have any suggestions for this issue?
Thank you for your help
Delete the pluginscripts file from the data folder
 
This tool is great and it is exactly what I've needed, but I've ran into an issue with it on a few tilesets.
1672333956682.png

This happens after I use the "Clear unused tiles" function and try to save, and results in the tileset/map not saving properly. I've tried debugging it myself for a while but I have no clue what the issue is.

If you could help it would be awesome, thanks!
 
This tool is great and it is exactly what I've needed, but I've ran into an issue with it on a few tilesets.
View attachment 14697
This happens after I use the "Clear unused tiles" function and try to save, and results in the tileset/map not saving properly. I've tried debugging it myself for a while but I have no clue what the issue is.

If you could help it would be awesome, thanks!
I'm having the same issue, and for future reference if anyone else is using this plugin and having the same problem, what you could do as a workaround is use an image editor to fill in the unused tiles with the placeholder x tiles yourself. If you can condense your tileset down as efficiently as possible with the plugin, it becomes easier to do.

Maruno said in response to an earlier report of this bug that it has to do with invalid tiles, but I can verify that this isn't the case. I used the invalid tile eraser beforehand and it didn't find any invalid tiles to erase.


Capture.PNG


Capture_2.PNG
 
Very cool. Is it possible to have a function where a tile from one tileset can be copied to another tileset?
 
This rearranger saved me tons of time, I wasn't aware of the tileset size limit and I had to cut quite a few tilesets to fit into that limit. Just an issue though, the plugin lets you delete and move tiles and they also change inside the maps, but all the tilesets properties (such as passages, terrain tags and so on) aren't synced, so whenever I cut tilesets down all these properties get shifted. I guess I need to redefine them manually, but just asking if maybe there is an easier/faster way to do this 😅
 
This rearranger saved me tons of time, I wasn't aware of the tileset size limit and I had to cut quite a few tilesets to fit into that limit. Just an issue though, the plugin lets you delete and move tiles and they also change inside the maps, but all the tilesets properties (such as passages, terrain tags and so on) aren't synced, so whenever I cut tilesets down all these properties get shifted. I guess I need to redefine them manually, but just asking if maybe there is an easier/faster way to do this 😅
This rearranger does also swap tileset data such as passages and terrain tags. However, if you save in RMXP after making the changes via this plugin, those data changes will be undone. This plugin tells you this, and tells you to close RMXP without saving to ensure the changes remain changed.
 
This rearranger does also swap tileset data such as passages and terrain tags. However, if you save in RMXP after making the changes via this plugin, those data changes will be undone. This plugin tells you this, and tells you to close RMXP without saving to ensure the changes remain changed.
Wow I can't believe I didn't see it 🤦‍♂️. Thanks a lot, I'll go through the process again and ensure I make it properly this time 😅
 
This plugin is going to very helpful with organization my tilesheets. Thank-you so much for this! <3
 
Last edited:
Back
Top