@TheoAllen, I am not ignoring people. I am just hoping for people to move on like you said above, but you know me I am not good at writing thing clearly.
Obfuscating Code
Site FeedbackI'm telling you that you can ignore them or maybe learn how to ignore them? 😀
@TheoAllen, I get your logic now. I am trying. Yeah, I can get emotional invest to random people's drama too much and I shouldn't join the fight that I do not have a stake in it. You know me better than me most of the time.🙂
Once again, I'm not going to directly quote anyone since more than one individual has chimed on each of these topics and block quoting them will end up being a mess.
Regarding "I don't like obfuscated code."
I don't like it either. But it doesn't matter if I don't like it. The obfuscation is here to stay because it's here to protect the code created by the team members from being stolen. Whether or not you think the obfuscation will protect against that is irrelevant because that's just how it's going to be.
Let's put this into a different perspective. An artist creates a piece of work in Photoshop. They have a PSD file where all of its layer information is stored, color settings, etc. What they release, instead, is a PNG of the file. You don't see the public having an outcry because the artist didn't release the PSD. Whether or not the artist releases the PSD is up to the artist.
Demanding the artist to release their PSD when it is perfectly within their right to not wish to do so? I don't think that's quite fair.
Regarding "Obfuscation isn't 100% Secure Anyway"
And your point? The lock on your house's front door isn't foolproof. Any burglar who wants to break into your house will have a way to do it. So why bother locking your house in the first place if all they need to do is pick the lock? The security alarm system you have? All they have to do is disable the phone line, cut some wires, and bam, it's disabled. The guard dog that bites the living daylights out of anything? Just condition it over time, perhaps a month, and it'll just let you by the night you decide to actually break in the house. That gun you keep in the bedroom in case an intruder comes in? Totally useless. All a burglar has to do is lug around a riot shield and wear a bullet proof vest as they come break in.
There is no security system out there that is 100% perfect. However, to drop the security system you have because it isn't 100% foolproof is just silly in my opinion. You should never put yourself in harm just because the lock on your house's front door isn't foolproof.
Regarding "How are we supposed to learn JS now?"
There's 61 plugins that came free with RPG Maker MZ. They have aliases, they have all sorts of methods of teaching you if you need to learn by example. Them being in Japanese has little to no bearing because the function names are in English last I checked. These aren't made by nobodies in the Japanese community. They're made by many, many, many prolific Japanese plugin developers. Download any Japanese MV game and you'll see the same names recurring in them the same you see mine recurring in Western MV games.
There's also the libraries being made by other plugin developers out there. Galv, Hime, Shaz, Atoa, Hudell, MogHunter, etc. have created libraries that are 30+ large in MV. That's already huge. I'm also willing to bet that if you threw in some of their plugins directly from their MV libraries into MZ, a good chunk of them would work. In every single one of my patrons projects, I've never once seen a game that was pure 100% YEP. Many of these games had many, in the scope of 30+ plugins, from any combination of the listed plugin developers I've mentioned. In fact, there's some games I've played where only 2 plugins from library were used (Core Engine and Message Core usually) and the rest coming from Mog Hunter. These folks have genuinely good code to read from. Do not neglect their quality!
And finally, why does it have to be VisuStella? This is the part that doesn't make sense to me. VisuStella already had two plugins out before I joined. There was no controversy when Archeia released the Active Chain Skills or Input Combo Skills during MV. They were already obfuscated by then. Why wasn't there heat over those two? The team members that now work in VisuStella MZ also had obfuscated code. Nobody had qualms when Irina released obfuscated code, Arisu releasing obfuscated code, or Olivia making her code obfuscated after it was stolen from. Aries released her code obfuscated, too! Why wasn't it a problem with those either?
My guess is it's because of me. You guys want to learn directly from me. But here's what I've got to say about that.
Yanfly Engine Plugins for RPG Maker MV. MZ and MV have incredibly similar code bases. If you want to learn from me, learn from my MV library. I didn't have a hand in the code in the MZ version anyway. You can grab 40 of them from here for free. I'm pretty sure some of those work in MZ, too, without needing any changes. There's also a huge list of 180+ Tips & Tricks I've made over the four years explaining my thought process.
You guys have ALLLLLLLLLLLLL these options to learn from, and yet, you still demand to learn directly from VisuStella, when I said I have no intentions on betraying the trust of my teammates and releasing their code to the public? Sorry, but I just can't do that.
Regarding "I don't like obfuscated code."
I don't like it either. But it doesn't matter if I don't like it. The obfuscation is here to stay because it's here to protect the code created by the team members from being stolen. Whether or not you think the obfuscation will protect against that is irrelevant because that's just how it's going to be.
Let's put this into a different perspective. An artist creates a piece of work in Photoshop. They have a PSD file where all of its layer information is stored, color settings, etc. What they release, instead, is a PNG of the file. You don't see the public having an outcry because the artist didn't release the PSD. Whether or not the artist releases the PSD is up to the artist.
Demanding the artist to release their PSD when it is perfectly within their right to not wish to do so? I don't think that's quite fair.
Regarding "Obfuscation isn't 100% Secure Anyway"
And your point? The lock on your house's front door isn't foolproof. Any burglar who wants to break into your house will have a way to do it. So why bother locking your house in the first place if all they need to do is pick the lock? The security alarm system you have? All they have to do is disable the phone line, cut some wires, and bam, it's disabled. The guard dog that bites the living daylights out of anything? Just condition it over time, perhaps a month, and it'll just let you by the night you decide to actually break in the house. That gun you keep in the bedroom in case an intruder comes in? Totally useless. All a burglar has to do is lug around a riot shield and wear a bullet proof vest as they come break in.
There is no security system out there that is 100% perfect. However, to drop the security system you have because it isn't 100% foolproof is just silly in my opinion. You should never put yourself in harm just because the lock on your house's front door isn't foolproof.
Regarding "How are we supposed to learn JS now?"
There's 61 plugins that came free with RPG Maker MZ. They have aliases, they have all sorts of methods of teaching you if you need to learn by example. Them being in Japanese has little to no bearing because the function names are in English last I checked. These aren't made by nobodies in the Japanese community. They're made by many, many, many prolific Japanese plugin developers. Download any Japanese MV game and you'll see the same names recurring in them the same you see mine recurring in Western MV games.
There's also the libraries being made by other plugin developers out there. Galv, Hime, Shaz, Atoa, Hudell, MogHunter, etc. have created libraries that are 30+ large in MV. That's already huge. I'm also willing to bet that if you threw in some of their plugins directly from their MV libraries into MZ, a good chunk of them would work. In every single one of my patrons projects, I've never once seen a game that was pure 100% YEP. Many of these games had many, in the scope of 30+ plugins, from any combination of the listed plugin developers I've mentioned. In fact, there's some games I've played where only 2 plugins from library were used (Core Engine and Message Core usually) and the rest coming from Mog Hunter. These folks have genuinely good code to read from. Do not neglect their quality!
And finally, why does it have to be VisuStella? This is the part that doesn't make sense to me. VisuStella already had two plugins out before I joined. There was no controversy when Archeia released the Active Chain Skills or Input Combo Skills during MV. They were already obfuscated by then. Why wasn't there heat over those two? The team members that now work in VisuStella MZ also had obfuscated code. Nobody had qualms when Irina released obfuscated code, Arisu releasing obfuscated code, or Olivia making her code obfuscated after it was stolen from. Aries released her code obfuscated, too! Why wasn't it a problem with those either?
My guess is it's because of me. You guys want to learn directly from me. But here's what I've got to say about that.
Yanfly Engine Plugins for RPG Maker MV. MZ and MV have incredibly similar code bases. If you want to learn from me, learn from my MV library. I didn't have a hand in the code in the MZ version anyway. You can grab 40 of them from here for free. I'm pretty sure some of those work in MZ, too, without needing any changes. There's also a huge list of 180+ Tips & Tricks I've made over the four years explaining my thought process.
You guys have ALLLLLLLLLLLLL these options to learn from, and yet, you still demand to learn directly from VisuStella, when I said I have no intentions on betraying the trust of my teammates and releasing their code to the public? Sorry, but I just can't do that.
As a newbie on RPG Maker (only 9 months that I got my hands on it), let me share my point of view. I really don't mind that VS plugins are obfuscated, because:
- I trust the team behind the VS plugins. They seem to have a long history with RPG Maker and have greatly contributed to improving our game development experience. I don't see why it would be any different today.
- Personally, I see the VS plugins more as a starter kit for beginners or average users that offers a plethora of features that greatly enhance the base. However, more advanced users will go for more advanced and specific plugins, or even create their own plugins. In fact, I am amazed to see that only 18 days after the launch of MZ, there are already more than 130 new plugins announced in the dedicated forum. That's why I'm confident about the future.
- As a developer IRL who wants to learn how to code plugins for RPG Maker, I'm sure I'll never go and look at the code of VS or YEP plugins. First of all, I will go and consult tutorials, online guides, but also small plugins that only do one thing. It's much easier for me to concentrate and understand when things are simple than to start studying plugins whose features are nested with each other.
Also like, JavaScript isn't actually that hard to learn my dudes. As much as working from scratch sucks, MZ's codebase isn't the worst thing I've seen, and the example plugins are a great place to start.
I think this thread is fine lol.
I think people will move on eventually.
Again MZ is still a little baby and has a LOT of room to grow.
I think people will move on eventually.
Again MZ is still a little baby and has a LOT of room to grow.
Due to all respect, Yanfly. I don't think PSD would be a better analogy since visual art can be done in one layer (traditional art) and we're used to it and we're used to editing an existing image to make things happen. So PSD was not required.
If you want to put a better analogy, it would be why no one outcried when default BGM does not give you raw files for the music files such as MIDI so you could change the instrument channel or make a remix of it. I actually would, but I don't think anyone would be with me in this case. Thus you don't see them.
If you want to put a better analogy, it would be why no one outcried when default BGM does not give you raw files for the music files such as MIDI so you could change the instrument channel or make a remix of it. I actually would, but I don't think anyone would be with me in this case. Thus you don't see them.
I just want to point out - with respect - that this isn't comparable.
Firstly, there are many many many YouTube tutorials about how to do very specific things with Photoshop, whereas there are not very many YouTube tutorials on how to achieve results with JavaScript programming which are specific to RPG Maker MZ. In other words, someone who wants to learn how to do the specific technique used in that PNG probably has a selection of tutorials available that they can see as examples already. Now, you've noted that there are plugins included in MZ that aren't obfuscated, and that's fine. But, they may not do the specific thing that a particular MZ user is wanting to figure out how to do.
Secondly, a PNG is still further editable. Someone who wants to use it as their wallpaper on their PC but dislikes that the person in the art's eyes are green could edit them to make them blue. They could in fact do a major edit of the art to change anything they pleased, starting with that beginning point. That's actually been a key issue some have brought up about obfuscation - if there's a relatively minor tweak they'd like to make to something in the plugin for the particular purposes of their project, they can't.
Now, I'm not debating for or against obfuscation with this response. I'm just wanting to point out to you that the example you have actually supports the notions the others have brought up as to why obfuscation isn't good, which I think wasn't your intention.
Each programming problem is unique on its own. You won't see them solving your own specific problem. Instead, you only see pieces of puzzles. Instead of "How do I make animated battler", you see "How to operate PIXI sprites" and make your way through there. Instead of "How do I solve my database problem", you get "How to Union, Union all, Select, Insert, Inner Join works in SQL language". This is true everywhere, even on the everyday's work of programmers. I would say that the perk of a programmer must have is to be able to put pieces together to solve your problem without a direct solution to it.
That's true with art, too, though - but like I said, the difference is, there's heaps of YouTube tutorials out there for how to achieve certain results using, for example, Photoshop software. There's really not very many tutorials for how to program results specific to RPG Maker software.
But does it have to be YouTube tutorials? Does it have to be code? A lot of the things I've made through code can be done through common events including custom menus.
https://rpgmaker.net/tutorials/
^ that right there is a great library of tutorials. Them being made for different makers doesn't really matter when the same logic flow applies across RPG Maker iterations.
The reason I use PSD's as an example is ease of access. Yes, you can edit a PNG. But you can also edit obfuscated code believe it or not.
However, changing the color of a character's hair in a PSD where layers are all coordinated is far easier and faster than doing such a thing in a compressed PNG especially if there are special effects on said hair layer.
That is the reason behind the PSD to PNG analogy.
Furthermore, the analogy was also to depict the wishes of how the artist wants to deliver their end product. It doesn't matter what's the purpose of the end product. If they want to release it as a PNG, that's their call. If they want to release it as a PSD, that's also their call.
I believe the same rights should be given to programmers. If they want to release their end product as something that's obfuscated, that should be well within their rights.
https://rpgmaker.net/tutorials/
^ that right there is a great library of tutorials. Them being made for different makers doesn't really matter when the same logic flow applies across RPG Maker iterations.
The reason I use PSD's as an example is ease of access. Yes, you can edit a PNG. But you can also edit obfuscated code believe it or not.
However, changing the color of a character's hair in a PSD where layers are all coordinated is far easier and faster than doing such a thing in a compressed PNG especially if there are special effects on said hair layer.
That is the reason behind the PSD to PNG analogy.
Furthermore, the analogy was also to depict the wishes of how the artist wants to deliver their end product. It doesn't matter what's the purpose of the end product. If they want to release it as a PNG, that's their call. If they want to release it as a PSD, that's also their call.
I believe the same rights should be given to programmers. If they want to release their end product as something that's obfuscated, that should be well within their rights.
Do I have a tutorial to solve my specific company problem with their own framework that no one else has? No, they don't.
I'm not discussing rights - I've noted in other threads that I do believe programmers should be able to yield a gain of some kind for their time and effort (and artists as well, on that note).
I nevertheless reject the comparison to art, even as you stated, because:
Below, I've attached an edit I did of your avatar in about 30 seconds using MS Paint. I didn't require having the PSD to do that. The image as-provided was already editable. I identified that I would like to see it with a small tweak - I'd like him to have a little goatee! And so I was able to edit it, using the crappiest software for art on the planet, and here it is.
Someone who has a very minor "let's see what it's like if it had a little goatee" change they'd like in an obfuscated plugin can't achieve that result unless they want to program their own custom plugin that overrides the base plugin. That's a point others have brought up that's never exactly been dealt with - and a lot of users have said they used to like being able to do that with your plugins before, Yan my man.
Me, I'm new to all this, so I don't really have any skin in the game. I just think it's all being handled very awkwardly, and I can't quite figure out what the point even is. As far as I know, things were fine in MV with everyone's plugins being openly editable, and folks who wanted to earn a buck or two were able to sell them and do so, and I'm not aware of any big scandal related to it... so I'm puzzling over the logic of creating a community debacle to try and avoid a problem which doesn't seem to have happened? But like I said, I'm new, maybe something serious did happen and I'm just missing it.
I am on @Yanfly side heres
As a artist I can tell you that releasing a psd is like releasing an source code who is clean and not obfuscated.
Psd or any multiple layer file format is a proof that you did it. Releasing the original psd will make prooving ur are the owner far more complicated.
Take a psd as a artist sources code. A png doesnt retain all the informations
As a artist I can tell you that releasing a psd is like releasing an source code who is clean and not obfuscated.
Psd or any multiple layer file format is a proof that you did it. Releasing the original psd will make prooving ur are the owner far more complicated.
Take a psd as a artist sources code. A png doesnt retain all the informations
Right, but the purpose of the analogy wasn't so that it could be a choice between a version that can be edited or not. The purpose of the analogy is that the artist has the decision to release their art in any way they want. I could have changed it from PSD to JPG, GIF, or BMP and the argument would remain the same: it's the artist's decision.
Alternatively, bringing this back to plugins on the subject of obfuscation, I believe programmers should have the right to do whatever they want and release their code in whatever format they want, too. Obfuscated, sure? Prototype standard, sure? ES6? Sure, Typescript? Go for it. Haxe? Who cares! The point is, it's not the responsibility of a plugin developer to release their code exactly to the demands of the community. It is not their responsibility for their code to remain easily editable. How they wish to release their code is entirely up to them.
Alternatively, bringing this back to plugins on the subject of obfuscation, I believe programmers should have the right to do whatever they want and release their code in whatever format they want, too. Obfuscated, sure? Prototype standard, sure? ES6? Sure, Typescript? Go for it. Haxe? Who cares! The point is, it's not the responsibility of a plugin developer to release their code exactly to the demands of the community. It is not their responsibility for their code to remain easily editable. How they wish to release their code is entirely up to them.
Just as a comment: I've always hated the "let's nitpick this analogy to death" thing because analogies are always going to be imperfect. They aren't going to match 1:1.
Completely fair, and no debate on that - but I don't think most people seem to be questioning whether or not they have the right to do it. Rather, they're questioning whether or not exercising that right is reasonable. What problem which was happening, or is thought to exist, does it actually solve?
An analogy that's a bit closer:
In the US, the Bill of Rights provides (to debatable extents we won't dive into, lol) the right to bear arms. In most situations, this means that a person who has the proper licensing and permitting to do so can go on long walks through the city loaded with rifles and handguns. Why, someone might ask. I have the right, the person says. Okay, the other asks, but having the right doesn't make it make sense to do it, so what is the logic behind what you're doing here - what's the point of going for a walk armed to the teeth? Well, the person says, someone might try to rob me, so now I can protect myself. Did anyone ever try to rob you before this? No they didn't, the person says, but they won't try to do it now, will they.
Seems like a lot of effort and generated scrutiny to resolve a problem that didn't exist. See what I'm saying?
More than 70% of our teammates have had code stolen from them before in the past.
That problem certainly exists if that's what you're insinuating.
That problem certainly exists if that's what you're insinuating.
@cayenne_spicy Dude, Yanfly's as well as SEVERAL other coders working for VS have had their code stolen before. Your analogy literally makes no sense because code thieves have targeted them before, and some parts of the RM community (not here, but there are people here who are part of those communities) sided with the code thieves over the original coders.
Original thread: https://forums.rpgmakerweb.com/threads/obfuscating-code.126805/