Loading from a .zip
by Robert DeMaria · in Torque Game Builder · 07/20/2006 (1:29 pm) · 2 replies
I have seen forum posts indicating that people have loaded their game assets from a .zip file. Unfortunately, I haven't found information describing how you actually do this. Could someone tell me how to do this, or point me to some information describing how to do this. Additionaly, I read that certain files could not be read from a .zip file and that this was planned to be fixed. Is this still true? If so, what types of files can't be read from a .zip file?
#2
07/20/2006 (4:57 pm)
Thanks. I didn't try this on particles or tilemaps, but it worked on all the assets that I needed to compress.
Torque Owner Philip Mansfield
Default Studio Name
To use a zip, zip up the contents of the directory, and then call the zip file the name of the parent directory. So you zip up the contents of the common directory and then call it common.zip.