Advertisement

Loading Zipped Files with SDL

Started by December 21, 2004 11:21 AM
11 comments, last by wyrzy 20 years, 2 months ago
Quote:
Original post by Think128
Isn't loading things from a zip file slow?


Repeated yes, as is loading anything repeatedly. The trick is to load once and store into memory. Other than that, not really - loading via .dll's are said to be slow, but you can't really tell the performance difference. Now if you had a huge zip file - you would need an optimized system, but as before, if you have a huge files to begin with - your not adding too much overhead.
Quote:
Original post by Think128
Isn't loading things from a zip file slow?

It adds about less than a half a second *EDIT*for my game*EDIT*. I have over 26MB of game assets, but I only load about 8MB on start up. I've heard that Quake III loads from .zip folders as well, as the pak files are just a .zip folder with the name of the extenstion changed.

This topic is closed to new replies.

Advertisement