Line 51: |
Line 51: |
| | | |
| ==Enable 64-bit mode== | | ==Enable 64-bit mode== |
− | ===Caveats=== | + | ===Download Linux version=== |
− | * This requires Windows (the Linux/macOS versions are already 64-bit).
| + | First you'll need a separate Linux version of the game. To download it, follow the instructions for your game platform below. |
− | * These instructions require the Steam version of the game. (The process will work with GOG too, but getting the Linux version from GOG isn't documented yet.)
| + | |
− | * 64-bit mode for Stardew Valley is '''unofficial'''. Don't report bugs to the game developers unless you can reproduce them with the normal game version.
| + | ; From Steam |
| + | :# Go to <code>steam://nav/console</code> in your browser to open the Steam console. |
| + | :# Run this command: <code>download_depot 413150 413153</code> |
| + | :# Wait for the download to finish.<br />''This may take a long time and won't show any download progress. Eventually the console will say "Depot download complete" and show the downloaded folder path.'' |
| + | :# The downloaded game path is shown in the Steam console. |
| + | |
| + | ; From GOG |
| + | :# Install Python through the Microsoft Store. |
| + | :# From your [https://www.gog.com/account GOG web library]: click Stardew Valley, change the ''System'' dropdown to Linux, and download the installer file shown in the list. |
| + | :# Download <tt>gogextract.py</tt> from {{github|Yepoleb/gogextract|Yepoleb/gogextract}} into the folder containing the above download. |
| + | :# Open a command prompt in the same folder and run this command (correcting the <tt>.sh</tt> filename if needed): <pre>python gogextract.py stardew_valley_1_5_4_981587505_44377.sh stardew-valley-installer</pre> |
| + | :# In the extracted folder, unzip <tt>data.zip</tt>. |
| + | :# The downloaded game is in the extracted <tt>data/noarch/game</tt> folder. |
| | | |
| ===Install guide=== | | ===Install guide=== |
− | # Update all your mods to their latest versions. (Newer versions may add 64-bit support.) | + | # Update all your mods to their latest versions (they might add 64-bit support). |
− | # Download the Linux version of the game: | + | # [[#Download Linux version|Download the Linux version]] if you haven't already.<br />'''This is downloaded into a <u>separate</u> folder. Use the downloaded folder path for the steps below, ''not'' the original game folder.''' |
− | ## Go to <code>steam://nav/console</code> in your browser to open the Steam console.
| |
− | ## Run this command: <code>download_depot 413150 413153</code>
| |
− | ## Wait for the download to finish.<br />''This may take a long time and won't show any download progress. Eventually the console will say "Depot download complete" and show the downloaded folder path.''
| |
− | ## '''The Linux version is now downloaded into a <u>separate</u> folder. Use the folder path shown in the Steam console for the steps below, ''not'' the original game folder.'''
| |
| # Make Stardew Valley 64-bit: | | # Make Stardew Valley 64-bit: |
| ## Download and unzip the {{Github|Steviegt6/Stardew64Installer/releases|latest Stardew64Installer release}}. | | ## Download and unzip the {{Github|Steviegt6/Stardew64Installer/releases|latest Stardew64Installer release}}. |
Line 72: |
Line 80: |
| That's it! Now run <code>StardewModdingAPI.exe</code> in the downloaded game folder, and the game should be 64-bit! | | That's it! Now run <code>StardewModdingAPI.exe</code> in the downloaded game folder, and the game should be 64-bit! |
| | | |
− | ===Troubleshooting===
| + | ==Troubleshooting== |
− | ; How do I fix screen tearing? | + | ; Screen tearing |
| : Some players report [[wikipedia:Screen tearing|screen tearing]] in 64-bit mode. Common fixes: | | : Some players report [[wikipedia:Screen tearing|screen tearing]] in 64-bit mode. Common fixes: |
| :* Make sure VSync is enabled in the in-game options menu (in the ''Graphics'' section). | | :* Make sure VSync is enabled in the in-game options menu (in the ''Graphics'' section). |
Line 80: |
Line 88: |
| ; "''Unhandled exception: System.Reflection.TargetInvocationException: [...] Could not load file or assembly 'SMAPI.Toolkit[...]''" | | ; "''Unhandled exception: System.Reflection.TargetInvocationException: [...] Could not load file or assembly 'SMAPI.Toolkit[...]''" |
| : Make sure you run <tt>StardewModdingAPI.exe</tt>, ''not'' <tt>StardewValley.exe</tt>. The 64-bit version of the game won't work without SMAPI. | | : Make sure you run <tt>StardewModdingAPI.exe</tt>, ''not'' <tt>StardewValley.exe</tt>. The 64-bit version of the game won't work without SMAPI. |
| + | |
| + | ; Help with other issues |
| + | : See [[Modding:Help]] for the best places to ask. |
| + | : 64-bit mode for Stardew Valley is '''unofficial'''. Don't report bugs to the game developers unless you can reproduce them with the normal game version. |
| | | |
| [[Category:Modding]] | | [[Category:Modding]] |