Unzipping at runtime

For questions about using Classic.

Post » Sat Mar 29, 2014 5:28 pm

Hello guys,
I have a problem with unzipping files with my app at runtime... That **** just does not work :x , so I am doing something extremely wrong. Can anyone show me how to unzip files at runtime?
Dimus

PS: Oops... sorry for posting again, I accidentally deleted the previous post :)
B
2
Posts: 8
Reputation: 166

Post » Sat Mar 29, 2014 5:40 pm

What do you mean by unzipping files , if you are talking about .cap files then just double click on them and construct will load them .
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Sat Mar 29, 2014 6:31 pm

Well, let's see...
There's a zip file in a directory. I placed my program made in Construct in that directory, and wanted it to unzip the zip file into folder named as that zip :) .
B
2
Posts: 8
Reputation: 166

Post » Mon Mar 31, 2014 6:14 am

Using the Zip object I have no problem with these events:

+ System: Start of layout
-> ZIP: Open archive AppPath & "\Test.zip"

+ ZIP: Archive opened
-> ZIP: Unzip archive to AppPath & "\Unzipped\"

+ ZIP: Archive extracted
-> ZIP: Close archive

If they don't work as expected on your PC are you using Windows Vista by any chance? Or XP?
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
116
S
41
G
17
Posts: 2,204
Reputation: 19,545

Post » Mon Mar 31, 2014 5:27 pm

Thanks so much, finally it worked
No, I'm NOT using Hasta la Vista because it's pretty laggy :D
B
2
Posts: 8
Reputation: 166


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests