Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Forum Resident
Original Poster
#1 Old 10th Jun 2007 at 2:57 AM Last edited by hexameter : 14th Mar 2009 at 3:29 PM. Reason: Added the German version of the tutorial
Default Custom Sound for Sims2
Custom Sound for The Sims2

- Tutorial by hexameter -

Here is a small tutorial for making custom sound for the Sims2. Based on the know-how and with permission of Shaklin. I wrote it after I gathered some experience with this method.
This tutorial is for advanced and more experienced modders because I don't describe every single step or click you have to do. You should be able to use SimPE, a hex-editor, maybe a special sound software to prepare your sound package. Of course I assume that you know how to calculate hexadecimal numbers to decimal numbers with your calculator and know the difference between them.

In one sentence: You have to know what you do!

You can download the package of the needed resources in order to change them instead of creating your own or clone them from other packages.

I hope you'll have much fun creating noises, sounds and music for your game as much as I do!
Always keep in mind the copyright of music and sound!

Enjoy

hexameter

-----------------------------
Jan. 2009: Added a German version of the tutorial in PDF-format. - Deutsche Version des Tutorials im PDF-Format angefügt.
-----------------------------


Though she didn't claim for:
Credits and a big "Thank You!" to Shaklin!

-------------------------------------------

I read some questions about how to change the sound in animations. To answer these questions have a look at the first picture. Check your package at a similar resource in RAW-view of SimPE.
Screenshots
Attached files:
File Type: rar  Custom Sound for Sims2.rar (222.5 KB, 1377 downloads) - View custom content
File Type: rar  hexameter_sound-resources.rar (614.7 KB, 796 downloads) - View custom content
File Type: rar  Custom Sound für Sims2 - German.rar (358.2 KB, 175 downloads) - View custom content
Advertisement
Retired Duck
retired moderator
#2 Old 10th Jun 2007 at 3:03 AM
Wonderful! I've moved this into the tutorials section. Thank you for writing this, it will be very popular!
Forum Resident
Original Poster
#3 Old 10th Jun 2007 at 3:05 AM
Thank you, Echo! I miss your updated carousel?
hexameter
Retired Duck
retired moderator
#4 Old 10th Jun 2007 at 3:35 AM
Haven't had a chance to make the changes yet, I've been stupidly busy... But it will happen soon!
Not actually evil.
#5 Old 10th Jun 2007 at 6:02 AM
Thank you, Hexameter, I'm sure many folks will benefit from this. It's just what I needed for an alarm clock project I'm working on!
Forum Resident
#6 Old 30th Jun 2007 at 1:32 PM
Brilliant, just brilliant!

happy simming,
Xanathon


Xanathon's Laboratory :: WishList

.: Do not harass me with requests via PM, you will only get ignored :.
.: Don't post my objects or objects derived from them on paysites or the exchange! :.
Test Subject
#7 Old 7th Nov 2007 at 12:07 AM
does this mean we can add new heavy riffs for the guitars?
Retired Duck
retired moderator
#8 Old 7th Nov 2007 at 2:19 AM
Not all that easily, because of the way guitars work. Remember that guitars are part of the general "band" system in the game, so other instruments have to be able to opt in (and out) of any piece of music. That means that we can't just switch out one sound file and switch in another.
Test Subject
#9 Old 2nd Dec 2007 at 1:37 AM
Quote: Originally posted by Echo
Not all that easily, because of the way guitars work. Remember that guitars are part of the general "band" system in the game, so other instruments have to be able to opt in (and out) of any piece of music. That means that we can't just switch out one sound file and switch in another.


I was looking for an opportunity to ask this question, based on your statement here, is it possible to modify the in-game music played via-instruments??

I'm curious to experiment with changing the music played in the default practice or performance modes but I'm not versed enough in modding the game to know whether or not its possible If anyone can answer it would be deeply appreciated :D

Thanks in advance from this rookie Simmer :D
Retired Duck
retired moderator
#10 Old 2nd Dec 2007 at 2:04 AM
Not really, based on the information I provided above. It may be technically possible, but certainly not something to be attempted by a rookie simmer.
Test Subject
#11 Old 4th Dec 2007 at 4:09 AM
lol, noted and thank you for the information
Scholar
#12 Old 17th Dec 2007 at 3:51 PM
I've read the tutorial Hexameter and appreciate it very much. Thanks to you and Shaklin! She sure is an amazing young lady. I do have a couple of questions though.

I tried to just replace your mp3 file with a wav file. Without changing the instances etc, just for test purposes. I'm not clear on how you name the sound file, is the sound name dependent on the package name?

Do I just import the wav file by clicking on your music file and select import?

I also didn't understand how to add the sound to an animation, is the only way to do this by way of wes_h's plugin? I couldn't find any option in the raw portion of the animation to allow me to add one. Is there a place to do this?

Thanks very much in advace for any help.
Forum Resident
Original Poster
#13 Old 17th Dec 2007 at 5:45 PM
Default Using custom sound
Hi Rebecah,
thanks for reading and the nice comment.
Quote: Originally posted by rebecah
... I tried to just replace your mp3 file with a wav file. Without changing the instances etc, just for test purposes. I'm not clear on how you name the sound file, is the sound name dependent on the package name?
No, it isn't. You can choose the package name as you want.
The sound is called by it's name, for example "hansomr_tire_skid". This is what you do in the first steps of the tutorial making a new sound package and where the instances are created from using "fix TGI".
The sounds in the example package are called: hansomr_policecar_start1; hansomr_tire_skid; hansomr_policecar_stop
You can call them in animations that are already prepared for calling sound by these names. If you know the names of other custom sound within your downloads you will be able to call them also like this. Simply replace the old name by the new one. If you want to delete/stop sound in those animations you simply delete the name.
Quote: Originally posted by rebecah
... Do I just import the wav file by clicking on your music file and select import?
That's correct. It's simple, isn't it?
Quote: Originally posted by rebecah
... I also didn't understand how to add the sound to an animation, is the only way to do this by way of wes_h's plugin? I couldn't find any option in the raw portion of the animation to allow me to add one.
I'm afraid that's right. I already suggested other methods but they didn't work. Maybe it's possible to use an animation that already contains a sound entry as a base for custom animations and modify it by changing the other contents.
Quote: Originally posted by rebecah
... I couldn't find any option in the raw portion of the animation to allow me to add one. Is there a place to do this?

At least I didn't find any option there, too, sorry. Maybe somebody else knows this. There is the possibility to call an effect in the BHAVs or to use the OpCode 0x0017 Play/Stop Sound Event and code it in BHAVs.
I hope this can help you. Feel free to send me a mail if you have other questions.
Keep up the good work!
hexameter
Scholar
#14 Old 17th Dec 2007 at 8:04 PM Last edited by rebecah : 17th Dec 2007 at 10:37 PM. Reason: added info
Wow thanks Hexameter for the very fast reply!

I was going to email the questions, but I thought maybe others might have the same questions. I also know you are very busy too. I tired to figure this out a couple of times, but I'm doing something wrong. This is probably not as difficult as I'm making it.

I was using the file hexameter_sound-resources.package. I did find the package you mention and I looked at that also hoping to figure out what you had done. The work you put into your Egypt Chariot is amazing. It must have taken you a long time to complete. It was very helpful but I do think the very first step is the one I'm having the problem with. I don't find a Fix TGI option. I tried to use the the fix integrity option under object tools and gave it a name. I thought the Fix TGI with a blue underline only changes the instance number.

I think if I could get past this step I'd be ok.

Thanks Hexameter for all you help. Please keep up the great work that you do also.

I think it finally sunk in, sorry! I just reread the first part of your tutorial, I think I understand what you are saying now. The sound name comes from the instance numbers created by using the Fix TGI in some other package. Am I right?
Scholar
#15 Old 17th Dec 2007 at 11:37 PM
OMG I finally got it! LOL my sound is too loud and I think I have the length too long but it actually works!

Thanks so much for your help Hexameter!

This new skill will give me the ability to make creations that are so much cooler!
Forum Resident
Original Poster
#16 Old 18th Dec 2007 at 12:27 AM
Default Congrats
Quote: Originally posted by rebecah
OMG I finally got it! LOL my sound is too loud and I think I have the length too long but it actually works!

Thanks so much for your help Hexameter!

This new skill will give me the ability to make creations that are so much cooler!

I was convinced you'd get it to work! Loudness and length of the sound are minor problems, I'm sure. They can be fixed in different ways. Let me know if you need support.
I'm looking forward to new cool creations with sound support!
hexameter
Fat Obstreperous Jerk
#17 Old 1st Feb 2008 at 2:42 AM Last edited by J. M. Pescado : 1st Feb 2008 at 8:11 AM.
Is there any information about how vox files are packed in the game? I see references to vox_blah_blah_blah files, but I am not able to figure out how these files are hashed in the game. It seems to work differently from regular sounds.

Nevermind, solved it: there's a _XYY portion added to the name pre-hash, where X is an age indicator like t/a/e, and YY is ma/fa.

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Forum Resident
Original Poster
#18 Old 1st Feb 2008 at 1:53 PM
Great, thanks for this information!
hexameter
Field Researcher
#19 Old 14th Jun 2008 at 5:42 PM
thanks a lot!
hope i can made what i want :D
Lab Assistant
#20 Old 4th Jul 2008 at 5:22 AM
o_0 Useful! Just a few questions/clarifications:

So when I use these sound files with the "Stop/Start Sound effect" primitive, the name of the sound file is found in STR# 4132, and immediately hashes to get the instance numbers. And these are the instance numbers of the TRKS/0x7B1ACFCD resources, which then point to the actual MP3 files?

I guess I don't like that...it means there's a possibility of conflicting sounds.

Also, is there importance in the 0xADD550A7 instance numbers?

And where the heck do FWAVs fit in?


Sorry for all the questions, and thanks ahead of time!

The above post should be ingested with 1/4 Tbsp salt. In the event of an allergic reaction, panic and wait for the reaction to pass.
Test Subject
#21 Old 13th Jul 2008 at 11:59 PM
Really sorry to bother you, but I was wondering if there was a tutorial for not so advanced modders with SimPE steps to create and insert new sound effects in SIMS 2

I am struggling...

Thank you!!!!!!
Forum Resident
Original Poster
#22 Old 14th Jul 2008 at 4:29 AM Last edited by hexameter : 14th Jul 2008 at 4:40 AM.
Default Questions! - Answers?
Quote: Originally posted by trezero
o_0 Useful! Just a few questions/clarifications:

So when I use these sound files with the "Stop/Start Sound effect" primitive, the name of ... ?

This is the way it works as far as I know.
Quote: Originally posted by trezero
... I guess I don't like that...it means there's a possibility of conflicting sounds. ...

There might be of course a chance of conflict, but I guess if you choose the same name for a sound it only will override an other MP3 file that is already in your game. There are no problems so far to simply delete a certain sound effect in animations or change their names at will to suppress the sound.
Quote: Originally posted by trezero
...Also, is there importance in the 0xADD550A7 instance numbers? ...

The game seems to recognize the sound using these numbers. Also, there are specific numbers for other sound packages. For instance the jazz musik uses Grp 0xFF67FFB, pop music is grp 0xFF23C3BF.
0xADD550A7 is as far as I remember the group of karaoke sound. It would be worth a test to use and change sound of other groups and see how it works. Unfortunately I didn't take the time for this, because I was content to have sound for my special purposes.
WAVs are accepted as well as MP3-files.
Quote: Originally posted by trezero
... Sorry for all the questions, and thanks ahead of time!

No problem, if you are satisfied with my poor knowledge of this theme. I always used this method more as practical rework than exploring all the background.

-------------
Quote: Originally posted by Anxts
... I was wondering if there was a tutorial ... with SimPE steps to create and insert new sound effects in SIMS 2 ...

Sorry, but this is a little complicated to solve. A step by step tutorial takes much time to do and there aren't too many interested people who want to use custom sound in their objects.
But keep on struggling and I'm sure you'll solve the problems.

hexameter
Test Subject
#23 Old 31st Jan 2010 at 12:46 PM
...wwwwwwwwwwoooooooooooowwwww

◊☆кαмιℓє257☆◊
Test Subject
#24 Old 13th Sep 2012 at 4:31 AM
I wonder if i could change some audio samples-files from the BOB 3942 synth (Free Time EP),and use my own audio files, because i would love to make this Synth like a real Audio sampler (Drums,basses,synths,percusions,etc.), so my question is , can this really be done?
i would appreciate any help with this . Thanks in advance!!!
Test Subject
#25 Old 2nd Jan 2013 at 12:28 AM
Just took a look and I'm amazed! I'm working on trying to get in-game voice changes to work, but it seems a bit complicated.
Page 1 of 2
Back to top