Line 21: |
Line 21: |
| ! Tool name !! Platforms supported !! Features !! Notes | | ! Tool name !! Platforms supported !! Features !! Notes |
| |- | | |- |
− | | {{github|mariodon/unxwb|unxwb}} || Windows, macOS || Extracts an XWB soundbank into .wav files and hex codes || A straightforward open and extract utility. | + | | {{github|mariodon/unxwb|unxwb}} || Windows, macOS || Extracts an XWB soundbank into .wav files and hex codes. || A straightforward open and extract utility. |
| |- | | |- |
− | | [https://www.vgmstream.org/downloads VGMStream] plugin for [https://www.foobar2000.org/ foobar2000] sound player || Windows || Views XWB soundbanks with integer codes and many in-game codes included in filenames || Very convenient file browser. (For some reason, it increments audio IDs by 1, and each audio cue is looped.) | + | | [https://www.vgmstream.org/downloads VGMStream] plugin for [https://www.foobar2000.org/ foobar2000] sound player || Windows || Views XWB soundbanks with integer codes and many in-game codes included in filenames. || Very convenient file browser. (For some reason, it increments audio IDs by 1, and each audio cue is looped.) |
| |- | | |- |
| | [https://shrinefox.com/browse?post=xacttool XACTTool] || Windows || Extracts an XWB soundbank into .wav files and integer codes. Can also manipulate soundbanks. || Command-line only. | | | [https://shrinefox.com/browse?post=xacttool XACTTool] || Windows || Extracts an XWB soundbank into .wav files and integer codes. Can also manipulate soundbanks. || Command-line only. |
Line 30: |
Line 30: |
| See the [[#Track list|full track list]] below. | | See the [[#Track list|full track list]] below. |
| | | |
− | ===Changing music and sounds=== | + | ===Changing existing music and sounds=== |
| + | ====Intro to JSON==== |
| + | You'll notice a lot of files with <tt>.json</tt> at the end of the name when creating mods for Stardew Valley. That means they're formatted as JSON, which is just a way of writing text that's readable to code. If you haven't used JSON before, reading ''[https://towardsdatascience.com/an-introduction-to-json-c9acb464f43e An Introduction to JSON]'' first will be very helpful to understand what the files are doing. |
| | | |
− | TODO
| + | ====Create an example mod==== |
| + | To get a basic content pack up and running: |
| + | <ol> |
| + | <li>Install [https://smapi.io/ SMAPI] and {{nexus mod|3043|Custom Music}}.</li> |
| + | <li>If desired, [[#Soundbank files|extract the soundbank]] to listen to the in game sounds.</li> |
| + | <li>[[Modding:Content packs#Create a content pack|Create a SMAPI content pack per step 3 of the general Create a Content Pack page]].</li> |
| + | <li>Create a <tt>content.json</tt> file in the same folder with this content:</li> |
| + | {{#tag:syntaxhighlight| |
| + | { |
| + | "Music" : [ |
| + | ] |
| + | }|lang=javascript}} |
| + | |
| + | If you did everything correctly so far, you should see the new mod under "Loaded X content packs" in the SMAPI console. (If not, review the above steps or [[Modding:Community|ask for help]].) |
| | | |
| ==Managing audio in SMAPI== | | ==Managing audio in SMAPI== |