Skip to content

Check an editor project #5

Description

@Ge0

I am putting this issue on this repository since dummyctl is part of the dummyweb project.

It would be nice to have some dummyctl subcommand to check an editor project (and clean it, if possible).

Here is a boiler plate project template generated / handled by the dummy editor : https://github.com/dummymeuporg/dummyproject-boilerplate

We have the following files:

  • project.xml: this file contains the maps’ hierarchy to be read by the editor / game server. This is in this file that the maps are referenced.
  • maps/: this folder contains the maps related files: one file for the tiles ending in .map, one for the blocking layers ending in .blk.
  • chipsets/: this folder contains the tilesets, charsets and other graphical resources.

I thought about a subcommand clean-project that would scan the project.xml, get all referenced maps and then scan the maps file to delete the files that are not related to a referenced map.

Example usage: dummyctl clean-project dummyproject-boilerplate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions