Game Development Community

Unable to read atlas from zip

by Bill Vee · in Torque Game Engine Advanced · 02/05/2008 (6:59 pm) · 1 replies

I was trying to zip up my atlas terrains to try and reduce my overall asset size and discovered atlas files cannot be read from a zip file.

This is the relevant part of the console log.

Quote:
AtlasDeferredFile::initSream - failed to open 'starter.fps/data/terrains/moon.atlas'! aborting...
AtlasFile::load - cannot open atlas file 'starter.fps/data/terrains/moon.atlas'.
Fatal-ISV: (..\engine\atlas\core\atlasDeferredFile.cpp @ 177) AtlasDeferredFile::start - no stream!

Compressed atlas files would be very helpful.
The atlas files I was trying to compress went from 97 megs to 26 megs.
Pretty impressive ratio.

#1
02/05/2008 (7:35 pm)
Would be a nice addition but I am not sure how feasible that would be. As you are going to get alot of overhead from decompressing the file out of the zip file. Then it will need to be held in memory as things are consistently being streamed from it. Wouldnt be that feasible to have to decompress it everything the player moves abit and a new area of the terrain comes into view.