Rick Posted January 28, 2012 Share Posted January 28, 2012 My game path is /TheWorld/TheWorld.exe I have assets in /TheWorld/Assets/ I'm trying to zip up and password protect my assets in groups because I've made an auto updater and seeing as how assets are the biggest files I don't want to simply update one giant asset file. I'd refer to only update the ones I changed. So I'm testing this out with some cursors I've made. I had a /TheWorld/Assets/Cursors folder. I zipped this up, password protected it, changed to cursors.pak so now I have /TheWorld/Assets/cursors.pak. This doesn't work and errors out when loading one of the textures in it. If cursors.pak is at the games base directory /TheWorld/ it works, but I don't want it there. I'd prefer it be in the Asset folder. How would I do that? I kind of figured since when using abstract::cursor.dds to load and it finds it no matter where it is under the folders the exe is in, that pak files would work the same way. Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted January 29, 2012 Share Posted January 29, 2012 If cursors.pak is at the games base directory /TheWorld/ it works, but I don't want it there. I'd prefer it be in the Asset folder. Well, put it in the Assets folder, just don't be so secretive about it, tell Mr SetZipStreamPassword that is where you put it. SetZipStreamPassword( str url, str password ) Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Rick Posted January 29, 2012 Author Share Posted January 29, 2012 Assetsdata.pak Bah, didn't even think of that. Spoiled by abstract I guess. Thanks. Quote 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.