i cannot figure out zlib

i cannot figure out zlib

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

i cannot figure out zlib

Post 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?
User avatar
Ishach
Posts: 1670
Joined: 02 May 2006, 06:44

Post by Ishach »

why dont you make a thread about it
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Post by det »

.sdz = .zip
.sd7 = .7z

You can use any program capable of creating these file types to create the corresponding archive.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post 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?
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

Your better of using 7-zip and saving your map as a .sd7 format.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post 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.)
User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Post 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
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

so just .zip it and rename to sdz.
Post Reply

Return to “Map Creation”