Line 299: |
Line 299: |
| As a last resort on Linux or Mac, you can disable the SMAPI console window to fix this. You won't see update/error alerts unless you [https://log.smapi.io/ check the log], and your game won't launch after a crash until you delete the <samp>smapi-internal/StardewModdingAPI.crash.marker</samp> file. You should periodically check the log to make sure everything is working correctly. If you really want to do this: | | As a last resort on Linux or Mac, you can disable the SMAPI console window to fix this. You won't see update/error alerts unless you [https://log.smapi.io/ check the log], and your game won't launch after a crash until you delete the <samp>smapi-internal/StardewModdingAPI.crash.marker</samp> file. You should periodically check the log to make sure everything is working correctly. If you really want to do this: |
| | | |
− | {{SMAPI upcoming|3.13.3|content=On Linux/macOS:
| + | * On Linux or macOS: |
− | # [[Modding:Player Guide/Getting Started#Find your game folder|Find your game folder]]. | + | *# [[Modding:Player Guide/Getting Started#Find your game folder|Find your game folder]]. |
− | # Open the <samp>StardewValley</samp> file (the one with no file extension) in a text editor. | + | *# Open the <samp>StardewValley</samp> file (the one with no file extension) in a text editor. |
− | # Change <code>SKIP_TERMINAL=false</code> near the top to <code>SKIP_TERMINAL=true</code>. | + | *# Change <code>SKIP_TERMINAL=false</code> near the top to <code>SKIP_TERMINAL=true</code>. |
− | }}
| + | * On Windows: disabling the console window isn't possible. |
| | | |
− | <ul>
| |
− | <li>Linux:
| |
− | <ol>
| |
− | <li>[[Modding:Player Guide/Getting Started#Find your game folder|Find your game folder]].</li>
| |
− | <li>Open the <samp>StardewValley</samp> file (the one with no file extension) in a text editor.</li>
| |
− | <li>Remove the entire section under <samp># open SMAPI in terminal</samp> (up to the next <code>fi</code> line).</li>
| |
− | <li>Find this text at the bottom:
| |
− | <syntaxhighlight lang="bash">
| |
− | if [ $? -eq 127 ]; then
| |
− | $LAUNCHER --no-terminal
| |
− | fi
| |
− | </syntaxhighlight>
| |
− | And change it to this:
| |
− | <syntaxhighlight lang="bash">
| |
− | $LAUNCHER --no-terminal
| |
− | </syntaxhighlight></li>
| |
− | </ol>
| |
− | </li>
| |
− | <li>Mac:
| |
− | <ol>
| |
− | <li>[[Modding:Player Guide/Getting Started#Find your game folder|Find your game folder]].</li>
| |
− | <li>Open the <samp>StardewValley</samp> file (the one with no file extension) in a text editor.</li>
| |
− | <li>Find this text:
| |
− | <syntaxhighlight lang="bash">open -a Terminal ./StardewModdingAPI.bin.osx $@</syntaxhighlight>
| |
− | And change it to this:
| |
− | <syntaxhighlight lang="bash">./StardewModdingAPI.bin.osx $@ 2>&1 > /dev/null</syntaxhighlight>
| |
− | </li>
| |
− | </ol>
| |
− | </li>
| |
− |
| |
− | <ol>
| |
− | <li>If the above doesn't work.</li>
| |
− | <li>[[Modding:Player Guide/Getting Started#Find your game folder|Find your game folder]].</li>
| |
− | <li>Open the <samp>StardewValley</samp> file (the one with no file extension) in a text editor.</li>
| |
− | <li>Find this text:
| |
− | <syntaxhighlight lang="bash">SKIP_TERMINAL=false</syntaxhighlight>
| |
− | And change it to this:
| |
− | <syntaxhighlight lang="bash">SKIP_TERMINAL=true</syntaxhighlight>
| |
− | </li>
| |
− | </ol>
| |
− | </li>
| |
− |
| |
− | <li>Windows: disabling the console window isn't possible.</li>
| |
− | </ul>
| |
| You'll need to repeat this after updating SMAPI. | | You'll need to repeat this after updating SMAPI. |
| }} | | }} |