# Tileset Tool Improvements

**URL:** <https://discourse.cataclysmdda.org/t/tileset-tool-improvements/24841>\
**Category:** The Lab\
**Created:** [September 29, 2020, 4:10am UTC](https://discourse.cataclysmdda.org/t/tileset-tool-improvements/24841 "2020-09-29T04:10:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![egomassive2](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/egomassive2/32/9997_2.png) [@egomassive2](https://discourse.cataclysmdda.org/u/egomassive2)\
**Post date:** [September 29, 2020, 4:10am UTC](https://discourse.cataclysmdda.org/t/tileset-tool-improvements/24841/1 "2020-09-29T04:10:46Z")

</div>

I’ve been looking to work on tilesets again, and I want to do it in the new way of decomposing them into individual files so they can be composed when Cataclysm is compiled. My journey has begun with the two main tools in question, _decompose.py_ and _compose.py_. I’d like them to do more of the organizational work for me so I don’t have to sift through thousands of files when I want to find or edit something.

The reason I’m writing this post is because I’m stuck. I want them to work with auto-tile images, the files that contain every piece of a multi-tiled graphic like a wall or a table. I want _decompose.py_ to build them. I want _compose.py_ to read from them. But there are different ways to implement multi-tile graphics. For example, when _Ultica_ has a wall there are 4 corners, 4 t-sections, and 2 edge-pieces where as _Retro Days_ has 1 each. How can I write the python scripts to recognize which method is in use especially in the compose step.

I’m thinking there will be an auto-tile image with the 12 top-left tiles filled in for Ultica. Retro Days would only have 5 of them filled in. Checking for alpha on each tile would be possible but cumbersome. I’m hoping someone has a better idea.

A generic auto-tile image for reference:  
 ![MultiTile](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/6/6d81b5dd97fe857fff9869d4b2c72758be21e5a0.png)
