Game Development Community

Files/Archives question

by Michael R. Chiaramonte · in Torque Game Engine · 06/23/2005 (8:04 pm) · 4 replies

Hi all!

I currently work for a small game development company that's considering using Torque in a project we have recently started and I have a quick question that someone may be able to answer. I'd like to know if there's any way to use Torque with an archival file format, rather than just having the files strewn about a directory structure. This is important to me because I'd like to be able to update content by having the user download a single file, not just download a .zip file or some other archival file and extract all the files into the right place. I can't seem to find any publicly available documentation about this so any help/information would be greatly appreciated.

Thanks!

Mike

About the author

Recent Threads


#1
06/23/2005 (8:15 pm)
Hrm,...there was recently a resource posted (http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=8040) about this, but I remember there an even older one a while back, which i had considered using...
#2
06/23/2005 (8:52 pm)
Josiah,

Thanks but this is not exactly what I meant. It's not a matter of simply retrieving files from a server. That part is simple enough. The key part of my question (and maybe that wasn't clear) was the ability to store all my game-related content in a single archival file that can be accessed by Torque, not just a bunch of files. For example, I'd like to have all my textures in a single file. Currently, our own development code accesses individual files for the models, textures, scripts, etc. However, we planned on eventually creating a package structure that would be used to keep the content organized. So, all of the aforementioned files would be contained in a single file (for example, Quake 3 used .pak files, or something similar). Any ideas?

Thanks,
Mike
#3
06/23/2005 (9:20 pm)
Mike,

Torque has built in support for .zip files. You can have all your files within the .zip or any combination of raw and archived files. You can run with all raw files during the development and then put them into a single final file just before you deploy.
#4
06/23/2005 (10:55 pm)
Michael,

Thanks so much for your reply. I was hoping that this was the case.

Take care!
Mike