Previous Blog Next Blog
Prev/Next Blog
by date

gamebase.dll - ready to use (AES Rijndael)

gamebase.dll - ready to use (AES Rijndael)
Name:Thomas Bang 
Date Posted:May 09, 2008
Rating:4.2 out of 5
Public:YES
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Thomas Bang

Blog post



Hi

This is my first blog here at garagegames.
What i have to say...

I wrote a DLL where you can use functions to save/load crypted/decrypted text to/from a file (usable with TGB, TGE and TGEA). This has several reasons.

1. I want to get some deeper knowledge about GG's engines.
2. I write my own game with TGB and i need some special functions.
3. It's a lot of fun to write DLLs. ;-)


Here we have a saved file.



The customer of your game can edit all values very easy. Bad.

And this is the crypted version of the file. Good.
The text is crypted/decrypted password-dependent.




The functions provided with this DLL are very easy to use.

Here is the complete documentation.
www.darkware.de/gamebase_documentation/index.htm


The future:

I will implement more functions like copy, delete and remove files/folders, create folders, search files in a folder, support for ini-files and the registry and so on.

If you have wishes... please let me know.



I hope you like the gamebase.dll



Greetings

Thomas Bang
Germany


Edit: New functions are available.
Now you can crypt/decrypt text if you have your own load/save-functions.

And you can search files in a specified folder with more than one search-mask.

Documentation modified !!!

Submit ResourceSubmit your own resources!

Neill Silva   (May 09, 2008 at 20:44 GMT)
Very cool.

fireVein   (May 09, 2008 at 21:57 GMT)   Resource Rating: 5
Nice, I likes.

Neil (Deepeyed)   (May 09, 2008 at 23:16 GMT)   Resource Rating: 4
cool, nice little addition, made even better with the good level of documentation you have created!

Thanks! please keep working on this.

Daniel Buckmaster   (May 10, 2008 at 08:24 GMT)   Resource Rating: 5
Excellent! I was about to write my own encryption thingo, but you saved me the work - and it's implemented very cleanly, too.

Question: in your installation walkthrough, you said to make sure to add it in Release mode. Does the dll work in debug mode as well?
Edited on May 10, 2008 08:37 GMT

Thomas Bang   (May 10, 2008 at 08:57 GMT)
Thanks for your nice comments.

@Daniel

I didn't tried Debug Mode but i think it should work also.

Thomas Bang   (May 10, 2008 at 13:39 GMT)
New functions are available.
Now you can crypt/decrypt text if you have your own load/save-functions.

And you can search files in a specified folder with more than one search-mask.

Documentation modified !!!

Daniel Buckmaster   (May 10, 2008 at 18:35 GMT)   Resource Rating: 5
I've compiled in debug mode, but haven't tried using the functions yet.

Jeramy79   (May 10, 2008 at 18:59 GMT)   Resource Rating: 5
Very nice. I'm sure atleast 75% of the people here will want to use this.

Matt Huston   (May 10, 2008 at 19:11 GMT)   Resource Rating: 5
You should put this up as an official resource as well to accompany this blog post.

Javier Canon   (May 12, 2008 at 17:31 GMT)
cool, but you can publish the source code and VS2005 project for make our own functions in the dll?
thanks...

Thomas Bang   (May 12, 2008 at 17:42 GMT)
Javier... I know Delphi much better than C/C++. That's the reason why i wrote a DLL and not directly in the Engine Sourcecode.
Edited on May 12, 2008 18:25 GMT

Brian Wilson   (May 13, 2008 at 12:53 GMT)   Resource Rating: 5
Modding this into the file IO pipeline would be nice for encrypting all assets and not just text files.

Thomas Bang   (May 13, 2008 at 13:50 GMT)
Brian... you are right.

There is a resource called "CipherLib". It is possible to crypt/decrypt Image-Files. I use this piece of code with TGB. It works very good.

I tried it also with TGE. It works but there is a problem with DTS and DIF.
As far as i know textures for dts and dif are stored separately.

The best way would be a new TGE(A)-Update with password-dependent file-encryption. And a new ShowToolPro-Update where we can open these encrypted files.

Ehrlichmann Casas P.   (May 16, 2008 at 18:58 GMT)
kick ass DLL man!... really appreciate all the effort made into this, its a pretty handy tool, y'know!?

You must be a member and be logged in to either append comments or rate this resource.