I saw some threads about this problem, but still cant find clear solution.
Okay, lets rock:
1) Created new project with Project Wizard in "Z:/fps", launched - thats ok.
2) Change AbstractPath to
RegisterAbstractPath("Z:/fps");
Launched - get a crach - thats ok.
3) Moved shaders.pak to Z:/fps - now i get level without textures - thats ok.
4) Created folder Z:\fps\Content\ and moved there
Now i got normal level... you saw that picture hundreds time, so i wouldnt post it here
5) Now i zipped Content folder with "Store" method (also tested "Normal" and "Best" they all works fine) and without passwords. Important thing is to check ZIP format to archive. Rename Content.zip to Content.pak - this works nice.
6) Last step is to make new Content.pak with password. I made it with password "12345", then i add in engine
SetZipStreamPassword("Content.pak","12345");
And it works ok again.
7) Last step is to test different passwords for different archives.
I make pak1.pak with cobblestones.dds and cobblestones.mat with password "12345"
and pak2.pak with cobblestonesdot3.dds with password "123456"
Next is to add
SetZipStreamPassword("pak1.pak","12345");
SetZipStreamPassword("pak2.pak","123456");
And it works ok.
PS: this post is written in step-by-step style, i hope this will clear up for others in a future(when this "manual" will be finished), how to work with packages.
PPS: ONE MORE IMPORTANT THING: path should be "../Content", not "..\Content"