Jump to content

[Download] Blowfish Decrypter for LDD2POVRay


Excalibur
 Share

Recommended Posts

Here's a simple console application I made for decrypting all those .bin files in your LDDIncludes directory after using LDD2POVRay

The Instructions:

  1. Breathe.
  2. Open up LDD2PovRay and set the quality settings as you'd like
  3. Import master.lxf into LDD2PovRay. This LXF contains all the pieces that are currently available in LDD. LDD2PovRay will extract all the data from the LDD database and create the necessary .bin files in your LDDIncludes directory for those bricks. It is not a valid LXF file (it only shows one 1x1 brick if you load it into LDD). Ignore this as LDD2POVRay doesn't care about it not being a valid LXF and will just pull out all the brick data it finds inside the LXFML file.
  4. This processing will take a while (an hour or so), so go buy some overpriced coffee and drink it.
  5. Finished? Good. If you don't have one already, create a .pov and .ini file of one of your models.
  6. Close LDD as we don't need it any more.
  7. Copy blowfishdecrypter.exe to your LDDInlcudes directory.
  8. Run blowfishdecrypter.exe. This will decode all the .bin files in your directory, and save them with the same filename. It will ask for the extension (the default is *.bin). If you want the default, just press enter, it will then ask if you want to make backups of the encrypted files. Backups are optional and up to you. It will then commence decrypting all the .bin files in the directory showing all the files that it's done.
  9. When it's finished, press any key to exit.
  10. Now, let's render something. Fire up POVRay, and open your .ini file. Before you can start rendering, you need to change the includes directory in your ini file from "/./LDDIncludes" to the full path to your LDDIncludes directory. E.G., it may be "C:\POVRay\LDDIncludes" or whereever you created it.
  11. With the ini file selected, press render and wait! as usual!

Notes:

  1. When creating pov / ini files in the future inside LDD2POVRay ensure that the option / check box "create includes" is deactivated, otherwise it will overwrite all the encrypted files. And having a mixture of encrypted / decrypted files is not good. If this happens. Delete all the bin files in your LDDIncludes directory re-process that model file, then run blowfish decrypter to decrypt all the bin files.
  2. The majority of the bin files are text files. Open them with your favourite text editor to read them. The material files are PNG files that are renamed to .bin files. There's a line in the main include bin that tells povray to get materialxxx.bin instead of materialxxx.png. It's possible to rename all the files to png and remove this line in the main include which is perhaps something I'll do in the future.

Warning: BlowfishDecrypter doesn't check to see if the file is already decrypted, so if you were to run the file again on unencrypted files, you'd end up with junk. You'd then have to re-run LDD2POVRay to create all the encoded bin files for decrypting.

BlowfishDecrypter.exe

master.lxf

  • Like 2
Link to comment
Share on other sites

As the blowfish algorithm is easy to come by, and can even be done online, I guess I'll also update this thread with the key for decrypting the blowfish data. Ironically most of the unencrypted data is already on your harddrive. The Key is: "05a9ebfb-0f83-47da-8bc0-3e1a1b6baa85"

 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.