Meric Posted February 5, 2023 Share Posted February 5, 2023 How can I change the password of data.zip? I've been looking for a way to change this for one hour, but I couldn't. I need help Quote Link to comment Share on other sites More sharing options...
reepblue Posted February 5, 2023 Share Posted February 5, 2023 You can't. I normally zip my packages myself using 7z.exe via the command line, You can use a package list text file to only include the required assets. Here's an example using Windows Bash. SET %ZIP%="C:\Program Files\7-Zip\7z.exe" SET %PACKAGE_KEY_RELEASE%=1234 "%ZIP%" a -tzip data.zip -r @packagelist.txt -p%PACKAGE_KEY_RELEASE% And your packagelist.txt would look something like this: *.tex *.mat *.mdl *.pfb *.phy *.lua *.ttf *.shader *.map Then you use the password override in Package::Load() when loading it. auto pak = Leadwerks::Package::Load("path/to/zip", "1234"); Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
Recommended Posts
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.