/deobfuscate-7dtd

A module-based deobfuscator for 7 Days to Die

Primary LanguageC#

#Deobfuscate-7dtd

Deobfuscate-7dtd is a module-based deobfuscator for 7 Days to Die.

Trying to make modding much easier for the community, flexibility is a main aim so everybody can contribute without coming into conflict with existing code.

##Usage Drag-and-drop the original Assembly-CSharp.dll in the "7 Days To Die\7DaysToDie_Data\Managed" folder into Deobfuscate-Main.exe.

A new Assembly-CSharp.deobf.dll will be put into that folder.

##Internals Deobfuscate-Main loads Assembly-CSharp.dll into an AssemblyDefinition using Mono.Cecil.

Then, each module listed in patchers/patchers.xml will be called in order of the listing. You can find examples in the releases.

The modules make use of Mono.Cecil, additionaly Mono.Cecil.Rocks is provided.

Each module's main class should provide these methods :

public static string getName()

public static string[] getAuthors()

public static void Patch(DeobfuscateMain.Logger logger, AssemblyDefinition asmCSharp, AssemblyDefinition __reserved)

##Compiling You can use MonoDevelop or Microsoft Visual Studio to open the .sln file.

To compile, you need to copy Mono.Cecil.dll and Mono.Cecil.Rocks.dll (which you can find in the releases) into the path of the project.

##Contributing If you want to contribute, please write me a private message in the 7 Days to Die forums.