Staredit Network > Forums > General StarCraft > Topic: Why is there no in-browser Starcraft yet?
Why is there no in-browser Starcraft yet?
Jan 13 2017, 2:34 am
By: sethmachine  

Jan 13 2017, 2:34 am sethmachine Post #1



Can someone make a Web GL plugin to run Starcraft in the browser?

Multiplayer could then include countless people, and Starcraft community could be easier to support, etc?

What would it take to run Starcraft in a modern web browser?

See: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API



None.

Jan 13 2017, 4:21 am Cinolt Post #2



Would be pretty awesome, but being that StarCraft is closed source we would have to reverse engineer all of StarCraft and write an equivalent JavaScript version of the code.

Or, in theory though I can't think of why it would be impossible to write something similar to WINE for JS, perhaps in WebASM. The client side would read in the StarCraft binary and perform a JIT compilation to run it locally, e.g. intercepting DDraw calls to WebGL as you mention.

It would take a lot of effort.



None.

Jan 13 2017, 11:54 am iCCup.xboi209 Post #3



http://www.openbw.com/



None.

Jan 13 2017, 2:18 pm Cinolt Post #4



Wow, if an open source Brood War project pans out then yeah a WebGL port shouldn't be too far off from being within practical reach. Like at all.



None.

Apr 22 2017, 11:41 pm Heinermann Post #5

SDE, BWAPI owner, hacker.

But it's already been done. You can watch replays in your web browser. You can go to http://www.openbw.com/sscait-listings/ to watch some AI vs AI replays. Or just go to http://www.openbw.com/replay-viewer/ and select your own replay.




Apr 24 2017, 11:01 am ViperSRT3g Post #6



Good lord, how in the world did they recreate all the quirky path finding bugs? Are they reverse engineering the whole thing? O_o



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:18 pm]
ClansAreForGays -- Echo Holy shit, I LOVE AoS lore, this is the best christmas gift ever!
[10:09 pm]
dumbducky -- Is your bank hiring? I'm separating next year and I need a job.
[10:09 pm]
dumbducky -- Sad!
[09:58 pm]
Echo -- I was reading your sentence and I was like OH WOW ME TOO, but realized you were replying to something I said. I actually got into a car accident and tore both my ACL. I ended up going into auditing and now I'm working at a bank LOL
[09:58 pm]
Echo -- Oh nice congrats dumbducky
[08:48 pm]
dumbducky -- dumbducky
dumbducky shouted: >I've been in college for nearly 7 years now. Switched majors from architecture to computer science. Currently doing officer training to become an officer in the Air Force for Cyber Ops.
Post badge
[08:47 pm]
dumbducky -- >I've been in college for nearly 7 years now. Switched majors from architecture to computer science. Currently doing officer training to become an officer in the Air Force for Cyber Ops.
[08:42 pm]
dumbducky -- Echo
Echo shouted: How is everyone doing? You guys got kids yet?
2 in fact
[04:11 pm]
Echo -- How is everyone doing? You guys got kids yet?
Please log in to shout.


Members Online: Roy