How to modify Unity games from Steam (eg. for changing behavior, adding lots of currency/etc.)
- use the updated dnSpy fork, drag and drop in the
Assembly-CSharp.dll
and edit the source code, thenSave All
, and reload game.
Use the updated UnityExplorer fork and MelonLoader.
- Open MelonLoader launcher and select the game you want to add, via the auto game detection GUI.
- Go to the Steam game, click on "Browse Local files" to get you to the game sources folder.
- Paste in the
/Mods
and/UserLibs
folder with files from theUnityExplorer
zip (usually CoreCLR version for newer games) - Run the game, you should see a UI, usually all you need to do is to inspect the right IL2CPP class, edit some variables, or call some functions manually/creatively