SDL_mixer-zip file

SDL 1.2.5
SDL_mixer 1.2.5

hi i’m currently using zziplib for reading image files from zip files.
i’ve just tried to load a wav file using SDL_Mixer and it didn’t work.
but it’s okay when I try to load a file from a normal directory(not loaded
from a zip file)

could you tell me the problem?------------------------------------------------------------------
Virus taramasi Vexira AV programi kullanilarak Is Net tarafindan yapilmistir.
This e-mail is checked by Is Net against all known types of viruses using Vexira AV.
Is Net’in en ucuz saatlik kullanim paketi Teneffus.Net’i ve en ucuz sinirsiz erisim paketi Taksitli Ekonet’i duymus muydunuz?
http://www.isnet.net.tr/teneffusnet/
http://www.isnet.net.tr/taksitliekonet/

COSKU BAS schrieb:

SDL 1.2.5
SDL_mixer 1.2.5

hi i’m currently using zziplib for reading image files from zip files.
i’ve just tried to load a wav file using SDL_Mixer and it didn’t work.
but it’s okay when I try to load a file from a normal directory(not loaded
from a zip file)

could you tell me the problem?

You tell us.

I am sorry to the SDL list that I am going to put some stress
on Cosku in public but I have had some e-mail exchange about
zziplib problems where I did ask him to update his way to describe
a problem in a way that a developer can get an idea of what’s
going wrong. It does not look that he has learned a lot however.

And so we go again, Cosku, please write

  • the operating environment (some windows version, right?)
  • what variant SDL packages (msvc? mingw?), packaged or
    compiled yourself?
  • which version of zziplib
  • an example how you ask the mixer to load the file
  • an explanation of your findings what did gone wrong,
    like checking return codes from calls (!!).
    A thing like did not work can be a lot under the hood,
    like not finding the file, or errors during decompression.
    It is about you to narrow down the problem area, we like
    to cooperate simply to find bugs in our software but please
    do some work on your side as well. Or go and pay someone
    to do the work for you, someone to do the investment of time
    and energy to track down the problem.

thanks, guido http://zziplib.sf.net
P.S. read http://www.catb.org/~esr/faqs/smart-questions.html
and please update your clock settings, I did tell you twice!

COSKU BAS wrote:

hi i’m currently using zziplib for reading image files from zip files.
i’ve just tried to load a wav file using SDL_Mixer and it didn’t work.
but it’s okay when I try to load a file from a normal directory(not loaded
from a zip file)

are you trying to load the WAV as music? SDL_mixer does not support
RWops for music, it will only work with filenames. it should be able to
work creating a regular Sound. what do you mean by “it didn’t work”?
does it not compile? crash?