16 ms·
> I imagine now days with everything being made in Unity/Unreal etc, it's much harder to reverse engineer. Unity games are actually incredibly pleasant to reve
by Faark 5y ago
> I imagine now days with everything being made in Unity/Unreal etc, it's much harder to reverse engineer.
Unity games are actually incredibly pleasant to reverse engineer most of the time, since they are built on .NET/Mono. Unless they are intentionally obfuscated (don't think I had that more than once) you can pretty much just drag and drop the Data\Managed\Assembly-CSharp.dll into your .NET decompiler of choice. The byte code is pretty close to source, with pretty much the entire class structures still there. Only the inside of functions has to be restored, thus the AST might be slightly different and variable names gone.
Even more comfortable are pure .NET games... simply attached the full IDE to debug. Rider even takes care of the decompilation on the fly.
- doix 5y agoInteresting, I was unaware that Unity was all .NET, thanks for the info! I have messed about with Terraria reverse engineering (pure .NET) and that was easy like you said.