Neurophysiologically Pseudoscientific Manatee
    Have ideas to improve npm?Join in the discussion! »

    tibia-maps

    5.2.0 • Public • Published

    tibia-maps CLI Build status

    tibia-maps is a command-line utility to convert between binary Tibia maps and human-readable forms of the map data.

    Installation

    Note: Node.js v6+ is required.

    npm install -g tibia-maps

    If you’re on macOS and you get an error about xcb-shm, try this instead:

    export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/X11/lib/pkgconfig"; npm install -g tibia-maps

    Usage

    minimap/*data/*

    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.

    data/*minimap/*

    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-new

    The output is saved in the minimap-new directory.

    Author

    twitter/mathias
    Mathias Bynens

    Install

    npm i tibia-maps

    DownloadsWeekly Downloads

    4

    Version

    5.2.0

    License

    MIT

    Unpacked Size

    30.5 kB

    Total Files

    18

    Last publish

    Collaborators

    • avatar