• Advertisement

Archived

This topic is now archived and is closed to further replies.

Zip file loading with TEA

This topic is 5057 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there any way in which i can read out of stored Mesh files along with their textures in an encrypted zip file (ex: TEA implementation) Would like to know if any tutorials are available ( except the one on gamedev / still need to check out that one ) on a succesful implementation of such. Jayanth.K Raptor Entertainment Pvt. Ltd. http://www.raptorentertainment.com

Share this post


Link to post
Share on other sites
Advertisement
I don''t know of any tutorials that explain all of this to you. You''ll have to put together your own system. I suggest you start by loading the x file from a normal zip file (without compression).

Check out Wotsit formats for information on loading zip files.

Then add compression if you want.

Check out zLib

Finally add encryption. TEA is an excellent algorithm for which I have the source code right here:

TEA demo with source code

I have seen a tutorial on loading zip files, but I can''t find the link right now.

www.AngelCode.com - game development and more...
AngelScript - free scripting library

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
You might want to check out zziplib: http://zziplib.sourceforge.net/ It can load zip files and has support for custom loading hooks. There is a sample on the site for using XOR "encryption", it shouldn''t be too hard to replace by TEA.

Share this post


Link to post
Share on other sites
Thanks for that link. The library seems to be very good and a complete solution to what most developers need from an archive reader.

I''ll definetly take a closer look at this one when I have the need for something like it.

__________________________________________________________
www.AngelCode.com - game development and more...
AngelScript - free scripting library

Share this post


Link to post
Share on other sites
Hey Thanks a lot for that Link. I was wondering about virtual file systems ( like using zipfiles as encrypted folders )or just a quick and dirty file packaging method. Is anyone aware of any other kinda game file packaging , kinda like the ones the big guys use.

Jayanth.K
Raptor Entertainment Pvt. Ltd.
http://www.raptorentertainment.com

Share this post


Link to post
Share on other sites
Hey Thanks a lot for those. I have decided to look into the VFS system in flipcode to make a file package for our game. besides thanks a lot for your comments on our work, we still have a round of development left to go before beta and we are sure we will improve the game a lot. i will be changing our website completely since its almost 2 yrs old. ( photshop 5 days )

Thanks Again

Jayanth.K
Raptor Entertainment Pvt. Ltd.
http://www.raptorentertainment.com

Share this post


Link to post
Share on other sites
I saw something called MoleBOX. great tool, it takes the exe file and packs the rest of the data files into a single large compressed/encrypted file and modifies the exe file to call thru its hack of the WINAPI calls so that the files are routed through its file chunk.

Sad part is i needed it urgently and i cant seem to be even able to buy the software. ( priced $99 ) but i havent been able to get it. he''s not around and the phone numbers on his website are not associated with the company. Are there any similar packages aruond? i have heard of TeraPak and ICS-Packer but i dont seem to be able to find them around. did a lot of searching.

Later

Jayanth.K
Raptor Entertainment Pvt. Ltd.
http://www.raptorentertainment.com

Share this post


Link to post
Share on other sites

  • Advertisement