Changes

Jump to navigation Jump to search
→‎Decompile the game code: + instructions for Linux/Mac (thanks to Mouse for the info!)
Line 210: Line 210:  
When you start working on more complex mods, you may need to look at how the game code works.
 
When you start working on more complex mods, you may need to look at how the game code works.
   −
To decompile the game code so you can read it:
+
To decompile the game code so you can read it (though it won't be fully functional due to decompiler limitations):
 
+
* On Windows:
# Open <tt>StardewValley.exe</tt> in [https://www.jetbrains.com/decompiler/ dotPeek].
+
*# Open <tt>StardewValley.exe</tt> in [https://www.jetbrains.com/decompiler/ dotPeek].
# Right-click on ''Stardew Valley'' and choose ''Export to Project''. Accept the default options to create a decompiled project you can open in Visual Studio. (Note that the decompiled code will not be functional due to limitations of the decompiler, but you'll be able to read the game code.)
+
*# Right-click on ''Stardew Valley'' and choose ''Export to Project''. Accept the default options to create a decompiled project you can open in Visual Studio.
 +
* On Linux/Mac:
 +
*# Open <tt>StardewValley.exe</tt> in MonoDevelop through ''File &gt; Open''.
 +
*# Change ''Language'' from ''Summary'' to ''C#''.
    
To unpack the XNB data/image files, see [[Modding:Editing XNB files]].
 
To unpack the XNB data/image files, see [[Modding:Editing XNB files]].
    
[[Category:Modding]]
 
[[Category:Modding]]
translators
8,403

edits

Navigation menu