Change MIME type of compiled web plugin dll?

Miscellaneous Forums/General Discussion/Change MIME type of compiled web plugin dll?

I was going to bump my previous thread, but then I realized that its title was misguided, so many people would ignore it.
My request is now slightly become more guided.

What I have is an NPAPI plugin DLL.
In order to make it useful, it needs to be possible to change values in this DLL through an external program.
I can change almost all of the required variables using a hex editor, but I can not find the values for MIME type, file version, file extensions, description, etc... They must be easy to access, since the web browser and OS reads that kind of stuff routinely.
The other string, which I could find and succesfully change with the result of instant alteration of the program, says "Cube\Cube.exe".

Help would be appreciated.

Download for the DLL is here:
http://crumbsoftware.f2o.org/files/npPlugin.dll

This is the resource script that I am using, which contains the magical values:
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winresrc.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,0,0
 PRODUCTVERSION 1,0,0,0
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x40004L
 FILETYPE 0x2L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904e4"
        BEGIN
            VALUE "CompanyName", " "
            VALUE "FileDescription", "Grasshopper Browser Plugin"
            VALUE "FileExtents", "bic"
            VALUE "FileOpenName", "npPlugin"
            VALUE "FileVersion", "1, 0, 0, 0"
            VALUE "InternalName", "npPlugin"
            VALUE "LegalCopyright", "Copyright © 2005"
            VALUE "MIMEType", "application/testPlugin"
            VALUE "OriginalFilename", "npPlugin.dll"
            VALUE "ProductName", "Grasshopper_Plugin"
            VALUE "ProductVersion", "1, 0, 0, 0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1252
    END
END


#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""winresrc.h""\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED





Edit:
Aha! ResHacker.
It looks like I can call ResHacker through the command line, which is good.
Is there any code for B3d, or command line tool, that allows me to modify a string in a compiled file? (The task done above by a hex editor).

Actually... I'm having trouble running ResourceEditor through the command line. Are there any good alternatives?

Why would you want to change the MIME type like this?

Why would you want to change the MIME type like this?


It's so that people don't have to put up with changing my source code when they want to set their own MIME types.


Edit: (This is all based around a magical feature that makes this a little bit different from other similar things)

Force them to use your MIME type, it's your code after all.

I have ResHacker working on the command line. Now all I need to do is change the value of a variable without bothering with making the user recompile the whole dll... which would cause endless problems.
I know the location of this variable in the compiled dll, so all I need to do is change what it says. This is doable and works through a hex editor. I need a program to do that automatically because not doing that would kill the user friendliness which I have been aiming at as an attempt to sort of make up for other aspects which are the exact opposite.
Are there any hex editor type programs that take values on the command line to write something to a particular spot on a file?
If not this, how can I get Blitz3d to overwrite a string on a file when I know its exact location? (The file I'm talking about is downloadable up above... location is 37144... my attempts so far using SeekFile and ReadString (Reading to test) just get Blitz to give an MAV).


Indiepath: This is all based around a magical feature that makes this a little bit different from other similar things :)
I had to set this apart in a few ways... all will be explained.