깃허브 :<a target="_blank" href="https://github.com/Sembiance/heroesjson">https://github.com/Sembiance/heroesjson</a> <div><br></div> <div>api설명 :</div> <div><br></div> <div><br></div> <div><div>Whenever a new patch hits Heroes of the Storm, you basically</div> <div> run two nodejs scripts against the install directory. Th</div> <div> is generates static JSON and web files which you then deploy using rsync to a server running nginx to server them up.</div> <div><br></div> <div>Full details:</div> <div>1. Update Heroes of the Storm under windows and run it at least once</div> <div>2. Copy/make available the entire 'Heroes of the Storm' directory over to where you have heroesjson</div> <div>3. The shared/C.js file contains many constants, you will likely need to add any new heroes </div> <div>in the new patch to C.EXTRA_HEROES_GAMEDATA_FOLDERS (Use CascView (<a target="_blank" href="http://www.zezula.net/en/casc/main.html">http://www.zezula.net/en/casc/main.html</a>)</div> <div> under windows to 'browse' the game files to determine what the correct directory name is for the new heroes)</div> <div>4. Run: node generate.js "/path/to/Heroes of the Storm"</div> <div>5. Fix any issues that are shown,</div> <div> usually this involves changing one or more constants in C.js or in some cases fixing something in generate.js</div> <div>6. Update web/changelog.json with a new entry</div> <div>7. Run: node web/generate.js "/path/to/Heroes of the Storm"</div> <div>8. Run: node util/compareRelease.js</div> <div>9. If everything in the above compare looks ok,</div> <div> finally manually look at the new heroes.json file </div> <div> and check out any new heroes and make sure things look ok</div> <div> (I use Chrome with the JSONView extension</div> <div> (<a target="_blank" href="https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc">https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc</a>) </div> <div> and simply open up the heroes.json file with my web browser from disk)</div> <div>10. Check 'dev.heroesjson.com' and make sure the website looks ok</div> <div>11. Run: cd deploy && ./deploy.sh</div> <div>12. Check 'heroesjson.com' and make sure it looks ok</div></div> <div><br></div> <div><br></div> <div><br></div> <div><div style="text-align:left;"><img src="http://thimg.todayhumor.co.kr/upfile/201512/1450614675ypnW3F79QexOQ.png" width="800" height="777" alt="제목 없음.png" class="chimg_photo" style="border:none;"></div> <div style="text-align:left;"><br></div> <div style="text-align:left;"><br></div> <div style="text-align:left;">실행법을 보면 node generate.js /설치된 게임 폴더 위치(hots) 이렇게 쓰는거 같아서 했더니 사용법이 틀렸다고 계속나와서</div> <div style="text-align:left;"><br></div> <div style="text-align:left;">못써보고 있는데 혹시 이것만 보고 실행법을 알아 보실수있으신분 계신가요 ㄷㄷ</div><br></div>