gdsdecomp icon indicating copy to clipboard operation
gdsdecomp copied to clipboard

[Feature Request] - support for decompiling CSharp scripts

Open mkisX4 opened this issue 3 years ago • 3 comments

In a process of recovering some of my oldest projects I stumbled upon an interesting "bug" — gdsdecomp doesn't know what to do with .cs files and leaves it empty. Tried full recovery with .8 and .9, both hadn't succeded.

Would be cool if there'd be a way to restore them as well.

mkisX4 avatar Sep 16 '22 08:09 mkisX4

as a temporary workaround, you can decompile il bytecode with a tool like dnspy or ilspy. you can find the assemblies in <pck_export>/.mono/assemblies//*.dll

char-ptr avatar Sep 19 '22 19:09 char-ptr

What pozm said. Ilspy, dnspy, or dotpeek are all great solutions to this. I don't have much experience with godot mono, so I'm reticent to add any C# decomp features to this, but I will welcome any PRs.

nikitalita avatar Sep 22 '22 17:09 nikitalita