Changes

Line 95: Line 95:  
#* Mac: [https://github.com/360Controller/360Controller#readme 360Controller]. When using a non-Xbox controller, you should [https://community.playstarbound.com/threads/guide-best-working-controllers-how-to-set-up-on-mac-osx.148008/ enable 'pretend to be an Xbox 360 controller'].
 
#* Mac: [https://github.com/360Controller/360Controller#readme 360Controller]. When using a non-Xbox controller, you should [https://community.playstarbound.com/threads/guide-best-working-controllers-how-to-set-up-on-mac-osx.148008/ enable 'pretend to be an Xbox 360 controller'].
 
#* Windows: [https://inputmapper.com/ InputMapper].
 
#* Windows: [https://inputmapper.com/ InputMapper].
 +
 +
{{collapse|last resort on Linux/Mac|content= 
 +
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 <tt>smapi-internal/StardewModdingAPI.crash.marker</tt> file. You should periodically check the log to make sure everything is working correctly. If you really want to do this:
 +
 +
<ul>
 +
<li>Linux:
 +
<ol>
 +
<li>[[Modding:Player Guide/Getting Started#Find your game folder|Find your game folder]].</li>
 +
<li>Open the <tt>StardewValley</tt> file (the one with no file extension) in a text editor.</li>
 +
<li>Remove the entire section under <tt># open SMAPI in terminal</tt> (up to the next <code>fi</code> line).</li>
 +
<li>Find this text at the bottom:
 +
<source lang="bash">
 +
if [ $? -eq 127 ]; then
 +
  $LAUNCHER --no-terminal
 +
fi
 +
</source>
 +
And change it to this:
 +
<source lang="bash">
 +
$LAUNCHER --no-terminal
 +
</source></li>
 +
</ol>
 +
</li>
 +
<li>Mac:
 +
<ol>
 +
<li>[[Modding:Player Guide/Getting Started#Find your game folder|Find your game folder]].</li>
 +
<li>Open the <tt>StardewValley</tt> file (the one with no file extension) in a text editor.</li>
 +
<li>Find this text:
 +
<source lang="bash">open -a Terminal ./StardewModdingAPI.bin.osx $@</source>
 +
And change it to this:
 +
<source lang="bash">./StardewModdingAPI.bin.osx $@ 2>&1 > /dev/null</source>
 +
</li>
 +
</ol>
 +
</li>
 +
<li>Windows: disabling the console window isn't possible.</li>
 +
</ul>
 +
You'll need to repeat this after updating SMAPI.
 +
}}
    
===Other problems===
 
===Other problems===
translators
8,437

edits