by date
TGE Browser Plugin
TGE Browser Plugin
| Name: | Neil Marshall | ![]() |
|---|---|---|
| Date Posted: | May 29, 2006 | |
| Rating: | 5.0 out of 5 | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for Neil Marshall |
Blog post
The TGE Browser Plugin is finally at the point where you can actually use it. I might call it Alpha or Beta soon. I'm interested in hearing stories from people using it. If you are, let me know.


Recent Blog Posts
| List: | 08/18/06 - Experimenting with TSE 07/19/06 - TGE Browser Plugin Online 05/29/06 - TGE Browser Plugin 05/02/06 - The browser plugin - progress 04/24/06 - TGE Browser Plugin 04/11/06 - More TGE in the Browser 03/24/06 - TGE Plugin now working in IE 6.0 03/07/06 - It works! |
|---|
Submit your own resources!| Tom Bushby (May 29, 2006 at 13:54 GMT) |
| Stefan Lundmark (May 29, 2006 at 14:05 GMT) |
| bank (May 29, 2006 at 14:51 GMT) |
Good work Neil!
hmm... just an idea... what about Mozilla inside Torque? ;)
And yeah, then - opening Torque in browser, and in game opening browser and then trying to open a web-page ... game inside browser that runs in game that runs in browser ;) lol
| Jameson Bennett (May 29, 2006 at 15:19 GMT) Resource Rating: 5 |
Do you have any scheme mapped out for an architecture similar to the shockwave 3d plug where you can download just data files (ie textures, dts, .dso, etc) and play on a generic engine? Also, have you approached any security issues (writing to the local drive, allowing access to just the serving domain)?
| Neil Marshall (May 29, 2006 at 15:30 GMT) |
| John Rockefeller (May 30, 2006 at 15:20 GMT) Resource Rating: 5 |
| Shon Gale (May 30, 2006 at 15:57 GMT) |
Shon Gale
[bold]theatomizer.com[/bold]
| Neil Marshall (May 30, 2006 at 16:38 GMT) |
Edited on May 30, 2006 16:40 GMT
| Shon Gale (Jun 01, 2006 at 11:44 GMT) |
| Shon Gale (Jun 01, 2006 at 23:46 GMT) |
np3DPlugin Error spawning 'c:\projects\tge14\tge14plugin\engine\out.plugin.release\bat000007.bat'.
np3DPluginFF Error spawning c:\projects\tge14\tge14plugin\engine\out.pluginff.release\bat00000d.bat'.
Any help would be appreciated!
| Shon Gale (Jun 02, 2006 at 12:06 GMT) |
I am using Firefox. I finally got the plugin compiled with a stock version of TGE, read the docs on TDN. The dual.html page doesn't work at all. It gives me the option to install the plugin at the top of the web page and when I click on it nothing happens. When I run the dualnp.html page I get a dialog box with the following error.
OpenGLDevice::setScreenMode
GetDC failed to get a valid device context!
The dialog then has 2 buttons (Retry) and (Cancel)
Also this new file appeared in the c:\program files\mozilla firefox\components\ directory named nsI3DPluginFF.xpt after I tried this but it makes no sense to me and maybe irrelevant.
I totally confess to not knowing what I'm doing. I have been programming for over 30 years, but no plug-in stuff. But I love it and want it to work.
I got the following from the compile. Does this mean I screwed up?
np3DPlugin Warnings and Error:
np3DPlugin warning LNK4197: export 'DllRegisterServer' specified multiple times; using first specification
np3DPlugin warning LNK4197: export 'DllUnregisterServer' specified multiple times; using first specification
np3DPlugin warning LNK4197: export 'DllGetClassObject' specified multiple times; using first specification
np3DPlugin warning LNK4197: export 'DllCanUnloadNow' specified multiple times; using first specification
np3DPlugin error PRJ0019: A tool returned an error code from "Copying Debug Plugin to Firefox"
np3DPluginFF compiled clean!!!!!
OK I'm also confused about the registry stuff from the web code files
This is the code from plugin.js
CLSID:6251CE4E-096D-40AC-9B95-A9A3E291C637
This is the code from dual.html
CLSID:6251CE4E-096D-40AC-9B95-A9A3E291C637
This is the code from dualnp.html
CLSID:720BFEEA-B020-4279-AA74-49BE2B461789
Do these need to be inserted somewhere?
| Neil Marshall (Jun 02, 2006 at 12:29 GMT) |
The .xpt file is needed for scripting of plugins in Firefox. Right now nothing is scripted but it's there for future work. It's required because Java is no longer built into the web browser like it was in Netscape 4 (Thats why you always used to see "Loading Java..." when you launched a plugin and don't anymore.)
Ignore those DllRegister warnings. I have them on my build as well. I'll get rid of them one of these days.
The reason for the two different CLSID's is because dualnp.html is out of date. It's CLSID will eventually match the one in plugin.js.
The error in your compile looks like it's from the Custom Build Step general listing in the np3DPlugin properties page. You need to adjust the copy commands to copy to your Firefox directory. The CLSID's get automatically registered by the "Post-Build Event" code so you don't have to worry about that part. regsvr32 is for IE and the copy commands are for Firefox.
Also make sure you have the registry entry in there to point to the data files.
HKEY_LOCAL_MACHINE\SOFTWARE\TGE\main.cs c:\wherever\my\tge\example\is
If you come up with instructions that I missed on the TDN page, can you edit it to include them? (Just click edit at the top) I've installed it so many times now I'm never quite sure what I'm missing from the instructions.
| Shon Gale (Jun 02, 2006 at 12:50 GMT) |
OpenGLDevice::setScreenMode
GetDC failed to get a valid device context!
when I run the dualnp.html page and nothing happens when I load the dual.html page.
I edited the registry like you told me and it is loading but gives me that error.
Thanks
| Shon Gale (Jun 04, 2006 at 12:07 GMT) |
Thanks!!!
| Neil Marshall (Jun 04, 2006 at 17:47 GMT) |
| Misifu (Jul 13, 2006 at 09:53 GMT) |
Edited on Jul 13, 2006 09:57 GMT
| Shaun Sheppard (Jul 15, 2006 at 04:15 GMT) |
| Neil Marshall (Jul 15, 2006 at 15:52 GMT) |
| Shaun Sheppard (Jul 17, 2006 at 01:51 GMT) |
Thanks for your insight.
| Neil Marshall (Jul 17, 2006 at 02:32 GMT) |
If you have access to TGE, download the plugin code from TDN and do a file compare using a program such as Beyond Compare to see where the changes were made. It colour codes the changes for you and makes it very easy to spot the differences.
| Kevin Bamonte (Apr 23, 2008 at 20:02 GMT) |
What ever happened to this project, I see the last post was from 2006 ? My question is I'm trying to run this with TGE 1.5.2 and am getting about 20 errors, does this work with 1.5.2 ?
Thanks in advance,
Kevin
| Neil M. (Apr 24, 2008 at 11:19 GMT) |
You must be a member and be logged in to either append comments or rate this resource.



5.0 out of 5


