|
|
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 ?
|
|
Puppet_Master
Adventuring Hero
Villain
|
posted May 25, 2017 07:31 PM |
|
|
!!UN:C4598833/1/number; 1-9 combat mp3.
|
|
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?
|
|
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.
|
|
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
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted May 26, 2017 03:34 PM |
|
|
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
|
|
Baronus
Legendary Hero
|
posted May 26, 2017 03:47 PM |
|
|
Lool! Thanks for so big answer! Great you know it!
|
|
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)
|
|
|