User Tools

Site Tools


modcreation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
modcreation [2019/07/04 06:56] – ↷ Links adapted because of a move operation umfdevmodcreation [2024/04/24 23:22] (current) – external edit 127.0.0.1
Line 17: Line 17:
 ====== Mod Project Files ====== ====== Mod Project Files ======
   - Run ''UMF.ProjectGenerator.exe'' in ''\uModFramework\Tools\'' and fill in the data, then click ''Generate Project Files''.   - Run ''UMF.ProjectGenerator.exe'' in ''\uModFramework\Tools\'' and fill in the data, then click ''Generate Project Files''.
-    * {{:umf.projectgenerator_example.png?nolink|}}+    * {{:umf_projectgenerator_example.png?nolink|}}
     - Mod name with no spaces or special characters. This is used for the project files, class and assembly name.     - Mod name with no spaces or special characters. This is used for the project files, class and assembly name.
     - Where to save the source code of the mod.     - Where to save the source code of the mod.
Line 25: Line 25:
     - All References adds all dll files in the Managed folder as References, giving you access to all Unity classes as well as any separate classes the game provides. Only use if you know what you are doing.     - All References adds all dll files in the Managed folder as References, giving you access to all Unity classes as well as any separate classes the game provides. Only use if you know what you are doing.
   - Open your project solution by double clicking ModName.sln in the newly opened folder.   - Open your project solution by double clicking ModName.sln in the newly opened folder.
-    * {{:umf.projectgenerator_solutionfolder.png?nolink|}} +    * {{:umf_projectgenerator_solutionfolder.png?nolink|}} 
-    * {{:umf.projectgenerator_visualstudio.png?nolink|}}+    * {{:umf_projectgenerator_visualstudio.png?nolink|}}
   - 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]]** to learn about finding things to mod in the game code.     * See **[[#Decompiling Game Code]]** to learn about finding things to mod in the game code.
Line 49: Line 49:
   - 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.   - 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 **[[guide_firstsrmod|My First Slime Rancher Mod (Modding Guide)]]** to learn various ways to create a basic mod.
-    * See **[[guides|dnSpy Guides]]** to learn more about using dnSpy to help create mods. 
     * See **[[#Important Links and Info]]** for more useful info.     * See **[[#Important Links and Info]]** for more useful info.
 \\ \\
Line 58: Line 57:
 ====== Important Links and Info ====== ====== Important Links and Info ======
   * **[[api:|UMF API]]** - The UMF API gives you access to various functions that makes modding easier, and is also required in order for the mod to be started.   * **[[api:|UMF API]]** - The UMF API gives you access to various functions that makes modding easier, and is also required in order for the mod to be started.
 +  * **[[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.
   * **[[:examplemods|Example Mods]]** - A list of open source UMF mods you can use as examples to better learn coding with UMF.   * **[[:examplemods|Example Mods]]** - A list of open source UMF mods you can use as examples to better learn coding with UMF.
-  * **[[guides|dnSpy Guides]]** - dnSpy Guides to assist you in using dnSpy to create mods. 
   * **[[:sourcemods|Source Mods]]** - UMF can compile and run mods at runtime directly from .cs files.   * **[[:sourcemods|Source Mods]]** - UMF can compile and run mods at runtime directly from .cs files.
   * **[[:umfpatch|UMF Patch]]** - An IL-based UMF scripting patch system used as a last resort to let you automatically overwrite code in dll files on disk when Harmony can't access it in any way.   * **[[:umfpatch|UMF Patch]]** - An IL-based UMF scripting patch system used as a last resort to let you automatically overwrite code in dll files on disk when Harmony can't access it in any way.
   * **[[:modinstaller|Mod Installer]]** - The UMF Mod Installer (URI Handler) lets you create one click Install links for your mods.   * **[[:modinstaller|Mod Installer]]** - The UMF Mod Installer (URI Handler) lets you create one click Install links for your mods.
 +  * **[[:umfhosting|UMF Hosting]]** - This will show you the steps to having your mod added to mod list on this website.
  
 UMF starts and access mods through **[[api:attributes:start|Attributes]]**.\\ UMF starts and access mods through **[[api:attributes:start|Attributes]]**.\\

This topic does not exist yet

You've followed a link to a topic that doesn't exist yet. If permissions allow, you may create it by clicking on Create this page.

modcreation.1562219775.txt.gz · Last modified: 2019/07/04 06:56 by umfdev