Greetings fellow MPGH stalkers,
For many, English is not their first language. Due to this language barrier, many find learning how to edit the Assembly-CSharp.dll difficult from the English-only tutorials on this forum. With this issue in mind, as well as the goal of creating better visual-based learning, I've created a few different videos of myself editing the Assembly-CSharp.dll. While the language used the the videos is English (and you cannot copy text from videos into a translator), I hope by giving a visual example, it will be easier for people to follow along by using simple pattern recognition.
I will be using dnSpy as the assembly editor in the videos. While in the past, I've primarily used ILSpy or .NET Reflector, dnSpy can be more beginner friendly in my opinion.
The Beginning
Setting up dnSpy and opening an assembly.
1. Download dnSpy
2. Open the Assembly-CSharp.dll
3. Setting dnSpy options (IMPORTANT)
The Meat (and Potatoes)
Making all of the desired edits to the assembly.
Beyond the several examples shown here, most (if not all) modifications listed in past information sheets still apply. Just pick and choose what you want.
Some of the videos will have "IL" alternatives. These are where the assembly instructions are edited directly like in the past with ILSpy. Editing the assembly using dnSpy's C# method editor is often much easier. However, it does not work all of the time. If errors are generated after editing using the C# editor, you will probably have to edit whatever modification you're doing using the old IL.
4a. Creative and debug menus IL
4b. Console Commands
4b-2. Console Commands with IL
4c. Displaying all players on the map
4c-2. Displaying all players on the map IL
4d. Build Distance, Build Interval, Pickup Distance
The End
Saving all of the changes.
After make all of the desired modifications to the Assembly-CSharp.dll, you must save the changes. This is very IMPORTANT. Obviously, if you don't save the changes, none of the edits will work.
5. Saving the Assembly
Summary: File -> Save Module -> Ok
Best,
Sqeegie