Modding:Installing SMAPI on Android
Jump to navigation
Jump to search
Before You Begin
Mod at your own risk, not all mods will be compatible with Android. User has the full responsibility of ensuring they do not cause damage by following this guide.
Where To Obtain The APK
Unfortunately sourcing the apk from third party websites is not recommended as it can be unsafe and can pose a risk to your device.
However, the apk can be taken directly from your device, providing you have root access. It can be located at /data/app/com.chucklefish.stardewvalley-1/base.apk
XNB Mods: How To
- Install zip program of your choice. Recommended: 7zip.
- Install JDK 8.
- Install Android Studio, make sure to install build-tools.
- Install APK Signer Tool (v2).
- Extract the Stardew Valley apk to your computer with zip program.
- Replace the Vanilla XNBs (found in
./assets/Content/
) with the Modded XNBs. - Archive the contents of the Stardew Valley apk with your chosen zip program (Make sure to not archive the folder containing the files, but the files themselves, so the file structure is
com.yourchosenapk.name.apk\different files and folders here
), rename from .zip to .apk. - Open APK Signer Tool (v2)
- Fill out all fields in Keyfile Generator page. (Fill as you wish, these aren't important as long as they are filled).
- Click Align & Sign tab. Browse for the modded .apk
- Select key, and fill out appropriate fields
- Click Align and Sign
- Wait a few moments
- Move apk to device and install
Audio Mods: How To
- Download both
unxwb
(Link TBU, program created by Luigi Auriemma), andXWBTool
(Link TBU, found on Microsoft's GitHub) and extract both of them to your working directory. - Copy over the .obb from your phone's internal storage to your working directory. The OBB can be found at
Internal Storage/Android/obb/main.2.com.chucklefish.stardewvalley.obb
- To unpack simply run
unxwb main.2.com.chucklefish.stardewvalley.obb
in Command Prompt which should output 87 files named00000000.wav etc..
. It is highly recommended for cleanliness to move the unpacked .wav files to a separate folder. - Replace any of the files with audio of your choosing, however you MUST keep the file names the same.
- To repack, simply run
XWBTool "wherever you extracted and moved the .wavs to/*.wav" -o Music.xwb
(The output file must be called Music.xwb when repacking). Then renameMusic.xwb
tomain.2.com.chucklefish.stardewvalley.obb
. - Move the now modified .obb back to
Internal Storage/Android/obb/main.2.com.chucklefish.stardewvalley.obb
. - Enjoy your modified music!
Spreadsheet of all of the .wav files from the .obb mapped to their internal file names: https://docs.google.com/spreadsheets/d/1K3S8YDS4Tfe_LPtyXA9LaVM8edxvDFkwfNl-ql1kFGM/edit?usp=drivesdk