Ludeon Forums

Ludeon Forums

  • August 17, 2022, 02:55:45 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Decompiling and editing .dll files  (Read 673 times)

strusik_

  • Muffalo
  • *
  • Posts: 2
  • Refugee
    • View Profile
Decompiling and editing .dll files
« on: May 29, 2022, 08:14:35 AM »

Hi, this is a pretty trivial question, but it really bothers me. How do I edit the .dll file of a downloaded mod?

I was able to decompile the file with dotPeek, but that program does not allow me to edit it. I exported the decompiled file to Visual Studio to edit the code, but Visual Studio cannot compile the file back because the code shows many red alleged errors. Can you please tell me a way to edit the dll file. Thank you in advance for your help :)
« Last Edit: May 29, 2022, 08:17:18 AM by strusik_ »
Logged

RawCode

  • Super Tester
  • Planetologist
  • ***
  • Posts: 1987
  • Refugee
    • View Profile
Logged

strusik_

  • Muffalo
  • *
  • Posts: 2
  • Refugee
    • View Profile
Re: Decompiling and editing .dll files
« Reply #2 on: May 30, 2022, 09:36:46 AM »

Thanks, but as I said, I was able to decompile the file and edit it in Visual Studio, but I can't compile it back because Visual Studio highlights a lot of red errors in the code. In google tutorials, projects are written from scratch, rather than editing a downloaded file
Logged

RawCode

  • Super Tester
  • Planetologist
  • ***
  • Posts: 1987
  • Refugee
    • View Profile
Re: Decompiling and editing .dll files
« Reply #3 on: May 30, 2022, 02:16:11 PM »

please read __very first__ output of google from very beginning to very end.

it's possible that output for you will be different, due to language and preferences, try "secure tab" or similar feature of your browser to ensure reliable results, or probably read more then single result, like two first pages...

Logged