Javascript port

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
486DX2/66 Dragon

Javascript port

Post by 486DX2/66 Dragon »

Hi all,

I just stumbled upon Mozilla 's C++ to Javascript compiler, called Emscripten. They 've ported games like Doom II and supposedly the conversion isn't a huge pain.

I 'm not a C++ dev (I 'm a web guy) but I was wondering if using this with Exult would be feasible.

The advantages would be amazing! Exult would run on the browser and that means on all platforms, including tablets and smartphones! And no more ports :)
Colourless
Site Admin
Posts: 731
Joined: Thu May 14, 2020 1:34 pm

Re: Javascript port

Post by Colourless »

While is probably technically possible there will be licensing issues. No one would be able to host the data except for EA so there would be no point.
486DX2/66 Dragon

Re: Javascript port

Post by 486DX2/66 Dragon »

Hi Colourless Dragon,

Thank you for your response.

No, there would not be any licensing issues, because there is no need for anyone to actually host the data on a server.

The browser can load local files, not just sites from the net. For example, if you create an html file and save it on your desktop and double click it, the browser will happily work as usual. :)

The conversion will be to the C++ code (which is Exult 's own code and not EA's) and not on the game data.

So, since no server side code is required and no hosting, no licensing issues occur. We still keep the data locally, like we do now.

What I find very tempting is the "one build to run them all" gain (as Tolkien would have said :D)
Locked