Package/WAD/ZIP TGE directories?
by Robert Rose · in General Discussion · 12/16/2007 (1:00 pm) · 5 replies
It looks like when people ship a TGE/TGEA game they just deliver png/dso/etc files in the same directory structure used during development (minus the cs files). Even Marble Blast has all of the dso files there, ready for people to inspect. (I have no idea how reversible dso files are, but I imagine its possible).
Is there a system for wadding/zipping/packaging these directories into a single file? Does Torque's resource manager support this kind of thing?
Is there a system for wadding/zipping/packaging these directories into a single file? Does Torque's resource manager support this kind of thing?
#2
The zip should be the contents of the mod folder. That is, the files in the top level of the mod folder itself should be loose in the top level of the Zip. You can have both a normal folder structure and also a zipped structure if you want.
12/16/2007 (5:32 pm)
If the resource manager finds a file named "MyMod.zip" in the top level (the "working directory" where the games exe is), it will treat it just like a normal folder directory structure. The name of the Zip must be the name of the mod. The zip should be the contents of the mod folder. That is, the files in the top level of the mod folder itself should be loose in the top level of the Zip. You can have both a normal folder structure and also a zipped structure if you want.
#3
My next question was going to be about implementing encryption, but it looks like a few folks already had the same idea:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12492
(however I would like something much less complicated than this resource..)
Good to know the support is there though.
12/16/2007 (5:36 pm)
Very cool. Thanks all.My next question was going to be about implementing encryption, but it looks like a few folks already had the same idea:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12492
(however I would like something much less complicated than this resource..)
Good to know the support is there though.
#4
Check it out:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=9757
12/16/2007 (7:55 pm)
I added the CipherLib resource to my TGB project last night, it only took a few hours including writing in DTS support. It seems to be working great. I was considering a large encrypted .zip, but I think many encrypted files are easier to work with, and probably more annoying for anyone looking to remove the encryption.Check it out:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=9757
Torque Owner Mike Rowley
Mike Rowley