Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / Smart Packer Encryption Compression in your own application

Author
Message
mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 3rd Nov 2009 22:30 Edited at: 30th Nov 2009 09:36
Smart Packer Developer Library
Currently we are busy to develop this solution.

This toolset provides allows (game)developers to create an encrypted/compressed archive with files which can be accessed through an included dll.
Can be used in DarkGDK and programming languages like C++, Delphi, Purebasic etc.

Features
- Compression algorithms: ZLib, BZip and PPM
- Encryption algorithms : Rijndael 128/256-bit, DES Single/Tripple, Blowfish 256-bit, Twofish 128/256-bit, Square 128-bit
- Fastest compression levels are extremely fast
- Good balanced compression levels provide both good compression rate and high speed
- Maximum compression levels provide much better compression rate than Zip, RAR and BZIP
- Fast Deflate implementation
- Extracting to memory buffer supported
- Creates self-extracting archive

Available functions in dll:
SP_OpenArchive - opens archive
SP_ExtractToBuffer - extract file from archive to buffer pointer
SP_ExtractToFile - extract file from archive to file
SP_GetFileSize - get filesize file
SP_UpdateFromFile - updates existing file
SP_UpdateFromBuffer - updates existing file from buffer
SP_DeleteFile - delete file in archive
SP_SaveFileList - saves filenames from archive to textfile
SP_CloseArchive - closes archive
SP_WipeFile - overwrites file several times
SP_LockF - locks file or folder
SP_UnlockF - unlocks file or folder

If you have suggestions or remarks just sent me an email.

Smart Packer - Distribute games and applications
Smart Packer Encryption Compression - Encrypted and compressed archive for your application
Mulderman
20
Years of Service
User Offline
Joined: 8th Jan 2004
Location: C:\\
Posted: 4th Nov 2009 00:29
Does it extracts files to some temporary folder when running?


If yes, then whole media can still be stolen within seconds.

New GTA2 Map Editor :: http://www.gta2madness.co.cc
mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 4th Nov 2009 08:24 Edited at: 4th Nov 2009 08:24
No. SP_ExtractToBuffer extracts the file to a buffer so no temporary storage is used.

Smart Packer - Distribute games and applications
V-Packer - Your application into one executable. Runs instantly and everywhere.
Mulderman
20
Years of Service
User Offline
Joined: 8th Jan 2004
Location: C:\\
Posted: 4th Nov 2009 12:32
Will this be free or shareware?

New GTA2 Map Editor :: http://www.gta2madness.co.cc
mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 4th Nov 2009 12:49 Edited at: 24th Nov 2009 21:22
It will be a commercial license. The following licenses will be available.

Single Developer - For commercial use, one developer
Site license - For commercial use, multi-user edition

Smart Packer - Distribute games and applications
V-Packer - Your application into one executable. Runs instantly and everywhere.
mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 5th Nov 2009 15:06 Edited at: 27th Nov 2009 17:12
Here are some pictures of the application.





Different encryption and compression algorithms can be selected. Also there is the possibility to create an self-extracting archive (archivefile is appended to executable).

Smart Packer - Distribute games and applications
V-Packer - Your application into one executable. Runs instantly and everywhere.
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 5th Nov 2009 19:14
Extracting to a buffer is one thing but then how do you load the model from the buffer?

mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 5th Nov 2009 20:37
This tool stores and retrieves files in a secure way and is ment for generic development languages like C++ (DarkGDK?) etc.

The description in the first post wasn't maybe clear enough so I changed it.

It's not a DBPro plugin which loads a model directly. However if there is a demand for such a plugin we will investigate if it's possible.

Smart Packer - Distribute games and applications
V-Packer - Your application into one executable. Runs instantly and everywhere.
lil marioman
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: Canada
Posted: 6th Nov 2009 00:42
This is looking great! Lots and lots of potential.

Just one quick question though : how would you define non-commercial? (And this applies to all of your applications)

Would non-commercial mean you may distribute something as freeware, but may not earn anything from it, or are you strictly prohibited to distribute it in general?



mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 6th Nov 2009 08:29
Non-commercial means you can't sell your application however distribution is no problem. So using it for freeware applications etc. is allowed.

Smart Packer - Distribute games and applications
V-Packer - Your application into one executable. Runs instantly and everywhere.
mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 17th Nov 2009 17:45
[ADDED] SP_WipeFile: overwrites file several times

This toolset will be available in a few weeks.

Smart Packer - Distribute games and applications
V-Packer - Your application into one executable. Runs instantly and everywhere.
mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 18th Nov 2009 10:23
[ADDED] SP_LockF - locks file or folder
[ADDED] SP_UnlockF - unlocks file or folder

Smart Packer - Distribute games and applications
V-Packer - Your application into one executable. Runs instantly and everywhere.
mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 22nd Nov 2009 20:57
[ADDED] Update notification (user gets notification about updates which can be downloaded)

Probaly next week there will be a demo project available.

Smart Packer - Distribute games and applications
V-Packer - Your application into one executable. Runs instantly and everywhere.
mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 24th Nov 2009 21:26
We have decided that only Single Developer and Company license will be available.

The Single Developer license can be used for commercial applications and will be affordable for everyone.

Smart Packer - Distribute games and applications
V-Packer - Your application into one executable. Runs instantly and everywhere.
mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 27th Nov 2009 12:08
[ADDED] SP_DeleteFile - delete file in archive
[ADDED] SP_SaveFileList - saves filenames from archive to textfile

Smart Packer - Distribute games and applications
V-Packer - Your application into one executable. Runs instantly and everywhere.
mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 27th Nov 2009 16:49
Smart Packer Encryption Compression is now released.

More information is in Program Announcements.

Smart Packer - Distribute games and applications
V-Packer - Your application into one executable. Runs instantly and everywhere.

Login to post a reply

Server time is: 2024-04-24 05:48:59
Your offset time is: 2024-04-24 05:48:59