[SDL] zzip and SDL_RWoops
Thomas.Eder at nmi.at
Wed Dec 11 03:03:00 PST 2002
Which version of zzip are you using?
I was able to include rwops/zzip-support for zzip 0.10.66
in my project (SDL1.2.5, W32, msvc6), but it wasnt easy.
To get it working, I had to recompile zzip + modify the
header files to get a DLL+LIB and be able to compile/link without
There are also some bugs in 0.10.66 (its a preview). But I think
the most important (for me) I was able to correct.
With earlier versions of zzip compiling seemed even more difficult
for me, so this was the reason I tried the 0.10.66.
If you want to give 0.10.66 a try, I can send some tips+fixes.
> ----- Original Message -----
> From: Federico Berardi <berardi at ssdfe.com.ar>
> To: <sdl at libsdl.org>
> Sent: Wednesday, December 11, 2002 10:37 AM
> Subject: [SDL] zzip and SDL_RWoops
> im trying to use zzip and SDL_RWoops to load a bmp from zip files but i
> i am using VS6 in w32
> i put SDL_rwops_zzip.h and SDL_rwops_zzip.c in my project... in
> my source code... y put #include "SDL_rwops_zzip.h" at the top and replace
> temp2 = SDL_LoadBMP("data/back.bmp");
> SDL_RWops *rw;
> rw = SDL_RWFromZZIP("data/back.bmp", "r");
> temp2 = SDL_LoadBMP_RW(rw, 0);
> its the only things that i want to do... i missing something? i am linking
> with the dinamic library of zziplib and zzip (zziplib.lib and libz.a)
> i think thats what i want to do is simple... but i can do it...
> any suggest?
> SDL mailing list
> SDL at libsdl.org
More information about the SDL