How to modify chatlogs from the commandline
You can encrypt/decrypt existing logs (and more) from the commandline (Start > Run) with the logviewer application:
Results of run > "C:\Program Files\Messenger Plus! Live\Log Viewer.exe" /?
Note: strings which contain spaces need to be inside quotes. eg:
"C:\Program Files\Messenger Plus! Live\Log Viewer.exe" /encrypt="c:\my logs\firstname.lastname@example.org" /pwd="my password"
Start > run
"C:\Program Files\Messenger Plus! Live\Log Viewer.exe" /decrypt="<full path to log that needs to be decrypted>"
You will be prompted for the (old) password.
Note: the original encrypted file will not be deleted, you will have to do that manually.
Start > Run
"C:\Program Files\Messenger Plus! Live\Log Viewer.exe" /encrypt="<full path to the log that needs encrypting>" /pwd="my password"
Replace "my password" with your password.
Note: the original unencrypted file will not be deleted, you will have to do that manually.
If you need to decrypt and/or encrypt more than one file then the DecryptAll.bat (decrypting) and/or EncryptAll.bat (encrypting) included in DecryptEncryptAll.zip made by CookieRevised
may be of help. These batch files will decrypt or encrypt all the log files of Messenger Plus! Live which exist in a folder and its subfolders when run from inside that folder (these also delete the original logfiles after successful decrypting/encrypting).
Changing password on encrypted files:
For chatlogs made with Plus!Live (any build):
Start > Run
"C:\Program Files\Messenger Plus! Live\Log Viewer.exe" /changepwd="C:\MyLogs\email@example.com" /newpwd="test"
You will be prompted to fill in the old password.
(replace "C:\MyLogs\firstname.lastname@example.org" with the full path to the logfile you wish to alter the pw for and "test" with your new password. Note: strings wich contain spaces need to be put inside quotes)
Now for logs made with Plus!3 it's a different story, you will need to decrypt them and then re-encrypt them with the new password (see above howto). The logs will then not be readable by Plus!3 anymore, in other words if you still use Plus!3 at some point and log the chats Plus!3 will create a new log, not add to the one you altered.
Explanation other optional switches:
- /Dest - Destination, use this switch if you wish to put the endfile in another folder or use another filename.
Requires full path + filename including extension (.ple for encrypted, .txt for unencrypted files)
- /KeySize - to alter/set the encryption strenght of the file
Without, logs will be encrypted at strength set in Plus > Preferences > Conversations > Logs Encryption
- /Overwrite - overwrites file if a file with the same name already exists
- /Partial - makes sure everything possible from an encrypted file gets decrypted if the log got corrupted. Not using /Partial would result in an error and no output file whereas with /Partial the parts that didn't get corrupted will be written to a file.
- /Hint - to set a password hint