View Single Post
Old 11-26-2008, 01:02 AM   #1
TerminX

TerminX's Avatar
EDuke32 snapshot thread
Here's a new snapshot, featuring the awesome new texture caching system I wrote when I was baked last night. The "texcache" dir is no longer required as I've instead opted for a single file approach. This gives a huge boost to both read and write performance as we can take advantage of any I/O buffering going on (and we always have the file open and ready for use) whereas previously, we were forced to flush the I/O buffer when opening and closing each individual cache file.

Since it's a new system there are still a few problems but there appears to be nothing major wrong with it. You might get the occasional texture that ends up in the wrong spot but that's easily fixed by restarting the game. Comments I've got on test builds I've sent out have been along the lines of "those loading speeds are godly" and "It seems like once the texture lands in your humongous cache file, it then loads at near Quake 3 speed", but YMMV.

Test it out now!

Edit: this thread is now for snapshot discussion only, please create new threads with the prefix [EDuke32] for valid bug reports, coherent requests for new features, et cetera. If something is obviously wrong with just the last couple of snapshots, post about it here, but if there's a bug which occurs in several versions, make a new thread.
Last edited by TerminX; 11-26-2008 at 06:56 PM.
TerminX is offline