quake3 browser plugin

Locked
inolen
Posts: 705
Joined: Thu Dec 16, 1999 8:00 am

quake3 browser plugin

Post 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.
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: quake3 browser plugin

Post by obsidian »

I don't have a suitable Linux box right now to test this, so waiting for Windows port. Sounds cool, though.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
redonkuless
Posts: 15
Joined: Mon Jan 09, 2012 11:58 pm

Re: quake3 browser plugin

Post 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?
inolen
Posts: 705
Joined: Thu Dec 16, 1999 8:00 am

Re: quake3 browser plugin

Post 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.
inolen
Posts: 705
Joined: Thu Dec 16, 1999 8:00 am

Re: quake3 browser plugin

Post 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.
redonkuless
Posts: 15
Joined: Mon Jan 09, 2012 11:58 pm

Re: quake3 browser plugin

Post by redonkuless »

very nice, keep me updated on your status, seems like a way cool project
Locked