[UpdateVersion] Package zip file and update.
by orsteam · in Torque Game Engine · 01/05/2012 (5:59 am) · 1 replies
Is there any body know how to update game version by VFS.
I package game resources file by ZipArchive (*.zip). for example directory shapebase(>500MB), I package it with shapebase.zip, and game.exe can load the shapes from this zip file successful. But next time if i want to modify some model files or add some model files in this directory. how can i update this zip file(shapebase.zip) ,not rezip this directory file(shapebase),as its size is so large that transfering to client from net very slow.
I want to implement the update directory like this: shapebase.zip, shapebase1.zip, shapebase2.zip, shapebase3.zip; when client run,The load resources function[ResManager::searchPath()] will load file by order. and replace old resources file with new resources file.Is there any problem?
Anybody has a good idea?
I package game resources file by ZipArchive (*.zip). for example directory shapebase(>500MB), I package it with shapebase.zip, and game.exe can load the shapes from this zip file successful. But next time if i want to modify some model files or add some model files in this directory. how can i update this zip file(shapebase.zip) ,not rezip this directory file(shapebase),as its size is so large that transfering to client from net very slow.
I want to implement the update directory like this: shapebase.zip, shapebase1.zip, shapebase2.zip, shapebase3.zip; when client run,The load resources function[ResManager::searchPath()] will load file by order. and replace old resources file with new resources file.Is there any problem?
Anybody has a good idea?
Associate Michael Hall
Distracted...