A command-line utility to convert between binary Tibia maps and human-readable forms of the map data.
npm install tibia-mapstibia-maps CLI tibia-maps is a command-line utility to convert between binary Tibia maps and human-readable forms of the map data.
Note: Use the expected Node.js version!
``sh`
npm install -g github:tibiamaps/tibia-maps-script
If you’re on macOS and you get an error about xcb-shm, try this instead:
`sh`
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/X11/lib/pkgconfig"; npm install -g tibia-maps
To generate PNGs for the maps + pathfinding visualization and JSON for the marker data based on the map files in the minimap directory, run:
`sh`
tibia-maps --from-minimap=./minimap --output-dir=./data
The output is saved in the data directory.
To generate Tibia-compatible minimap/* files based on the PNGs and JSON files in the data directory, run:
`sh`
tibia-maps --from-data=./data --output-dir=./minimap-new
The output is saved in the minimap-new` directory.
|  |
|---|
| Mathias Bynens |