Little question about ZIP Archive...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
fatcat46
Posts: 23
Joined: Fri Apr 22, 2005 10:34 pm
Contact:

Little question about ZIP Archive...

Post by fatcat46 »

Hi All,
My little question is : Can i create or chage files in a ZIP Archive with Irrlicht? If yes, post a little exemple to show it, please.
Thanks. :P
:: Double K ::
Web Site Under Construction
(http://k.domaindlx.com/fatcat46)
Electron
Posts: 874
Joined: Sun Mar 14, 2004 12:05 am
Location: Massachusetts USA

Post by Electron »

not with irrlicht. Irrlicht uses zlib for reading zipped files. I do not know if zlib has write capability (check the links page to find a link to zlib). If it does (and I think it doesn't, but it might) it would probably be possible to expose the zlib interface in Irrlicht and allow writing. But that's all just conjecture. Currently it cannot be done
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.

Crucible of Stars
hybrid

Post by hybrid »

zlib has both read and write interface. But zlib does not offer zip archive functions. It can only compress one file each time. All archive handling is implemented within Irrlicht. Thus writing one file (similar to UNIX *.gz files) is easily done, for all other things you need some additional functionality to be implemented.
Post Reply