Skip to content

File format conversions from HeroesDataParser to heroes-talents

License

Notifications You must be signed in to change notification settings

heroesshare/heroes-convert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroes Convert (Heroes of the Storm)

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.