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.
[11:01 pm]
Corbo -- Suicidal Insanity
Suicidal Insanity shouted: Pr0nogo And custom color cycling !
and custom parallax support tbh
[10:43 pm]
Suicidal Insanity -- Suicidal Insanity
Suicidal Insanity shouted: Corbo :P
And statistics
[10:42 pm]
Suicidal Insanity -- jjf28
jjf28 shouted: Corbo qft
Lies !
[10:30 pm]
Suicidal Insanity -- Btw, did you try the build with the tileset fix?
[10:29 pm]
Suicidal Insanity -- But dat files probably would be a massive pain to support, so unlikely I would ever do that
[10:28 pm]
Suicidal Insanity -- Pr0nogo
Pr0nogo shouted: he's already added expanded tileset functionality which requires an external plugin
And custom color cycling !
[10:21 pm]
jjf28 -- Corbo
Corbo shouted: no one quotes me :'(
qft
[09:30 pm]
Corbo -- no one quotes me :'(
[07:33 pm]
Pr0nogo -- meant to quote poiuy_qwert
poiuy_qwert shouted: There are some limit expander plugins floating around, at least one that allows expanded dat files :P
[07:33 pm]
Pr0nogo -- Corbo
Corbo shouted: Though those work with external plug ins; it would be like asking SI to include memory edits from FG into scmdraft xD
unfortunately they are all pretty incomplete, it seems if what i want is to be achieved it'll need to be made with whack instead of something compatible with gptp
Please log in to shout.


Members Online: Pr0nogo, Corbo, Roy, jjf28