Class TilesetConverter

java.lang.Object
games.stendhal.tools.TilesetConverter

public class TilesetConverter extends Object
A tool for converting tileset mappings. The new mapping is lines in format:

[oldtilesetpath]:[tilenumber]:[newtilesetpath]:[tilenumber]

These are read from the standard input.

Description of the process:

  1. Loads the map
  2. Adds any new tilesets defined in the mapping if needed
  3. Converts the old tileset mappings to new
  4. Removes any unused tilesets from the map
  5. Saves the map
  • Constructor Details

    • TilesetConverter

      public TilesetConverter()
  • Method Details