Koriolis zipstream incbin and password - help

BlitzMax Forums/BlitzMax Programming/Koriolis zipstream incbin and password - help

TaskMaster(Posted 2009) [#1]
I have been using the Koriolis zipstream mod.

I can read from a zip
I can read from a password protected zip
I can read a file from incbin
I can read a file from an incbin'ed zip

But, I cannot read a file from an incbin'ed password protected zip.

Has anybody had success in doing this with the koriolis.zipstream mod? And if so, any hints on what had to be done?


_JIM(Posted 2009) [#2]
Did a quick test and I think I found your problem :)

Normally, you would use

SetZipStreamPasssword("my.zip", "mypass")


But when you incbin the file, use:

SetZipStreamPasssword("incbin::my.zip", "mypass")


Problem solved! :)


TaskMaster(Posted 2009) [#3]
Nice, thanks!!!