modcreation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
modcreation [2019/07/02 08:29] – umfdev | modcreation [2019/07/04 06:58] – umfdev | ||
---|---|---|---|
Line 28: | Line 28: | ||
* {{: | * {{: | ||
- Add your code and click Build > Rebuild. (Rebuild will clean your project before each build.) | - Add your code and click Build > Rebuild. (Rebuild will clean your project before each build.) | ||
- | * See **[[# | + | |
+ | | ||
+ | \\ | ||
+ | ---- | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ====== Decompiling Game Code ====== | ||
+ | In order to modify existing game code or figure out which game code you want to interface with you must decompile the game code using any decompiling program.\\ | ||
+ | Due to the vast superiority of [[https:// | ||
+ | Once you have installed dnSpy follow these steps: | ||
+ | - Run dnSpy once so that it integrates with windows explorer' | ||
+ | - Navigate to '' | ||
+ | - Right click '' | ||
+ | * Alternatively you can click **File > Open** inside the dnSpy and open this file. | ||
+ | - Navigate through the **Assembly Explorer** on the left side until you reach the '' | ||
+ | * {{:: | ||
+ | * This is where you will find the vast majority of the game code for most games. | ||
+ | * Some games may use other namespaces for some of it's code. | ||
+ | - Use the **Assembly Explorer**, **Search** and **Analyze** tools of dnSpy to discover code relevant to what you want to mod and learn where it is tied to. | ||
+ | * See **[[guide_firstsrmod|My First Slime Rancher Mod (Modding Guide)]]** to learn various ways to create a basic mod. | ||
+ | * See **[[# | ||
\\ | \\ | ||
---- | ---- | ||
Line 36: | Line 57: | ||
====== Important Links and Info ====== | ====== Important Links and Info ====== | ||
* **[[api: | * **[[api: | ||
+ | * **[[guides|Modding Guides]]** - A list of guides to assist you in creating mods for UMF. | ||
* **[[Harmony]]** - Harmony is a useful library provided with UMF that lets you overwrite and inject code in MEMORY into existing classes and functions. | * **[[Harmony]]** - Harmony is a useful library provided with UMF that lets you overwrite and inject code in MEMORY into existing classes and functions. | ||
* **[[: | * **[[: | ||
- | | + | * **[[: |
- | | + | |
* **[[: | * **[[: | ||
* **[[: | * **[[: | ||
- | UMF starts and access mods through **[[api: | + | UMF starts and access mods through **[[api: |
Mods can currently be provided as .cs files, .dll files, .zip files(containing .dll files), and .umfmod files(packed and encrypted) by the **[[: | Mods can currently be provided as .cs files, .dll files, .zip files(containing .dll files), and .umfmod files(packed and encrypted) by the **[[: | ||
UMF and Mods made with UMF does not re-distribute any code or game files from games or the Unity Engine. Making them both morally and legally safe.\\ | UMF and Mods made with UMF does not re-distribute any code or game files from games or the Unity Engine. Making them both morally and legally safe.\\ | ||
- | Mods made with UMF can also be freely sold/ | + | Mods made with UMF can also be freely sold/ |
\\ | \\ | ||
---- | ---- |
modcreation.txt · Last modified: 2024/04/24 23:22 by 127.0.0.1