Line 150: |
Line 150: |
| </source></li> | | </source></li> |
| </ol> | | </ol> |
− |
| |
− | ===Test on all platforms===
| |
− | If you want to test your mod on all platforms, there's some first-time setup you need to get out of the way. Essentially you need to test your mod twice: once on Windows, and again on Linux or Mac. You can do that by testing one version on your computer, and the other in a virtual machine.
| |
− |
| |
− | * '''If your main computer is Windows:'''
| |
− | *# Install [https://www.virtualbox.org/ VirtualBox].
| |
− | *# Add [https://www.dropbox.com/s/nrq9xsde2afp4ey/StardewValleyLinuxModding.7z this premade Linux virtual machine] (requires a 64-bit computer).<br /><small>''In VirtualBox, click Machine » Add and choose the downloaded <tt>.vbox</tt> file. This is a [https://manjaro.org/ Manjaro] virtual machine with Chromium (web browser), Steam, and [http://www.monodevelop.com/ MonoDevelop] preinstalled.''</small>
| |
− | *# Launch the virtual machine, and install Stardew Valley from the Steam client (preinstalled) or GOG website.<br /><small>''Tip: don't change the default install path, or you'll need to customise the mod's build configuration.''</small>
| |
− |
| |
− | * '''If your main computer is Linux or Mac:'''
| |
− | *# Install [https://www.virtualbox.org/ VirtualBox].
| |
− | *# [http://www.macworld.co.uk/how-to/mac-software/run-windows-10-on-your-mac-using-virtualbox-3621650/ Create a VM with Windows].
| |
− | *# Install [https://www.visualstudio.com/vs/community/ Visual Studio Community] in your VM.
| |
− | *# Install Stardew Valley in your VM.
| |
− |
| |
− | ===Release your mod===
| |
− | Ready to share your mod with the world? Here's how:
| |
− |
| |
− | # Open your project's <tt>bin/Debug</tt> or <tt>bin/Release</tt> folder (depending on your build configuration).
| |
− | # There should be a <tt>.zip</tt> file there for your mod version.
| |
− | # Upload that file to [http://www.nexusmods.com/stardewvalley Nexus Mods].
| |
− |
| |
− | In your mod description, providing clear install steps will help reduce support questions. Example BBCode:
| |
− | <pre>
| |
− | [size=5]Install[/size]
| |
− | [list=1]
| |
− | [*][url=https://smapi.io]Install the latest version of SMAPI[/url].
| |
− | [*]Download this mod and unzip it into [font=Courier New]Stardew Valley/Mods[/font].
| |
− | [*]Run the game using SMAPI.
| |
− | [/list]
| |
− | </pre>
| |
| | | |
| ==Decompile the game code== | | ==Decompile the game code== |