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

memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes

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.
[02:30 am]
Symmetry -- I dreamed about that as a kid. The idea of a computer capable of analyzing a starcraft map and calculating the fastest possible way to hit the victory condition
[02:29 am]
Symmetry -- But can AI beat my custom maps?
[12:32 pm]
Oh_Man -- yea APM vs eAPM
[08:48 am]
NimoStar -- plus most of the human APM is just spam clicking APM inflation
[08:47 am]
NimoStar -- the thing with the "*12" thing is completely misleading. The AI isn't using two control groups, it can use each of those actions to command a single unit individually and issue different commands to each single unit.
[08:06 am]
NudeRaider -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
*Pluto's wraiths
[08:05 am]
NudeRaider -- Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
[2026-9-22. : 2:18 am]
Oh_Man -- Close enuf
[2026-9-21. : 4:14 pm]
Vrael -- perhaps there is a small professional player trapped in a box in the server rack where pluto is running? hmm?
[2026-9-21. : 4:14 pm]
Vrael -- 240*12*2 is 5760, where is the other 240 APM?
Please log in to shout.


Members Online: UndeadStar, Prankenstein, Zycorax