Jump to content

set zip password


Rick
 Share

Recommended Posts

Earlier it worked so that you could only set the zip password for the first pak file you load.

I don't know if this bug has been fixed, and if not, then it should still work that way.

So you can only have the first pak file encrypted, all others must be without password.

You set the zip password seperately for each pak file, and you can set the zip password for multiple pak files in a row, if the bug has been fixed.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

I only have 1 pak file at the moment for testing purposes. I just zipped up 1 model and it's scripts, textures, & materials and gave it a password then renamed it to pak, but I get Zip data error on the console when loading them.

Link to comment
Share on other sites

Well you need to make a systematic test, which can be used as bug report for Josh then also, by adding each component of the model one at a time and see where it breaks.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

I can't seem to get that working. The .pak file reads in fine without a password, but with a password I get Zip data error with that syntax. I place it right after the Graphics() call.

 

The way I make the password is right click the .zip file and select explore. Then from the file menu there is a set password command. Not sure if there is another way or that's wrong or something.

 

SetZipStreamPassword("Swat.pak", "password");

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...