just wondering if anyone has looked into Emscripten for residual.
http://kripken.github.io/emscripten-site/
scummvm: http://clb.demon.fi/html5scummvm/
https://github.com/juj/emscripten-scummvm
Emscripten
Moderator: ScummVM Team
Re: Emscripten
Ya, I tried it once before. I got it to compile, but we use a few SDL functions which are not implemented by Emscripten so I was never able to get it to output any graphics.
Here is my code if you're interested.
https://github.com/klusark/residualvm/tree/emscripten
I might look into it again to see if they implemented what we needed.
edit:
It looks like they implemented one of the functions we need
https://github.com/kripken/emscripten/c ... 093b8a629e
I'll try building it tomorrow to see if it works now
Here is my code if you're interested.
https://github.com/klusark/residualvm/tree/emscripten
I might look into it again to see if they implemented what we needed.
edit:
It looks like they implemented one of the functions we need
https://github.com/kripken/emscripten/c ... 093b8a629e
I'll try building it tomorrow to see if it works now
Re: Emscripten
Wow this would be amazing! Of course I'm not sure what could actually be hosted, maybe the game demos? Other than that, webpage to local machine communication for the data files could be a nightmare to handle
In any case, hi klusark!
In any case, hi klusark!
Re: Emscripten
so i attempted to compile residual with emscripten this weekend and failed.
any tips?
first issue: trying to do it in windows. ;p
(needless to say after awhile i decided doing it would be better on mac). on the configure script i had to use the --host flag with something to avoid compiling osx specific stuff.
following the steps for scummvm fork got me to compiling but the end result is a small 200k default html and 400k js file (default output; the build fails). not sure where it is failing. i should enable logs...
i dont think im missing anything, but then maybe the emscripten build process has changed since you attempted.
any tips?
first issue: trying to do it in windows. ;p
(needless to say after awhile i decided doing it would be better on mac). on the configure script i had to use the --host flag with something to avoid compiling osx specific stuff.
following the steps for scummvm fork got me to compiling but the end result is a small 200k default html and 400k js file (default output; the build fails). not sure where it is failing. i should enable logs...
i dont think im missing anything, but then maybe the emscripten build process has changed since you attempted.