I'm making a project with literally no graphics, no sound effects or music, with the project folder taking up 6-7 MB only. Why does RPG Maker MZ insist on putting out huge ass files on deployment? The game won't even launch when deleting the useless stuff that got nothing to do with my game.
Why does my 7MB project deploy as a 255MB game?
RPG Maker MZ SupportBecause the standalone deployment has to include the application that runs the game. In this case that's a Chromium browser (NWJS).
It doesn't even run on browser, so what's the point? It still doesn't explain why the nw.dll file is 145MB. RPG Maker 2003 was able to put out games without taking up more space then it needed, why can't RPG Maker MZ?
It does run in a browser. It's called NWJS and that is a skimmed version of chromium.
RPG maker MZ makes games in javascript, but javascript itself does nothing. It needs a program like a browser to run in. In this case that is NWJS.
RPG maker MZ makes games in javascript, but javascript itself does nothing. It needs a program like a browser to run in. In this case that is NWJS.
Except that it doesn't because the browser doesn't read local files.
that is just a security restriction, one that has been removed from the included browser.
RMMV and RMMZ are creating HTML5-based games, they CANNOT run without a browser.
your 7MB are only the data, without the engine - the rest of the 250MB are the engine that you need to run the game.
ALL older makers needed the engine added to their game data before they could run.
in some cases that engine was just smaller because it had less features - RM2K(3) for example could not add scripts or plugins, so it needed less of an engine to run everything.
It does, RMMV and RMMZ requires a sort of a browser to run, you can delopy a proyect to a browser directly and basically you don't need this, but on a stand alone perspective, the deployment does add a "browser" so that it can be played. Now it is not a browser like Edge, Firefox, Opera, etc, is not like that, is a sort of a version of a chrome one. Even when you play test using the editor, it runs a browser to execute it, it's just that doesn't have url text field, or the reload, back or foward buttons, or bookmarked pages, it's only the bare minimum of a browser to execute the game.
It runs in the browser that is part of your deployment. That is all those extra MB you were asking about.
If you want to run it in an actual browser, you'd have to upload your game as a HTML game to a server. Then people can play it without downloading. In this case you can deploy your game as a HTML game and all the extra stuff would be skipped. No browser will be included.
---
If you're game is really 7mb, then I would highly recommend it as a browser game, if you plan to share it for free. Those little games are real smooth as a browser game. There are a hand full of services where you can upload your game, and then by just sharing a link, your friends can play the game directly in their browser.
You can, (also just by sharing a single line of code,) make the game run on your own website, weblog or any other place where you can use HTML. This is by the way a good way to make money with your games. Simply embed the game to your website/weblog, put 2 google ads at the bottom of the screen. Congratulations, you just started making money with your free game.
The return is probably very, very low. But it is more than nothing. And the more you get people to play your games, the bigger that pay becomes. Specially if you host multiple little games instead of 1 big game.
The return is probably very, very low. But it is more than nothing. And the more you get people to play your games, the bigger that pay becomes. Specially if you host multiple little games instead of 1 big game.
Uploading your game can be tough if you know less then nothing about servers. No worries, there are great services out there that can perfectly handle this for you. I use itch.io myself, but gamejolt can do this too. And those are just the 2 that come to mind. I think everything I say next is true for gamejolt too, but I can only be sure about itch.
When your game is uploaded correctly to itch, you can share it publicly, so everyone on itch can find and play your game on the itch website. Or you might choose to share it privately, so only those with the link can play the game.
You need to share publicly if you want to embed the game to your own website or weblog, though. You can easily find the embed code in your itch dashboard and share that code on your website.
When your game is uploaded correctly to itch, you can share it publicly, so everyone on itch can find and play your game on the itch website. Or you might choose to share it privately, so only those with the link can play the game.
You need to share publicly if you want to embed the game to your own website or weblog, though. You can easily find the embed code in your itch dashboard and share that code on your website.
If you want to make money with google ads, I highly recommend using blogger to make your website. Blogger is the weblog service by google. If you have an android phone, a gmail adres or a youtube account, then you already have a google account.
Since blogger is by google, adding google ads to your weblog is just a matter of flipping on a switch. You're already on a google account, so everything is linked up.
Remember I said your pay will be bigger with multiple smaller games? If you make more games, and post those on that weblog, they will all be there forever (unless you remove them). And under each of your games there will automatically be 2 ads. And under every update you post about it too. So every time you tell your audience about a new character, or post a screenshot, there will be 2 ads at the bottom of your page. (Or on the top if you want to make more money. It's your website, you choose what goes where.)
Another nice thing about blogger is their cookies policy. When your website runs, google will ask your visitors for permission for cookies the first time. And I might be mistaken, so look this up before you actually start with ads, but I am only 98% sure those warnings include permission for cookies used by ads. It is a law to have those cookie warnings (at least in Europe it is, not sure about US) so it is nice that you don't have to worry about those. Making your own cookie warning is just a pain in the sitting area.
So, yeah... If you want to make money with your browser game, do it with blogger. It is as easy as setting up a facebook account.
Since blogger is by google, adding google ads to your weblog is just a matter of flipping on a switch. You're already on a google account, so everything is linked up.
Remember I said your pay will be bigger with multiple smaller games? If you make more games, and post those on that weblog, they will all be there forever (unless you remove them). And under each of your games there will automatically be 2 ads. And under every update you post about it too. So every time you tell your audience about a new character, or post a screenshot, there will be 2 ads at the bottom of your page. (Or on the top if you want to make more money. It's your website, you choose what goes where.)
Another nice thing about blogger is their cookies policy. When your website runs, google will ask your visitors for permission for cookies the first time. And I might be mistaken, so look this up before you actually start with ads, but I am only 98% sure those warnings include permission for cookies used by ads. It is a law to have those cookie warnings (at least in Europe it is, not sure about US) so it is nice that you don't have to worry about those. Making your own cookie warning is just a pain in the sitting area.
So, yeah... If you want to make money with your browser game, do it with blogger. It is as easy as setting up a facebook account.
Okay, I'll stop writing now. If you want to know more, I'll write you a book. 😛
I hope this was somewhat helpful, though.
Yea, like others have said, the NWJS executable package is a modified Chromium browser. Guess I should've included that word in my original post. 😴
Check out the readme here:
github.com
Notably the first sentence:
Check out the readme here:
GitHub - nwjs/nw.js: Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies. - GitHub - nwjs/nw.js: Call all Node.js modules directly from DOM/WebWor...
If you deploy your Game for Browser, it will be only a few MB big.
Like the others said if you deploy it for PC, than a whole Browser gets added on top and the file is big.
Like the others said if you deploy it for PC, than a whole Browser gets added on top and the file is big.
so far I know, and readed, some vx/vxa can also ouput lower MB part,
however, the user cannot open it without the Runaplication that must be installed.
while you could install it directly without the user installing it saves time and
unwanted software (if for 1 game only).
MV/MZ has this already included to make live easier for pc systems 🙂
correct me if I'm wrong.
however, the user cannot open it without the Runaplication that must be installed.
while you could install it directly without the user installing it saves time and
unwanted software (if for 1 game only).
MV/MZ has this already included to make live easier for pc systems 🙂
correct me if I'm wrong.
Original thread: https://forums.rpgmakerweb.com/threads/why-does-my-7mb-project-deploy-as-a-255mb-game.152619/