Requirements for using mz at maximum?

these are the mz requirements

i3-4340 or better
8 GB RAM, i guess its 1600mhz (i3 4340 max), and dont know if its 1x8 or 2x4g
Compatible OpenGL / VRAM 1GB or better


the laptop i think ill use until am5 gets cheap is

Pentium Gold 7505, which i guess its a lot better
4GB RAM at 2666mhz in single channel, and i guess it can be overclocked to 3200, but dont know if i want


so basically i would need to put another memory in the laptop: 8gb 3200 , so a total of at least 12gb 2666

---

however, would it be enough to use MZ with everything at max?

at max = all the database tabs at 9999, with 256x256 tiled / 32x32 parallax maps?
and maybe only a abs system as a plug in?

and to the player, how much would he need to play the game at windows/android?
You really want to do 256 x 256 parallax maps???? The engine loads the entire pic into memory and you are loading 150,994,944 pixels at 48 x 48 tile size, and that has to be also x the number of bits in your RGB and alpha values to get total memory needed.

I did it for a 8 bit color depth and got 77 gigabytes of memory needed (about 600 gigabits). Yeah, that isn't going to run on any PC anytime soon. Dropping to 32 x 32 tiles will shave that some but you might be looking at 40 - 50 GB still just to load the picture.
I also can't possibly imagine why you would need all 9999 slots in all the database slots, that is more than what most projects need.
Actually I think the database caps some at 2000. I can see hitting that in common events with a LOT of action sequences and a LOT of repeated events that are there for easy calling.

And I came close to 999 skills in my ACE RPG between the actor skills + the unique enemy ones, but with better organization Id probably cut that to 700 in the end.
@bgillisp

ive wanted to do 256² parallax in the past but then i discovered its impossible for 2023 pcs, maybe in 2053 :hswt: (if i wont be using some godot engine son/fork

now i want to do 256 tiles maps , or , 32 parallaxed

MZ allows you to change almost everything to 9999, but tilesets has a max of 1000.

@BubblegumPatty

instead of making a lot of small games, i think ill do like world of warcraft and put a lot of expansions
but even if i dont use 9999 i like to set everything at max so i dont need to change values x times
In ACE I set enemies/troops/skills to max and had little issue, and I think ACE can't go past 4 GB memory. Variables/switches I wasn't close to max though, and barely used common events. I think disc space might be a bigger issue for a large database than memory.

For tiled maybe the memory would be something you could look up in their documentation. Or count the pixels in the image in the end (row/column) then take it times 8^3 for 8 bit RGB + alpha channel values. Though I think we are long past 8 bit RGB so true values might be higher.

Note it is really 8^4 then divide by 8 to convert from bits to bytes. But 8^3 gives the same final answer and saves a step.
You really want to do 256 x 256 parallax maps???? The engine loads the entire pic into memory and you are loading 150,994,944 pixels at 48 x 48 tile size, and that has to be also x the number of bits in your RGB and alpha values to get total memory needed.

I did it for a 8 bit color depth and got 77 gigabytes of memory needed (about 600 gigabits). Yeah, that isn't going to run on any PC anytime soon. Dropping to 32 x 32 tiles will shave that some but you might be looking at 40 - 50 GB still just to load the picture.
It shouldn't require anywhere near 77 GB. RPG Maker MZ uses 4 bytes per pixel (1 byte for red, 1 for green, 1 for blue, 1 for alpha).
Code:
150,994,944 pixels * 4 bytes per pixel = 603,979,776 bytes
603,979,776 bytes / 1024 bytes per kilobyte = 589,824 kilobytes
589,824 kilobytes / 1024 kilobytes per megabyte = 576 megabytes

576 MB isn't anything too crazy, in and of itself. However, people usually split their parallax maps into multiple layers, and each of those layers would use 576 MB. So say it's a 4 layer map (ground, shadow, light, and overlay), then we're looking at 576 MB * 4 ≈ 2.3 GB.

Even if 2.3 GB doesn't necessarily sound like a whole lot these days, it can be kinda a dangerous amount in a game built with JavaScript, because JavaScript doesn't have any way for a developer to explicitly/immediately free memory from unused objects--you're at the mercy of the Garbage Collector, which you cant necessarily predict or control. This means that, for a period of time, you could have multiple maps consuming memory at the same time.

So if a player were to run back and forth through map transitions, the memory usage could spike to crazy amounts before the garbage collector kicked in. Or even if the player kept opening and closing the menu (which re-loads the map each time), depending on how the parallax mapping plugin handles cache.

Another thing to consider is that the engine has to decompress the PNG file into raw image data, which can take a bit of time when dealing which such large images. It could result in a perceivable delay between map transitions, or even when closing the main menu.
That would make more sense honestly. BUT....I've seen much smaller images in parallax in RPGMaker need more than what you claim so something else is at work then, as I've seen smaller images need 8 GB or more.

Though a lot of things use 32 bit colors now too, so maybe its in the middle as 4 bytes per color.

Edit: Ha. Mine was for 128 bytes per color it appears. OOPS. Thought it did feel a little extreme.
@Arthran

"576 MB isn't anything too crazy, in and of itself. However, people usually split their parallax maps into multiple layers, and each of those layers would use 576 MB. So say it's a 4 layer map (ground, shadow, light, and overlay), then we're looking at 576 MB x 4 ≈ 2.3 GB."

you mean tiled map, dont you ?
ill use, at max, tiled map of 256², only the tiles from the editor; not parallax, if i do parallax, ill use 32² i think, because people told me parallax is heavy


"JavaScript doesn't have any way for a developer to explicitly/immediately free memory from unused objects--you're at the mercy of the Garbage Collector, which you cant necessarily predict or control.

This means that, for a period of time, you could have multiple maps consuming memory at the same time."

how to solve this ? write an app to run with the game ?


"So if a player were to run back and forth through map transitions, the memory usage could spike to crazy amounts before the garbage collector kicked in. Or even if the player kept opening and closing the menu (which re-loads the map each time)"

loading screen wont solve it, will it ?
why the hell the menu does that sheet ?
@Arthran @bgillisp
A lot of info here:


"In a tilebased map, each tile is identified by a single number, usually 2 Bytes. And you need to multiply that by the number of layers - for MV that means you need 6 Bytes to describe the entire tile (plus the overhead of the actual tileset storage)."

Do i need to include this in the math ? But instead of 6 use 8 since MZ has 4 Layers?
That would make more sense honestly. BUT....I've seen much smaller images in parallax in RPGMaker need more than what you claim so something else is at work then, as I've seen smaller images need 8 GB or more.
For what it's worth, I went ahead and ran a test just now. I used the random dungeon generator thingy to make a 256 x 256 tile map. I then used OrangeMapshotMZ to export that map as a PNG, and then I made a (1 layer) parallax map with it, using Galv Layer Graphics.

When I loaded up the game and went into the tile map version of the map, my game was using 353 MB total (in the task manager). Then I went into the parallax map version of the map, and my game was using 909 MB. So there was a 556 MB difference between the two maps. Not too far off from my calculation of 576 (the minor discrepancy probably involved unrelated objects having been freed by the garbage collector at some point inbetween me changing maps).

"576 MB isn't anything too crazy, in and of itself. However, people usually split their parallax maps into multiple layers, and each of those layers would use 576 MB. So say it's a 4 layer map (ground, shadow, light, and overlay), then we're looking at 576 MB x 4 ≈ 2.3 GB."

you mean tiled map, dont you ?
No. I was talking about parallax maps. Tile maps don't really use much RAM, regardless of size.

"JavaScript doesn't have any way for a developer to explicitly/immediately free memory from unused objects--you're at the mercy of the Garbage Collector, which you cant necessarily predict or control.

This means that, for a period of time, you could have multiple maps consuming memory at the same time."

how to solve this ? write an app to run with the game ?
For the most part, you kinda can't. If you're using NW.js (meaning not a web of mobile deployment), you can run the game with a certain flag enabled, which will allow you to manually call the garbage collector. But it's not a perfect solution, and it's probably not something you should mess with if you don't know what you're doing.

It's not something you usually need to worry about too much, since the garbage collector will *usually* clean up unused objects pretty fast. But if you're dealing with single objects that are over 500 MB each, and could potentially be created/released in rapid succession, then it could be cause for concern. So I guess that the best way to solve the problem is just *don't* use massive parallax maps.

loading screen wont solve it, will it ?
why the hell the menu does that sheet ?
Players tend to not worry about a bit of loading time between map transfers. They're kinda used to it, and so they won't notice so much. But if there is a delay when closing the menu, they will notice that.

Entering the menu requires you to switch from the map scene to the menu scene. So then when you exit the menu, it switches back to the map scene. If a plugin doesn't handle that scenario properly, then it might re-load the map image when you switch back to the map scene.

Galv Layer Graphics handles the menu thing properly, so it's not an issue. But I have seen a plugin (VisuStella's Visual Parallaxes) that doesn't handle it properly, and causes lag and RAM spikes each time you close the menu (when you're on a large map).
Just to put it out there - it seems like RPG Maker is really not the tool you should be considering for your project.

It is not meant to accommodate online multiplayer games, nor maps or databases on the scale you're talking about. A lot of what you're talking about you'd have to bypass the editor for anyway, so RPG Maker itself wouldn't be contributing that much to your project.

You can modify anything you like about it via plugins, but if you have the coding knowledge and time to make all of these changes, it seems like you'd be way better off starting with a different engine that has a closer starting point to what you want to create, save yourself a lot of effort.
@Arthran

wow your test and answer helped me a lot

i usually use 125x125 maps, more than 4x less tiles so i think ill be fine
i guess i could even use maps with only 1 layer parallax? (1gb/4 = 256MB ?)

why u used Galv Layer Graphics instead of just selecting the image/parallax in the map properties window?

i want to do some tests too, is there something i must know?

@ATT_Turan

im leaving mmorpgs to the future
the maps can be 125², or even 100²
but the database will be huge, i really want to use 9999 of everything 😂

i just want to know the requirements for everything at max bcuz who knows ?
Pentium Gold 7505, which i guess its a lot better
4GB RAM at 2666mhz in single channel, and i guess it can be overclocked to 3200, but dont know if i want
These are not particularly strong specs for a laptop in 2023, unless your budget is razor thin. Depending on how much you're planning to spend, you can probably get something with 8GBs of RAM and at least a Core i3 processor, if not a Core i5.
well, if using my own money yes, i could get something even better than that,
im just trying to save money since am4 is ending and i will move to am5.

things costs a lot here in brazil, an rx6600 costs 1 minimum wage

the laptop ive said is 1 im already using until am5 gets cheap.
for me that laptop is enough, but im not sure about how much mz will require,

maybe ill need to buy 1 more ram and put on it, if yes it will cost 10% of a minimum wage but will increase the speed in more than 100%
What exactly is your budget?
i dont have a budget for now, only when am5 gets cheap ill buy something to work n game
4 now im gonna use the laptop, its totally free to me
in the worst, ill need to make a small upgrade, put + ram
in this moment i only have 4gb 2666 mhz in single channel, and i can put +8gb in dual channel
if mz, which i havent even buyed yet, dont work well with 12gb dual channel ill just stay with mv for now

but considering how the tests with the mz demo runs in the laptop i possibly wont even have to buy + memory
So, I finally figured out that this am5 is a motherboard. I guess you're building something yourself then. Neat.

Anyway, I would absolutely consider getting another RAM stick. My last laptop, which had a Celeron processor and only 8GBs of RAM (4 of which I had to add) could run the MZ editor, but could not run combat well at all. That was before MZ was updated to allow MV style sheets though, so maybe it could've made it with those.

Then again, if you don't intend to permanently use that laptop, you can probably just save your money toward the am5.
here combat is working well, tested it in a 256² tile only map
im starting to think that only for 2 layer parallax or use a lot of browser tabs ill need to put + ram
here combat is working well, tested it in a 256² tile only map
im starting to think that only for 2 layer parallax or use a lot of browser tabs ill need to put + ram
If you intend to do anything more than browse a tab or two at a time, definitely. Though you can probably do with just an additional 4GB if it costs too much to go beyond that. Kinda want to take mine up to 24GBs just to ensure I have more than enough.

Original thread: https://forums.rpgmakerweb.com/threads/requirements-for-using-mz-at-maximum.159395/