[TUT] How to edit sounds | requires a hex editor though

Moderator: Halo Moderators

002
Ranger
Posts: 903
Joined: Wed Aug 16, 2006 5:48 pm
Location: ::1

[TUT] How to edit sounds | requires a hex editor though

Postby 002 » Sun Sep 27, 2009 3:18 pm

Back up your SOUNDS.map

Extracting Sounds:

Requires: Sounds.map, Eschaton 0.8 or better, and an app that reads ogg vorbis files (for oggs) and WAV files (for WAV's).

Open a bloodgulch with Eschaton.
Go to a sound (example: a dialog such as "red team has the flag")
Image
Select a permutation and then click on "Export Permutation".
Open it in any app that can read ogg vorbis files (if it was ogg)/WAV files (if it was WAV).
____
Injecting:
Requires: An app that exports in ogg/wav, Eschaton 0.8 or better, Sounds.map, and a Hex Editor (I'll be using Hex Fiend but it should work for all).

Note: Eschaton 0.8 cannot currently inject sounds from raw files into a sounds.map so this is why you need a hex editor. If you don't like hex editors, either deal with it or wait until an app for this comes out.

Open a bloodgulch with Eschaton.
Go to a sound (example: a dialog that says "red team has the flag")
Image
Note the data size and the raw offset. Keep this window open for a reference.
Image

Export a sound Make sure it's smaller than "Data Size" in eschaton. If it is not smaller, export it with lowest settings; if it still is not, shorten the time of it and export it with lowest settings.
It should be smaller now. Let's open it in a hex editor.
While we do that, open sounds.map in the hex editor.
In the sounds.map window, go to your raw offset. Mine happens to be 0xC40B85. Yours may be a bit different. That doesn't matter. Just go to wherever your raw offset is.
From there, select the same amount of bytes as your Data Size. Mine is 0x4529 so I'll select that much. Yours may be different, that still doesn't matter. Just select the amount of your data size.

____
For WAV files: Remove the first 0x30 bytes (the header). You don't need to do this for .ogg files.
Image
____

Go to your custom sound.
Your file is smaller than the data size. Keep adding 0E's until it's exactly the same size as the data size mentioned on Eschaton.
Copy and paste it over the selected data in your sounds.map file.
Save.

Your sounds.map files size shouldn't have changed. If you did, you need to start over from a new sounds.map.

User avatar
Løki
Ranger
Posts: 1229
Joined: Thu Dec 20, 2007 2:53 pm
Location: 0x4D610000
Contact:

Re: [TUT] How to edit sounds | requires a hex editor though

Postby Løki » Sun Sep 27, 2009 4:44 pm

Impressive!
Image

User avatar
Modzy
Green Beret
Posts: 3038
Joined: Fri Feb 22, 2008 11:06 pm
Location: Not having time to do anything.

Re: [TUT] How to edit sounds | requires a hex editor though

Postby Modzy » Sun Sep 27, 2009 4:55 pm

Лøки wrote:Impressive!


Not really.

By-the-way: EOF works better for this kind of stuff.

User avatar
Fonzeh
Ranger
Posts: 1861
Joined: Tue Oct 16, 2007 3:57 am
Location: "I didn't just take your mom out to dinner. I ate your mom for dinner."
Contact:

Re: [TUT] How to edit sounds | requires a hex editor though

Postby Fonzeh » Mon Sep 28, 2009 3:51 am

Cool, so how do we fix the song length?

Ooohh.... right.... >>
G[v]N wrote:HUGE NOTIFICATION
THIS GRAVY HAS BRAINS

Mota-Lev was here 30/4/2010@2:18pm
Image


Return to “Halo Demo Tutorials”

Who is online

Users browsing this forum: No registered users and 0 guests