<commit_before># Tibia map data [![Build status](https://travis-ci.org/tibiamaps/tibia-map-data.svg?branch=master)](https://travis-ci.org/tibiamaps/tibia-map-data)

This repository hosts (almost) fully explored [Tibia](https://secure.tibia.com/) maps in a custom format that is more suitable for version control systems than [the original, binary format](http://www.tibiamaps.org/into-the-automap-format-c-client/).

[The `tibia-maps` script](https://github.com/tibiamaps/tibia-maps-script) can be used to convert from either format to the other.

The custom format consists of three files for each floor:

1. a PNG image containing the entire map;
2. a PNG image visualizing the pathfinding data;
3. a JSON file containing the marker info, if any.

## Set up

1. Install [Node.js v4+](https://nodejs.org/en/).

2. Install the `tibia-maps` command-line utility:

    ```sh
    npm install -g tibia-maps
    ```
<commit_msg>README: Add “Contributing” section<commit_after># Tibia map data [![Build status](https://travis-ci.org/tibiamaps/tibia-map-data.svg?branch=master)](https://travis-ci.org/tibiamaps/tibia-map-data)

This repository hosts (almost) fully explored [Tibia](https://secure.tibia.com/) maps in a custom format that is more suitable for version control systems than [the original, binary format](http://www.tibiamaps.org/into-the-automap-format-c-client/).

[The `tibia-maps` script](https://github.com/tibiamaps/tibia-maps-script) can be used to convert from either format to the other.

The custom format consists of three files for each floor:

1. a PNG image containing the entire map;
2. a PNG image visualizing the pathfinding data;
3. a JSON file containing the marker info, if any.

## Contributing

Not sure where to explore? [View the open issues.](https://github.com/tibiamaps/tibia-map-data/issues?q=is%3Aissue+is%3Aopen)

The easiest and best way to contribute maps is to create a [Tibiacast](https://www.tibiacast.com/) recording of you exploring the area, walking along the edges as closely as possible. Then, [file an issue linking to your recording](https://github.com/tibiamaps/tibia-map-data/issues/new). **This method of contribution is strongly preferred.**

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](#map--png--json), and submit a pull request containing your changes.

## Set up

1. Install [Node.js v4+](https://nodejs.org/en/).

2. Install the `tibia-maps` command-line utility:

    ```sh
    npm install -g tibia-maps
    ```

{'fraction_non_alphanumeric': 0.11687335588124766, 'fraction_numerical': 0.005261180007515971, 'mean_word_length': 4.324, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 13, 'lorem ipsum': 0, 'www.': 3, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6009534', 'n_tokens_mistral': 841, 'n_tokens_neox': 823, 'n_words': 297}