Page 1 of 1

i cannot figure out zlib

Posted: 04 Aug 2007, 04:59
by hunterw
tryin to use zlib to make an .sdz for a new map, but zlib is utterly confusing

it comes with the least helpful documentation of any program i've ever seen, but calling it a program is a stretch because all i can find that it has installed is a .dll

wtf is going on with zlib and how do i use it?

Posted: 04 Aug 2007, 05:27
by Ishach
why dont you make a thread about it

Posted: 04 Aug 2007, 07:35
by det
.sdz = .zip
.sd7 = .7z

You can use any program capable of creating these file types to create the corresponding archive.

Posted: 04 Aug 2007, 13:13
by rattle
zlib is a library, hence the lib. You can use the classes, methods, functions etc. it provides in your own app for all your compression needs.

What were you trying to do with it anyway?

Posted: 04 Aug 2007, 13:50
by genblood
Your better of using 7-zip and saving your map as a .sd7 format.

Posted: 04 Aug 2007, 14:21
by imbaczek
zlib is a library, you don't use it on your own. programs use it. just zip up your map (or 7zip it to a zip instead of 7z.)

Posted: 04 Aug 2007, 14:38
by hunterw
Spring also supports reading from zlib zip and non-solid 7zip files. The filenames for these compression types must be .SDZ for zlib and .SD7 for 7zip respectively.
from wiki

is zlib just regular .zip then with no bells and whistles? i don't think so since it was released in 95...

all i really want .sdz for is the faster load time

Posted: 04 Aug 2007, 14:44
by imbaczek
so just .zip it and rename to sdz.