Page 1 of 1

Little question about ZIP Archive...

Posted: Mon May 16, 2005 4:48 pm
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

Posted: Mon May 16, 2005 7:25 pm
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

Posted: Tue May 17, 2005 8:07 am
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.