Game Development Community

Zipping individual files instead of folders

by Flybynight Studios · in Torque Game Engine · 12/09/2007 (6:07 pm) · 2 replies

Anyone done this? Currently I have to zip the entire folder up. It would be nice for larger projects with thousands of assets to be able to zip up individual assets rather than folders for when the game needs to be patched. Downloading 200-400MB of assets every patch is not good :)

If anyone has done this or could help me with it please drop me a line.

Thank yas in advance.

#1
12/09/2007 (9:14 pm)
I suggest using a patching program or installer. I like NSIS, the NullSoft Installation System. It includes only the bits that change in the files. When doing this, the fewer files the easier it is. You can also create a patch that will patch several different versions to the current version. This can be convenient, but makes the patch larger.
#2
12/09/2007 (11:56 pm)
I'll check into that Matt thanks. I already have an excellent patching system though. Makes a lot more sense to me to figure out how to pack individual files than to start patching bits of info into the zip. I'll look into it but that technology seems like it might be a little much.

I'm currently using Vince Gee's patcher and it's exceptional. it actually does a checksum on all of the project files against a patch server and patches any variant files. Not only that but before it sends the files it compresses them all into a single batch download file so if a client had to patch 40 megs it might compress it down to 10-15 depending on the file types. What I'm trying to do with zipping individual files really shouldnt be too hard and it would integrate very well with what I already have.

Thanks for the info on the bit patching though. I'll check it out.

Mark