Yue Posted May 29, 2019 Share Posted May 29, 2019 It seems that the editor to distribute the game does not work properly. You have an option to mark that creates the package only with the resources you use, but it seems to send everything to the same package. So I have rebuilt my own package manually with a password and I have a much smaller zip file. Download Test Pawn Test Publish Manual.zip Quote Link to comment Share on other sites More sharing options...
gamecreator Posted May 29, 2019 Share Posted May 29, 2019 I'm curious how the engine now determines what you use. I thought it might have been mentioned on the forums before but I don't have time now to look into it. 1 Quote Link to comment Share on other sites More sharing options...
Yue Posted May 30, 2019 Author Share Posted May 30, 2019 The engine sends the package everything even if it is not being used in a scene. For example the water textures and their respective shaders. I also think that some libraries depending on the operating system are not necessary, for example virtual reality, but undoubtedly is hooked to the environment. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted May 30, 2019 Share Posted May 30, 2019 Hmm. I just tested this and the "only include used files" publish created a 44.5MB folder. The everything publish created a 54.8MB folder. So it's definitely doing something for me. However, the "only used" folder's zip file did include files that I definitely didn't use in the project. I'm not sure how Josh checks for this (hence my previous post) so don't know if this is a bug... but it doesn't act as you would hope. 1 Quote Link to comment Share on other sites More sharing options...
Yue Posted May 30, 2019 Author Share Posted May 30, 2019 If so, that package includes the Editor directory, things like the map editor icons and other elements like development textures. On the other hand if you create manually, having the professional leadwerks version, you save a lot of space in the final package, you can also create individual packages of each directory. I think that possibly some time ago, that option works correctly. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted May 30, 2019 Share Posted May 30, 2019 Yes, it's far from ideal. If I ever released a major version, I would definitely do it manually, like you do. 1 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.