Jump to content

  • Log In with Google      Sign In   
  • Create Account


- - - - -

Zip file loading with TEA


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
7 replies to this topic

#1 EddHead   Members   -  Reputation: 140

Like
Likes
Like

Posted 12 March 2004 - 06:41 AM

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

Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3231

Like
Likes
Like

Posted 12 March 2004 - 07:13 AM

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

#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 15 March 2004 - 07:41 AM

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.

#4 Andreas Jonsson   Moderators   -  Reputation: 3231

Like
Likes
Like

Posted 15 March 2004 - 12:40 PM

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

#5 EddHead   Members   -  Reputation: 140

Like
Likes
Like

Posted 16 March 2004 - 07:18 AM

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

#6 Andreas Jonsson   Moderators   -  Reputation: 3231

Like
Likes
Like

Posted 16 March 2004 - 10:44 AM

Take a look at the following links:

Programming a Virtual File System
Resource files explained
Inside MoPaQ - the archive files used by Blizzard

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

#7 EddHead   Members   -  Reputation: 140

Like
Likes
Like

Posted 16 March 2004 - 07:21 PM

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

#8 EddHead   Members   -  Reputation: 140

Like
Likes
Like

Posted 18 March 2004 - 10:09 AM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS