Please dont run obfuscation over the code!
Moderator: MOD_DW2
-
- Posts: 20
- Joined: Mon Mar 01, 2021 9:26 pm
Please dont run obfuscation over the code!
Hello dear developers,
i am very hyped for the game, but for every upcoming game i am very interested in, i have a few fears.
I have already asked about something simmilar a while back, but the game was in early stages and now that the game is nearing release, i hope i can throw away some of my fears.
Some game studios have a fear of getting their code stolen, espacially if working with c# engines. Reason is most likely, that the code can be read if not intentionally obfuscated. History shows, that this is a very irrational fear and many huge games (and small games) do not obfuscate their code. One example is Mount and blade 2 bannerlord or nearly any unity game out there. This allows for modders to actually add their own mod support and modding tools to a game, which give a way stronger and healthier modding community.
I myself am a very experienced c# coder/modder and would love to dig into binary modding (even if unsupported by the devs) and create my own tools and so on.
I hope you guys dont intentionally obfuscate your code. I can fully understand not officialy supporting core modding, but please dont smash it right from the start!
i hope my pledge reaches open ears.
i am very hyped for the game, but for every upcoming game i am very interested in, i have a few fears.
I have already asked about something simmilar a while back, but the game was in early stages and now that the game is nearing release, i hope i can throw away some of my fears.
Some game studios have a fear of getting their code stolen, espacially if working with c# engines. Reason is most likely, that the code can be read if not intentionally obfuscated. History shows, that this is a very irrational fear and many huge games (and small games) do not obfuscate their code. One example is Mount and blade 2 bannerlord or nearly any unity game out there. This allows for modders to actually add their own mod support and modding tools to a game, which give a way stronger and healthier modding community.
I myself am a very experienced c# coder/modder and would love to dig into binary modding (even if unsupported by the devs) and create my own tools and so on.
I hope you guys dont intentionally obfuscate your code. I can fully understand not officialy supporting core modding, but please dont smash it right from the start!
i hope my pledge reaches open ears.
- Erik Rutins
- Posts: 39650
- Joined: Tue Mar 28, 2000 4:00 pm
- Location: Vermont, USA
- Contact:
RE: Please dont run obfuscation over the code!
I'll discuss this with Elliot, but as far as I know right now, he's quite protective of his code so I expect it would be obfuscated. I've seen a few other requests for "harmony" modding which is a similar thing. We may not have time to fully research this before release, but I promise we'll listen and consider the possibilities.
Regard,
- Erik
Regard,
- Erik
Erik Rutins
CEO, Matrix Games LLC

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/
Freedom is not Free.
CEO, Matrix Games LLC

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/
Freedom is not Free.
RE: Please dont run obfuscation over the code!
At the end of the day, all that Obfuscation does it make things harder to read after the inevitable decompliation.ORIGINAL: Erik Rutins
I'll discuss this with Elliot, but as far as I know right now, he's quite protective of his code so I expect it would be obfuscated. I've seen a few other requests for "harmony" modding which is a similar thing. We may not have time to fully research this before release, but I promise we'll listen and consider the possibilities.
Regard,
- Erik
As long as code can be executed on a CPU, it can be decompiled. That is the ultimate limit on obfuscation.
But at the end of the day, it is Elliots choice. And we can not realy fault him for wanting to keep his child in his care.
-
- Posts: 20
- Joined: Mon Mar 01, 2021 9:26 pm
RE: Please dont run obfuscation over the code!
Thanks for your reply! Harmony is just the tool to inject code into existing functions without changing the base functions and cleanly overwriting existing functions at runtime.ORIGINAL: Erik Rutins
I'll discuss this with Elliot, but as far as I know right now, he's quite protective of his code so I expect it would be obfuscated. I've seen a few other requests for "harmony" modding which is a similar thing. We may not have time to fully research this before release, but I promise we'll listen and consider the possibilities.
Regard,
- Erik
I guess every company is protective of their code and obfuscation does not really do the trick in this regard. There have been recent leaks of the whole FIFA engine that has been sold by hackers.. and to say the least no one was interested in buying it. Even after the hackers have released the code to download for free, no one downloaded it. There have been no cases of c# games, that were unobfuscated, where any code has been stolen. There are lots of huge games, that allow core modding, that never had any issues of code beeing stolen or used other than modding.
I hope we can get Elliot to rethink his stance on this topic, but i also understand if not. In the end its the developers choice of what he thinks is right.
RE: Please dont run obfuscation over the code!
Obfuscation would only be necessary if there was an example of a game code stolen then rebranded as a new game sold somewhere. I know of no such case. The others possibilities being modders doing their things with the code, like for example Rimworld. The code is not obfuscated and some advanced mods, equivalent in content to whole DLCs are made thanks to that.
AGEOD Team
RE: Please dont run obfuscation over the code!
ORIGINAL: Pocus
Obfuscation would only be necessary if there was an example of a game code stolen then rebranded as a new game sold somewhere. I know of no such case. The others possibilities being modders doing their things with the code, like for example Rimworld. The code is not obfuscated and some advanced mods, equivalent in content to whole DLCs are made thanks to that.
I believe Myth of Empires was accused of this? They stole code, and even got taken down on Steam?
RE: Please dont run obfuscation over the code!
But that was not decompliation.ORIGINAL: Slish
ORIGINAL: Pocus
Obfuscation would only be necessary if there was an example of a game code stolen then rebranded as a new game sold somewhere. I know of no such case. The others possibilities being modders doing their things with the code, like for example Rimworld. The code is not obfuscated and some advanced mods, equivalent in content to whole DLCs are made thanks to that.
I believe Myth of Empires was accused of this? They stole code, and even got taken down on Steam?
IIRC they actually handeled/made the code to order, to fix the original issue Ark had.
Plus my last info is it avoided being taken down?
Edit: Nevermind. They are off Steam, but just sell it on their own now.
RE: Please dont run obfuscation over the code!
ORIGINAL: zgrssd
But that was not decompliation.ORIGINAL: Slish
ORIGINAL: Pocus
Obfuscation would only be necessary if there was an example of a game code stolen then rebranded as a new game sold somewhere. I know of no such case. The others possibilities being modders doing their things with the code, like for example Rimworld. The code is not obfuscated and some advanced mods, equivalent in content to whole DLCs are made thanks to that.
I believe Myth of Empires was accused of this? They stole code, and even got taken down on Steam?
IIRC they actually handeled/made the code to order, to fix the original issue Ark had.
Plus my last info is it avoided being taken down?
Edit: Nevermind. They are off Steam, but just sell it on their own now.
Ok, I don't know all the details. Your post just reminded me of Myth of Empires. It is really taken down on Steam still. They are pursuing a court case though to get it back on Steam I believe.
RE: Please dont run obfuscation over the code!
So I read up on it again:ORIGINAL: Slish
ORIGINAL: zgrssd
But that was not decompliation.ORIGINAL: Slish
I believe Myth of Empires was accused of this? They stole code, and even got taken down on Steam?
IIRC they actually handeled/made the code to order, to fix the original issue Ark had.
Plus my last info is it avoided being taken down?
Edit: Nevermind. They are off Steam, but just sell it on their own now.
Ok, I don't know all the details. Your post just reminded me of Myth of Empires. It is really taken down on Steam still. They are pursuing a court case though to get it back on Steam I believe.
Wildcard Games made Ark.
A Ex-Member of Wildcard - with access to the sourcecode - founded Snail games.
Snail games brought out Myth of Empires.
That is how they got suspicious.
A comparision of the code showed supposedly hundreds of similarities.
-
- Posts: 13
- Joined: Sun Jan 01, 2012 4:17 pm
RE: Please dont run obfuscation over the code!
I'm a modder and I'd like to express immense support for allowing us to Harmony mod the game. So many great games benefit from this process: Rimworld, Oxygen Not Included, etc, where modding greatly expands what the game is capable of and benefits everyone. I've never seen any game that gets decompiled that goes on to being stolen by someone else and sold.
RE: Please dont run obfuscation over the code!
I second Deathawaits4's request and makotech222's comment.
Please don't restrict modding. [&o]
Game mods allow players to extend the fun that a game offers, in so many different and exiting ways. It is just awesome to be able to customize the UI, 3D units, textures but also some game mechanics.
Please please, consider allowing modders to fully express their creativity (which, in the end, will make your players (your customers) happier and make them thankful to you for letting them download all these very various mods).
Please don't restrict modding. [&o]
Game mods allow players to extend the fun that a game offers, in so many different and exiting ways. It is just awesome to be able to customize the UI, 3D units, textures but also some game mechanics.
Please please, consider allowing modders to fully express their creativity (which, in the end, will make your players (your customers) happier and make them thankful to you for letting them download all these very various mods).
RE: Please dont run obfuscation over the code!
It can be analyzed as a risk vs reward decision. Are risks high or low? What about rewards?
As a sidenote, I'm programming in Slitherine's Archon language, which is basically "scripts in plain sight". UI, AI, gameplay is 100% exposed in plain texts files, and pretty understandable as I comment a lot (my goldfish memory thanks me a lot about that, well it would if it remembered it should thanks my other self [:D] ).
If theft was even an uncommon occurrence and not something nearing non-existence, then I guess all the games done in Archon would be prime candidates. For example Battle Academy I, II, III, Field of Glory from Richard Bodley Scott and several others games, including mine (Empires and then <redacted>) . I have never heard anything about that.
As a sidenote, I'm programming in Slitherine's Archon language, which is basically "scripts in plain sight". UI, AI, gameplay is 100% exposed in plain texts files, and pretty understandable as I comment a lot (my goldfish memory thanks me a lot about that, well it would if it remembered it should thanks my other self [:D] ).
If theft was even an uncommon occurrence and not something nearing non-existence, then I guess all the games done in Archon would be prime candidates. For example Battle Academy I, II, III, Field of Glory from Richard Bodley Scott and several others games, including mine (Empires and then <redacted>) . I have never heard anything about that.
AGEOD Team
RE: Please dont run obfuscation over the code!
I think you got a flip in that sentence, as it says the opposit of the rest of your post.Please restrict modding to the minimum.
RE: Please dont run obfuscation over the code!
This is unfortunately a poor example.As a sidenote, I'm programming in Slitherine's Archon language, which is basically "scripts in plain sight". UI, AI, gameplay is 100% exposed in plain texts files, and pretty understandable as I comment a lot (my goldfish memory thanks me a lot about that, well it would if it remembered it should thanks my other self ).
If theft was even an uncommon occurrence and not something nearing non-existence, then I guess all the games done in Archon would be prime candidates. For example Battle Academy I, II, III, Field of Glory from Richard Bodley Scott and several others games, including mine (Empires and then <redacted>) . I have never heard anything about that.
This is a interpreted langauge. And I am betting the Interpreter itself require licensing for commercial use.
Without the Interpreter, your Source Code is not more usefull for gaming then grandmothers cooking recipes.
And Slitherine propably has a way to get other games thrown out for blatant sourcecode theft. Similar to how you can get games thrown off Steam.
RE: Please dont run obfuscation over the code!
ORIGINAL: zgrssd
I think you got a flip in that sentence, as it says the opposit of the rest of your post.Please restrict modding to the minimum.
Oops, thank you for correcting me.
I indeed meant "please don't restrict modding (too much)".
-
- Posts: 861
- Joined: Wed Mar 17, 2010 7:53 pm
RE: Please dont run obfuscation over the code!
Open games like Rimworld are clear examples of how a strong modding community can carry what is a relatively simple game to greatness.
I doubt that anyone would steal the code to try and create a similar game and then sell it, that would be really difficult to get away with and the example of that happening are so rare to the examples of great modding communities have lifted the sales and popularity of games.
Ultimately it is the creators right to do as they wish and I would respect and support that, even if I don't agree with their decisions.
I doubt that anyone would steal the code to try and create a similar game and then sell it, that would be really difficult to get away with and the example of that happening are so rare to the examples of great modding communities have lifted the sales and popularity of games.
Ultimately it is the creators right to do as they wish and I would respect and support that, even if I don't agree with their decisions.
RE: Please dont run obfuscation over the code!
ORIGINAL: zgrssd
This is unfortunately a poor example.As a sidenote, I'm programming in Slitherine's Archon language, which is basically "scripts in plain sight". UI, AI, gameplay is 100% exposed in plain texts files, and pretty understandable as I comment a lot (my goldfish memory thanks me a lot about that, well it would if it remembered it should thanks my other self ).
If theft was even an uncommon occurrence and not something nearing non-existence, then I guess all the games done in Archon would be prime candidates. For example Battle Academy I, II, III, Field of Glory from Richard Bodley Scott and several others games, including mine (Empires and then <redacted>) . I have never heard anything about that.
This is a interpreted langauge. And I am betting the Interpreter itself require licensing for commercial use.
Without the Interpreter, your Source Code is not more usefull for gaming then grandmothers cooking recipes.
And Slitherine propably has a way to get other games thrown out for blatant sourcecode theft. Similar to how you can get games thrown off Steam.
I beg to differ. You do need the interpreter obviously, but you don't need to understand anything of it. You only need to use the interpreted code to do whatever you want. This has never been done, and it's much easier to understand and edit it than working with an executable, even if not obfuscated.
If people were interested into stealing others people code, then a game done in Archon would be a prime candidate for that. Admittedly, they have less coverage and diffusion than Rimworld though.
AGEOD Team
RE: Please dont run obfuscation over the code!
You think a interpeter is a new concept?I beg to differ. You do need the interpreter obviously, but you don't need to understand anything of it. You only need to use the interpreted code to do whatever you want. This has never been done, and it's much easier to understand and edit it than working with an executable, even if not obfuscated.
Batchfiles
python
PHP
If you include interpreted langauges that get compiled into a intermediate format, you can add such uncommon stuff as:
Java and .NET
It would also be easier to proove code theft then anywhere else.If people were interested into stealing others people code, then a game done in Archon would be a prime candidate for that.
And Archon - like any approach like it before and after - certainly has limits too.
-
- Posts: 20
- Joined: Mon Mar 01, 2021 9:26 pm
RE: Please dont run obfuscation over the code!
I am glad that my plege is getting so much support.
Code theft is near non existant. Something that happens on a regular basis is the theft of 3d/2d art by single entities trying to make some quick buck on 3d platforms, but decompiling 3d art is very easy anyway.
I really hope that this gets even more tractions to show how much we actually want this!
Thanks guys.
Code theft is near non existant. Something that happens on a regular basis is the theft of 3d/2d art by single entities trying to make some quick buck on 3d platforms, but decompiling 3d art is very easy anyway.
I really hope that this gets even more tractions to show how much we actually want this!
Thanks guys.
RE: Please dont run obfuscation over the code!
From the perspective of someone who doesn't mod, I really appreciate mods.
Elliot is a lone coder, and does an exceptional job. But he's still just one man and his keyboard.
Modding recruits a 'team' that expands exponentially and so the output of content. This attracts more players (buyers) and increases retention (play time). They're win-win in that respect.
For example, I wouldn't play DWU without some of the mods such as Bacon, expanded races and some of the ships and UI mods.
I'm really excited to see what modders bring to DW2, because it deserves the attention!
Elliot is a lone coder, and does an exceptional job. But he's still just one man and his keyboard.
Modding recruits a 'team' that expands exponentially and so the output of content. This attracts more players (buyers) and increases retention (play time). They're win-win in that respect.
For example, I wouldn't play DWU without some of the mods such as Bacon, expanded races and some of the ships and UI mods.
I'm really excited to see what modders bring to DW2, because it deserves the attention!
I've been beta testing myself for decades.