RoyMD Posted November 28, 2015 Share Posted November 28, 2015 Hi, i have created a Project from the Marble Game Template for a Test in MS Visual C++ 2013, here my steps: main.cpp if (ext=="zip" || ext=="pak") { Leadwerks::Package::Load(file,"strongpassword"); } Ok after the changes in main.cpp i have compiled the solution and the Game runs in the Projectfolder, now i have create a folder "MarbleGame" with the MarbleGame.exe, lua51.dll and the steam_api.dll from the Projectfolder, the Assets are in seperated protected ZIP Archives like this: Fonts.zip Maps.zip Materials.zip Models.zip Scripts.zip Shaders.zip Sound.zip In the Archives are not the Basefolders (eg in Maps.zip is only the File "start.map" without any folders). And now the MarbleGame.exe doesnt run and output the Message: e:\MarbleGame>MarbleGame.exeInitializing Lua... Warning: Lua sandboxing disabled. Executing file "E:/MarbleGame/Scripts/Error.lua" Error: Failed to read file "E:/MarbleGame/Scripts/Error.lua". Executing file "E:/MarbleGame/Scripts/Main.lua" Error: Failed to read file "E:/MarbleGame/Scripts/Main.lua". Error: Failed to execute script "Scripts/Main.lua". e:\MarbleGame> Whats wrong, please? Quote You may say I'm a dreamer. But I'm not the only one. I hope some day you'll join us. And the world will be as one. (John Lennon, Imagine) Link to comment Share on other sites More sharing options...
Josh Posted November 29, 2015 Share Posted November 29, 2015 Why not just publish the project? It will be zipped up and encrypted automatically. 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...
RoyMD Posted November 29, 2015 Author Share Posted November 29, 2015 Hi Josh, I will write my own startsequence with a Video at the Gamestart, Loadingscreens on Mapchanges and other things in C++ (for my Games, this is a Test). Best regards, Roy. Quote You may say I'm a dreamer. But I'm not the only one. I hope some day you'll join us. And the world will be as one. (John Lennon, Imagine) Link to comment Share on other sites More sharing options...
Josh Posted November 29, 2015 Share Posted November 29, 2015 It will still work. 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...
f13rce Posted November 29, 2015 Share Posted November 29, 2015 It will still work. I can confirm this. I also use C++ and load assets like model = Model::Load("./Models/model.mdl"). After publishing your game, all of your assets are in a zip and password protected. Quote Using Leadwerks Professional Edition (Beta), mainly using C++. Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz Previously known as Evayr. 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.