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.
Feel free to use the generated data in your own projects. For example, if you need Tibia maps in PNG format, you could hotlink the following URLs:
https://tibiamaps.github.io/tibia-map-data/floor-00-map.png
https://tibiamaps.github.io/tibia-map-data/floor-01-map.png
https://tibiamaps.github.io/tibia-map-data/floor-02-map.png
https://tibiamaps.github.io/tibia-map-data/floor-03-map.png
https://tibiamaps.github.io/tibia-map-data/floor-04-map.png
https://tibiamaps.github.io/tibia-map-data/floor-05-map.png
https://tibiamaps.github.io/tibia-map-data/floor-06-map.png
https://tibiamaps.github.io/tibia-map-data/floor-07-map.png
(i.e. ground floor)https://tibiamaps.github.io/tibia-map-data/floor-08-map.png
https://tibiamaps.github.io/tibia-map-data/floor-09-map.png
https://tibiamaps.github.io/tibia-map-data/floor-10-map.png
https://tibiamaps.github.io/tibia-map-data/floor-11-map.png
https://tibiamaps.github.io/tibia-map-data/floor-12-map.png
https://tibiamaps.github.io/tibia-map-data/floor-13-map.png
https://tibiamaps.github.io/tibia-map-data/floor-14-map.png
https://tibiamaps.github.io/tibia-map-data/floor-15-map.png
That way, as soon as the maps are updated here, your project gets the same updates automatically.
Did you discover an area that’s missing from our maps? Let us know!
Not sure where to explore? View the open issues.
Alternatively, if you’re comfortable using command-line tools and Git, you could follow the instructions below to work with the map files directly. Use the official Tibia client to update your maps, convert the maps to PNGs and JSON, and submit a pull request containing your changes.
These maps are being used by TibiaMaps.io and TibiaWiki, so your contributions will be reflected there!
-
Install the
tibia-maps
command-line utility:npm install -g github:tibiamaps/tibia-maps-script
-
Clone this repository and
cd
to 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 minimap
directory before continuing.
To generate PNGs for the maps + pathfinding visualization and JSON for the marker data based on the map files in the minimap
directory, run:
tibia-maps --from-minimap=./minimap --output-dir=./data
The 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 minimap/*
files based on the PNGs and JSON files in the data
directory, run:
tibia-maps --from-data=./data --output-dir=./minimap
The output is saved in the minimap
directory.
Mathias Bynens |