Originally posted by Tebb
Uh, then it wouldn't be that hard, right?
It would be just an application that will search for .ple on a folder and sub folders and execute everytime the program with the command...
The bad thing is that I don't know any language like VB or C... :/
You can also make a VBScript- or JScript-script in Windows itself, you can make a Plus!-script or you can make even a batch file.
Even with a bit of smart copy/pasting, replacing and notepad you can quickly create a whole list (as a batch file) which needs to be executed.
Example of a batch file which will decrypt all your logs is attached in the zipfile (more user friendly would be a script I guess... but I started to make a simple batch program and ended up with a bit less simple batch file; though it nicely shows what can be done with Windows DOS commands only):
notes: run the program from within your log directory and enter the password as a parameter. If no password is provided, it will ask for one.
EDIT: If this is going to be made as a script, wouldn't it be cool to see:
- An option to enable/disable overwriting of files
- An option to delete or keep the original encrypted files
- A password textbox where you can enter multiple passwords (which will all be tried)
- A selection between:
a) A combobox to select the account which you want to decrypt all the logs of
b) A textfield (with browse button) to select a directory and an option to enable/disable subdirectories
- Configuration textbox (with browse button) for the path and filename of the log viewer (though, filled in automatically at start)
- Showing a progress dialog (progressbar + filename)
- At the end showing a dialog of which logs failed and why, and which logs were successfully decrypted/encrypted with what password (listview)
DecryptAll.bat & EncryptAll.bat - Command line tools for mass decryption/encryption
Description of included batch files (version 4.1 - 2011-02-16)
These batch files are compatible with Messenger Plus! 4 and above.
However, due to a bug in the Log Viewer in Messenger Plus! 5, the batch files will not work as intended in conjuction with Messenger Plus! 5 or when you have entered the wrong decryption password. So, until that small bug is fixed, please don't use them on large directories for your own sake.
If in doubt, test first on a copy of the directories, or make a backup first!
Thus enter the password as a parameter to the batch file (spaces in passwords are supported as-is; do not enclose the password in double quotes).
eg: DecryptAll My LoNg PaSSw0rD
eg: EncryptAll My LoNg PaSSw0rD
The password is optional though. If you don't provide a password, the batch files will ask for it.
- These batch files will decrypt or encrypt all the log files of Messenger Plus! Live which exist in the current directory and in its subdirectories.
- After a log has succesfully been decrypted (encrypted) the original encrypted (decrypted) file will be deleted so only the decrypted (encrypted) file will remain.
- Previous existing files (thus files with the same name) will not be overwritten.
- Run these batch files from within your log directory.
Therefor, you need to open Windows' command line console and go to the log directory:
- Start > Run > cmd
- go to the log directory by using the cd command. eg:
cd "C:\Program Files\Messenger Plus! Live\Logs"
decryptall My LoNg PaSSw0rD
- Run it multiple times when you have logs with different passwords.
- It is NOT possible for these tools (or any other tools for that matter) to decrypt logs if you do not know the correct password.
If you can't remember your password, there is NO way to decrypt your logs, with any tool.
No installation is required. Just unzip the attached zip file to your log directory.
Compatibility with Messenger Plus! 5 and above.
However, due to a bug in the Log Viewer in Messenger Plus! 5, the batch files will not work as intended when you have entered the wrong decryption password. So, until that small bug is fixed in Messenger Plus! 5, please don't use them on large directories for your own sake.
A hell of a lot. Including a lot of fixes and workarounds for various (rare) situations. Piping is now supported. Vista compatibility. 64-bit compatibility (though not tested). A lot of batch 'tricks' and other far less known methods are used in these batch files.
Commented version included which explains a bit why some stuff is done in a particular way and not in an 'easier', better known and often used way.
v2.x: More friendly UI and a bit more streamlined to work in more situations.
v1.x: First very simple version. Quick 'n dirty, for Tebb...
Because I'm old-school.... Long live DOS...
previous downloads: 4838
EDIT: I've updated the link inside the batch files which points back to this post....
Apparently I've forgotten to include the correct link back in 2006. lol