About Store Forum Documentation Contact



Post Reply 
Pak update /w compression???
Author Message
alkirah Offline
Member

Post: #1
Pak update /w compression???
Hi, I have a compressed, secured pak file using lzma (well the one from 7z I don't remember the exact name).

I have to make an update for it.

I uploaded my data to a server, patch exemple works, but when updating pak file, it stores it uncompressed, going from 340mb to 860mb.

No option in .h to get compression working for pakupdate.

Bool PakUpdate(Pak &src_pak, Memb<PakFileData> &update_files, C Str &pak_name, Secure *dest_secure=NULL); // update 'src_pak' by adding 'update_files' and saving the new Pak into 'pak_name'

Any way to update a pak and compress it at the same time?

Thanks

Edit: Also, having a way to start a thread with pakupdate and get a completion % value would be good since updating a pack takes times, so this way I can make a progress bar smile
(This post was last modified: 10-14-2011 04:10 AM by alkirah.)
10-13-2011 07:51 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Pak update /w compression???
PakUpdate will support compression in next SDK
10-14-2011 06:36 PM
Find all posts by this user Quote this message in a reply
Post Reply