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/




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.
[06:07 pm]
UndeadStar -- :wob:
[12:00 pm]
Ultraviolet -- :wob:
[10:38 am]
jjf28 -- :wob::wob:
[10:32 am]
Zycorax -- :wob: intensifies.
[08:51 am]
Zincoshine -- :wob:
[04:43 am]
RdeRenato -- :wob:
[04:43 am]
RdeRenato -- : wob :
[2021-10-21. : 4:52 pm]
jjf28 -- :wob: cause you failed to prefix your message with :wob:
[2021-10-21. : 2:48 pm]
MTiger156 -- *wobbing stops* :massimo:
[2021-10-21. : 1:44 pm]
lil-Inferno -- nah
Please log in to shout.


Members Online: Roy, DarkenedFantasies