Stardew64Installer is a handy piece of software that turns the Linux version of Stardew Valley into a working 64-bit Windows version!
With SDV 1.5 (& 64bit MG!) on the horizon, this program will be archived until further notice. Feel free to fork it and make changes if you wish to do so, but this repository will no longer be updated for the forseeable future.
Follow these instructions closely! This needs a special version of the game.
- Update all your mods to their latest versions. (Newer versions may add 64-bit support.)
- Download the Linux version of the game:
- Go to
steam://nav/console
in your browser to open the Steam console. - Run this command:
download_depot 413150 413153
- Wait for the download to finish. 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.
- For the rest of the instructions, "depot folder" means this downloaded folder.
- Go to
- Make Stardew Valley 64-bit:
- Download and unzip Stardew64Installer from the releases page.
- Double-click
Stardew64Installer.exe
and follow the on-screen instructions.
- Install SMAPI 64-bit:
- Download and unzip SMAPI 3.10 or later.
- Run the SMAPI installer to install it (it will detect 64-bit mode automatically).
Tip: if it chooses a different game folder, rename the detected folder temporarily and try it again; the installer should then ask for the game path.
- Run
StardewModdingAPI.exe
in the depot folder and the game should be 64-bit!
- Antiviruses may flag/block/delete the installer since it moves/copies/modifies files in your game folder. In that case you may need to whitelist the installer in your antivirus program.
The solution is split into four projects:
project | purpose |
---|---|
Stardew64Installer |
A simple installer console app that runs on players' computers and interactively patches their game. |
Stardew64Installer.Framework |
Internal code shared between the patch projects. |
MonoGame.Framework.Patches.mm StardewValley.Patches.mm |
MonoMod patches which rewrite MonoGame.Framework.dll and StardewValley.exe . These are bundled into the installer. |
These work together to automatically patch the game files. Behind the scenes, CorFlags.exe
is
used to modify StardewValley.exe
and MonoMod is used to rewrite the assemblies.
The project also includes these DLLs in libs\CopyToGameFolder
, which are copied into the game
folder to fix 64-bit compatibility:
file | description |
---|---|
Galaxy64.dll GalaxyCSharp.dll GalaxyCSharpGlue.dll |
The 64-bit GOG Galaxy SDK. GalaxyCSharp.dll replaces a 32-bit version, and the others are added to support it. |
libSkiaSharp.dll |
The SkiaSharp 2D graphics library. This replaces a 32-bit version in the game folder. Taken from the 2.80.2 NuGet package (runtimes/win-x64/native/libSkiaSharp.dll ). |
SDL2.dll soft_oal.dll |
These are Simple DirectMedia Layer and OpenAL, audio dependencies used by the game and needed to run the Linux version on Windows. Added files (they'd normally be provided by the OS). |
steam_api64.dll Steamworks.NET.dll |
The 64-bit Windows Steamworks.NET. These replace 32-bit versions in the game folder. Taken from the 15.0.0 release. |
Contributing is simple. I don't have a set style guide or any real guidelines to follow, feel free to submit pull requests and explain your reasoning. We'll discuss further once a pull request is open (or you can contact me directly beforehand).
All contributors are credited in the release notes.
To prepare a release build:
- Update
common.targets
,RELEASE-NOTES.md
, andStardew64Installer.Framework/Constants
for the new version. - Build the solution in Release mode.
- Go to
Stardew64Installer/bin/Release/net452
. - Zip the
Stardew64Installer *
folder for the current version. - Upload or share that file.