Why do the VS plugins need to be used as learning examples when there's over 50 plugins included with MZ plus constantly new plugins developed by other great developers here on the forums? If you need learning material, there's plenty to look at that isn't - so how would this make the learning curve steeper?
Obfuscating Code
Site FeedbackI'm not sure if that's true. When I open the console and type the name of a function that I know is aliased in a VS plugin, I get a whole bunch of obfuscated nonsense in the console instead of the actual function. I imagine that if I did the same thing with a function that I obfuscated myself, I'd see the same sort of thing. Maybe the actual hex stuff it shows means something to someone who worked on the plugin, but to me, it's just gibberish.
Yeah, but in my example, he started off trying to learn from the code, so maybe he changed the function names, or rearranged how they were positioned in the actual js file, so the minification or obfuscation output would look different.
I'm not sure I agree with that. If the TOS expressly forbids anyone from deobfuscating it, they should not be allowed to do so for any reason. If there is suspicion of theft, that could be a good reason to try to prove that the code is stolen, sure, and maybe probable cause is enough to legally do that.
But what if we turn the whole thing on it's head? Some of the things that the VS plugins do is subtle. I mentioned before, the fact that they split the damage popups up, so that single effects that cause multiple things to happen (mp absorb and hp damage) cause separate damage popups. What if dev X made a plugin that did something else with damage popups, but as he was working on it, he realized he needed the functionality that VS added to the multi-popups to make his work? Well he can't require a VS plugin for his own, so he just takes that damage popup code from his illegally deobfuscated VS code, changes some function names, and slaps it right in his plugin.
When he's done his "rainbow colored damage popup" plugin is obfuscated, and has a TOS that disallows deobfuscation. Surely there's no reason to consider that dev X ripped this popup code from VS. Since the plugin itself isn't a straight rip off of a VS plugin, there should be no reason for anyone to suspect dev X stole anything. And any end user using it who knows nothing of plugin code or whatnot would have no way to know that the code for showing popups had been stolen from VS, since they specifically made their changes appear as close to the original damage popups as possible. And if there's no reason to suspect it, no one should be deobfuscating his code to check for plagiarism, right?
Actually you guys know theres sources map right xD?
If i recall sources map work with uglyfied code so its possible to yse the visustella library API without reverse engineering their code.
If i recall it just tells function names so you cab use them.
Not sure if they fall into their TOS so i will ask @VisuStella in what category it falls and if they think they can offers a sources maps for us plugin dev to work with.
It does fall in a good middle ground?
If i recall sources map work with uglyfied code so its possible to yse the visustella library API without reverse engineering their code.
If i recall it just tells function names so you cab use them.
Not sure if they fall into their TOS so i will ask @VisuStella in what category it falls and if they think they can offers a sources maps for us plugin dev to work with.
It does fall in a good middle ground?
I think the point some people seem to have missed with the "obfuscation makes it harder for other devs to learn!" argument is that the VS plugins were never created with teaching other devs in mind in the first place. Their aim was to provide as many tools to the RM users as possible and as much as possible of what they need to make the kind of game they want. None of them are meant to be examples of code for others to use or a resource for teaching coders. Those resources are great, don't get me wrong (which is why I write the tutorial series I do) but not every plugin is mandated to be an education for budding programmers.
Also not going to be too specific because I don't know how much of it I'm actually allowed to talk about, but as far as I'm aware simply deobfuscating the plugins will not work for a few reasons. There's more to it than that.
Also not going to be too specific because I don't know how much of it I'm actually allowed to talk about, but as far as I'm aware simply deobfuscating the plugins will not work for a few reasons. There's more to it than that.
What?? How is this even in any way reasonable?
Those threads had misinformation and or were duplicates.
I would like to know why anyone would seriously criticize someone for carrying out their responsibilities on this forum (something they have doing for years to your benifit) JUST because they have an RM related endeavour on the side, whether or not the threads breaking the rules have to do with their endeavour.
What do you propose? That it's ignored just because of the subject?
I think it's pretty obvious that conversation isn't being shut down or else how could I be answering you here right now?
This is true, however the base code doesn't really contain any "alias'ed" methods, and this is one of those things I was speaking of that is better to learn from poking around in someone elses project. For most new developers a concept like this is pretty foreign, and something like this is probably better understood by modifying/playing around with another plugin, than trying to read it from a book( it was for me ). 😀
That said, VS is only one group, if someone wants to learn by editing/modifying someone elses plugin there's plenty of other plugins out there. 🙂 I am not arguring a case for de-obfuscating the code, I'm purely neutral here, quite honestly it doesn't really affect me, as I don't use anyones plugins except my own anyways lol, not because I'm full of myself( which I do joke about from time to time 😀 ), or doubt other peoples work, but because I like to write my own versions of things as a learning process.
Also as for learning a lot more from the source code only I completely disagree with this, In looking at other peoples plugins, you can see the amount of diversity in how people program, and if someone is interested, they can learn WHY they do things that way, this allows for the person to understand different methods of doing things, and the purpose they serve, to only have one reference of how things are done is quite limiting.
I.E. perhaps one programmer writes is code in ES6, perhaps another uses ES5, maybe one developer solely uses while loops, while another uses for loops( and there's so many different variations on the for loop as well, but i don't wanna make this post too long by listing em all ). for someone to be able to view different ways to handle a situation, and discover which method works in what situations.
but this new aspiring developer only goes based off the source code, so he never learns anything more than that. Exposing yourself to diversity, creates adaptability, which in my opinion, is part of what makes a good programmer.
One could also argue that "well they can look up all that stuff on their own" but again, not everyone learns by reading long winded explanations, and prefer to learn with a more hands on approach. 🙂
MZ also comes with 57 plugins in the dlc folder.
For what it's worth I have about 4 decades of experience of using a variety of open source, closed source, obfuscated, etc. tools. I honestly don't care about having access to source to try to fix problems as I'm about trying to find the most expedient way to get a project complete. If I find a bug I file a report and let the devs handle it.
As far as educating myself from somebody else's code that's a completely mixed bag. I've had to drop out of a few projects because trying to modify somebody else's code was going to take more time than making my own from scratch and the client didn't understand it wasn't just spend a few hours "fixing" something that was never built to do what they wanted to do and was very poorly written and undocumented as well. I will admit that some of the plugins I've looked at were fairly reasonable to follow. But honestly I'd have a much easier time making my own plugins if I just had better documentation of how to tie into the engine itself than just trying to go through a bunch of plugins......
I did pay for Yanfly's plugins not because I have a ton of money to throw around but because it saved me a ton of time which is the whole reason I bought RPG Maker to begin with as it took me a matter of hours to do more than weeks of coding in Godot or Unity. And, from what I'm seeing so far, once I start doing some actual stuff with MZ I will probably be paying for at least some of the VisuStella stuff just due time savings again......
And just have to mention Javascript wasn't exactly my first choice but it works 🙂
Anyhow it's amazing how toxic arguments get in forums over these topics when ideally our focus should be on how WE do out projects and not how somebody else is open, closed or whatever......
As far as educating myself from somebody else's code that's a completely mixed bag. I've had to drop out of a few projects because trying to modify somebody else's code was going to take more time than making my own from scratch and the client didn't understand it wasn't just spend a few hours "fixing" something that was never built to do what they wanted to do and was very poorly written and undocumented as well. I will admit that some of the plugins I've looked at were fairly reasonable to follow. But honestly I'd have a much easier time making my own plugins if I just had better documentation of how to tie into the engine itself than just trying to go through a bunch of plugins......
I did pay for Yanfly's plugins not because I have a ton of money to throw around but because it saved me a ton of time which is the whole reason I bought RPG Maker to begin with as it took me a matter of hours to do more than weeks of coding in Godot or Unity. And, from what I'm seeing so far, once I start doing some actual stuff with MZ I will probably be paying for at least some of the VisuStella stuff just due time savings again......
And just have to mention Javascript wasn't exactly my first choice but it works 🙂
Anyhow it's amazing how toxic arguments get in forums over these topics when ideally our focus should be on how WE do out projects and not how somebody else is open, closed or whatever......
I'm no coder lol in anyway shape or form. I have friends that are.
It was more of an uncertainty with the whole thing.
(I honestly just wanted to put down that: Hey obfustication sounds rough. it might make learning X harder. But, it might just make people more reason to innovate with their own plugins.
But learning X being more difficult isn't the case here it so seems.
It was more of an uncertainty with the whole thing.
(I honestly just wanted to put down that: Hey obfustication sounds rough. it might make learning X harder. But, it might just make people more reason to innovate with their own plugins.
But learning X being more difficult isn't the case here it so seems.
lol I literally stated that a few sentences down :| I also said I don't have any objections to them obfuscating the code, I can see the pros and the cons to it, and I am not judging them for it. xD infact I'm a bit surprised it's not more common, again though, obfuscation can only get you so far. :/
same as I just told Hudell, it was literally a few sentences down. >_> and I'm only talking about aspring devs, not all dev's but this was already addressed by stating "if someone wants to learn by editing/modifying someone elses plugin there's plenty of other plugins out there."
Also I bet I could spend less than a day writing a snippet to de-obfuscate the VS plugins( not that I am going to, just validating the point that if someone really wants to access something they will, decrypters for nearly every rpg maker engine have been made, to think that de-obfuscation can't be done is a bit flawed ).
@zzmorgan Yeah, I've been there too brother, lol I have ended up rewriting code due to poor/unreadable quality code, however, I'm not speaking from a professional standpoint, I'm speaking purely from a hobbyist point of view, I'm also not speaking about all people who will attempt to learn to write code, because everyone learns differently, some people can learn from a book some people need a more hands on approach. 😀 However again... I've already stated there's plenty of other plugins available for a person to learn from, I'm still, completely neutral in the topic of obfuscating code, this doesn't affect me in the least lol.
Yay, I'm just happy the conversation moved to actual obfuscation while I was asleep...
I'd say obfuscation is 100% pointless. It saves you like 2kb of download at best. For protection, nothing. There is 1000s of tools online for deobfuscating code, especially for JS. But hey this is my oponion.
(I can't see the code, haven't bought any, so... yeah I'll end that there).
As for learning, I agree, I 90% learned from other people's stuff, the other 10% was reading on the internet and attending to classes (also learning from people). However, I believe that when you write or make your own stuff, you have a say on how you make things. It's the reason licenses exist. You don't need to guilt trip people based on your own morals because you don't like what they're doing.
I just hope the personal attack part of the conversation stops, because I think it's getting very sad.
(I can't see the code, haven't bought any, so... yeah I'll end that there).
As for learning, I agree, I 90% learned from other people's stuff, the other 10% was reading on the internet and attending to classes (also learning from people). However, I believe that when you write or make your own stuff, you have a say on how you make things. It's the reason licenses exist. You don't need to guilt trip people based on your own morals because you don't like what they're doing.
I just hope the personal attack part of the conversation stops, because I think it's getting very sad.
Maybe the problem is you're not sleeping enough LOL......
Sooner or later Visustella was bound to spark a controversy. But I'm really not happy with where the controversy went. I don't really see why most of these points should even be criticized.
Archeia for locking threads about VS. She did lock. But what does it matter?
I've never seen anyone of the mods and above do anything other than protect the IP of the creators. Even if a mod was to protect their own IP, I still cannot see how that would be punishable by death. Rules apply for everyone equally and why would anyone have to be restricted from moderating their own stuff?
Archeia being part of VS and Degica is a conflict of interest.
True, but how is that important?
If you take a look at Yanfly, under the hairball avatar there is one thing written - Veteran, which means the 30 post limit for classified has been fulfilled. But there used to be Developer* there for years after MV came out and some of the Yanfly essential plugins are even part of the basic DLC plugin folder.
That was the same conflict of interest... But NOBODY CARED back then. So why care now? Do you see Archeia abuse her position in any way? Is she getting paid or stealing from the money Yanfly's patreon makes?
From what I see, the answer is No and no. And until that changes, I see no reason to bother with this point.
VS had a headstart compared to many plugin makers. Two weeks headstart.
Two weeks are 14 days, which are about 3.83% of a year. A signigicant bonus, isn't it? 😀
The extra 14 days are nothing. Visustella now pays plugin makers anyway and the advantage in numbers is much more significant than the advantage of 14 days.
The only real problem there is would be the the obfuscation.
I agree, obfuscation is not a standard I would recommend and to be honest, I dislike obfuscation. And I've noticed two reasons why others don't like this step.
One problem is education.
It's true, MV Yanfly plugins are a decent educational material. But why is that a problem? Yanfly should not be responsible for education of new plugin makers. That is the responsibility of MZ's owners, who haven't given us proper documentation even for MV even though we have asked for it for years.
The other problem is of course the code related problem. And that is the only real problem in this entire controversy. Although I still don't see how it justifies one.
Yanfly the RM mafia don (Sorry, had to. 😀) has said that as long as you apply good standards, there should be little to no compatibility issues.
Which is undeniably true, even though compatibility issues appear when you least expect them - it's not too long since I helped solve a compatibility issue between Irina's performance upgrade and Mog's Chrono engine.
But compatibility issues aren't the biggest issue. Incorporation of custom features into the plugin so that your plugin functions correctly, that is a real problem.
However, despite that I still don't see why should it spark a controversy. Yanfly has given an explanation that I find sufficient, not to mention it's closed source code. Yanfly has made peace with the consequences it might bring. And I'm not even talking about the fact that you can talk about it on discord.
In fact, I can't even see why someone would call Yanfly the plugin monopolizer. The RM community has pushed Yanfly into a sort of monopoly position by itself. Yanfly has renown and support unlike any other plugin maker in the community and the community is Yanfly-centered. In fact, if Yanfly decided not to continue as Visustella in MZ... Who would take on the role of Yanmosquito the successor of Yanfly?
I think the Javascript part of the community would crumble without any solid stones.
Archeia for locking threads about VS. She did lock. But what does it matter?
I've never seen anyone of the mods and above do anything other than protect the IP of the creators. Even if a mod was to protect their own IP, I still cannot see how that would be punishable by death. Rules apply for everyone equally and why would anyone have to be restricted from moderating their own stuff?
Archeia being part of VS and Degica is a conflict of interest.
True, but how is that important?
If you take a look at Yanfly, under the hairball avatar there is one thing written - Veteran, which means the 30 post limit for classified has been fulfilled. But there used to be Developer* there for years after MV came out and some of the Yanfly essential plugins are even part of the basic DLC plugin folder.
That was the same conflict of interest... But NOBODY CARED back then. So why care now? Do you see Archeia abuse her position in any way? Is she getting paid or stealing from the money Yanfly's patreon makes?
From what I see, the answer is No and no. And until that changes, I see no reason to bother with this point.
VS had a headstart compared to many plugin makers. Two weeks headstart.
Two weeks are 14 days, which are about 3.83% of a year. A signigicant bonus, isn't it? 😀
The extra 14 days are nothing. Visustella now pays plugin makers anyway and the advantage in numbers is much more significant than the advantage of 14 days.
The only real problem there is would be the the obfuscation.
I agree, obfuscation is not a standard I would recommend and to be honest, I dislike obfuscation. And I've noticed two reasons why others don't like this step.
One problem is education.
It's true, MV Yanfly plugins are a decent educational material. But why is that a problem? Yanfly should not be responsible for education of new plugin makers. That is the responsibility of MZ's owners, who haven't given us proper documentation even for MV even though we have asked for it for years.
The other problem is of course the code related problem. And that is the only real problem in this entire controversy. Although I still don't see how it justifies one.
Yanfly the RM mafia don (Sorry, had to. 😀) has said that as long as you apply good standards, there should be little to no compatibility issues.
Which is undeniably true, even though compatibility issues appear when you least expect them - it's not too long since I helped solve a compatibility issue between Irina's performance upgrade and Mog's Chrono engine.
But compatibility issues aren't the biggest issue. Incorporation of custom features into the plugin so that your plugin functions correctly, that is a real problem.
However, despite that I still don't see why should it spark a controversy. Yanfly has given an explanation that I find sufficient, not to mention it's closed source code. Yanfly has made peace with the consequences it might bring. And I'm not even talking about the fact that you can talk about it on discord.
In fact, I can't even see why someone would call Yanfly the plugin monopolizer. The RM community has pushed Yanfly into a sort of monopoly position by itself. Yanfly has renown and support unlike any other plugin maker in the community and the community is Yanfly-centered. In fact, if Yanfly decided not to continue as Visustella in MZ... Who would take on the role of Yanmosquito the successor of Yanfly?
I think the Javascript part of the community would crumble without any solid stones.
That's the thing, Poryg. Yanfly has tried several times to retire from RM completely but nobody's stepped in to take the place he occupied. I really hope that once all this is over he can finally get his wish.
You are really want to hear my real and super direct opinions. Pleased I hope all of some community plugin developers and the VS team have one on one meeting in Private and try to reconciliation. Us the private message! The public space will create who wins or who loses side. It is painful to me hear all of you at each other throats. You are all contributing to this community especially the plugin creators in these cases. The majority of non-coders probably feel the same as the house divided cannot stand. We are the care and love you all for making our dream comes true. 😢Please resolve this quickly, so we can move on and being a community again. Yes, a community in the name in the plugins devs. However, the art resources creators, I see the light of hope and still respect like the past.
@Yanfly would probably feel the same. He wants everyone to be happy and he states that he doesn't like betrayed the trust of his team members.😅
@Yanfly would probably feel the same. He wants everyone to be happy and he states that he doesn't like betrayed the trust of his team members.😅
I mean, we are a community. Even the best families fight (?). Especially with knives and spiked floors.
Ive been trying so hard to stay away from threads like this and now there is an official thread for it. *Sigh*
Here goes nothing:
I dont feel this serves any other purpose then to let people scrape their frustrations out on the internet, thus frustrating more people that dont agree.
I feel this thread isnt/hasn't helped. Granted, the retoric has died down but the fact remains the same: the bait is real.
In any event, I'm super impartial to all of this. I actually kinda wish Visustella didnt happen and yanfly stayed away from the RM community. He had no reason to come back. Its not his fault, its nobody's. And unless @Nobody wants to defend themselves, everyone has a solution, and its simple:
Stop.
Stop using VS plugins. Stop making compatibility patches for them.
Now, I dont hate VS, quite the opposite. I just dont like the fact that it has come to this and think it would be better if they just: went away.
But they cant. So, with that being said, sucking it up seems to be the only fair thing to do.
But, just like with them, I cannot tell you what do.
At the end of the day, I just hope everyone enjoys MZ and uses it to take their minds off the current state of affiars, whether it be on this forum or in your daily lives.
Create, for gods sake, it might be the last thing you do!
Here goes nothing:
I dont feel this serves any other purpose then to let people scrape their frustrations out on the internet, thus frustrating more people that dont agree.
I feel this thread isnt/hasn't helped. Granted, the retoric has died down but the fact remains the same: the bait is real.
In any event, I'm super impartial to all of this. I actually kinda wish Visustella didnt happen and yanfly stayed away from the RM community. He had no reason to come back. Its not his fault, its nobody's. And unless @Nobody wants to defend themselves, everyone has a solution, and its simple:
Stop.
Stop using VS plugins. Stop making compatibility patches for them.
Now, I dont hate VS, quite the opposite. I just dont like the fact that it has come to this and think it would be better if they just: went away.
But they cant. So, with that being said, sucking it up seems to be the only fair thing to do.
But, just like with them, I cannot tell you what do.
At the end of the day, I just hope everyone enjoys MZ and uses it to take their minds off the current state of affiars, whether it be on this forum or in your daily lives.
Create, for gods sake, it might be the last thing you do!
I'm just waiting for their post showing some un-obfuscated code to prove that someone is stealing their code. Actually, thieves are usually lazy so someone will probably just sell their obfuscated code under a different name somewhere.
It seems to me that some plugin devs are feeling beaten by a product because they think it will be as big as Yanfly is for MV, but I don't think this is true. There is a big community around RM, smaller plugin devs can say no to compatibility requests and start a new trend if they want to.
It seems to me that some plugin devs are feeling beaten by a product because they think it will be as big as Yanfly is for MV, but I don't think this is true. There is a big community around RM, smaller plugin devs can say no to compatibility requests and start a new trend if they want to.
As far as I can tell, after my post, no one is at each other throats. Everyone has a strong opinion. But you can just pretend that they don't exist (by ignoring this thread) and it makes no difference. Except when they are also vocal in other public places other than this thread.
I hope the thread doesn't get closed, to be honest.
I will tell you that there is already a place for a private message echo chamber somewhere else 😉
Original thread: https://forums.rpgmakerweb.com/threads/obfuscating-code.126805/