Game Development Community

Packing Client Data

by Daniel Harris · in Torque Game Engine · 08/20/2002 (10:11 am) · 3 replies

Looking through the docs, I have not been able to find an answer to this. Is there already a way in torque to extract on the fly a "bundle" of files?

I am looking at a way to have the same thing as WAD files were in Doom/Doom2, where everything for a mission is packed together in 1 file.

Also, is there a way to precompile scripts and have the client read those without having the original script file there? I am currently using the latest Release (not HEAD) off cvs.

About the author

Recent Threads

  • Offline Documentation

  • #1
    08/20/2002 (10:20 am)
    Torque has zip file support.
    #2
    08/20/2002 (12:41 pm)
    For scripts you just need to leave the compiled versions and just (re)move the actual scripts, and that will work. The only file that I know of that is never compiled is the main.cs file that's located in the same directory as the executable file. I do not know if there is a way to enforce a compile on the main.cs file.

    I hope that helps you out.
    #3
    08/20/2002 (2:34 pm)
    Thanks. Is there any docs on the zip file support? I am probably missing it when I look through the docs.