MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

TS4 Sound Tool

by denton47 Posted 14th Mar 2020 at 4:16 PM - Updated 5th Sep 2020 at 8:00 AM by denton47
60 Thanks  Thanks     15 Favourited
This is a tool to play / edit / create music, sound effects and voices for Sims 4, you start by selecting a pack and the tool will then extract all sound events from animations and all sound names from the combined tuning and add them to selectable lists, sound resources in Sims 4 don't have name properties so this is the only way to access them (maybe we get a full list from EA one day).

How to create a custom animation sound effect from a MP3 file
1. Double-Click on TS4SoundTool.exe to start the tool.
2. Select Base Game pack and then select a sound event similar to what you want to create, in this case we select ageup_adult.
3. Click Clone, enter my_sound_test as the new Event name.
4. Click OK in the New Event dialog, you will then be prompted to create a new empty package, create one and click OK.
5. The tool will clone all variations from the original event which you can now edit. Select and delete all the variations.
6. Click Add and select the MP3 file you want to use in the effect, when imported click Play to verify that the sound plays correctly.
7. Click Save to finish, you now have a sound effect named my_sound_test that can be used in animations.

While you can merge all your custom sounds into a single package, it is important to keep the original saved package as this is the only way to edit the sound again.

How to add a custom sound to a notification
We want a custom sound to play when a new Club is created.

1. Start the tool and select Get Together, click on the Effect tab and in Bumpers select "bumper_club_join".
2. Click Clone, enter "my_sound_effect" and save the package.
3. Delete the original audio and click Add to import the new sound.
4. Click Play to verify that the sound plays correctly, copy the instance ID (Hash field) for later use and then click Save to finish.

You will now need to edit the Snippet tuning notification_Clubs_Create and paste the instance ID into audio overriding the original value, leave type and group unchanged.

I have uploaded this as an example that can be used as a reference.

How to add a new Music Station
We are going to create a new station and add a single Sims 3 song.

1. Start the tool and select Base Game, wait for the tool to load all the resources.
2. Click on the Music tab and in Station select "mu_stereo_simretro" which is similar to the new station we are going to add.
3. Click Clone, enter "my_music_station" and save the package.
4. Enter the Genre name, this is the name that goes into the track list resource 0xC202C770, if you are creating a new station you must enter a new unique name, otherwise leave the name alone.
5. Delete the original tracks and click Add to import the new track(s), Music Stations use the track filenames as a resource so it is important to keep the filenames unique.
6. Click Play to verify that the track plays correctly, copy the filename(s) for later use.
7. Copy the Station instance ID (from the Hash field, not the Sound Sample) for later use and then click Save to finish.

You will need to add XML tuning resources and string tables to complete the mod (see separate section).

I have uploaded an example that creates a new Music Station named Showtime with the song One More Grey Day from Sims 3, the new example Station is only added to the base game floor Stereo Speakers, the example can be used as a reference.

How to add a new Guitar track
We are going to add a new Latin track to the acoustic guitar.

1. Start the tool and select Base Game, wait for the tool to load all the resources.
2. Click on the Music tab and in Instrument select "guitar_playsong_skill7_latin4_49sec" which is similar to the track we are adding.
3. Click Clone, enter "my_guitar_track" and save the package.
4. Delete the original audio and click Add to import the new track.
5. Click Play to verify that the sound plays correctly, copy the instance ID (Hash field) for later use and then click Save to finish.

You will need to add XML tuning resources and string tables to complete the mod.

I have uploaded an example that adds the Sims 3 Flamenco Fever track to Latin Guitar skill level 7, this can be used as a reference.

Modal Music Events
This is the music played when you start the game, enter CAS, enter Build/Buy, travel on the map etc.

The names you see are not the real ones as I haven't found the keys yet, they are constructed from the parent, the pack and the hash.

Also, some of the recordings appear to contain extra information, if you are going to use them I recommend to save them as MP3 for importing.

Music Stations resources
Track listings have a separate resource type 0xC202C770, Genre is what you entered when creating the audio resource and then you add filename and title of all your new tracks in this resource, if you are only adding/replacing tracks to an existing Genre/Station then you are done, however if you are creating a new Station there are quite a few more resources that needs to be created/edited.

You create a new Station by creating an Object State tuning, there are many objects that can play music like Stereos, Wall Speakers, HotTubs, SkatingRinks, WaterScooters etc., look for StereoChannel and StereoWall_Channel, you then add the created tuning to the ObjectState list named StereoChannel. You also need a STBL resource for the Station display name.

Next step is to add the new Station/Object State to all the objects that you want to be able to use your new Station, this is done on Obejct tuning.

You then need to create a ListenSuperInteraction that links to the Object State and this must be added to AffordanceList_Stereo_Listens and affordanceList_Stereo_Listens_MusicOnly in Snippets tuning.

Instrument resources
They are found in Recipe tuning, look for musicTrack, you will need to create a MusicTrack resource for the recording and a STBL resource for the name of the track, you will also need to add your track to one of the MusicStyle resources so you can select it in game.

In the MusicTrack resource you only need to replace the instance ID with the one from the new sound resource you created, leave type and group unchanged.

Importing MP3 files
The encoder used in this tool only supports the most common MP3 formats, if you get an error when importing you need to convert your MP3 files to a more common format. Voices and sounds originating from objects should be MONO for directional sound to work properly.

When importing a MP3 file it will be encoded in EA Layer3 format (AUD) and added to the package (replacing any previous added versions), the instance ID is generated from the full file path so make sure you have something unique in your path (like your name) to avoid conflicts.

Installation
Extract the zip file somewhere on your harddrive, you will also need to download the EA Layer3 decoder/encoder from the link below and extract the content into the same directory as the tool.

https://bitbucket.org/Zenchreal/ealayer3/downloads/

If you don't have a standard Sims 4 installation you need to create a text file in the TS4SoundTool directory named Install_Dir.txt which contains the path to your Sims 4 installation directory.

Reference
Please read this post by SGMS to understand how voices work.
https://forums.thesims.com/en_US/di...omment_16538847

Updates
  • Version 1.0.16
    • Added more extensive checking and diagnostics for non-standard Sims 4 installations.
  • Version 1.0.17
    • Added option to select all game packs.
    • Added Export List button to export all sound event names to a text file.
    • Updated tool to handle Audio Configuration version 3.
  • Version 1.0.18
    • Added support for Audio Configuration version 4.
    • Added support for Eco Lifestyle.
  • Version 1.0.19
    • Added support for Stereo and Joint Stereo.
    • Added Sound Effect Lookup function (doesn't work with VFX yet).
  • Version 1.1.0 BETA
    • Added support for Nifty Knitting.
    • Added support for Headerless audio format (0x01EEF63A).
    • Fixed some bitstream bugs.
    • Added voice type Elder, not sure where this is actually used.
    • Added Cats and Dogs "voices", I am not entirely sure I mapped the voice types correctly, any feedback welcome.
    • Added Music Stations.
    • Added Modal Music Events.
    • Added Instruments.
    • Added Audio Bumpers.
    • Added Audio Stings.
    • Added Audio SFX.
    • Added Ambience.
    • Added Windows Media Player for playing music as the recordings can be quite long.
Version 1.1 Notes
  • Modal Music and Ambience are only available when selecting All game packs as the resources are split up.
  • When importing music from MP3 it is not actually stored as Headerless audio as I can't get this to play correctly in game, instead it is stored as Single Block audio which also seem to work.
  • Most of the Audio SFX and VFX recordings use a format I haven't figured out yet and you will get an error popup when trying to play them.
  • Windows Media Player may give you a security warning as the audio streams are stored in temporary files.
  • If you are importing sounds from Sims 3 please note that the tool only support EA Layer 3, it does not support the old ADPCM codecs, you will need to convert those to MP3 first before importing.
  • The tool only creates Audio Configurations and recordings, it does not create any XML tuning resources, you will have to do this yourself, see sections above for tips.

Additional Credits:
CmarNYC for the XmodsData library.
Peter L Jones for the s4pi libraries.



Download files

Filename Size Downloads Date
Example_Clubs_Create.zip

Size: 35.2 KB · Downloads: 26 · 31st Aug 2020
35.2 KB 26 31st Aug 2020
Example_Guitar_FlamencoFever.zip

Size: 272.7 KB · Downloads: 26 · 31st Aug 2020
272.7 KB 26 31st Aug 2020
Example_Station_Showtime.zip

Size: 1.79 MB · Downloads: 21 · 5th Sep 2020
1.79 MB 21 5th Sep 2020
TS4SoundTool1.1.0.3.zip

Size: 432.7 KB · Downloads: 70 · 5th Sep 2020
432.7 KB 70 5th Sep 2020

Key: - File was updated after upload was posted
Tip: You can click the magnifying glass to see the archive contents

Need help with downloading or installing content? Click here!
 
36 Comments / Replies (Who?)

Expansion/Stuff packs required:
Sims 4

36 Comments / replies (Who?)

892 Downloads

5,969 Views

Operating System: Windows
Utility Type: Miscellaneous
Plugin Type: Not Applicable

Tags: #Sound