Problem with a packer script

BlitzMax Forums/BlitzMax Programming/Problem with a packer script

Hi all

I am making some tests with this script
http://www.blitzbasic.com/codearcs/codearcs.php?code=2061

And when i pack resources everything goes well, but problem is when I make a pack with more than one ogg. When I try to load any ogg of the pack always load the first one that i packed.

Anybody can help me to fix this?
Thank you

No body can help? :/

I suspect that is a bug because it works with wav files

Have you looked at this: http://www.blitzbasic.com/codearcs/codearcs.php?code=2249 ??

It's OOP and a lot better code-form.

P.S. BlitzMax is not a scripting language (we don't use scripts! :P).

Oh Thanks a lot! I think i will finnally use this one, but the problem is that i was working with the other for a long time a now i have to change a lot of things ._.

Well that pak script is remarkably simple, it shouldn't be to difficult to use. Its pretty much just load the pak file at the start of your game, then whenever you open a stream/load an asset just prefix "pak::" to the url.