Hey,
@Eliaquim .
1. The tool doesn't work with games that are deployed to mobile. The compiler coming with nwjs SDK (which my tool wraps around) is designed to only work on Desktop.
2. The --SetCompression command line argument adjusts the compression applied to the archive when the game files are compressed (setting the --CompressProject argument as well, which creates an archive named package.nw). It follows .NET Standard's API setting. So:
- Optimal is compressing the archive as best as possible, but it takes the longest to decompress.
- Fastest compresses the archive quickly but the space savings are smaller. Although it's faster to decompress than the optimal compression.
- No Compression doesn't apply compression to the archive at all. It's like you've never compressed it. This provides the fastest decompression but the archive will be just as big as the project before compressing it to an archive.
Now, which compression you'll choose which is up to you. If nwjs sees the package.nw, it will decompress it to a temporary folder before starting the game (on Windows, at least), which will cause some delay at startup. The more compression is applied, the more time it takes to start the game up.
Thank you for your answer!
I managed to make it work. However, I have a problem. When I try to test any game by the rpg maker mv editor it shows me this warning:
"An error has occurred in your profile
Your profile can not be used because it is from a newer version of NW.js. Some resources may not be available. Specify another profile directory or use a newer version of NW.js."
Even so, I can make it work. But there are two errors ocurring:
1 - The image has a small black bar on the sides. Really small.
2 - This plugin no longer works. It enabled me to add some lights on the map inside the editor, now it does not open anymore.
https://forums.rpgmakerweb.com/index.php?threads/lighting-and-time-editor-continued.86409/
I had already had this problem when I upgraded nwjs following this post:
https://forums.rpgmakerweb.com/inde...upgrade-nwjs-and-chromium-67-68-64bits.96908/
But, to fix the problem, i have to format my computer.
I though that the changes will be only applied to the project itself, but applied to all =/
I don't want you to solve the problems, because i figure it out that i only have to rollback to the older version of nwjs.
How can i do that?