OpenGL tidbits

Sunday, March 13, 2005

Out of the Loop....

Dang....

It's only been a week since I last worked on the VFS code and I'm already unfamiliar with it. Guess I need to take some time to sort it out again. There seems to be some memory issues with deleting a file. I'll have to take a closer look into that. For now, I think I'll let it sit a bit overnight. Been thinking about implementing a few more features.

For one thing, I need to be able to recognize the version of the VFS that was created by the VFS Generator. I may do version changes later and it would definitely cause problems if the versions weren't right, since it'll mess up the data if the format has been changed. Also, been thinking about ways to build directory structures within the VFS. Thinking about folding trees and etc, but the sticking point is how the structure is saved along with the filename. It would be nice if I could just save directory structures directly into the VFS files and not have to rely on a index file, but that has some strange issues with itself, since it effectively increases the storage overhead. Was thinking about just storing a md5 hash of the file name + path, but then retrieval would mean I'd need to undo the hash to know what's stored there, and I'd still need an index file. So....all I can say now is.......dang it......

0 Comments:

Post a Comment

<< Home