[SDL] Appending resources to .exe
Andre de Leiradella
leiradella at bigfoot.com
Wed Apr 4 19:13:46 PDT 2007
> IIRC, there's the same problem when trying to read TTF files using
> SDL_ttf, too. The problem is that when creating a SDL_RWops structure from
> an open file handle, you can't limit the SDL_RWops to a subsection of the
> file.
You're right. I do essentially the same thing, but with on-the-fly decompression using bzip2. But one thing that really bothers me is having to extract MP3 files to the file system with the .mp3 extension to be able to have SDL_Mixer read it.
If someone could give me or point me to some tips about MP3 files (i.e. header structure, file signature if any) I could try to change the MP3 detecting code on SDL_Mixer...
Cheers,
Andre
More information about the SDL
mailing list