Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Library of Enlightenment > Thread: H3: That annoying battle fanfare at the beginning of every battle.
Thread: H3: That annoying battle fanfare at the beginning of every battle. This thread is 2 pages long: 1 2 · «PREV
DonIgnacio
DonIgnacio

Tavern Dweller
newly hooked strategist
posted March 29, 2006 11:23 AM

Getting an individual WAV from the SND file!

Back to XVI32 this morning. The last 8 bytes before the next entry in the sound catalog at the beginning of heroes3.snd are the address and length of a block of bytes that form a valid WAV file when saved. They are stated in reverse byte order. In my file for TBRDATTK for example I find E0 0E D6 00 and D0 2F 00 00.

So in the XVI32 menu its Address-Goto. Choose hexadecimal and absolute. Enter D60EE0 (reversing the bytes) after the dollar sign. Then OK. Now the RIFF you're at is the start of a WAV file.

Next menu: Edit / Block <n> chars. Hex mode again and enter 2F D0 after the dollar sign. Now we are at another RIFF, where the next sound start. Everything inbetween is marked.

Final menu: File / Write Block. Enter any filename with extension .wav. Now you can use that sound in Outlook Express for new mails if you want to.

With half a day of programming it should be pretty easy to just parse the catalog and save all sounds as WAV files automatically. But why would I want to do that?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
FriendOfGunnar
FriendOfGunnar


Honorable
Legendary Hero
able to speed up time
posted March 29, 2006 11:02 PM

yeah Xarfax u rule!!


BTW here's some more sounds to get rid of:
FLAGMINE
BUILDTOWN
BUTTON
NEWDAY
NEWWEEK
NEWMONTH
there's also a whole series of horse sounds from HORSE1 to HORSE24


hee hee there's also some other interesting sounds (no joke):

PICKUP01
GETPROTECTION
FRENZY
CLIMAX

heh heh I think you have to get the special code to unlock these however.


 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 2 pages long: 1 2 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0345 seconds