Page 1 of 1

quake3 browser plugin

Posted: Sun Feb 05, 2012 1:42 am
by inolen
Long time no post :)

Last week I started work on a small project that I thought may interest some people here:
https://github.com/inolen/q3plugin

Basically, it's a plugin built on the firebreath framework that runs ioquake3 in the browser. Beyond just running the game in the browser, the plugin has some interesting opportunities for browser <-> game interaction. For example, there is the server browser which communicates from browser <-> plugin to list servers, and when you click on a server it actually forwards the connect command directly to the game process through a shim library.

The project is really rough, but I'd love to hear some feedback and see if anyone has any ideas or suggestions about it. It started off as weekend experiment after wondering how QuakeLive worked, but it's been fun and I'd like to spend some more time on it if I could come up with some concrete goals.

P.S. Currently it's only been tested on Firefox/Chrome on Ubuntu 10.04, but this week I'll be working to port it to Windows.

Re: quake3 browser plugin

Posted: Sun Feb 05, 2012 8:04 pm
by obsidian
I don't have a suitable Linux box right now to test this, so waiting for Windows port. Sounds cool, though.

Re: quake3 browser plugin

Posted: Tue Feb 07, 2012 1:52 am
by redonkuless
So can you give a layout of how it works? Do you configure the plugin to connect to a linux ioquake server , then when the browser hits the site and your browser loads the plugin it connects to your server?

Re: quake3 browser plugin

Posted: Tue Feb 07, 2012 7:21 am
by inolen
redonkuless wrote:So can you give a layout of how it works? Do you configure the plugin to connect to a linux ioquake server , then when the browser hits the site and your browser loads the plugin it connects to your server?
I'll write a blog about it tonight :up:

The main thing to note (it was news to me) is that both NPAPI and ActiveX plugins can run native machine instructions with the same privileges as the host process, so once a plugin is installed and loaded up, you can pretty much do whatever you want.

Re: quake3 browser plugin

Posted: Tue Feb 14, 2012 9:22 pm
by inolen
Finally got a blog up outlining how this works: http://www.inolen.com/articles/48-hours ... er-plugin/

I managed to get the Windows build compiling last week but then got sidetracked. I'll get back to that soon.

Re: quake3 browser plugin

Posted: Wed Feb 15, 2012 11:37 pm
by redonkuless
very nice, keep me updated on your status, seems like a way cool project