Hidden Class?

I just read somewhere in the forums, I forgot where though so I'm going to ask it straight here ..

What does it mean when RMMZ is said to have hidden class??

Is it suppose as to how RMMZ's source code is in the js folder and not accessible in the engine, whilst the Ace has its source code openly can be edited in the script box??

I prolly must have used wrong terms wrongly...
it means it's an object embedded in the program's dll that you can't edit.
you can still add to it through plugins, but can't edit directly.
Hm, I see. So that means Ace has hidden classes but still "exposed" and thus it can be edited directly, but MZ cannot be edited directly, but can do so thru plugins, yes?
neither can be edited directly.
all of them can be referenced and added to them, via plugins.
I see. So that is why it is "hidden"
it means it's an object embedded in the program's dll that you can't edit.
you can still add to it through plugins, but can't edit directly.
MV and MZ don't have a dll.

@Khazyelnaeitz Where did you see this reference and in what context?
it means it's an object embedded in the program's dll that you can't edit.
you can still add to it through plugins, but can't edit directly.
Can you explain what you're referencing? The entire source code, as far as I know, is in the js folder, just like it was for MV.

I haven't seen anyone ask for anything that couldn't be found in those files and edited either directly or via plugin. Exactly what is hidden?

neither can be edited directly.
all of them can be referenced and added to them, via plugins.
That's incorrect. Anything that's done in a plugin could also be changed or added to the source code files and it would work exactly the same.

It would be inconvenient to do so, and bad practice because the core scripts get updates with new versions of MZ, but you can absolutely edit it directly.

@Khazyelnaeitz I think you have misread something and gotten confused with the older versions of RPG Maker, prior to MV, where you could not edit everything.
Can you explain what you're referencing? The entire source code, as far as I know, is in the js folder, just like it was for MV.

I haven't seen anyone ask for anything that couldn't be found in those files and edited either directly or via plugin. Exactly what is hidden?


That's incorrect. Anything that's done in a plugin could also be changed or added to the source code files and it would work exactly the same.

It would be inconvenient to do so, and bad practice because the core scripts get updates with new versions of MZ, but you can absolutely edit it directly.

@Khazyelnaeitz I think you have misread something and gotten confused with the older versions of RPG Maker, prior to MV, where you could not edit everything.
I suspect this to be the case as well. XP up to VX Ace had a system folder with an rgss dll in it, which handled the base classes of objects like Window, Bitmap etc. Although these could be extended via scripting if you knew the implementation, that implementation wasn't available to the script editor and only certain parts of it were documented in the help file. This is what's meant by "hidden classes"; MV and MZ do not have this, as the entire engine is contained in .js files that can be opened in any text editor.
@ATT_Turan @Trihan Yes, I've misread it. Thank you for your replies. I think I understand now. So basically, when we say "MZ doesn't have hidden class", it means there's no, uhh, how to say ahh, there's no hardcoded part that cannot be editted and added to either separately, by making separate plugin, or by rewriting (is this the correct term to use, pls tell me) some parts of the directly available source in the js folder, yes? First time I'm having fun while being confused, been awhile since I've had this vibes haha
@ATT_Turan @Trihan Yes, I've misread it. Thank you for your replies. I think I understand now. So basically, when we say "MZ doesn't have hidden class", it means there's no, uhh, how to say ahh, there's no hardcoded part that cannot be editted and added to either separately, by making separate plugin, or by rewriting (is this the correct term to use, pls tell me) some parts of the directly available source in the js folder, yes? First time I'm having fun while being confused, been awhile since I've had this vibes haha
Yes, every part of the core source code is exposed and available to us, and can be extended or rewritten however the developer sees fit (though it is never recommended to directly rewrite core files because they get replaced every time the engine updates, so always use plugins even when editing core functions).

However, when using the json data files as saved by the editor, we're limited to the format in which those files are saved *by* the editor. They can be edited outwith that, but they revert to their default forms every time you save the project. You can add new json data files of your own though.
Yes, every part of the core source code is exposed and available to us, and can be extended or rewritten however the developer sees fit (though it is never recommended to directly rewrite core files because they get replaced every time the engine updates, so always use plugins even when editing core functions).

However, when using the json data files as saved by the editor, we're limited to the format in which those files are saved *by* the editor. They can be edited outwith that, but they revert to their default forms every time you save the project. You can add new json data files of your own though.
Nice. Thank you, now I've understood it. It was very confusing to me.
So it's like saying, "Ace has another layer of codes that aren't shown on the editor, that's why it is said that Ace has hidden class while MZ's entirety of code is available from the get go which...wait, THAT MEANS WE CAN VIRTUALLY EDIT ANYTHING IN MZ? WHOA!!
Nice. Thank you, now I've understood it. It was very confusing to me.
So it's like saying, "Ace has another layer of codes that aren't shown on the editor, that's why it is said that Ace has hidden class while MZ's entirety of code is available from the get go which...wait, THAT MEANS WE CAN VIRTUALLY EDIT ANYTHING IN MZ? WHOA!!
Sure does! Not even "virtually", if you really wanted to you could rewrite the entire engine. However, doing so would I believe violate the terms of use for the program because then you wouldn't be using RPG Maker MZ for your project any more, technically (we had a thread about this before).
Good grief, what a time to be alive. I was right to have decided this year that my hobby time at least would be to live and breathe for RPG Maker! That's very enticing, to rewrite the software, but even if when I wanna do that, I'm going to just keep it for myself to educate me how to code. Now I really think much more that coding is fun. I haven't even started hello world yet.
Good grief, what a time to be alive. I was right to have decided this year that my hobby time at least would be to live and breathe for RPG Maker! That's very enticing, to rewrite the software, but even if when I wanna do that, I'm going to just keep it for myself to educate me how to code. Now I really think much more that coding is fun. I haven't even started hello world yet.
Once you know how to break it, the sheer depth of possibility is incredibly exciting. I've made all sorts of stuff for this engine: completely new battle system UIs, menu redesigns, card games, shop inventory plugins...
Once you know how to break it, the sheer depth of possibility is incredibly exciting. I've made all sorts of stuff for this engine: completely new battle system UIs, menu redesigns, card games, shop inventory plugins...
Alright. Until the next dawn, I'm going to read and study some more.

edit:
MV and MZ don't have a dll.

I forgot to ask, what's a dll role?

2nd edit:
is the job of dll to hide the hidden class?
In the old'n days, RMXP and RMVX came with a script editor.
Today, MV/MZ has it's core scripts in .js file that you have to open separately.

As I recall, one of the classes that was "hidden" in RMXP was the sprite class. You can easily find it now in rmmz_sprites.js. It handled how weather effects and battle animations were displayed. I don't think it was hidden on purpose. The class was documented in the Help File. So you could just copy it out of there.
I remember my first real script, I made it so battle animation cells could appear behind/under the target, Or be replaced with a clone image of the target.
[img]https://i.imgur.com/UCal1UW.png[/img]
Alright. Until the next dawn, I'm going to read and study some more.

edit:


I forgot to ask, what's a dll role?

2nd edit:
is the job of dll to hide the hidden class?
That's not specifically what a dll is for, but it's one of the things the dll was used for in the case of RGSS.
In the old'n days, RMXP and RMVX came with a script editor.
Today, MV/MZ has it's core scripts in .js file that you have to open separately.

As I recall, one of the classes that was "hidden" in RMXP was the sprite class. You can easily find it now in rmmz_sprites.js. It handled how weather effects and battle animations were displayed. I don't think it was hidden on purpose. The class was documented in the Help File. So you could just copy it out of there.
I remember my first real script, I made it so battle animation cells could appear behind/under the target, Or be replaced with a clone image of the target.
UCal1UW.png
I see the picture more clearly now. It's easier and more effective if we can directly view it in order to make another new script, yes?

That's not specifically what a dll is for, but it's one of the things the dll was used for in the case of RGSS.
I see. And when you said "specifically", I remember seeing this file dll many times before.
Great, I'm now more motivated now. I've made, well technically I've decided from last October, I've made one new year resolution, that is to chase one of my ultimate goals in programming, which is to contribute codes in RPG Maker scene and finally make my own RPG-Maker-like engine.
It will be hard, it won't be easy, I'll be scarred, but it could be pretty. Thanks to folks like you all here in this forums, I'm navigating this passion more instructibly and patiently.

edit:
I made that decision in October last year, but only couple days ago I started...talks about procrastination zzz
Oh yeah, everyone and their grandma was a script kiddie back then.
I was the loser who took pride in doing everything with event commands.
Now you got me all nostalgic.
Uh, I'm not sure how to react to that? =3=
Stand your ground! 😀

Original thread: https://forums.rpgmakerweb.com/threads/hidden-class.154232/