erosson / ch2plan

Clicker Heroes 2 skill tree planner
https://ch2.erosson.org
GNU General Public License v3.0
4 stars 3 forks source link

automate content-export pull requests #138

Closed erosson closed 3 years ago

erosson commented 3 years ago

kinda like mapwatch/mapwatch#146, make a github-actions robot do our content updates

ch2 takes much less disk space than poe - but we have to download the whole game (with poe we can filter a bit). we also need to run ch2.exe, which may be tricky on a headless windows machine - unsure if flash/adobe air needs a gui.

https://github.com/erosson/ch2plan/actions?query=workflow%3Aassets-export

erosson commented 3 years ago

ffdec was surprisingly easy! #139

next problem is running ch2 headlessly, to run our ch2plan-exporter.swf mod and generate latest.json

...no luck yet, and I'm not sure what to try next here. I've attempted (and failed) headless as3 execution a few times before for running on linux, but was hoping this would Just Work when running on a windows server.

erosson commented 3 years ago

this is as automated as it'll get for now. the ci machines can export as3 - better than nothing - but they cannot run ch2, so latest.json is not possible