Obfuscation derailment thread

Couldn't you just grab ANY plugins that AREN'T obfuscated for your control, and then obfuscate them yourself for the comparison?
That's a perfectly reasonable suggestion, anyone interested in further testing of it could do that.

So to me, even if performance did take a slight dip because some plugins are obfuscated, it wouldn't be a problem, because there would be many other things contributing to it as well.
And I believe that was stated in Arthran's original thread, that this stress testing was done under unrealistic conditions. To quote the first post,
I used VisuStella Weather Effects to run a stupid amount of weather effects at the same time

Not to put words into anyone's mouth, but I believe the intention was simply to raise awareness that it was a thing. I believe most everyone with any experience knows that poorly optimized code or incorrectly written events can contribute to a project's performance as you describe, but I don't think every potential developer or user was aware that the act of obfuscating the code can contribute in a measurable way.

So your end conclusion there is a perfectly viable one for anyone to make. But isn't an informed decision always a better one?
Couldn't you just grab ANY plugins that AREN'T obfuscated for your control, and then obfuscate them yourself for the comparison? There's no reason at all for anyone to suggest deobfuscating plugins for the purpose of testing (and I don't remember or care who said that - I'm not directing this at you)


tbh, obfuscation would need to cause pretty significant performance issues to consider not using them for that reason. I see people posting events here all the time that are totally inefficient and would slow their games down. I've looked back on some of my own scripts and plugins and discovered there are much better (more efficient) ways of doing things. And just the practice of adding heaps and heaps of plugins introduces a performance hit. So to me, even if performance did take a slight dip because some plugins are obfuscated, it wouldn't be a problem, because there would be many other things contributing to it as well.
The significant hit is in Arthan's stress test video. It's a >50% drop from obfuscated to deobfuscated while using the plugins functionality in the test case.

And, while it would be ideal to test it on many different hardware specs without a stress test to figure how much it moves the minimum spec, not everyone has that wide of a swathe of hardware available for testing. It's a good jumping off point. Heck, having been a (Edit: I guess p website is censored now?) supporter of Yanfly's for a while before the switch, I had found his test project's stress test useful in itself for determining performance impacts of various things, since you can't measure above 60 FPS on RPG Maker and if you're using a computer with a reasonable dedicated graphics card you'd be hard press to go below that no matter how inefficient the code.

And, no, I'm not making it about visutella with that mention.

I do have lower hardware where such things make a difference without a stress test I can test on, but I never did a formal test of it, because I don't use visutella, I use yanfly, I just have a couple of obfuscated paid plugins from the yanfly to visutella transition time, and I haven't deobfuscated anything for a control case.
@Elisha_Allbright
I'm going to go ahead and say upfront that this is probably the only time I'm going to humor the notion of debating with mystery friends through a third party. I don't mean that in a rude way, and you didn't necessarily do anything wrong by seeking out the opinion of someone that you consider to be knowledgeable about these matters and posting their opinion here.

The primary reason is simply because this forum's multi-quote system doesn't allow me to quote parts of other quotes, so in order to respond to individual points, I've gotta copy and paste each individual part and manually turn it into a quote, which is an inordinate hassle. The other reason is because arguing through a middle-man is not really conducive to a good discussion (IMO). I'll go ahead and do it this time, since your friend already took the time to write all that, but I'm not going to respond to any more, so if your friend feels the need to respond to this and wants me to respond back to their response, then they'll need to come here and post on their own behalf.

Attaching too much importance on simple performance measuring is a common beginner mistake for people getting into optimization.
Starting off your argument by insinuating that the other person is a beginner is a common means of attempting to elevate your own status in the eyes of other viewers, in order to try to get them to view your words as being more authoritative, and to decrease the status of the other party in the eyes of the viewers, in order to try to devalue their words. It's a common tactic of people who are aware that their own argument is lackluster.

As some people are just naturally condescending, that may not have been your intention... but I'm going to go ahead and formally request that we all try to keep that kind of stuff out of here going forward. If your argument is solid, it will speak for itself, and the posturing should be unnecessary.

The measurements only shows like a factor of 2 or 3 which for the vast majority of the game code doesn't really matter.
What you're neglecting here is the fact that the measurement that shows a factor of 2 or 3 is the measurement of the FPS of the game or the total number of events than can be spawned, etc. In other words, it's measuring the performance of the system as a whole--not of one single function or algorithm. If your FPS gets cut in half, that can be kinda a big deal.

If one single line/function/algorithm is 2 to 3 times slower, that is often negligible in the big picture. Unfortunately, that's not the case here, since the performance of individual pieces of code is is often reduced by a factor way higher than 2 or 3 after being obfuscated. It's the entirety of the code, combined, that is 2 to 3 times slower.

It may matter for the hot paths.
The hot paths are obfuscated as well.

The thing is that you really need to consider the performance impact in context of actual usage scenarios.
That is being arbitrarily decided by the plugin developer. They're deciding that it performs "good enough" for whatever they've arbitrarily deemed to be normal usage, on whatever type of hardware they have deemed to be normal. The plugins *could* run better on weaker hardware, or they *could* allow the developers to use them more freely in less "normal" scenarios, if they weren't obfuscated.

Certainly, developers have to make those types of decisions. But usually when performance is sacrificed, it's in exchange for more features, or for the sake of more readable/extendable code, ease of development, etc. But in this case, the code is essentially just being run through a shredder and having its performance cut in half right before it reaches the customer's hands. As a customer, knowing that is a bit vexing.

Maybe, for my particular usage, it won't wind up mattering in the end. But knowing that my game maybe *could* run better on weaker hardware (and thus reach a bigger audience), and knowing that the thing that I'm stamping my name on and sharing with the world *could* easily be a little bit better, makes it difficult for me to feel good about obfuscation.

But at the end of the day, my objective in the original thread was not to imply that using obfuscated plugins absolutely will ruin your game. I was moreso attempting to spread awareness of the fact that obfuscation does impact the performance of the code, so that people *could* consider the situation at all. Most people had no idea that obfuscating code had a performance impact, so they were unable to consider it to begin with.

From a user perspective there are pretty much two cases. Either use the plugin obfuscated, or don’t use the plugin. In my “anti-lag” RMXP script I among other stuff reduced the computational complexity of looking up tiles at a position. When an event moves and wants to see if it will collide with another event it can so in constant time instead of having to look at each other event.
The consequences of this is quite interesting. Let’s say I create a plugin which does the same optimization and obfuscate it. Let us for the sake of the argument consider obfuscation magically makes checking if an event can move to a position is 50 times slower, in other words each obfuscated check counts the same as 20 normal checks (plugin not used). We can now estimate how many checks are required if X number of events try to move on the same frame.
Example 1 – 10 events
- Normal: 109 = 90 checks. (Each event does not need to check against itself)
- Obfuscated: 1020 = 200 checks
Example 2 – 50 events
- Normal: 5049 = 2450 checks
- Obfuscated: 5020 = 1000 checks
Example 3 – 100 events
- Normal: 10099 = 9900 checks
- Obfuscated: 10020 = 2000 checks
Example 4 – 500 events
- Normal: 500499 = 249500 checks
- Obfuscated = 50020 = 10000 checks
Hope this helps give some extra insight ^^
It could just be that I'm dense, but I don't really know exactly what you're going for by showing these numbers. It should be obvious that there will be fewer checks when comparing the results of your plugin (which is specifically designed to reduce checks)... against not using the plugin at all. Are you just trying to show that it's "good enough", even when obfuscated? What I'm more interested in is the fact that unobfuscated version of that plugin would result in an even greater reduction in the number of checks.


Gotta give it to the statement "TLDR: Obfuscated plugins can harm your game's performance." It is technically correct because Plugins can harm your game's performance and An obfuscated plugin is a plugin.

Yes, plugins can harm your game's performance. And if you obfuscate those same plugins, they will harm your game's performance even more, which is kinda the whole point here. If your game's performance is already a potentially delicate matter, why would intentionally introducing an additional unnecessary performance penalty ever not be a questionable thing to do?

Well, there you have it. This checks out with what I have seen, especially on the topic of Big O notation and time complexity scaling. In small use cases, you can get away with algorithms that have a time complexity of O(n²) or even O(n!), but at larger scales...like say, a plugin library you will want algorithms that have a time complexity of O(n log n) or O(n). If the overhead of code obfuscation scales linearly with complexity, there's nothing to worry about, and in most cases, that's the case.
That's not exactly how it works. You determine whether or not the time complexity of an algorithm is acceptable based on what that algorithm does for you. You're paying a cost, in order to receive something in return. If it gets you from point A to point B at a reasonable cost, then it's an acceptable algorithm. But obfuscation does nothing for you. There is no return. You're taking an algorithm that was already going to get you from point A to B within an acceptable amount of time, and telling it to take several pointless detours along the way, with absolutely no additional gain of any nature. That's not something that I personally consider to be okay.

Lack of a control experiment.
First I did one experiment (using the obfuscated plugin). Then I did the exact same experiment, where only one thing was changed (using a deobfuscated version of the plugin). That first scenario *is* a control experiment.

Misrepresenting of an edge case that won't realistically be used often enough to be worth considering, as the norm.
It was not misrepresented at all. I made it clear multiple times that the experiment depicted an unrealistic scenario.

Not making enough use of the developer tools to see exactly what was taking up most of the extra render time.
There was no need to do that. When only one thing changed between the two experiments, then it's obvious that the thing that changed is what accounted for the difference in render time. In this case, it's that the two decryption functions were no longer being called multiple times each, per every line of code.

Couldn't you just grab ANY plugins that AREN'T obfuscated for your control, and then obfuscate them yourself for the comparison? There's no reason at all for anyone to suggest deobfuscating plugins for the purpose of testing (and I don't remember or care who said that - I'm not directing this at you)
I had intended to do a variety of tests, including by obfuscating plugins that were not previously obfuscated. I just didn't get a chance, because the thread got shut down so fast. The reason I elected to do it the opposite way around in my initial tests was to prevent the possibility of people accusing me of skewing the results by intentionally obfuscating the code in a way that is more aggressive that what other plugin makers commonly do. I felt that using a real plugin that was obfuscated by a trusted developer would serve as a more convincing control.

tbh, obfuscation would need to cause pretty significant performance issues to consider not using them for that reason. I see people posting events here all the time that are totally inefficient and would slow their games down. I've looked back on some of my own scripts and plugins and discovered there are much better (more efficient) ways of doing things. And just the practice of adding heaps and heaps of plugins introduces a performance hit. So to me, even if performance did take a slight dip because some plugins are obfuscated, it wouldn't be a problem, because there would be many other things contributing to it as well.
Yeah, honestly, my point was never to say that obfuscated plugins absolutely are going to trash your game. It was moreso just to make people aware that obfuscation *can* be another factor among the many other things that can harm your game's performance, so that people could take that into account when trying to assess their own game's performance.
Here is the idea. Why don't we just obfuscate the default code and see if anything changes? 🤔
since you can't measure above 60 FPS on RPG Maker
AFAIK, you actually can. However, your monitor's refresh rate needs to be above 60 Hz, which is unfortunately something that I don't have. And as my PC can smoothly run AAA games on high settings, it would be weird if a normal usage of RPG Maker were able to cause me any notable lag, hence why I had to use extreme scenarios to test. If I could get either a better monitor, or a worse computer, it would certainly make testing this type of thing much easier, but this isn't really the type of thing I'm about to go spend money for.

Here is the idea. Why don't we just obfuscate the default code and see if anything changes? 🤔
Honestly, that sounds like a valid idea to me.
AFAIK, you actually can. However, your monitor's refresh rate needs to be above 60 Hz, which is unfortunately something that I don't have. And as my PC can smoothly run AAA games on high settings, it would be weird if a normal usage of RPG Maker were able to cause me any notable lag, hence why I had to use extreme scenarios to test. If I could get either a better monitor, or a worse computer, it would certainly make testing this type of thing much easier, but this isn't really the type of thing I'm about to go spend money for.


Honestly, that sounds like a valid idea to me.

Concerning the fps limit of RM: For sure, RM MV can run above 60 - check the link in my signature. I can't speak on behalf of MZ seeing as I don't own it. Would you mind sending me a deployed version of the obfuscated game and a deployed version of the de-obfuscated game? I'd like to run both on my computer and check the performance. I use a 1440p, 144hz monitor.

Secondly, if you are willing, could you do the reverse as suggested by Shaz? Could you take a plugin that has not been obfuscated and then obfuscate it in a similar method as the Visustella team?

I have no idea what it takes to obfuscate code (seeing as I am not a programmer). To me, obfuscating the entirety of the engine sounds like a huge undertaking, but if I am mistaken about this, then I'd like that data as well.
Would you mind sending me a deployed version of the obfuscated game and a deployed version of the de-obfuscated game?
Honestly, I would love to do that, but I think it's best if I don't. I don't think it would be ethical for me to distribute VisuStella's plugins in deobfuscated form, without their permission. It's not that I don't trust you, but I think it's a can of worms that should probably not be opened.

Just in case you didn't know, I'll mention that even when a project is deployed, the plugins don't get encrypted or anything like that, so people can still just grab them out of the plugins folder like normal.

Secondly, if you are willing, could you do the reverse as suggested by Shaz? Could you take a plugin that has not been obfuscated and then obfuscate it in a similar method as the Visustella team?
I'd be willing to do that. I don't know that it would be tonight, since I'd have to dig around and try to figure out if there are any ready-made obfuscation tools that employ a similar technique to the one that VisuStella uses.

It's not to pick on VisuStella specifically, but rather because I think that the results of the tests would be most useful if the obfuscation is similar to what can be commonly found among real obfuscated plugins. There are any number of ways that one can obfuscate code, and the range of the performance impact can vary widely depending on which one you use, so I think it's important to choose one that is similar to what a person might actually come across when using real obfuscated plugins. As VisuStella is the most prolific plugin provider that uses obfuscation, I think that their technique would probably be the most reasonable baseline for testing.

I have no idea what it takes to obfuscate code (seeing as I am not a programmer). To me, obfuscating the entirety of the engine sounds like a huge undertaking, but if I am mistaken about this, then I'd like that data as well.
It wouldn't really be any harder than obfuscating a few plugins. I think TheoAllen might have been partially joking with his suggestion, as a lot of people would probably dismiss the results of such a test, on account of it being an extreme/unrealistic scenario. However, I am legitimately curious about it.
I think 144 fps won't be enough to do a comparison if you're running high-end gaming hardware on it (which, I would assume you'd have with a 144 fps monitor). Maybe if you run on integrated graphics? High end modern integrated graphics might be able to catch the dip if you have it to switch to, since low end can be sub 60, but I wouldn't be surprised if it didn't without some stress.

Either way it would probably help to make the native res of the project that you obfuscate 1440p as well.
when a project is deployed, the plugins don't get encrypted
I see, I understand that concern. I saw a post the other day about a plugin encrypter but can't seem to find it. That said, would it be possible to wrap it in an exe? I know that both of these solutions come with their own performance compromise, but if you sent both the deobfuscated and obfuscated deployments, then they would equally suffer the same performance hit by whatever method is used to encrypt the plugins.

I think that their technique would probably be the most reasonable baseline for testing.
No rush on it. I should clarify that I am just trying to figure out how to structure the video, I won't have it out by next week.
This, what I quoted, is partly the reason why I specified "in a similar method to the Visustella team", the second reason is if you deobfuscated VS's obfuscation and the results were twice the fps, then if you took - for example - a Galv script and applied the same obfuscation, would it have similar results as the deobfuscation? (as in a 50% delta)

However, I am legitimately curious about it.
Well, if it's not hard, I do think it would be valuable to the core point of the original thread. The original thread wasn't even to target VS, but was about obfuscation as a whole (as you have also reiterated the that point in this very thread). VS was just used because...well see the previous sentence I quoted from you. If we have more data from different sources (i.e. different plugin developers) I think it will help move the discussion away from it feeling like a hit-piece of VS.
Moderator note: Please do not ask someone to send you deobfuscated plugins, in any format.

Even if sent as an exe, there are ways to reverse engineer.
I see, I understand that concern. I saw a post the other day about a plugin encrypter but can't seem to find it. That said, would it be possible to wrap it in an exe? I know that both of these solutions come with their own performance compromise, but if you sent both the deobfuscated and obfuscated deployments, then they would equally suffer the same performance hit by whatever method is used to encrypt the plugins.
As Shaz has already spoken on this, please don't be offended if I don't respond to this part.

I specified "in a similar method to the Visustella team"
Oops, either my brain or my eyes had apparently skipped over that part of the sentence the first time. Sorry, It's been a bit of a long day.

Well, if it's not hard, I do think it would be valuable to the core point of the original thread. The original thread wasn't even to target VS, but was about obfuscation as a whole (as you have also reiterated the that point in this very thread). VS was just used because...well see the previous sentence I quoted from you. If we have more data from different sources (i.e. different plugin developers) I think it will help move the discussion away from it feeling like a hit-piece of VS.
I agree. I'll fix you up a project like that as well.
@Elisha_Allbright
I'm going to go ahead and say upfront that this is probably the only time I'm going to humor the notion of debating with mystery friends through a third party. I don't mean that in a rude way, and you didn't necessarily do anything wrong by seeking out the opinion of someone that you consider to be knowledgeable about these matters and posting their opinion here.

The primary reason is simply because this forum's multi-quote system doesn't allow me to quote parts of other quotes, so in order to respond to individual points, I've gotta copy and paste each individual part and manually turn it into a quote, which is an inordinate hassle. The other reason is because arguing through a middle-man is not really conducive to a good discussion (IMO). I'll go ahead and do it this time, since your friend already took the time to write all that, but I'm not going to respond to any more, so if your friend feels the need to respond to this and wants me to respond back to their response, then they'll need to come here and post on their own behalf.


Starting off your argument by insinuating that the other person is a beginner is a common means of attempting to elevate your own status in the eyes of other viewers, in order to try to get them to view your words as being more authoritative, and to decrease the status of the other party in the eyes of the viewers, in order to try to devalue their words. It's a common tactic of people who are aware that their own argument is lackluster.

As some people are just naturally condescending, that may not have been your intention... but I'm going to go ahead and formally request that we all try to keep that kind of stuff out of here going forward. If your argument is solid, it will speak for itself, and the posturing should be unnecessary.


What you're neglecting here is the fact that the measurement that shows a factor of 2 or 3 is the measurement of the FPS of the game or the total number of events than can be spawned, etc. In other words, it's measuring the performance of the system as a whole--not of one single function or algorithm. If your FPS gets cut in half, that can be kinda a big deal.

If one single line/function/algorithm is 2 to 3 times slower, that is often negligible in the big picture. Unfortunately, that's not the case here, since the performance of individual pieces of code is is often reduced by a factor way higher than 2 or 3 after being obfuscated. It's the entirety of the code, combined, that is 2 to 3 times slower.


The hot paths are obfuscated as well.


That is being arbitrarily decided by the plugin developer. They're deciding that it performs "good enough" for whatever they've arbitrarily deemed to be normal usage, on whatever type of hardware they have deemed to be normal. The plugins *could* run better on weaker hardware, or they *could* allow the developers to use them more freely in less "normal" scenarios, if they weren't obfuscated.

Certainly, developers have to make those types of decisions. But usually when performance is sacrificed, it's in exchange for more features, or for the sake of more readable/extendable code, ease of development, etc. But in this case, the code is essentially just being run through a shredder and having its performance cut in half right before it reaches the customer's hands. As a customer, knowing that is a bit vexing.

Maybe, for my particular usage, it won't wind up mattering in the end. But knowing that my game maybe *could* run better on weaker hardware (and thus reach a bigger audience), and knowing that the thing that I'm stamping my name on and sharing with the world *could* easily be a little bit better, makes it difficult for me to feel good about obfuscation.

But at the end of the day, my objective in the original thread was not to imply that using obfuscated plugins absolutely will ruin your game. I was moreso attempting to spread awareness of the fact that obfuscation does impact the performance of the code, so that people *could* consider the situation at all. Most people had no idea that obfuscating code had a performance impact, so they were unable to consider it to begin with.


It could just be that I'm dense, but I don't really know exactly what you're going for by showing these numbers. It should be obvious that there will be fewer checks when comparing the results of your plugin (which is specifically designed to reduce checks)... against not using the plugin at all. Are you just trying to show that it's "good enough", even when obfuscated? What I'm more interested in is the fact that unobfuscated version of that plugin would result in an even greater reduction in the number of checks.




Yes, plugins can harm your game's performance. And if you obfuscate those same plugins, they will harm your game's performance even more, which is kinda the whole point here. If your game's performance is already a potentially delicate matter, why would intentionally introducing an additional unnecessary performance penalty ever not be a questionable thing to do?


That's not exactly how it works. You determine whether or not the time complexity of an algorithm is acceptable based on what that algorithm does for you. You're paying a cost, in order to receive something in return. If it gets you from point A to point B at a reasonable cost, then it's an acceptable algorithm. But obfuscation does nothing for you. There is no return. You're taking an algorithm that was already going to get you from point A to B within an acceptable amount of time, and telling it to take several pointless detours along the way, with absolutely no additional gain of any nature. That's not something that I personally consider to be okay.


First I did one experiment (using the obfuscated plugin). Then I did the exact same experiment, where only one thing was changed (using a deobfuscated version of the plugin). That first scenario *is* a control experiment.


It was not misrepresented at all. I made it clear multiple times that the experiment depicted an unrealistic scenario.


There was no need to do that. When only one thing changed between the two experiments, then it's obvious that the thing that changed is what accounted for the difference in render time. In this case, it's that the two decryption functions were no longer being called multiple times each, per every line of code.


I had intended to do a variety of tests, including by obfuscating plugins that were not previously obfuscated. I just didn't get a chance, because the thread got shut down so fast. The reason I elected to do it the opposite way around in my initial tests was to prevent the possibility of people accusing me of skewing the results by intentionally obfuscating the code in a way that is more aggressive that what other plugin makers commonly do. I felt that using a real plugin that was obfuscated by a trusted developer would serve as a more convincing control.


Yeah, honestly, my point was never to say that obfuscated plugins absolutely are going to trash your game. It was moreso just to make people aware that obfuscation *can* be another factor among the many other things that can harm your game's performance, so that people could take that into account when trying to assess their own game's performance.
You're missing the key here, you didn't control for how one would implement a method of achieving the effect using the base engine. And you didn't gather enough data points to see how that performance difference through obfuscation scales. For a point that you seem passionate about enough to bring up two years after the original discussion, there seems to be a resistance against the idea of taking more stringent tests. Why? If you think it's condescension, it isn't, it's just having high testing standards. Because being irresponsible with data like this can lead to unintentional deception. (Or maybe intentional, idfc. Intent doesn't matter, the result is the same. Moreover, you've created an environment where people are already asking for deobfuscated code to be distributed illicitly.)

You miss the point the friend made, in that time complexity also matters in measuring performance impacts. The point is is that code obfuscation doesn't turn a plugin into a black box, there are measurements you can make using the developer tools to see which part of the code runs hotter. It won't be pretty, but it can be done.
For a point that you seem passionate about enough to bring up two years after the original discussion, there seems to be a resistance against the idea of taking more stringent tests.
Where did you even get that impression? Literally the last several post before yours is talking about a method of testing without visutella stuff just testing with the obfustication. Not everything is some grand conspiracy here, what Arthan did in the original post and got attacked for was already a decent amount of effort. It shouldn't be surprising that the reaction dampened motivation to pursue further testing at that time.
You miss the point the friend made, in that time complexity also matters in measuring performance impacts. The point is is that code obfuscation doesn't turn a plugin into a black box, there are measurements you can make using the developer tools to see which part of the code runs hotter. It won't be pretty, but it can be done.
You missed the point. Arthan tested with only 1 thing different in the original test, which is to say that that one difference was the only thing changing the performance. Making development tools to prove that the one thing that changed between two tests was the cause of the performance difference seems very overkill. Not to mention, that if you question their motivation you'd probably further question the development tools they made.
Where did you even get that impression? Literally the last several post before yours is talking about a method of testing without visutella stuff just testing with the obfustication. Not everything is some grand conspiracy here, what Arthan did in the original post and got attacked for was already a decent amount of effort. It shouldn't be surprising that the reaction dampened motivation to pursue further testing at that time.

You missed the point. Arthan tested with only 1 thing different in the original test, which is to say that that one difference was the only thing changing the performance. Making development tools to prove that the one thing that changed between two tests was the cause of the performance difference seems very overkill. Not to mention, that if you question their motivation you'd probably further question the development tools they made.
Look, you and I both know why this thread and topic exists. You and I can both see that there are already people asking for deobfuscated code of VisuStellaMZ plugins to be distributed. Regardless of intent, this happened in this thread.

Also, who said anything about making new tools? We're talking about the tool that pops up when you press F12 when testing. And you know, I think we can all respect the idea of due diligence when testing, right?

Now, I'm gonna sit back to wait for the proposed tests to happen and see how well it's been conducted.
Look, you and I both know why this thread and topic exists. You and I can both see that there are already people asking for deobfuscated code of VisuStellaMZ plugins to be distributed. Regardless of intent, this happened in this thread.
Do we? I saw just as many posts suggesting other obfuscation methods that are less intensive in the previous test thread. I'm not sure why this has to be policed so heavily like that, sure don't allow people to attack others, but this type of going after people as if they're operating on some personal grudge is silly, and honestly it does more to breed hostility than it does to quell it.


Also, who said anything about making new tools? We're talking about the tool that pops up when you press F12 when testing. And you know, I think we can all respect the idea of due diligence when testing, right?

Now, I'm gonna sit back to wait for the proposed tests to happen and see how well it's been conducted.
Right. Regardless if there's only one difference inbetween tests (though it feels as though you're suggesting the difference is made up which is silly), then that one difference is the cause of the difference, it's simple logic.

You're acting like this is some sort of trial instead of a minor side project and discussion. This isn't gamer's nexus where every minute detail is weighed, what was already done is far more rigorous than most performance testing I've seen in this forum.
My personal experience with obfuscated javascript code has only been with Visustella's plugins, not even in my day job I had to deal with obfuscated code, even when it has been payed (My job is software development), so my opininon is basically based on observation on what I had to deal when creating specific code that could potentialy clash with Visustella's plugins.

As a software developer, I can say that, theoretically, obfuscated code shouldn't have a great impact on performance of the code during execution, unless the obfuscation was done in a wrong way or the original code is not well written or a combination of both. Obfuscation does have a small impact on code performance, that's why, as a developer, if you know that the code is going to be obfuscated, you should write you code as efficient as posible. But even with that in mind, it will have a certain impact.

I have been able to peak sometimes into Visustella's unobfuscated code, and I have noticed that the obfuscation tends to add control flow statements that do absolutely nothing in order to sort of throw out someone who doesn't know how to understand code. Also, the obfuscation method they use sort of "rearranges" the code. So, it is possible that their code might suffer some impact because of that particular method. If I remember correctly, years ago when they started releasing their first plugins with that method, they mentioned that they have taken that into consideration and found that the performance will not suffer that much. Granted, they didn't present any specific proof of that, but it really didn't matter at the time, and I don't think it might matter now, at least for Visustella's plugins, as they keep improving performance of their plugins.

Maybe a fair question, at least regarding rpg maker is, how much is acceptable as performance impact of an obfuscated code? Because no matter what, some developers will choose to obfuscate their code, whether for security, legal or financial reasons, sometimes it is better to do the obfuscation.
You and I can both see that there are already people asking for deobfuscated code of VisuStellaMZ plugins to be distributed.
I'm going to make this very clear that I am not even going to entertain blatant misrepresentation of facts like this. In no part was I requesting deobfuscated plugins be distributed. If you cannot read the context surrounding the reason why I made such a request then there is no reason to discuss it further.

Blatant misrepresentation of facts is only harming any sort of reputation in factualness you are trying to present, and if you are truly trying to make a strong case, I strongly suggest you reconsider how you frame things.
Maybe a fair question, at least regarding rpg maker is, how much is acceptable as performance impact of an obfuscated code?
I don't know if there is one right or acceptable answer to this. Every game is going to play differently on every machine. I have honestly played a game at 2fps on my computer (due to 3 parallel process events all running at once) when the creator had no issues at all. So there are many things impacting a game's performance and it will not play the same for two different people. Obfuscation is just one of those things.


And based on the last few posts, we're done here.

If the OP has more to add and wants the thread reopened, they can report it or contact one of us via PM.

Moderator note: Closing. Do not start another thread for this subject.

Original thread: https://forums.rpgmakerweb.com/threads/obfuscation-derailment-thread.155879/