martyj Posted August 22, 2016 Share Posted August 22, 2016 I'm having a hard time deploying my game as a stand-alone project. When I run the standard deploy, I get a "Bankstream overrun error" I tried creating my own zipfile with my own password using Package::Load(filename, password) The problem is, when I call Map::Load("Maps/grid1.map"), it appears to try to load the file from the file system instead of the asset package. Any idea on how I can deploy my project with an encrypted zip? Also what encryption does leadwerks use for the zip? AES or ZipCrypto? Thanks, Marty Quote Link to comment Share on other sites More sharing options...
gamecreator Posted August 22, 2016 Share Posted August 22, 2016 This is just a guess but have you tried doing Map::Load("grid1.map") and see if it finds it that way? Quote Link to comment Share on other sites More sharing options...
martyj Posted August 24, 2016 Author Share Posted August 24, 2016 That doesn't work at all. When the package loads, it has data. package->CountFiles() returns a correct value. Quote Link to comment Share on other sites More sharing options...
Josh Posted August 25, 2016 Share Posted August 25, 2016 I need a game to test to investigate this. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
martyj Posted August 25, 2016 Author Share Posted August 25, 2016 Test Project http://martyj.net/Curves.zip Test Deployment with Self-Zipped assets http://martyj.net/DeployTest.zip I am unable to get the Bankstream error from my test project, but here is the ZIP generated from my World Factions project http://martyj.net/data.zip Quote Link to comment Share on other sites More sharing options...
Josh Posted August 26, 2016 Share Posted August 26, 2016 You provided three downloads, and I think you are saying the error only occurs in the third one. However it does not include source code so I cannot easily run the project. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
martyj Posted August 26, 2016 Author Share Posted August 26, 2016 Sorry I guess I need to be more descriptive. I can be lazy at times and forget the details The first file. The project. The second File. Test Deployment with my own zip. The third file. Another zip that was giving me a Bankstream error on my World Factions project. The problem is at the moment mainly with the second file. When I have a published file, it tries to load the asset not from the virtual file manager, but from the file system itself. When I run Curves.exe I get this error You would expect this file to pull from the zip file. I have two Zip files in there. Data.zip uses ZipCrypto encryption format. DataAES.zip uses AES encryption. Both files don't work. Yet it says the Package::CountFIles() has a value of 154. I'll continue to test some things out some more with this in a couple of hours. I would really love to get this resolved this weekend if possible. I noticed the "publish" feature works with my test Curves project, but not my larger World Factions project. Thanks for looking at it btw. Greatly appreciated. Quote Link to comment Share on other sites More sharing options...
martyj Posted August 27, 2016 Author Share Posted August 27, 2016 So here is what I have found out so far. On the beta branch ------------------------------ If my published my game via Leadwerks: If the zip file is larger than I believe the size of a signed integer (2GB), the data.zip file will not load. If the project contains multiple exe files, it will make one of them a folder. Using Package::Load with a password does not work. If the zip file does not have a password, it works Publishing as long as I maintain a small zip file works on the BETA branch. * It would be nice to have an included folder, not by extension. I want to include everything in my UI folder such as png, jpg, but not all PNG, and JPG in my project. But I can live without For me I believe this may now be a low priority issue. Quote Link to comment Share on other sites More sharing options...
Josh Posted September 4, 2016 Share Posted September 4, 2016 Please provide one project I can run and produce the error with. Your description is all over the place. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. 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.