tatter/heroes-convert

File format conversions from HeroesDataParser to heroes-talents

v1.0.5 2021-01-20 14:51 UTC

This package is auto-updated.

Last update: 2024-11-26 19:39:11 UTC


README

File format conversions from HeroesDataParser to heroes-talents

Installation

Clone or download the latest source from the repo: heroes-convert

Usage

heroes-convert takes Heroes of the Storm game data parsed and extracted by HeroesDataParser and simplifies it and reformats it for heroes-talents.

Gamedata

In order to use data-convert you must already have the extracted game data. The easiest way to acquire the data is from heroes-data, a repo of pre-parsed game data from HeroesDataParser.

In the src folder there is an executable script, data-convert. This script takes as a parameter the path to the herodata patch:

./data-convert /path/to/heroes-data/heroesdata/2.49.1.77662

You may supply an optional third parameter for an output directory, or it will default to the current directory in the hero subfolder.

Images

In addition to the JSON data files, talent icons can be converted to their heroes-talents equivalent with the images-convert command. You must already have the extracted image data, for example from heroes-images. Additionally you need ImageMagick installed to do the conversion, and a bulk rename command to remove apostrophes (included with most Linux distros; macOS see here).

The executable script takes the abilitytalents directory as a parameter:

./images-convert /path/to/heroes-images/heroesimages/abilitytalents

You may supply an optional second parameter for an output directory, or it will default to the current directory in the talents subfolder.