Closed LuciousLisa closed 7 years ago
@Pathoschild I checked that, the problem is: on https://github.com/cjsu/SMAPI/releases/tag/0.40.1.1 it claims the release is build against 5087c3d but it is not (at least 12e4822), I'll rebase the master and build it again.
@Pathoschild The updated version 0.40.0 1.1-3
is live: https://github.com/vizv/SMAPI/releases/tag/0.40.1.1
@vizv Thanks!
I have a beta version of SMAPI that runs on Linux, Mac, and Windows. This will become an official release if all goes well. I just need some volunteers to try it out — the more the better!
If you have any questions or problems, feel free to come chat directly on Discord.
If you've never used SMAPI on Linux or Mac, you can skip this section.
The unofficial SMAPIs for Linux/Mac replace your game launcher. The beta adds a separate launcher instead so you can easily go back to playing without mods (just like the current version on Windows). You should restore the original launcher to prevent confusion later.
If you created a StardewValley.unmodded
file based on the using mods guide:
StardewValley
file without an extension (don't delete StardewValley.exe
!).StardewValley.unmodded
to StardewValley
.Otherwise:
StardewValley
file without an extension (don't delete StardewValley.exe
!).Unpack SMAPI 0.41-beta directly into your game folder (e.g. StardewModdingAPI.exe
should be in the same folder as Stardew Valley.exe
).
These are the default game folders:
platform | path |
---|---|
GOG on Linux | ~/GOG Games/Stardew Valley/game |
GOG on Windows | C:\Program Files (x86)\GalaxyClient\Games\Stardew Valley |
Steam on Linux | ~/.local/share/Steam/steamapps/common/Stardew Valley |
Steam on Mac | ~/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS |
Steam on Windows | C:\Program Files (x86)\Steam\steamapps\common\StardewValley |
<game folder>\Mods
folder. (It works on all platforms, so it's a good baseline.)StardewModdingAPI
without an extension. On Windows, run StardewModdingAPI.exe
.)F1
. Does something like this screenshot appear?If that didn't work, come chat directly on Discord so we can figure out why. If don't want to use Discord, add a comment here with the information needed to look into it.
Just delete these files in your game folder:
Mods
folderStardewModdingAPI.exe
StardewModdingAPI.pdb
(Windows) or StardewModdingAPI.mdb
(Linux or Mac)StardewModdingAPI
(linux or Mac only)Newtonsoft.Json.dll
(Linux or Mac only)Any word on the cheatmenu mod? Seems like a really popular one thats been completely abandoned. Would be nice to see someone pick it up and get it working in linux! If theres instructions on how to get it working in linux I could even do it myself but I only see instructions for making a new mod to work with linux (as opposed to converting an existing mod)
@ajrc0re you can migrate an existing mod using the crossplatform build config, but you'll need the mod's source code.
I made several changes for Mac compatility and updated the downloads; thanks @mys721tx for helping test on Mac. :)
Here are the test results of the 0.41-beta on a Max OS X 10.12.1 box.
Test environment: Mac OS X 10.12.1, Stardew Valley 1.11 Mods tested: Trainer Mod, Lookup Everywhere
80b2b3d: Unable to launch SMAPI due to missing System.Windows.Forms (log) f44eb6d: Unable to load mods from SMAPI due to missing System.Numerics (log) 58c0262: Game runs in the background due to threading (log) 6cc8c6d: Everything works!
Been trying to get the new SMAPI working for the last few hours. Definitely doesnt work. Heres my error log, not really sure what the issue is but you can see everal errors that complain about "System.IO.FileNotFoundException: Could not load file or assembly or one of its dependencies."
MODDED_ProgramLog.Log_LATEST.txt
Arch Linux (Antergos) KDE Plasma lastest version of SV (1.11) Latest SMAPI 0.41 Beta
@ajrc0re It looks like System.Numerics is missing. Could you try System.Numerics.dll
from mono?
@ajrc0re: I updated the Linux release to fix that error on some distros; let me know if the new build works.
Worked flawlessly, thanks for your help! Great work everyone.
@Pathoschild Great job! One last problem, if you don't change the game launcher how to launch it with Steam integration (such as Steam overlay)?
@vizv you can configure Steam to launch SMAPI directly on Windows; I assume you can do the same on Linux and Mac. If someone can figure out the equivalent on those platforms, I'll add it to the guide.
@Pathoschild I tried before but it doesn't seem to work, could you confirm that?
@vizv yep, just confirmed with @rumangerst that it works on Linux too. I'll update the guide when the new version of SMAPI is released.
@Pathoschild I put "/path/to/StardewModdingAPI" %command%
to launch option, and it not always work. When I launch steam through terminal, it works. But when I open it by clicking steam icon, it doesn't. Wondering why... Is there anyone have the similar issue? Or did I do something wrong.
@rumangerst you mean I put bash -c '"/path/to/StardewModdingAPI" %command%'
in launch option? But it doesn't work. I have no idea about how steam handle value in launch option.
@rumangerst Gentoo/KDE5/fish shell
I think mono crashes after launch from desktop file, but I can't get stacktrace/log/anything.
@rumangerst I did a ps aux |grep Stardew
for both starting steam via shell and desktop, and the output are exactly the same...
The reason for a separate launcher is to make it easy to go back to normal gameplay (without needing to redownload core files). I think that's a good idea, but not if it makes installation difficult (e.g. the last several comments).
Before we go live with crossplatform SMAPI, I think we should consider creating simple install/uninstall scripts to automate the manual install. When a player downloads SMAPI, they'd just run the install script in the package to automatically add SMAPI.
The install scripts would...
StardewValley
launcher to StardewValley-without-mods
(if it doesn't already exist);The uninstall scripts would...
StardewValley-without-mods
launcher to StardewValley
.Any thoughts?
Merged into master
; SMAPI will be crossplatform in the upcoming 1.0 release. I moved the installer proposal to #155.
Now that the game has become available to us non-Windows users, it would be appreciated a lot if SMAPI also offers support for these operating systems. Pretty please? :)