An open API service indexing awesome lists of open source software.

https://github.com/forecaster/dungeonfogtileassembler

A python program for assembling map tiles generated by DungeonFog.
https://github.com/forecaster/dungeonfogtileassembler

Last synced: about 1 year ago
JSON representation

A python program for assembling map tiles generated by DungeonFog.

Awesome Lists containing this project

README

          

# DungeonFogTileAssembler

This application takes a folder of map tiles generated by [DungeonFog](https://dungeonfog.com) and attempts to assemble them into complete maps.

(The images don't have to be from DungeonFog, but that's what it was written. Any set of jpg or png images work as long as they follow the naming scheme below.)

## Download
See [Releases](https://github.com/Forecaster/DungeonFogTileAssembler/releases) here on GitHub for the latest downloadable executables.

The application can also be used by installing the required libraries using `pip -r requirements.txt` and then launching the main script with `python main.py`

## Input
It expects the naming scheme to be `MapName_Tile_{n}_{x},{y}.ext` where `n` is the tile index, `x` is the horizontal position and `y` is the vertical position.

The input folder can contain tiles from multiple different maps. They will all be assembled individually.

If one or more tile images are missing the corresponding spots will be left as a blank black spot on the assembled map image.

If one or more tile images have a size of 0 bytes the corresponding spots will be left blank on the map. These files will be listed in the output box in the main window.

## Output
A subfolder called `output` will be created in the selected directory and assembled maps will be put here. Finished maps will be named `MapName.ext`, where `MapName` is the first part of the tile name and `ext` is the extension of the tile images.

## Libraries
This program uses Pillow to assemble the images and PySimpleGUI to generate the interface and handle user input.