Advertisement

Compressing Game Files

Started by October 19, 2000 01:20 PM
4 comments, last by jollyjeffers 24 years, 3 months ago
hi, I''ve gotten so far with my project only to find that the lighting map required is between 1-2 mb.... considering that I want to have 10-50 levels in the game, and there are more parts than the lightmap this is not a good thing.. Also, I dont have the time to do any personal research into developing a compression routine... could someone please point me to somewhere I can download a DLL/control that''s freeware to compress a file.... all I need is something like: File = Compress(Data); and Data = DeCompress(File); Is there anything this simple around? please help me Jack;

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

use zLib. it''s really easy to use and quite efficient on bmp files

rid
Advertisement
hi;

they aren''t actually bitmaps - just lots of Hex numbers....

As for Zlib - any starting points? URL?

cheers;
Jack;

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

hi;

they aren''t actually bitmaps - just lots of Hex numbers....

As for Zlib - any starting points? URL?

cheers;
Jack;

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

zlib can be found at:
ftp://ftp.freesoftware.com/pub/infozip/zlib/

zlib can compress and uncompress buffers in memory, as well as read and write gziped files.
Cheers;


<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

This topic is closed to new replies.

Advertisement