Line 58: |
Line 58: |
| Here's how to configure it: | | Here's how to configure it: |
| | | |
− | # Open Notepad and paste in the following: <code>start "" "C:\Program Files (x86)\GOG Galaxy\Games\Stardew Valley\StardewModdingAPI.exe"</code> If Stardew Valley and SMAPI are not installed at <code>C:\Program Files (x86)\GOG Galaxy\Games\Stardew Valley\</code>, (the default location for most people), replace that location with the location of where you installed Stardew Valley. | + | # Open Notepad and paste in the following: <code>start "" "C:\Program Files (x86)\GOG Galaxy\Games\Stardew Valley\StardewModdingAPI.exe"</code><br />(If your game is installed to a different folder, replace the path in the command above.) |
− | # Click on File, then Save As... <br />[[File:Save_batch_script.png|800px]] | + | # Click on ''File'' and then ''Save As''. [[File:Save batch script.png|thumb|none]] |
− | # Navigate to your Stardew Valley installation folder and change the file type from Text Documents to All Files as shown below and then click Save. <br />[[File:Choose_batch_extension.png|800px]] | + | # In the ''Save As'' window that appears: navigate to your Stardew Valley game folder, change ''Save as type'' to ''All Files'', change the file name to <code>start.bat</code>, and click ''Save''.[[File:Choose batch extension.png|thumb|none]][[File:Name batch script.png|thumb|none]] |
− | # Then type <code>start.bat</code> for the file name as shown below <br />[[File:Name_batch_script.png|800px]]
| + | # In the GOG Galaxy client, click on Stardew Valley > settings icon > ''Manage installation'' > ''Configure''. [[File:Gog galaxy configure.png|thumb|none]] |
− | # In the GOG Galaxy client, click on Stardew Valle' and then the settings icon on the right-hand side of the 'Play' button, then hover over 'Manage installation' and click 'Configure...' as shown below. <br /> [[File:Gog_galaxy_configure.png|800px]] | + | # In the menu that appears, enable the "Custom executables / arguments" checkbox. [[File:Gog galaxy custom launch.png|thumb|none]] |
− | # A new menu will appear. Check the "Custom executables / arguments" box. <br />[[File:Gog_galaxy_custom_launch.png|400px]] | + | # Click ''Add another executable / arguments''. [[File:Gog galaxy add exectuable.png|thumb|none]] |
− | # Then click 'Add another executable / arguments' <br /> [[File:Gog_galaxy_add_exectuable.png|400px]] | + | # Choose <samp>start.bat</samp> in the window that appears and click ''Open''. [[File:Select batch file.png|thumb|none]] |
− | # Select start.bat in the window that appears and then click Open. <br />[[File:Select_batch_file.png|800px]] | + | # Enable the ''Default Executable'' radio button under the ''File 2'' section you just added, and click OK. [[File:Gog galaxy select default executable.png|thumb|none]] |
− | # Finally, click the circle next to 'Default Executable' underneath File 2, then click OK. <br />[[File:Gog_galaxy_select_default_executable.png|400px]] | + | |
− | # From now on, you can launch Stardew Valley through GOG Galaxy and both the SMAPI console and game will load as expected!
| + | From now on, you can launch Stardew Valley through GOG Galaxy and both the SMAPI console and game will load as expected! |
| | | |
| ===Xbox app=== | | ===Xbox app=== |