Welcome to
Mod The Sims
Online: 2578
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 24 (Who?), Viewed: 23828 times.
Search this Thread
Old 10th Jun 2007, 02:57 AM DefaultCustom Sound for Sims2 #1
hexameter
Original Poster

Forum Resident

Join Date: Apr 2005
Posts: 655
Thanks: 32575 in 36 Posts
20 Achievements


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
Click image for larger version

Name:  Notenblatt.jpg
Views: 1
Size:  27.7 KB   Click image for larger version

Name:  Sound changes.jpg
Views: 1
Size:  126.4 KB  
Download - please read all instructions before downloading any files!
File Type: rar Custom Sound for Sims2.rar (222.5 KB, 762 downloads) - View custom content
File Type: rar hexameter_sound-resources.rar (614.7 KB, 495 downloads) - View custom content
File Type: rar Custom Sound für Sims2 - German.rar (358.2 KB, 100 downloads) - View custom content
Last edited by hexameter : 14th Mar 2009 at 03:29 PM. Reason: Added the German version of the tutorial
29 users say thanks for this.
[ Click here to view a longer list ]
Old 10th Jun 2007, 03:03 AM #2
Echo
Duck



Join Date: Dec 2004
Posts: 3,918
Thanks: 48074 in 48 Posts
26 Achievements

View My Journal


Wonderful! I've moved this into the tutorials section. Thank you for writing this, it will be very popular!
Old 10th Jun 2007, 03:05 AM #3
hexameter
Original Poster

Forum Resident

Join Date: Apr 2005
Posts: 655
Thanks: 32575 in 36 Posts
20 Achievements


Thank you, Echo! I miss your updated carousel?
hexameter
Old 10th Jun 2007, 03:35 AM #4
Echo
Duck



Join Date: Dec 2004
Posts: 3,918
Thanks: 48074 in 48 Posts
26 Achievements

View My Journal


Haven't had a chance to make the changes yet, I've been stupidly busy... But it will happen soon!
Old 10th Jun 2007, 06:02 AM #5
CatOfEvilGenius
Not actually evil.

Join Date: Oct 2006
Posts: 4,481
Thanks: 63926 in 186 Posts
29 Achievements

View My Journal


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!
Old 30th Jun 2007, 01:32 PM #6
xanathon
Forum Resident

Join Date: Oct 2004
Posts: 701
Thanks: 25807 in 74 Posts
20 Achievements


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! :.
Old 7th Nov 2007, 12:07 AM #7
ionsight1991
Test Subject

Join Date: Apr 2006
Posts: 1


does this mean we can add new heavy riffs for the guitars?
Old 7th Nov 2007, 02:19 AM #8
Echo
Duck



Join Date: Dec 2004
Posts: 3,918
Thanks: 48074 in 48 Posts
26 Achievements

View My Journal


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.
Old 2nd Dec 2007, 01:37 AM #9
ozireth
Test Subject

Join Date: Sep 2006
Posts: 9


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
Old 2nd Dec 2007, 02:04 AM #10
Echo
Duck



Join Date: Dec 2004
Posts: 3,918
Thanks: 48074 in 48 Posts
26 Achievements

View My Journal


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.
Old 4th Dec 2007, 04:09 AM #11
ozireth
Test Subject

Join Date: Sep 2006
Posts: 9


lol, noted and thank you for the information
Old 17th Dec 2007, 03:51 PM #12
rebecah
Scholar

Join Date: Dec 2006
Posts: 1,355
Thanks: 97991 in 200 Posts
28 Achievements

View My Journal


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.
Old 17th Dec 2007, 05:45 PM DefaultUsing custom sound #13
hexameter
Original Poster

Forum Resident

Join Date: Apr 2005
Posts: 655
Thanks: 32575 in 36 Posts
20 Achievements


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
Old 17th Dec 2007, 08:04 PM #14
rebecah
Scholar

Join Date: Dec 2006
Posts: 1,355
Thanks: 97991 in 200 Posts
28 Achievements

View My Journal


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?
Last edited by rebecah : 17th Dec 2007 at 10:37 PM. Reason: added info
Old 17th Dec 2007, 11:37 PM #15
rebecah
Scholar

Join Date: Dec 2006
Posts: 1,355
Thanks: 97991 in 200 Posts
28 Achievements

View My Journal


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!
Old 18th Dec 2007, 12:27 AM DefaultCongrats #16
hexameter
Original Poster

Forum Resident

Join Date: Apr 2005
Posts: 655
Thanks: 32575 in 36 Posts
20 Achievements


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
Old 26th Jan 2008, 02:18 PM
tetuo
This message has been deleted by tetuo.
Old 1st Feb 2008, 02:42 AM #17
J. M. Pescado
Fat Obstreperous Jerk

Join Date: Oct 2004
Posts: 3,153
Thanks: 8591 in 38 Posts
14 Achievements


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.
Last edited by J. M. Pescado : 1st Feb 2008 at 08:11 AM.
Old 1st Feb 2008, 01:53 PM #18
hexameter
Original Poster

Forum Resident

Join Date: Apr 2005
Posts: 655
Thanks: 32575 in 36 Posts
20 Achievements


Great, thanks for this information!
hexameter
Old 14th Jun 2008, 05:42 PM #19
mininessie
Field Researcher

Join Date: Oct 2005
Posts: 361
Thanks: 6894 in 62 Posts
19 Achievements

View My Journal


thanks a lot!
hope i can made what i want :D
Old 4th Jul 2008, 05:22 AM #20
trezero
Lab Assistant

Join Date: Jun 2006
Posts: 93
Thanks: 2 in 1 Posts


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.
Old 13th Jul 2008, 11:59 PM #21
Anxts
Test Subject

Join Date: Jul 2008
Posts: 1


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!!!!!!
Old 14th Jul 2008, 04:29 AM DefaultQuestions! - Answers? #22
hexameter
Original Poster

Forum Resident

Join Date: Apr 2005
Posts: 655
Thanks: 32575 in 36 Posts
20 Achievements


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
Last edited by hexameter : 14th Jul 2008 at 04:40 AM.
Old 31st Jan 2010, 12:46 PM #23
kamile257
Test Subject

Join Date: Oct 2009
Posts: 37


...wwwwwwwwwwoooooooooooowwwww

◊☆кαмιℓє257☆◊
Old 13th Sep 2012, 04:31 AM #24
cjdomenik
Test Subject

Join Date: Apr 2009
Posts: 1


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!!!
Old 2nd Jan 2013, 12:28 AM #25
jonthedit
Test Subject

Join Date: Dec 2011
Posts: 6


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.
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.