~ Forums of Enroth ~
Would you like to react to this message? Create an account in a few clicks or log in to continue.

~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Immortal Realms: Vampire Wars (HoMM like game)
Adding and Editing Sounds Icon_minitimeby Unknown_Hero 2020-09-18, 23:10

» They talked about fheroes2!
Adding and Editing Sounds Icon_minitimeby sirDranik 2020-09-13, 02:51

» GoG Homm2 vs fheroes2 comparison review
Adding and Editing Sounds Icon_minitimeby sirDranik 2020-09-11, 01:19

» Resurrection of fheroes2 with 0.8 version
Adding and Editing Sounds Icon_minitimeby Tibor0803 2020-09-08, 06:32

» [Enhancement] Enhancement for the information displayed when the player right clicks on an object
Adding and Editing Sounds Icon_minitimeby sirDranik 2020-09-07, 20:45

» Free Heroes of Might and Magic II (fheroes2) General Announcements
Adding and Editing Sounds Icon_minitimeby ihhub 2020-09-05, 02:34

» [Enhancement] Enhancement for Scouting secondary skill
Adding and Editing Sounds Icon_minitimeby Unknown_Hero 2020-09-03, 21:26

Poll
Global announcements should be:
Everlasting, 1 for each project.
Adding and Editing Sounds Redbar110%Adding and Editing Sounds Redbar12
 0% [ 0 ]
Temporary, when there is something new to announce.
Adding and Editing Sounds Redbar11100%Adding and Editing Sounds Redbar12
 100% [ 6 ]
Holalala... No idea where the Ultimate artifact is.
Adding and Editing Sounds Redbar110%Adding and Editing Sounds Redbar12
 0% [ 0 ]
Total Votes : 6
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
H3SW General Discussion
H3SW Map List: Work in progress
H3SW: Dwelling Development
Heroes III: The Succession Wars v0.8.1 Beta
Heroes of Might and Magic 3: The Succession Wars - General info & Announcements
Project Ironfist announcements
Introduce yourself
Welcome fellow Enrothians!

 

 Adding and Editing Sounds

Go down 
AuthorMessage
Orzie
Master Modder
Master Modder
Orzie

Messages : 2054
Quality Points : 814
Registration Date : 2014-12-12
Age : 28
Location : Tomsk, Russia

Adding and Editing Sounds Empty
PostSubject: Adding and Editing Sounds   Adding and Editing Sounds Icon_minitime2015-07-20, 18:58

(This is a crosspost from the Project Ironfist wiki, see link)

Adding and Editing Sounds

Heroes II stores its sounds as a raw WAV file, a WAV file without headers.

See the Packaging Resources tutorial to learn how to extract the sound files from the original game. You can open and edit the .82M sound files using any sound editor capable of importing raw WAV data.
We recommend Audacity. Use the "Import Raw Data" menu option and set it to import as 8-bit mono with a sampling rate of 22050.

Adding and Editing Sounds Import_raw

You can make sounds using any sound editor and then export them in the same format. If you are using Audacity, enter its preferences, and, under "Quality," set Sample Rate to 22050, and, under "File Format," set it to export its Uncompressed Export Format to "WAV (Microsoft 8-bit PCM)".

You can then export a sound in that format, rename it to a ".82M" file, and import it into the game, though there may be a brief clicking noise at the front as the game tries to read the 44-byte header as sound. We will soon provide a utility that can remove those 44 bytes for you.

While all of the original games sounds are .82M files, the game also supports a couple different formats. The "8", "2", and "M" are actually codes that tell the game how to read the file, similar to the WAV headers which it omits. Changing the "2" to a "1" or "4" (i.e.: .81M and .84M files) means that the sample rate should be 11025 or 44100. Changing the "8" to a "6" or the "M" to anything else will increase the "sample type," although we don't know what this means.

________________________
Adding and Editing Sounds L18zg1M
Back to top Go down
Orothin
Gargoyle
Gargoyle
Orothin

Messages : 15
Quality Points : 4
Registration Date : 2016-06-03
Age : 26
Location : Poland

Adding and Editing Sounds Empty
PostSubject: XMI Files   Adding and Editing Sounds Icon_minitime2016-06-03, 20:21

For the .XMI files you can use the Awave Studio. The shareware version works only for 30 days, but you can plan ahead and download the software once you've created the needed MIDIs. The software can also play the XMI files and convert them to other file formats (but strangely I haven't found the option to convert them to MIDIs).

For best results, once in the program with your MIDI, make sure there is only one track (instrument) attached to the file. If not, right click the MIDI, choose "Process...", then "Compact MIDI file size" - choose only the "Merging tracks" option. Right click the MIDI again, go to "Process..." and choose "Fix compatibility issues & improve portability". Use them all. Now you can convert the file by right clicking and saving the MIDI as XMI.

It should work fine in the game
Back to top Go down
 
Adding and Editing Sounds
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Modding Guild :: Heroes of Might and Magic II: Project Ironfist :: Modding and Mapmaking-
Jump to: