Changes

no edit summary
Line 210: Line 210:  
*# 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.
 
*# 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:
 
* On Linux/Mac:
*# Open <tt>StardewValley.exe</tt> in MonoDevelop through ''File &gt; Open''.
+
*# Install [https://code.visualstudio.com/download Visual Studio Code] for your Operating System.
*# Change ''Language'' from ''Summary'' to ''C#''.
+
*# Get the [https://marketplace.visualstudio.com/items?itemName=icsharpcode.ilspy-vscode ILSpy .NET Decompiler] plugin for VSCode.
 +
*# Open the Visual Studio Code Command Palette <code>(Command+Shift+P)</code> then type <code>ilspy</code> to show the two commands.
 +
*# The <code>Decompile IL Assembly (pick file)</code> command allows choosing an assembly using the file picker dialog. The dialog should also allow one to type in the full path. Navigate to <tt>StardewValley.exe</tt> in your StardewValley Game Folder.
 +
*# If the file is a valid .NET assembly, a tree view named <tt>ILSPY DECOMPILED MEMBERS</tt> is added into the Explorer view. It allows expanding and selecting various nodes, whose decompiled C# code is shown in the editor.
    
To unpack the XNB data/image files, see [[Modding:Editing XNB files]].
 
To unpack the XNB data/image files, see [[Modding:Editing XNB files]].
    
[[pt:Modificações:Guia do Modder/Começando]]
 
[[pt:Modificações:Guia do Modder/Começando]]
418

edits