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.
steam://nav/console
in your browser to open the Steam console.download_depot 413150 413153
Stardew64Installer.exe
and follow the on-screen instructions.StardewModdingAPI.exe
in the depot folder and the game should be 64-bit!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:
common.targets
, RELEASE-NOTES.md
, and Stardew64Installer.Framework/Constants
for the new version.Stardew64Installer/bin/Release/net452
.Stardew64Installer *
folder for the current version.