irrklang playing sound from archive?
irrklang playing sound from archive?
Well, im using rar files for media, can irrklang load and play sound from such archive? How?
like I said..
Does Irrlicht have built in zip exporting support?, well I'm not sure but it does open a zip, so its possible.
So I guess your question now is. "Can I extract a zip file to a temp directory?" May need to start a new topic as this heading is now misleading
However I dont think its a very on common question. Zlib could handle this. Irrlicht does not limit you to its SDK you can use other libs you know.
in other words. You have to extract them to a temp dir first, like Call of duty does, or ( the alternative ) will result in problems.You would have to use Zlib and extract it to a temp dir, or your may run in to a lot of problems.
Does Irrlicht have built in zip exporting support?, well I'm not sure but it does open a zip, so its possible.
So I guess your question now is. "Can I extract a zip file to a temp directory?" May need to start a new topic as this heading is now misleading
However I dont think its a very on common question. Zlib could handle this. Irrlicht does not limit you to its SDK you can use other libs you know.
well, temp directory might not be needed, but extracting to RAM is (or, to be superkinky, streaming extraction might work too in some cases like BGM).
but as for irrklang, you have to find out how that works. i just seem to remember it was somehow possible to pass file handles to irrklang, virtual ones too.
but as for irrklang, you have to find out how that works. i just seem to remember it was somehow possible to pass file handles to irrklang, virtual ones too.
Did you ever try to zip a mp3 file?Malgodur wrote:Well... games like CALLOF DUTY store sound files COMPRESSED in pk3?
I just did
You can probalby save a few kilobytes by doing so.
To give you an example:
5226299 bytes before compression
5213434 bytes after compression
this makes a difference of
12865 bytes or 12.5 kilobytes or 0,2%
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
Re: irrklang playing sound from archive?
Hi there... I'm just trying to do the same thing, but without any visible, or either audible result.
I'm discussing a possible workaround with CuteAlien in an another forum topic:
http://irrlicht.sourceforge.net/forum/v ... =1&t=52464
I'm discussing a possible workaround with CuteAlien in an another forum topic:
http://irrlicht.sourceforge.net/forum/v ... =1&t=52464