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 > Heroes 3.5 - WoG and Beyond > Thread: Add new musics
Thread: Add new musics
pekute99
pekute99


Known Hero
The prettiest I must say
posted May 25, 2017 05:58 PM

Add new musics

Is there anyway to add more musics in the game ? Like adding a fifth combat music file besides the original 4 files ?

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


Adventuring Hero
Villain
posted May 25, 2017 07:31 PM
Edited by Puppet_Master at 19:34, 25 May 2017.

!!UN:C4598833/1/number; 1-9 combat mp3.

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


Legendary Hero
posted May 25, 2017 08:07 PM

Only 1 to 9? 1 to 99 no? How is the limit? Castle music too may be random?

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


Known Hero
The prettiest I must say
posted May 26, 2017 09:15 AM

Puppet_Master said:
!!UN:C4598833/1/number; 1-9 combat mp3.

How do you do that ? Can you do that in HotA ? Sorry I'm new to this.

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


Promising
Supreme Hero
channeling capybara energy
posted May 26, 2017 10:22 AM

That looks like an ERM script, which means you need the WoG mod. It MIGHT work with ERA as well though.
____________
Friend-shaped

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


Admirable
Supreme Hero
posted May 26, 2017 03:34 PM
Edited by RoseKavalier at 15:48, 26 May 2017.

Puppet_Master said:
!!UN:C4598833/1/number; 1-9 combat mp3.


UN:C codes usually have easy equivalent with hex editing.

Convert the numbers after 'C' to hexadecimal, that gives you location of patch.
4598833 -> 462C31

Go there in disassembler (or if a hex editor, subtract 400000 and go to 62C31 in this case).


Assuming MoP's address is right, then you should have 4 bytes available for new combat music. But format is %02d so maximum 9 (first digit is 0, second is any from 1~9).

Change the "04" to number of combat musics you want... say 9 -> write "09".

Add new MP3s:
COMBAT05.MP3~COMBAT09.MP3

NOTE: I haven't tried any of what I've written but typically it's how it works with Heroes3.exe.

NOTE2: these addresses are for SoD 3.2, HDmod, or HotA or WoG.
If you insist on using H3 Complete then you will have to search for matching instructions in that exe.

EDIT: actually you can maybe go to 0x66FEE4 and change the format combat%02d to say... combat%03d which should let you run up to 99 combat musics if you rename everything in the fashion COMBAT001.MP3
COMBAT099.MP3
I'm probably missing something in this part...
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Legendary Hero
posted May 26, 2017 03:47 PM

Lool! Thanks for so big answer! Great you know it!

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

Tavern Dweller
posted July 11, 2019 04:52 PM

i there a more simple way to add new music? because i didn't understand the instructions (also, new user' so sorry if i violeted anything)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0423 seconds