A downloadable tool for Windows, macOS, and Linux

Download NowName your own price

This is a set of utilities useful for pixel art

Repack

A CLI tool for repacking and optimizing Tiled map files (*.tmx) and their associated tilesets. The tool analyzes tile usage in maps and creates optimized tilesets containing only the tiles that are actually used in the maps.

Features

  • Analyzes TMX map files to identify used tiles
  • Creates optimized tilesets by removing unused tiles
  • Preserves tile properties and object layers
  • Supports PNG image format for tilesets
  • Handles both embedded and external tilesets
  • Packs differently-sized object layer tiles into same texture
  • Outputs JSON tilemaps and sprite atlases that integrate seamlessly with phaser.io engine

Usage

repack <source-folder> <destination-folder>

This command will:

  1. Recursively scan all .tmx files in the source folder
  2. Generate optimized output in the destination folder:
    • JSON tilemaps and atlas mappings (compatible with Phaser.io engine)
    • Compressed PNG files with only used tiles and sprites

Example input and output structures:

source/
├── episode1/
│ ├── level1.tmx
│ └── level2.tmx
├── episode2/
│ └── level1.tmx
└── tilesets/
  ├── terrain.png
  └── trees.png

destination/
├── episode1/
│ ├── level1.tmj
│ ├── level1.png
│ ├── level1.atlas
│ ├── level2.tmj
│ ├── level2.png
│ └── level2.atlas
└── episode2/
  ├── level1.tmj
  ├── level1.png
  └── level1.atlas

Recolor

A simple CLI tool for color conversion between images using a color lookup table (LUT). It has two main functions:

  1. Building a LUT by analyzing pairs of source and target images to learn color mappings
  2. Applying the LUT to convert new images from source to target color style

The tool was originally developed to convert Time Fantasy tilesets to match the SNES-style colors of Time Elements assets (both created by finalbossblues). However, it can be used for any image color conversion where you have example pairs showing the desired color mapping.

A pre-built LUT file is included for Time Fantasy to Time Elements conversion. Please see the example config file for details on all available options.

Terms of use

All tools are free to download and use for any purpose, including commercial projects. Full source code is available on GitHub under GPL3 license, which means you're also free to modify and redistribute these tools - the main restriction is that if (and only if) you're redistributing modified versions, you must also provide source code of your modifications to your customers.

Updated 19 hours ago
StatusIn development
CategoryTool
PlatformsWindows, macOS, Linux
Authorskhoroshavin
TagsOpen Source, Pixel Art

Download

Download NowName your own price

Click download now to get access to the following files:

pixel-tools-mac-m1.zip 4.1 MB
Version v0.6.0
pixel-tools-mac-intel.zip 4.4 MB
Version v0.6.0
pixel-tools-windows.zip 4.5 MB
Version v0.6.0
pixel-tools-linux.zip 4.4 MB
Version v0.6.0

Development log

Comments

Log in with itch.io to leave a comment.

(+1)

Hi, how do I exactly use this tools? the instructions are really not clear for me or maybe im just being silly.

(+2)

I needed to play around with the tool as well, since the documentation is a little shallow:

This is a Command Line Tool (CLI), that means that you have to open it via console/terminal. The .yaml file controls the behaviour of the tools. For the recolor tool (the one I've used) the application will look for two folders by default. "_reference" for the source images the data will be constructed from and "_recolor" where the items to be recolored and the result images are placed. Since this was written with Time Fantasy in mind, the suffix (file name ending) the tool is looking for is "_tf.png" and converted images will have "_e.png" in the end. If you want all images in your "_recolor"-folder to be converted, set the originalSuffix to ".png".

If you just start the recolor-tool, it will create the necessary files and folders you can fill then later.

I hope this helped a little :)

(1 edit) (+2)

Hey, thank you for chiming in! I'll try to improve documentation soon by recording short videos on its usage, hope that will help better.

(+1)

No worries, I just figured it out and thought I share my experiences :D I think videos would be overkill. A short pdf or a section "usage" in the readme should do the trick :) And maybe clarify in the description that this is not an application with GUI. And also awesome job! This is exactly how I wanted to tackle the problem but never had the time to implement it XD

(+1)

Thank you!

(+2)

Sorry for delay with response - was mostly offline during weekend. For more detailed instructions on recolor tool you can check comment from Estraban. I'm also planning soon to record short videos to show example usage, hope that will help as well.

(+2)

Thanks!