bruvzg / gdsdecomp

Godot reverse engineering tools
MIT License
1.42k stars 138 forks source link

[Suggestion] - a way to decompile .cs files #67

Open mkisX4 opened 1 year ago

mkisX4 commented 1 year ago

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.

char-ptr commented 1 year ago

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

nikitalita commented 1 year ago

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.