Timeframe for EXE exporter?

0 favourites
  • Huh... That must've slipped passed me. And just about everyone else, I imagine. <img src="smileys/smiley17.gif" border="0" align="middle" /> Thanks for the link Kyatric, I'll be sure to check this out!

  • There's been this wrapper around that apparently worked for quite some time already.

    So it seems. It just doesn't look like a very good implementation. I mean, it's a good effort, that's for sure. But either I'm doing something wrong, or does this implementation not work with relative paths? It seems like you need to define the absolute path to the index.html file in order for it to work, which would make distribution unnecessarily hard.

    That, and the performance is rather flaky. Running the Space Blaster example shows that this wrapper has framerate issues.

    At least it's a step in the right direction, but I do wonder... Do we really want to publish our games like this? I sure don't. It's like giving someone a website together with a portable browser. How is that even remotely acceptable?

    I'll keep my eye out for the Awesomium implementation. From what I've seen it seems rather impressive.

    I'll mention again that I'm definitely a critic, but I consider that a necessity.

  • I did some more research in to this. Most EXE wrappers around HTML that I tried (Adobe AIR, Titanium Desktop etc.) only use WebKit, which is Chrome's HTML layout engine, but is not the full browser. It looks like WebKit alone only provides a software rendered 2D canvas and no browser features like Audio, since it's just a layout engine. So it's no good at all for games. It looks like the link Kyatric posted uses OpenWebkitSharp which suffers the same problem.

    Awesomium on the other hand is a full-blown browser engine based off Chromium. I haven't got it working myself yet but I think it supports everything Chrome does: WebGL, audio, V8 javascript engine, and so on. So out of everything I've looked at only Awesomium looks like it will actually be useful. There may be a few other problems though - if it works off the file:/// protocol a lot of things aren't going to work, and it might need an internal HTTP server. However the HTML5 exporter has one already for previewing. So I think the best thing to do - in future, since we have a lot to do :P - is make an official Awesomium-based wrapper with a built in HTTP server and also the ability to package all the files in to a single .exe file. FYI Awesomium's license costs $2.9k once you've made $100k in profit, which I guess isn't a problem. Anyway, I guess I can say... on the todo list :P

  • Sweet. I like that idea. I was hoping you'd make an official wrapper!

  • So, I had some time to play around with awesomium a little today. So far I've managed to wrap some of my test projects + example games that came bundled with construct. There are a couple of problems however:

    Firstly, as Ashley mentioned, the wrapper would definitely need to start a local server as loading the files off the file:// protocol causes a couple of issues, mainly related to audio since cross domain calls are not supported. Secondly, awesomium does not support WebGL yet. So, although both of the demos ran fairly smoothly, I still managed to run into some minor lagging...

    That's my progress this far... I'll try working on a local server implementation tonight.

    Cheers

  • Wrapping it probably will never feel and perform as the real thing. I think the best to do is wait for the EDK so then someone with the knowledge/time can make a real desktop runtime. When/If the EDK comes i would be interested about making an EXE exporter. I don't know exactly how this EDK would work so i have no idea of how difficult it would be.

    The other way would be to forget about html5 and webgl and make a NaCl runtime. It would then work (in theory) in all desktops and on Chrome. Much better. But of course that's not an option since it would involve rewriting the entire thing, probably basing on Classic runtime. Just me dreaming out loud. It would take lots and lots of work in any way.

  • Hmm... would an NaCl runtime work in an a awesomium wrapper then? Since I've heard NaCl apps have only about a 5% performance hit from native code, that might be a way to hit every platform that chrome runs on basically natively with one exporter.

    Also, what platforms could an NaCl wrapped game run on? Would that work for iOS and android?

  • Arima : the problem with NaCL is that it compiles as binaries. So if Google isn't backing a project to provide binaires for iOS, there is no way to provide that. And furthermore, I think it's conflicting with Apple rules of having only WebKit + its JS engine to run web applications.

  • So, I've been trying some wrappers out of the box, not much time for me to do actual programming, I was just testing them right out of the box n_n making the fastest possible wrapper with no serious look into it.

    Note: I'm sure Ashley has already done this with probably many more, but I wanted to test it just in case anyone is trying to do the same.

    I've tested these with the physics ragdoll sample and space blaster.

    Adobe Air + flashdevelop: Works but laggy, anything with sound will trigger an "Audio variable is null" exception and won't run

    Titanium Desktop: Same issues as adobe Air. (although it wont show any warning or error, but I assume its the exact same thing)

    Mozilla Prism: It does run better, but also kind of lags sometimes. Same issues with audio though.

    Asterclick WBEA Binaries (which is based on the Chromium embedded framework, but this may be a very simple implementation): Works very slowly. Also, games with sound, will not work like the others.

    What is left to test:

    Awesomiun.

    Phonegap for windows/mac (desktop): There is an obscure implementation fo phonegap for windows and mach. This may be a good shot, these are:

    github.com/davejohnson/phonegap-windows

    and here

    github.com/shazron/phonegap-mac

    Who knows, the might work!

    The google native client: this might work too who knows.

    code.google.com/p/nativeclient

    Mysterious things that I do not know what they are:

    appmobi.com Looks like an open source implementation to create acceleration on many platforms... it might works on desktop too. And fo course it actually might be useful for many other things n_n

    gameclosure.com

    Another odd thing, has a private beta, is this just another sdk or do they have a wrapper? hmm

    I hope this may shed some light on the subject :)

    Regards

  • On the topic of wrappers, has anybody looked into Chromeless?

    Also, Zinc 4.0 works with HTML5 for desktop apps.

    <img src="http://www.multidmedia.com/common/img/Features/HTML5.png" border="0">

    inc 4.0 can now compile a Remote or Local HTML5 Project into a single file Desktop Application for Windows or Mac OSX. By leveraging the power of CSS, Ajax and core HTML5 APIs, Zinc 4.0 users can build compelling, interactive Desktop Applications from Existing & New Web Projects.

    That's of course.. if you want to pay $700 ;)

    Depends on how serious you are with your game...

    I tried the trial and it just wraps it all in an exe that relies on Internet Explorer already installed on the system... It's a semi-decent solution...

    Personally I'm not sure if any of this is the right solution for me anymore, as I need a way to be able to make my game go fullscreen and have the option to control from a menu between fullscreen and windowed mode... I also need to make the game look like it's not even a browser so...

  • I tried the trial and it just wraps it all in an exe that relies on Internet Explorer already installed on the system...

    Heh, that makes it totally useless. No IE9 on Windows XP so your games will never run on XP.

    Chromeless looks promising though, I forgot to check that one out - will have a look.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Yeah Chromeless looks promising. The question is the readyness of it currently: Here's the Github Page

  • Downloaded it. Installed Python. Then ran the Chromeless bat. Bat said it needed XULRunner and proceeded to auto download it. But gave an MD5 error. I then went and manually installed XULRunner. Tried again and gave me the same error. It's not detecting XULRunner it seems. I'll keep trying. What may be causing it: The python script asks for an old version of XULRunner since the project is not updated since september. Had potential though.

  • Browser should just download to hardrive and execute it like a windows executable. I don't see why it must be so difficult.

  • You'd open yourself up to malicious attacks if that were true. So it's in place purely for security reasons, as browsers running JS for example could be easily exploited otherwise.

    Anyhow, I've kinda given up on the awesomium idea for now... While certainly one of the best frameworks out right now, its sadly just not there yet. Managed to write a wrapper for it, also managed to build in an automatic local server deploy, however it all feels rather unstable. There are constant sound problems, occasional problems with catching mouse input, lag at times and the list goes on...

    I'll be waiting for their next stable release as it is said to eliminate the sound issues and some more stuff... So yeah, guess we'll just have to wait and see...

    Cheers

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)