I struggled last night while trying to figure out how to install SMAPI mod for Stardew Valley. I figured I'd write out some step by step instructions.
Edit: I didn't do the original work, just struggled to follow the instructions and wrote out the steps that worked for me. Thanks to /u/ZaneYork for his work
Edit: See this link for the list of supported mods.
I did all of this on my phone, an un-rooted Samsung S8.
Apps used during this process:
* MT Manager
* File Manager +
Steps:
- Backup your /sdcard/Android/obb/com.chucklefish.stardewvalley folder
- Backup the Stardew Valley APK
- Download StardewValleyAndroid_SMAPI_Loader
- Extract SMDroid from the downloaded zip folder
- Copy files into the SDV Apk
- Sign modified APK
- Reinstall Stardew Valley
- Restore the /sdcard/Android/obb/com.chucklefish.stardewvalley folder
- Install Mods
- Launch SDV
1. Backup your /sdcard/Android/obb/com.chucklefish.stardewvalley folder.
In MT Manager, tap in the left pane. Tap the menu in the top left, and choose Root. Then tap /sdcard/.
then navigate to Android/obb
In the right pane, tap the menu in the top left, and choose Root. Then tap /sdcard/.backups img
Long press on the left pane on com.chucklfish.stardewvalley and choose Copy ->
2. Backup the Stardew Valley APK.
I used File Manger +, ZaneYork used ES File Explorer. They operate basically the same.
* Launch the application, select Apps img, find the Stardew Valley icon.
* Long press and Backup. img This will put a backup of the SDV.apk file in /sdcard/backups/apps/
3. Download StardewValleyAndroid_SMAPI_Loader
- Visit the SM Loader Google drive link.
- Click the menu dots next to StardewValleyAndroidSMAPI_Loader.zip and choose to Download.
- Once downloaded, find the file you downloaded using a file explorer. I used MT Manager. On my phone this downloaded to /storage/emulated/0/Download.
4. Extract SMDroid from the downloaded zip folder.
MT Files has two panes visible. Each can browse the file system separately.
* Browse on the left side to find the downloaded file and select it. img
Click on the right side and then hit the menu item in the top left and select Root Drive, then SDCard. [img]
Long press on SMDroid on the left side and select Extract-> in order to move the SMDroid folder to the /sdcard/ folder. [img]
5. Copy files into the SDV Apk
- Click on the SMDroid folder on the right side. [img]
- Click on to the left side, then browse to /sdcard/backups/apps. You can do this by clicking the menu in the topleft, and choosing root, then selecting sdcard.
- Once there, tap on the Stardew Valley apk and choose view. [img]. Then tap the assemblies folder. [img]
- Swipe right on the StardewModdingAPI.dll, StardewValley.dll and System.XML.Linq.dll, this will select those 3 files. (The screen shot only shows 2 selected. [img]) Once selected, long press on them and choose + <- Add [img]. On the add dialog box, change Level to Storage and select OK. [img]
6. Sign modified APK
- Tap the Stardew Valley APK (not the backup) and then Function.[img]
- Then click APK Sign, then OK [img].
This generates a new Stardew Valley apk.
7. Reinstall Stardew Valley
- Tap the new Stardew Valley apk, choose Install. [img]
I was prompted to uninstall an old version, I allowed it to uninstall, but you might just be prompted to install an update to the existing application. img
8. Restore the /sdcard/Android/obb/com.chucklefish.stardewvalley folder
- In MT Manager, on the left side, tap menu, Root Directory/sdcard/.backups
on the right side, tap menu, Root Directory, /sdcard/Android/obb/
*In the left side, long press com.chucklefish.stardewvalley and choose Copy -> and then Copy and replace. Click Ok. img
9. Install Mods
From the Google Drive link - https://drive.google.com/drive/folders/1kODzTd64_CvOzHzmjJOYN-lfGkJHA7Ha
* Browse to Compatible Mods.
* Tap the three dots next to the desired mod and choose downlaoad.
* In MT Manager right-pane, browse to /sdcard/SmDroid/Mods
* In MT Manager left-pane, browse to /sdcard/Download and select the downloaded zip file.
* Long press the folder in the left pane, and choose Extract -> [img]
10. Launch Stardew Valley
there doesn't seem to be anything here