Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Mulligan

Saving Levels

This topic is 5534 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When I save files made by my world editor, they tend to be around 1 mb at minumum. So I zipped the file and it reduced to 4Kb, which is insanely small (near 100% smaller than the origional). So is it good practice to have large files then run a compression algorithim on them once saved, and inflate them once loaded? Seems like kind of a brute force approach, but damn handy.

Share this post


Link to post
Share on other sites
Advertisement
I think it''s recomended from a technical point of view. Today games tend to be big just to support HW manufacturers. But I can say that decompresing 4KB file to a 1Mb data when running will not take time even on a slow computer. Unless you target speed on a 486, I say go for compression. I allways go for it. And if you plan to distribute this software, then allways less data costs less to transfer for consummers.
Pet.

Share this post


Link to post
Share on other sites
quote:
Original post by l3mon
Deus Ex had savegame files of about 16 megs... so don''t worry :D


Wow, that''s just insane .

Share this post


Link to post
Share on other sites
I would compress it if you can. Don''t worry making a perfect algorithm, but at least do something. Most of the space a game takes is from the resource files. ~1% ends up being actual code in most of the large games.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!