This is a tiny program to convert a PEiD plugin into an exe file ..
The program will add a small loader to the DLL to handle command-line, make a few other changes and save the plugin as an EXE file.
New in v1.01:
If you run PluginToExe with a plugin dll as param then it will be converted ..
If the resulting Plugin exe is run without any filename as param then loader will open an OpenFileDialog to get filename ..
Note: Plugins are not designed to work this way, so some will not work, others will work with errors as they expect to be run from PEiD and PEiD's directory ..
For example, my plugin AddSig (Signature Editor) will expect the file UserDB.TXT to be in same directory when run as an EXE .. Why? Because from the plugin code, a call to GetModuleFilenameA(0) is used which would return C:\Program Files\PEiD\PEiD.EXE and I find the path to UserDB.TXT from that.. An Exe would return it's own name from a call to GetModuleFilenameA(0) ..
But, it works just fine if you run it from PEiD dir or on a seperate UserDB.TXT :)
Note: You may need to unpack some plugins before you can convert to exe, this is because the packers protect the DLL from changes..
But normal packed files are ok like UPX etc.
Usage:
Simply run the program and select a plugin from the open file dialog, everything is automatic..
The Exe file is saved into the same directory as the plugin ..
To load a file into the plugin exe, drop it onto the icon, or pass as param on commandline ..
Version 1.00 - 27-Jul-2007
o Convert a PEiD plugin into an Exe file ..
o Adds command-line to Plugin Exe ..
Version 1.01 - 30-Jul-2007
o If file passed as command-line to PluginToExe it will be converted ..
o Now uses GetOpenFilename if no filename passed to command-line of plugin exe ..
Greets to: sowhat-x, snaker, Jibz & Qwerton, Jupiter, BuLLeT, Jeremy Collake, _pusher_, dila, mr Haggar, Fly and all peeps on
PEiD forum
Comments? Bugs? You look like Jessica Alba? ;) Email : BobSoft@GMail.com
For more plugins see my plugins site - Hosted by BuLLeT (Thanks!)
Thanks again to whoever invented coffee, without which I would never get anything done.. ;)
~ A program without bugs has either too few users, or too few uses ~