Trải nghiệm tồi tệ nhất sau 25 năm làm nghề: Sonos SMAPI Developer Program.

Một lập trình viên kỳ cựu vừa chia sẻ nỗi thất vọng về hệ thống tích hợp của Sonos. Dù có kinh nghiệm dày dặn, tác giả vẫn đánh giá đây là nền tảng khó nhằn và kém hiệu quả nhất từng gặp. Tài liệu sơ sài, quy trình phức tạp và hệ thống lỗi thời đang gây rào cản lớn cho cộng đồng phát triển phần mềm.

#Sonos #SMAPI #Programming #DeveloperExperience #LậpTrình #CôngNghệ #SoftwareDevelopment #TechReview

https://www.reddit.

So weird - I've been having a hard time figuring out why #StardewValley would not run on my partner's #Linux PC when modded. Her mod setup's the exact same on her #SteamDeck and mine/all my other devices and they all worked fine except her PC.

I would hit play, and nothing would happen other than the button (on
#Steam) turns to stop and back to play again. I assumed it just crashed before being able to spawn anything i.e. game window, or #SMAPI terminal, but still weird cos there are no logs whatsoever.

I initially thought maybe gamemode or
#MangoHud was causing the issue but the issue persists even after removing those from the game's launch option - also they worked fine on any of her other games, including SV when not modded.

In the end the issue was what I had not expected - SMAPI, requires a terminal it uses to spawn/launch itself, and the command that does so I specifically remember lists down pretty much all terminals it could use under the sun in case one isn't installed. The first if I'm not mistaken is
#Xterm, which I'm sure is the one SMAPI normally uses on all of our other devices. Xterm isn't installed on my partner's PC, but there are plenty on the list SMAPI could've used such as #Alacritty and ofc, the default, #Konsole. I was sure this shouldn't be the issue, but as I ran out of other things to try, I installed Xterm and modded SV via SMAPI magically works again.

I'll have to look into this further when it's not 4am lol.

Update:

I suspect SMAPI's list/order for the terminal to use should work, I see no reason why it wouldn't, but perhaps the issue lies in whatever terminal it did reach for next (which should be Konsole, in said list on my partner's machine) wasn't compatible with SMAPI somehow - which caused it to just not launch. This is a known possibility, hence why SMAPI prefers and prioritises Xterm, which often comes preinstalled on most Linux machines.

🔗 https://github.com/Pathoschild/SMAPI/issues/695#issuecomment-610147802
SMAPI uses "wrong" terminal - Linux · Issue #695 · Pathoschild/SMAPI

When I run Stardew Valley, (I'm using Steam), SMAPI launches using my system's XTerm, the pre-installed terminal on the system. This terminal has small text and is hard to read. I have the standard...

GitHub
The Stardew Access docs have finally been updated with fabulous new guides and config references. There's now a guide for constructing farm buildings with the updated tile viewer. No more buildsel command! Also character customization has been greatly improved. It's looking really good for the next release, but you can load the beta right now if you can't wait to play Stardew 1.6.
https://github.com/khanshoaib3/stardew-access
#stardew_valley #smapi #blind #accessibility #a11y @mastoblind
GitHub - khanshoaib3/stardew-access: An accessibility mod for Stardew Valley with screen reader and keyboard only support!

An accessibility mod for Stardew Valley with screen reader and keyboard only support! - khanshoaib3/stardew-access

GitHub
I ended up with hosting a repo on #GitLab instead to store the #SMAPI releases from v3.18.6 onwards - don't think anyone else would need it but just in case:

🔗 https://gitlab.com/irfanhakim/smapi-release
irfanhakim / smapi-release · GitLab

GitLab.com

GitLab
Nooooo this is annoying. I maintain a #StardewValley mod manager for myself/household which besides maintaining mods/modpacks, supports installing/dynamically updating the latest #SMAPI version which it fetches from #GitHub. No longer possible though because (not immediately at least) SMAPI no longer publish their releases on GH due to size constraints, and are now only available from #NexusMods or #CurseForge - both of which I don't think has a static download link, esp not one that could be dynamically determined whether its the latest version. I'll prolly have to include the installer manually now in my project, like I do mods.

Update: yeah certainly not possible. Previously on GH it was easy to script by just checking what the latest version is (through the GH releases' API), then use it in the consistent download link which varies only from the release's tag/version.

From my checking, CurseForge is a bit better than NexusMods in 2 ways for this purpose - one, it does not require an account to download files (Nexus does), and two, the download link is static (Nexus only generates temporary download links I believe). However, it's not that it's usable either without manual intervention, since the variable in the download link isn't the file's tag/version but just an incremental unique number that's ofc, impossible (or rather, pointless) to track.

I guess my options are either to bundle the SMAPI installer into my mods manager, or hardcode the variable part of the link to download SMAPI from CurseForge. I guess the latter's slightly better from a space saving perspective.

🔗 https://github.com/Pathoschild/SMAPI/releases/tag/4.0.0
Release 4.0.0 · Pathoschild/SMAPI

Due to new GitHub file size limits, downloads are no longer available on GitHub. You can: Download from Nexus Mods Download from CurseForge See the SMAPI 4.0 release highlights for the main cha...

GitHub
u know it's a really, really big update when i couldn't be bothered to read more than 2 lines from the changelog cos of how daunting it is.

checking
#SMAPI's mod compatibility list w the mods we use, can't wait to dive right back into SV.

update: read past the 2 lines and GOD IT'S HUGE. SO huge and game-changing it may as well be Stardew Valley 2. past updates have always been big so I expected the same treatment here, but absolutely not, this is WAY bigger and significantly more meaningful.

En attendant mes #AbonnesDeTwitter , un petit tour de #StardewValley.

Je n'arrive pas à installer #SMAPI, si vous avez des tips, je suis preneuse

Building Stardew Valley Mods using SMAPI in VS Code

Building Stardew Valley Mods using SMAPI in VS Code - README.md

Gist