roccobarbi / tiles.il2missionplanner.link

MIT License
1 stars 0 forks source link

Reorganize the project to automate tile cutting #5

Closed roccobarbi closed 3 years ago

roccobarbi commented 3 years ago

Tile cutting has to be scripted and automated in order to reduce the manual workload involved with this project.

Ideal directory structure:

root |-src |-full_maps |-dist

src is used to host the game tiles full_maps is used to host the stitched image dist is used to host the directory structure and tiles that are used to serve the maps here

No image file should be actually hosted on the repo, so all of these directories have to be explicitly excluded by gitignore. The scripts must be able to:

  1. stitch the game tilesfrom src into full images, to be stored in full_maps;
  2. cut the tiles from the full_maps, to be stored in dist.

It must be possible to execute these workflows separately, both on single maps and in bulk. But it must also be possible to execute them programmatically, as one big process to produce the whole set of maps from scratch.

roccobarbi commented 3 years ago

Even better, src should be src_maps to avoid confusion with a widely used standard where src is used for the source code.