Skip to content

A python program for assembling map tiles generated by DungeonFog.

Notifications You must be signed in to change notification settings

Forecaster/DungeonFogTileAssembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

DungeonFogTileAssembler

This application takes a folder of map tiles generated by DungeonFog 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 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.

About

A python program for assembling map tiles generated by DungeonFog.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages