shieldbattery / bw-chk Goto Github PK
View Code? Open in Web Editor NEWBasic scenario.chk javascript parser
License: MIT License
Basic scenario.chk javascript parser
License: MIT License
I think the .chk file is also included in the replay, so, can we have a function to extract .chk/.scm/.scx from a replay and also generate a map image from the replay, an old tool did that before, but its very buggy:
https://liquipedia.net/starcraft/ReXplorer
Hi there, I've been using bw-chk and scm-extractor for some personal projects, and they work extremely well. However recently I've noticed that on some maps, geysers aren't being rendered for some reason.
For example, here on Eclipse 1.2 it works perfectly:
Then on Butter 1.4 there's no geysers for some reason:
I think I have all the right files but maybe I'm missing some?
My code is pretty simple: first I use bw-chk
to load the graphics (Chk.fsFileAccess()
), then I pipe the contents of the map file to the scm-extractor
main export, then I run res.image()
with the previously loaded graphics. As far as I can tell that's how it's supposed to be done, and it seems to work fine for most maps.
I'm guessing maybe this is related to some trickery map makers do in modern maps, to perfectly position the geysers, which isn't 100% supported yet? Or am I using the library wrong in some way? I'm using the latest published versions (bw-chk 1.3.0, scm-extractor 1.0.6).
Appreciate any help you might give ๐
edit: attaching maps for convenience:
I've to say that it was both hard for me and also awesome to see images for new maps with full resolution when even scmdraft2 couldn't open those maps...
Can those buildable tiles or high-ground tiles, etc... be added there as a transparent layer on top of the image as scmdraft2 does it, this will be really helpful to analyze a map, thanks.
I'm attempting to use jssuh and pipeChk to Chk reader and I'm getting a failure on FORC section for three different reps. The replay parsing works fine but the chk parsing is failing. Two replays I downloaded from iccup' website and are 1.16, the third is a recent SCR replay.
Replays and small code sample (mostly from jssuh github example)
https://drive.google.com/open?id=1IEORH9d4LrEi6l0Uzd10UC6ywrC74Krm
Aloha,
I am trying to use bw-chk, and I am stumped. Are all the files posted in GitHub?
Thank you
152153Circuit_Breaker_1.0_iCCup.rep.zip
It is zipped so that github would allow me to upload the associated replay here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.