|
 |
|
|
|
|
|
Attention:
This is for the discussion and releasing of tutorials for modifying GTA. Anything that isn't a tutorial will be deleted without notification.
- Please read the Official Modification Forum Rules & Procedure BEFORE posting!
- Data topics: The following topics contain information for formatting and writing tutorials.
- Requests are to be made in the pinned topic.
- New topics to this forum are subject to moderation, and will not appear immediately. Pending approval by a moderator, if a topic is deemed unsuitable it will be deleted without notification.
|
GTAGarage.com free mod hosting from GTANet, simply login with your GTAForums account details
GTAModding.com GTANet's modding wiki
GTA Modding Chatroom provided by irc.gtanet.com (Don't have an IRC client? Click here)
|
Sound Editing Tutorial - GTAIV Import sounds to ivaud files
 |
|
 |
| |
arbitrarymobster  |
|
Player Hater

Group: Members
Joined: Jun 10, 2009


|
GTAIV Sound Editing Tutorial
by Arbitrarymobster
I have decided to try to explain how to change the sounds in ivaud files. First, I will tell you that this is not the only way to go about it, but it is a proven method. I have no experience with any other tools beside the ones mentioned hereafter, and no experience with ivaud files beside the ones containing vehicle engine sound loops. This means that it is possible that not everything explained here will apply to, for example, ivaud files containing music tracks, or sounds that do not loop.
Tools: XVI32; Audacity; SparkIV
1)Find a file you want to replace in the game and export it, along with the ivaud file it's in, using SparkIV.
2)Find a sound which will replace the original one.
3)Right click the original file ( the one you will be replacing) and select properties. Click the "Summary" tab.
4)Open Audacity. On the lower left there will be a button displaying the sample rate. Be sure that matches the one on the summary; if not click on the button and set it. (Note: 44kHz = 44100)
5)Click edit -> Preferences and under the "audio 1/0" tab set the drop-downs to show your sound card and set the channels to match the one displayed on the summary.
6)Under the "file formats" tab set the export format to match the one under summary (Example: WAV Microsoft 16 bit PCM), then click OK.
7)Set the drop-down to the right of the volume slider to "What U Hear."
8)Open your new sound in a media player and record the track in Audacity using the record button. Press the shift key and click play. So far this is how the sound will play in the game. Obviously you will need to edit it. Start by trimming the silent ends off of the track. Now make all of the necessary adjustments to the sound to make it sound how you want when you hold SHIFT and click play. Experiment with the functions.
9)Even if you don't have it exactly where you want it yet it is wise to export it and try it in the game anyhow so you get a better idea of what adjustments will need to be made. Click file and select "export as wav." Do NOT close Audacity yet. Right click your new sound and select properties. Under the General tab look at where it says "size:" and note the number in brackets. This number must be equal to the original sound file's, or be less by only a couple of bytes (like two). To lower the number increase the tempo, or the speed, or the pitch. Each of these functions has its strengths and weaknesses, you'll have to make your own decision. Obviously, to increase the number you can decrease the aforementioned, or you can apply equalization effects. (NOTE: You will have to do further editing after to make the sound loop again).
10)After the tedious process of adjusting and re-exporting until your file is the correct size you are ready to put it in the ivaud. Before you close Audacity go to file "save project as" and save it as an aup. When you go back to edit just double click the aup and Audacity will open the file as it was when you left it.
11)Open the ivaud with XVI32. Now open the original sound file with XVI32 and place them side by side. In the original sound file click on address "2B." Click edit -> Delete to Cursor.
12)In the ivaud; click search -> find. Tick "Hex String" and tick "Case Sensitive" and type the first four or five cubes of data (from the sound file), with spaces in between (caps sensitive), in the search field. Press ok. To be safe, search again down by pressing the F3 key. You should see a message saying "string not found." If not, scroll back to the top and enter more data in the search field.
13)Now close the original sound file (you don't have to save), and open your new sound with XVI32, placing it side by side with the ivaud.
14)Working in your new sound file, click on address "2B" and click edit -> Delete to Cursor. Scroll down to the bottom and click on the second to last cube of data and note the address on the bottom left corner. Scroll all the way to the top and click edit -> block <n> chars and type the address noted (hexadecimal). All but the last cube of data should be red.
15)In the ivaud click edit -> block <n> chars and click OK (should already have the address displayed). Now click the cut button (scissors).
16)In your sound click edit -> clipboard -> copy.
17)In the ivaud click edit -> clipboard -> paste. Then click edit -> block <n> chars and click OK. Scroll down to the last red cube.
18)In the new audio file scroll to the bottom.
19)In the ivaud click the first black cube after the last red cube and manually enter the last byte of data from the sound file and then zero out any other characters from the original sound remaining. (For example if your new sound is two bytes smaller than the original, you'll see two cubes of data after the one you manually entered, change these two cubes to zeros) Click save. Install following the instructions in my sound mods (don't forget to backup).
I expect to hear some great sounds especially considering some of the mediocre responses to my mods. Show me how it's done! I will answer questions here but only if they aren't addressed in this tut. Please put some effort in reading the whole thing before posting questions. Thanks.
This post has been edited by arbitrarymobster on Tuesday, Dec 15 2009, 02:13
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
EduardKoeleJuck  |
Posted: Wednesday, Dec 9 2009, 16:38
|
Gangsta

Group: Members
Joined: Oct 26, 2008

|
| QUOTE (SLAYERMAGGOT @ Dec 9 2009, 15:32) | | QUOTE (EduardKoeleJuck @ Dec 8 2009, 22:16) | Great tutorial, very helpful! Could anybody tell me the exact location of the weapon sounds? Thanks!
EDIT: Found 'em... |
Great, would you mind telling it on this topic? | Yeah sure.
With SparkIV > PC > Audio > Sfx > resident.rpf > WEAPONS.ivaud
EDIT:
Okay, after a lot of time of making the time corresponding, I did it. But I really don't understand what to do with XVI32. Please make a vid? I have the sound, but how do I put it in the .ivaud? Please help, thanks. This post has been edited by EduardKoeleJuck on Wednesday, Dec 9 2009, 18:25
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
EduardKoeleJuck  |
|
Gangsta

Group: Members
Joined: Oct 26, 2008

|
| QUOTE (zerofreeze @ Dec 11 2009, 21:12) | | QUOTE (EduardKoeleJuck @ Dec 11 2009, 20:46) | | I did everything, but what do you mean with 19? |
I dont know step 19 too i thought i did everything alright but when i import my sound mod horns.ivaud sparkiv crashes | Something's really weird... I did it all, but when I started IV... The sounds were the same! I'm 100% sure I used the right one.
EDIT: Fixed.... This post has been edited by EduardKoeleJuck on Saturday, Dec 12 2009, 16:14
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
EduardKoeleJuck  |
|
Gangsta

Group: Members
Joined: Oct 26, 2008

|
| QUOTE (arbitrarymobster @ Dec 14 2009, 18:58) | | @ EduardKoeleJuck: Is your .rpf set to read only? Did you change the name of the ivaud? Are you clicking the blue disc in sparkiv? Are you able to successfully install any sound mods? If you hear the original sounds in the game then your problem is likely in your installation procedure. | Dude. I did everything alright. I can even hear the right sounds when I'm in SparkIV.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Pages:
(3) [1] 2 3
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|