Page 1 of 1

Javascript port

Posted: Fri Jun 29, 2012 10:17 pm
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 :)

Re: Javascript port

Posted: Fri Jun 29, 2012 11:14 pm
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.

Re: Javascript port

Posted: Sat Jun 30, 2012 11:42 am
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)

Fatal: Not able to open ./cache/production/data_global.php