iiYO Community

Full Version: WebStory Engine GTK Container
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4

Guest

Well, that sounds promising. If you have something ready to be tested, be sure to tell me.

Guest

PyWSE will be getting one last update before I try getting the Vala/Genie version to where it can replace it. All this change will do is make the container pull the title from the page (from the title tags) like a real web browser would. This removes the need for it in the container's settings and matches the behaviour of the vala version.

Edit: Update complete and I moved the engine version included to the new rc version Smile

Guest

Got it to run on Windows using http://opensourcepack.blogspot.com/2011/...aller.html
[Image: pywse-on-windows.jpg]
Funny enough, it's actually easier to port a PySide/Webkit application than a pyWebkitgtk one. I'm still trying to work out how to make it into a stand-alone exe file though.

Guest

Thanks for the update, Trixar! Good to know it works on more platforms now.

Guest

I tested WebStory Engine LC with PySide installed. It didn't like the music files and would get stuck unless I removed the offending lines in game.xml. I hear Qtwebkit doesn't come with gstreamer support by default and must be handled by PyGST instead. It does have a few plusses over the GTK version because it's lighter and starts faster. I could probably make PyWSE lighter by removing the SimpleHTTPServer parts and replacing it with pure GIO code.

One bug I noticed with PyWSE is that the music isn't looping again with no error messages as to why except a vague cache error.

Guest

Cool, I just noticed the resize option in the stage tag. If this is set to yes, the game resizes itself based on the window so running fullscreen or maximized looks way better.

As a side note, what you need to run this on windows (for now) is Python 2.6+ (for daemon threads to work properly) and PyGTK, Webkit (normal) and PyGST with gst good installed from the PyGTK AIO package above. Remember to rename the pywse file to pywse.py or pywse.pyw if you want it without the console window. I'm slowly working my way towards an all in one exe file - just as soon as I get pyinstaller to work...
Pages: 1 2 3 4