This repository has been archived by the owner on Oct 22, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from nydus/master
Pull Request from original repo
- Loading branch information
Showing
15 changed files
with
1,360 additions
and
1,141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ CascLib-build | |
wip | ||
out | ||
images | ||
.DS_Store | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
CC0 | ||
Copyright (c) 2016, Justin J. Novack | ||
|
||
Permission to use, copy, modify, and/or distribute this software for | ||
any purpose with or without fee is hereby granted, provided that the | ||
above copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
json: | ||
node generate.js "/Applications/Heroes of the Storm/" | ||
|
||
diff: | ||
json-diff -C ~/Source/www.heroesjson.com/heroes.json out/heroes.json | less -r | ||
|
||
website: | ||
cd web/; node generate.js "/Applications/Heroes of the Storm/" dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,42 @@ | ||
Intro | ||
----- | ||
# heroesjson | ||
|
||
This project extracts data from Heroes of the Storm data files into JSON files. | ||
|
||
This is then used to generate the website: [http://heroesjson.com](http://heroesjson.com) | ||
|
||
It is meant to run in Linux. To run you need: | ||
## Use | ||
|
||
This project meant to run on Linux or Mac OSX. To run you need: | ||
* nodejs | ||
* git | ||
* cmake | ||
|
||
Build | ||
----- | ||
### Build | ||
|
||
git clone https://github.com/Sembiance/heroesjson.git | ||
git clone https://github.com/nydus/heroesjson.git | ||
cd heroesjson | ||
./build.sh | ||
|
||
Run | ||
--- | ||
### Run | ||
|
||
node generate.js /path/to/heroes/install/dir | ||
|
||
SEE howto.txt FOR MORE DETAILS ON HOW TO RUN | ||
|
||
Results | ||
------- | ||
### Results | ||
|
||
The resulting JSON files will be in the 'out' directory. | ||
|
||
|
||
## Credits | ||
|
||
Thank you to the original owner and creator [Sembiance](https://www.github.com/Sembiance) | ||
for the initial project. | ||
|
||
|
||
## Contributing | ||
|
||
Please do. I have very limited time, and agreed to take over this project just so that | ||
it still breathes live. However, I have many other projects and this one, unfortunately, | ||
falls to the back of the line. There are plenty of [issues](https://github.com/nydus/heroesjson/issues) | ||
to tackle! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,36 @@ | ||
{ | ||
"name" : "heroesjson", | ||
"version" : "1.0.0", | ||
"author" : "Robert Schultz <[email protected]>", | ||
"description" : "Code to extract card data from Hearthstone MPQs into JSON files", | ||
"private" : true, | ||
"dependencies" : | ||
{ | ||
"xbase" : "git://github.com/Sembiance/xbase.git", | ||
"xutil" : "git://github.com/Sembiance/xutil.git", | ||
"tiptoe" : "~1.0.0", | ||
"rimraf" : "~2.4.3", | ||
"libxmljs" : "~0.14.3", | ||
"moment" : "~2.10.6", | ||
"JSONSelect" : "~0.4.0", | ||
"jsen" : "~0.6.0", | ||
"glob" : "~5.0.15", | ||
"cli-color" : "~1.0.0" | ||
} | ||
"name": "heroesjson", | ||
"version": "1.0.0", | ||
"description": "Extract Heroes of the Storm game data to JSON", | ||
"private": "true", | ||
"main": "generate.js", | ||
"dependencies": { | ||
"JSONSelect": "^0.4.0", | ||
"cli-color": "^1.0.0", | ||
"glob": "^5.0.15", | ||
"jsen": "^0.6.0", | ||
"moment": "^2.10.6", | ||
"libxmljs": "^0.14.3", | ||
"rimraf": "^2.4.5", | ||
"tiptoe": "^1.0.0", | ||
"xutil": "git://github.com/Sembiance/xutil.git", | ||
"xbase": "git://github.com/Sembiance/xbase.git" | ||
}, | ||
"devDependencies": {}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/nydus/heroesjson.git" | ||
}, | ||
"author": "Robert Schultz <[email protected]>", | ||
"contributors": [ | ||
"Justin J. Novack <[email protected]>" | ||
], | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/nydus/heroesjson/issues" | ||
}, | ||
"homepage": "https://github.com/nydus/heroesjson#readme" | ||
} |
Oops, something went wrong.