
Last updated: 20JAN2022 (see Changelog for details)
The beloved farming simulator Stardew Valley has now been ported to RK3326 devices such as the Anbernic RG351 series, PowKiddy RGB10 series, ODROID Go Advance/Super, and the GameForce Chi. This game also works on the RG552 running 351ELEC beta. Setting up this game is similar to other ports such as Shovel Knight, Undertale, and Iconoclasts. Mad props to developer JohnnyOnFlame for getting this port running; please consider buying him a coffee for his hard work.
IMPORTANT NOTE: since making my installation video below, the game has been updated which affects that installation. From now on, it’s important to download the “Compatibility” version of the game in order for the process to work. The written instructions below will walk you through that process.

Download the Stardew Valley Linux files (Steam or Humble Store)
Purchase the Steam version of Stardew Valley from their store, and then make sure you have Steam installed on your computer (and that it is signed into your account). If you’d like, you could also buy the Humble Store version of the game, which will come with a code to redeem on Steam as well. This is a great option in case you can find it cheaper there.
- On your PC, press Win+R and type: “steam://open/console” (Steam will now show console command)
- In the Steam console, type: “download_depot 413150 413153 8322187383152776702” (just copy and paste this line into your command line)
- After several minutes, it will show you the location of the game files on your PC. Be patient, some games take longer to download than others. Navigate to that location and grab those files!
For future reference, this method can be done when trying to download the Linux version of other games via Steam. The App ID and Depot ID of the game can be found on the site steamdb.info. When you search for a game on this site you’ll immediately see the App ID. Scroll down a bit and click on Depots. Here you’ll find all the available OS versions of the game and the corresponding Depot ID. The download command in the steam console is: “download_depot <appid> <depotid> <manifest_id>” — see the infographic above for an example. The manifest ID is not always required, but is for this particular Stardew Valley install.
If you are using a Mac, the process is the same, other than how to open up the Steam console. To do so, open the Terminal app and type the following line of code:
/Applications/Steam.app/Contents/MacOS/steam_osx -console
If you are on Linux, here is how to install the compatibility version of Stardew Valley via Steam. To start, you will need to install the game onto your computer.
- In your Steam library, right click “Stardew Valley”
- Select “Properties”
- Click on the “Betas” tab
- Click on the drop down menu, and select “Compatibility”
- Your game should receive an update
- You should now be able to use the Stardew Valley files found within the game’s installation folder
Download the Stardew Valley Linux files (GOG)
As of right now, the GOG version has only been confirmed to work on Linux computers, and so therefore Windows PC installs may not work. Purchase the GOG version of Stardew Valley from their store, and then install the game onto your computer.
- In your games list, right click “Stardew Valley”
- Hover over “Manage Installation” and select “Configure”
- Click the “Beta Channels” drop down menu and select “Compatability”
- Your game should receive an update
- You should now be able to use the Stardew Valley files found within the game’s installation folder
Install the port of Stardew Valley
- Download this package from Google Drive, then unzip the files. Copy the unzipped contents into the ports folder of your SD card, it should look like this:
mono-aarch64-e100285775e.squashfs stardewvalley (folder) StardewValley.sh
- If you’re using EmuELEC, move the StardewValley.sh file to the ports > scripts folder.
- Copy the files from your install of Stardew Valley download into the ports > stardewvalley > gamedata folder
- Put the SD card back into your device, navigate to the Ports section, and boot up the game
Note that in order for this beta release to work, you need PortMaster (v5.0 or higher) running on your device. Here is my PortMaster guide, just follow this to install it on your platform of choice.
PortMaster instructions (in progress)
The PortMaster version of Stardew Valley isn’t quite ready for release, but here are the instructions once it is up and running.
- You’ll want to have PortMaster installed on your device, and be sure to update it to the latest version.
- Within PortMaster, install the Stardew Valley backend files.
- Remove the SD card from your device, and plug it into your PC. Inside the Ports > Stardew Valley > gamedata folder, move over all of the game files from your Linux version.
- Put the SD card back into your device, navigate to the Ports section, and boot up the game
- Have fun
Once you have the game up and running, it is recommended you go into the Settings and adjust the UI and graphics settings to better match the device you are using. No need to squint if you don’t have to!
Changelog
20JAN2022
– updated guide with instructions on how to acquire the Compatibility version files
30NOV2021
– published guide
Thanks again for the guide ! It did not work for me (when I launch StardewValley I have a black screen for 1 second and then I’m back at the ports menu). I wanted to check if Port Master was up to date, but… I don’t know how to do that. Can you tell me how to do it ?
Thx !
LikeLiked by 1 person
Ok, I found your guide on port master : https://retrogamecorps.com/2021/09/21/guide-portmaster-on-retro-handheld-devices/
Unfortunately my port master version is up to date but Stardew valley won’t work. I guess I’ll wait for it to be released officially.
Anyway, thx for the video !
LikeLike
I fixed this by adding ‘Stardew Valley.exe’ to the default install. The script needs this to run.
LikeLike
Sorry, noob here. How do I add ‘Stardew Valley.exe’ to the default install? Does it go in the ports folder on the device’s SD card? Thanks in advance. Having the same problem as others — I followed the guide, but when I try to boot it up it takes me back to the menu & is not showing up within PortMaster. Using ArkOS on a RG351V
LikeLike
Hi great guides. But some ports just won’t load!?
I’m on rgb10 max, got Mario 64, want stardew, shovel Knight, spelunkey and more, but they just flash a black screen and quit…
Tried many methods , apart from the .exe one, tho I can’t see that working as its windows file and this is a Linux port? Nt that I know like ha
Any ideas on how to fix these games? They all have needed files from steam archive, tried older versions of stardew too!?
Thanks
LikeLike
Got postmaster 0.6 installed, stardew is not on there yet still, I assume that chocolateer update meed all ports up ha
LikeLike
Mine was showing that black screen, but when I instaled Anberports it worked. Have you tried this?
LikeLike
Thanks for the tut, don’t work for me neither.
Got it to run but controls don’t work and image size is way too big.
LikeLike
Hi, I have Stardew Valley working on both RG351M – Emuelec and my RetroOz RGB10Max.
The latter was just copying the files to the Ports folder.
Followed the instructions from the guide and worked on both handhelds.
Thanks for the guide,
Drew
LikeLike
Same. Mine shows Portmaster 5.0 on 351ELEC (Emuelec) – Per the guide, I placed the squashfs file into the ports folder, placed the StardewValley.sh into the ports/scripts folder, and copied the stardewvalley folder (complete wit the downloaded gamedata files from steam in the gamedata folder) and I get a loading screen for 1 second and kicked back to the ports menu. One thing I do notice here is that in the youtube video, Russ appears to have additional folders that were not downloaded when I downloaded the files from the Steam console. Specifically, I notice that Russ has the following folders that were not included in my download –
lib
lib64
mono
I believe these missing folders are why this won’t start on our devices. Any advice? Thanks.
LikeLike
It’s the same with me. Dominic seems right, I’m also missing those three folders. I have a virtual machine running linux; I’ll try downloading it directly from steam and see if that works.
LikeLiked by 1 person
Can this work with mods?
LikeLike
working for me after using that depotdownloader workaround
Thanks so much
LikeLike
Are there any updates available? I’m attempting the workaround, but it doesn’t seem to work on my Mac. I’ve followed the instructions, but Terminal says “command not found: dotnet” when I try to run the new DepotDownloader command.
LikeLike
In the Portmaster i cannot find the stardew valley to install. Someone knows how to solve this?
LikeLike
Hey everyone, I figured out the crashing issue so many of us are having. Instead of using the manifest in the guide, use the version right before it, -manifest 2281381605327144295 in Download Depot. Once I replaced all the files in the gamedata folder with the ones from this manifest, the game booted up with no issues on my RG351V using ArkOS.
LikeLike
I didn’t find this package, the last 2 are these:
18 January 2022 – 22:58:44 UTC 25 days ago 8322187383152776702
18 January 2022 – 22:58:33 UTC 25 days ago 5898757968212855302
LikeLike
Solved. Download the portmaster from github then put on the tool folder, it will work on RetroOZ.
LikeLike
Hey, any news on the rg351p 351elec portmaster port of Stardew Valley?
LikeLike
It’s still in the works, but should be coming relatively soon.
LikeLike
Yes same issue with others, I have a GOG Linux copy of the game and I noticed Russ had these folders but I don’t have them:
lib
lib64
mono
I just went to a black screen and back to ports menu
LikeLike
Tha me for the guides Russ! I have the 552 running the 351 elec beta (that’s for pointing me to that) and I have major slowdown running Freedom Planet at full screen (smaller screen sizes listed in game options like 2x and 3x seem to play with no slowdown but use a fraction of the screen) Are there any updates that can help this run at full speed on the 552? Has Stardew Valley had similar slowdown at full screen on the 552?
LikeLike
Hi Jason, there is still a ton of work to be done on 351ELEC, it’s quite a fundamental shift in many ways from the RG351 devices. So it will probably be some time before they have some fixes for the ports. As far as I know Stardew Valley is the only one where Johnny went through and made sure it is working properly on the 552 (he just got his device, so I expect to see a lot more work here in the future).
LikeLike
Thanks for the response! I wondered if the increased resolution of the 552 was too much for the 3399 given that it’s such a big increase over how the 3326 devices display. Given that the smaller display windows (1-3x) all run fine I wondered if there was a way to upscale a lower resolution but I don’t see any option to do that.
LikeLike
Thank you very much for these instructions! I was able to get this running on my RG351MP and 351ELEC without any issues other than putting the StardewValley.sh script in the /ports dir rather than /ports/scripts. Now if I only can figure out how to remove games from my ports menu and make them stay removed after a reboot. Looking at you 2048… :^)
LikeLike
Thanks, Russ for the guide but I still can’t play it. Like other people’s problems, when I want to play it will be a black screen and return to the game menu. Any other suggestions? I use RG351P with 351ELEC
LikeLike
sourceIt works nice on my 351V but I think they made a mistake on the button mapping. X (the button on top) is supposed to open the crafting menu and Y (the button on the right) is supposed to be the “use tool” button, but they’re swapped on this port.
Source: https://stardewvalleywiki.com/Controls
LikeLike
Iam on RGB max 2 with Emulec 4.4, do i need portmaster for the stardew Valley Port to run ?
I have done all from your Guide, but nothing Happen when i try to start stardew Valley. So, ist portmaster mandatory ?
LikeLike
Yeah it is, but you need the full portmaster from https://github.com/christianhaitian/PortMaster
download portmaster.zip and extract it tools folder (on retroOZ, not sure where on emulec)
i followed guide and could not get tit to work with just the 3 files mentioned.
great game, im in love with it all over again ha.
LikeLike
I cant get this to run =(
Using a RG351P with 351Elec, ArkOS, doesnt matter.
Tried everything. PortMaster (updated to 6.51), Anberport. Took depot files from Linux, Compability, added Mac files, nothing works. While starting it show the (actual) ArkOS loading screen, turns black and kicks me back to the Menu.
Any ideas what to try next? ;( Want to play it so badly on this device..
LikeLike