Desperately need to unzip files in lua

Hi all,

I have an app that requires that files downloaded via IN App Purchase be unzipped. I know that Corona SDK doesn’t have zip/archive support. i have searched around and found a few Lua based unzippers (LuaZip, Lua-zip etc) but I’m not sure if these can be integrated into Corona?

Can anyone advise me on this? [import]uid: 61520 topic_id: 12767 reply_id: 312767[/import]

If Lua can do it, then you can use that in CoronaSDK, but keep in mind that there are a few commands that are not ported to CoronaSDK as it is sandboxed than implemented openly as Lua.

cheers

?:slight_smile: [import]uid: 3826 topic_id: 12767 reply_id: 46815[/import]

That sounds promising but I don’t fully understand. If I want to install lua-zip fpr example, then it looks as though I need to install Lua proper on my machine. How then do I integrsate this into Corona SDK? [import]uid: 61520 topic_id: 12767 reply_id: 47137[/import]

Request was been submitted to Ansca some time back in forums. Apparently it’s on their to do list.

None of the LUA libraries I’ve been able to find can do it. They either require external C modules or execute a binary.

I’m desperate for it too, would make packaging downloaded content so much easier… [import]uid: 11393 topic_id: 12767 reply_id: 47141[/import]

if anyone is game, there are libraries in Python, javascript, VB etc that do Unzip/Zip so it can be ported to lua without using C.

The biggest challenge is the Decompression and the creating the tables that would slow down in LUA, but Carlos enjoys a real challenge, if he takes it up, we will have ZIP/UNZIP in the next release,

right Carlos,

cheers,

?:slight_smile: [import]uid: 3826 topic_id: 12767 reply_id: 47143[/import]

Its definitely on Carlos’ roadmap, and it’s good to see a few people would like it. However, there is no way of telling when it will be added so until then I will need to keep looking for an alternative. If anyone does understand whats required and fancies giving it a go, let me know if i can help in any way (like moral support and encouragement).

:slight_smile: [import]uid: 61520 topic_id: 12767 reply_id: 47150[/import]

Has anyone found a work around? We desperately need it for our game as well… Thx!
[import]uid: 41124 topic_id: 12767 reply_id: 55527[/import]

+2 for this. Dont know if anyone has found any kind of workaround or any Lua library we can use, would be of great use!! [import]uid: 76592 topic_id: 12767 reply_id: 78072[/import]

i am also looking for this maybe every one can bump this thread with a +1

http://developer.anscamobile.com/forum/2011/01/07/corona-zipunzip#comment-84307 [import]uid: 89663 topic_id: 12767 reply_id: 84308[/import]

a solution has been found for unzipping(untar) works well give it a try :slight_smile:

http://developer.anscamobile.com/forum/2011/01/07/corona-zipunzip#comment-84307 [import]uid: 89663 topic_id: 12767 reply_id: 93151[/import]