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.
[2021-12-04. : 10:11 pm]
Ultraviolet -- DarkenedFantasies
DarkenedFantasies shouted: sraw531 It's misleading or incorrect by saying it's a brood war trigger. It's a "1.04 feature", only making it incompatible with the retail game version but it still works with both original and brood war 1.04+. If the trigger doesn't work for you, you messed something up.
ohh I see, still can have scm file, but it changes the format to SC hybrid map instead of just SC map
[2021-12-04. : 7:53 pm]
DarkenedFantasies -- sraw531
sraw531 shouted: anyone here know why alliance triggers seem to be broodwar specific according to scmdraft2?
It's misleading or incorrect by saying it's a brood war trigger. It's a "1.04 feature", only making it incompatible with the retail game version but it still works with both original and brood war 1.04+. If the trigger doesn't work for you, you messed something up.
[2021-12-04. : 4:34 am]
Slyence -- Ohh. Sneaky emote. Hmmmm
[2021-12-04. : 4:01 am]
lil-Inferno -- Slyence
Slyence shouted: Does anyone know if Voyager is still around?
he is but you'll have way better lucc finding him on SEN discord
[2021-12-04. : 3:04 am]
Ultraviolet -- Slyence
Slyence shouted: Sorry about all the reminiscing. Just brings back the good Ole days.
we don't do that here :shifty:
[2021-12-04. : 3:03 am]
Ultraviolet -- sraw531
sraw531 shouted: anyone here know why alliance triggers seem to be broodwar specific according to scmdraft2?
no idea why, but just confirmed through a small test that you're correct
[2021-12-04. : 3:01 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: NudeRaider *sigh* n
oh I didn't know wtf you were going for lol
[2021-12-04. : 2:43 am]
sraw531 -- literally just copied the trigger from the original map and changed the location name and it breaks...
[2021-12-04. : 2:33 am]
sraw531 -- trying to make a remake of Terran9, which has zerg and protoss who hate each other
[2021-12-04. : 2:32 am]
sraw531 -- anyone here know why alliance triggers seem to be broodwar specific according to scmdraft2?
Please log in to shout.


Members Online: Roy, TheHappy115, Oh_Man