David Culp wrote:
It would be possible to read the data directly from the archive
without ever extracting it. Adding an aircraft would then be as simple
as placing a file into a directory.


This sounds like too good an idea to let die. This way all the aircraft, including the default C172, can exist each in one archive. Even the -set.xml file could exist there.

Erik, do you have in mind a library of reading functions and which archive format to use? Since we already use zlib, would the archive be in tar format with each file compressed using z? The idea of reading each file directly out of the archive sounds better than unpacking the whole thing first into a temp directory.

Yes. It can be done using gziped tar files. We already support both so that shouldn't be a problem.

As far as the directory structure within the archive, it probably won't matter as long as the -set file is called "archivename-set.xml" and the paths are defined in it?

Paths are defined in it otherwise tar wouldn't be able to extract them into the right directory.


Erik



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to