This repository hosts (almost) fully explored Tibia maps in a custom format that is more suitable for version control systems than the original, binary format.
The tibia-maps script can be used to convert from either format to the other.
The custom format consists of three files for each floor:
- a PNG image containing the entire map;
- a PNG image visualizing the pathfinding data;
- a JSON file containing the marker info, if any.
-
Install io.js.
-
Install the
tibia-mapscommand-line utility:npm install -g tibia-maps
-
Clone this repository and
cdto it in your favorite terminal.
If you’ve added new markers or explored new areas in-game, and you want to contribute them to our map data, then this is what you’re looking for. Copy the new map files to the Automap directory before continuing.
To generate PNGs for the maps + pathfinding visualization and JSON for the marker data based on the map files in the Automap directory, run:
tibia-maps --from-maps=./Automap --output-dir=./dataThe output is saved in the data directory.
If you’ve modified marker data by editing the JSON files, and you’re looking to contribute those changes back to our map data, then this is what you’re looking for.
To generate Tibia-compatible *.map files based on the PNGs and JSON files in the data directory, run:
tibia-maps --from-data=./data --output-dir=./Automap-newThe output is saved in the Automap-new directory.
| Mathias Bynens |