H4: Is this possible?
- Metathron
- Round Table Hero
- Posts: 2704
- Joined: 29 Jan 2006
- Location: Somewhere deep in the Caribbean...
- Contact:
H4: Is this possible?
I have HoMM IV installed with both expansions and Equilibris. Whenever I start the game, the main menu (where one picks New game, Load game...) is the WoW one, with its specific screen and music. The thing is, the WoW menu has always been my least favourite and I have gotten quite tired of it.
So is there a way to change the main menu screen (and music) back to the one from the original HoMM IV or that from the Gathering Storm?
I am aware that this is a tiny, nitpicking issue, but if it is possible to do, I would very much like to know how.
So is there a way to change the main menu screen (and music) back to the one from the original HoMM IV or that from the Gathering Storm?
I am aware that this is a tiny, nitpicking issue, but if it is possible to do, I would very much like to know how.
Last edited by Metathron on 26 Nov 2006, 19:42, edited 1 time in total.
Jesus saves, Allah forgives, Cthulhu thinks you'd make a nice sandwich.
- theLuckyDragon
- Round Table Knight
- Posts: 4883
- Joined: 06 Jan 2006
- ThunderTitan
- Perpetual Poster
- Posts: 23271
- Joined: 06 Jan 2006
- Location: Now/here
- Contact:
I'm thinking not without some modding. Maybe you should request this in the Equi forum.
Disclaimer: May contain sarcasm!
I have never faked a sarcasm in my entire life. - ???
"With ABC deleting dynamite gags from cartoons, do you find that your children are using explosives less frequently?" — Mark LoPresti
Alt-0128: €
I have never faked a sarcasm in my entire life. - ???
"With ABC deleting dynamite gags from cartoons, do you find that your children are using explosives less frequently?" — Mark LoPresti
Alt-0128: €
With the x2_override file, you can simply use the h4 builder/extractor, and use it the same way you would with the music.h4r file.
once extracted, replace the original file with the new one then build it.
I'm not sure about images, but if it's anything like changing music tracks (Like making the track the same length and bitrate as the original), then it should apply to images as well: aka-same format and size..
Just remember that I've never tampered with the images before, so i'm not totally sure.
Just make sure you backup your original file first..
once extracted, replace the original file with the new one then build it.
I'm not sure about images, but if it's anything like changing music tracks (Like making the track the same length and bitrate as the original), then it should apply to images as well: aka-same format and size..
Just remember that I've never tampered with the images before, so i'm not totally sure.
Just make sure you backup your original file first..
- Metathron
- Round Table Hero
- Posts: 2704
- Joined: 29 Jan 2006
- Location: Somewhere deep in the Caribbean...
- Contact:
I can't open the file with the H4 Exporter that I downloaded from this site. And even if I could, I'm not sure what I would have to do next anyway.
And Dalai, you braggart! How were you able to change the main screen? Seems if Hellspawn knows how to change the music score, and you can change the screen, we could put something together still?
And Dalai, you braggart! How were you able to change the main screen? Seems if Hellspawn knows how to change the music score, and you can change the screen, we could put something together still?
Jesus saves, Allah forgives, Cthulhu thinks you'd make a nice sandwich.
- theLuckyDragon
- Round Table Knight
- Posts: 4883
- Joined: 06 Jan 2006
I'll just tell you how I successfully created my music mod. step by step.
Hopefully it'll help:
01. First I created a new folder in a directory I could find easily, and named it accordingly, in my case "HoMM4 Music Mod..
02. I used the h4r builder/extractor, and extracted the original *.h4r file located in the following directory:C:\Program Files\3DO\Heroes of Might and Magic IV\Data, and then extracted it to my new folder.
03. I would convert the track I wanted to modify into *.wav format and then open it in a wave editor like Sound Forge, and write down its exact time down to the millisecond.
04. Then I'll start creating my edit and make sure that it doesn't exceed the original time by more than +20 milliseconds...Then I'll make sure that the whole track peaks at -2.0 DB....Make sure your edit is saved in a seperate directory.
05. I'll then encode it back to MP3 format at: 128kbps, joint stereo, using the Lame codec, and make sure it's normalized.
06. Make sure the edit you made is the same exact filename.. Then open up the original MP3 and the modified MP3 at the same time using a hex editor (Like Hex Workshop), and I copy the very first line of code from the original, and paste it over the first line of the edited MP3...I also Copy the last 2 lines of code from the original, and paste them over the last 2 lines of the edit.
07. Once that's done, save it, and then copy, paste and over write the original MP3 with your edited one in your new folder.
08. Once you've made all of your changes, open up the H4r builder/Extractor, and click on "Build H4r File"....The finished build should be about the same exact size as the original....Then just copy and paste it to the HoMM4 directory and over write.
Ps. Not all music files are located in the music.h4r file.
Also make sure you create a backup of your original *.H4r file first.
Hopefully it'll help:
01. First I created a new folder in a directory I could find easily, and named it accordingly, in my case "HoMM4 Music Mod..
02. I used the h4r builder/extractor, and extracted the original *.h4r file located in the following directory:C:\Program Files\3DO\Heroes of Might and Magic IV\Data, and then extracted it to my new folder.
03. I would convert the track I wanted to modify into *.wav format and then open it in a wave editor like Sound Forge, and write down its exact time down to the millisecond.
04. Then I'll start creating my edit and make sure that it doesn't exceed the original time by more than +20 milliseconds...Then I'll make sure that the whole track peaks at -2.0 DB....Make sure your edit is saved in a seperate directory.
05. I'll then encode it back to MP3 format at: 128kbps, joint stereo, using the Lame codec, and make sure it's normalized.
06. Make sure the edit you made is the same exact filename.. Then open up the original MP3 and the modified MP3 at the same time using a hex editor (Like Hex Workshop), and I copy the very first line of code from the original, and paste it over the first line of the edited MP3...I also Copy the last 2 lines of code from the original, and paste them over the last 2 lines of the edit.
07. Once that's done, save it, and then copy, paste and over write the original MP3 with your edited one in your new folder.
08. Once you've made all of your changes, open up the H4r builder/Extractor, and click on "Build H4r File"....The finished build should be about the same exact size as the original....Then just copy and paste it to the HoMM4 directory and over write.
Ps. Not all music files are located in the music.h4r file.
Also make sure you create a backup of your original *.H4r file first.
Menu look and left lower corner are not connected
Theoretically HoMM-IV is easily skinnable, and we are moving slowly toward making it real. If one can draw a good menu pic in all HoMM-IV resolutions - there are chances it may become selectable menu picture.
If you want your menu to look just as it was in Original heroes, you need to increase it's menu-files priority.
Simple way (recommended):
You extract all files with names bitmap_raw.menu.main.**** you like (where **** is horisontal resolution) and pack them into new_mod.h4r file (for Heroes without Equilibris - new.h4r), which should be put in Data folder of the game.
Complex way:
You unpack h4r files, remove all other menu graphics files (TGS and WOW pictures) that you don't need and repack the rest. This way there will be no other menu files to force out the files you like.
We also studied the issue of changing music. There are some landmines that prevent you from simply switching 2 music files, and our programmers found and disarmed them Those complex steps that HellSpawn took may be avoided, but I'm not competent enough to give details.
Theoretically HoMM-IV is easily skinnable, and we are moving slowly toward making it real. If one can draw a good menu pic in all HoMM-IV resolutions - there are chances it may become selectable menu picture.
If you want your menu to look just as it was in Original heroes, you need to increase it's menu-files priority.
Simple way (recommended):
You extract all files with names bitmap_raw.menu.main.**** you like (where **** is horisontal resolution) and pack them into new_mod.h4r file (for Heroes without Equilibris - new.h4r), which should be put in Data folder of the game.
Complex way:
You unpack h4r files, remove all other menu graphics files (TGS and WOW pictures) that you don't need and repack the rest. This way there will be no other menu files to force out the files you like.
We also studied the issue of changing music. There are some landmines that prevent you from simply switching 2 music files, and our programmers found and disarmed them Those complex steps that HellSpawn took may be avoided, but I'm not competent enough to give details.
"Not a shred of evidence exists in favour of the idea that life is serious." Brendan Gill
- Metathron
- Round Table Hero
- Posts: 2704
- Joined: 29 Jan 2006
- Location: Somewhere deep in the Caribbean...
- Contact:
I've tried your simple way, Dalai, but to no avail. First the Heroes exporter program extracted three bitmap files from Gathering Storm, and then I packed them into a new file like you said but nothing changed. All this just looks way too difficult for non computer-savvy people.
Jesus saves, Allah forgives, Cthulhu thinks you'd make a nice sandwich.
I'm surprised the image didn't work.. Did you make sure it was the exact size and format?...
If so, then the hex editing might have to begin..
It should work the same way as I stated on the music mod. technique above.
I've gotten ridicule for my hex-editing technique when it came to the music, but it was the only way to get my music files, playing and looping correctly...
If anyone knows of a better and easier way, then I'm open to suggestions.
If so, then the hex editing might have to begin..
It should work the same way as I stated on the music mod. technique above.
I've gotten ridicule for my hex-editing technique when it came to the music, but it was the only way to get my music files, playing and looping correctly...
If anyone knows of a better and easier way, then I'm open to suggestions.
Hmmm....Metathron wrote:I've tried your simple way, Dalai, but to no avail.
I'll investigate it further, no time for it now.
I have three files I made for myself and for some Equi-development experiments, you can use them as-is. It's 1024*768 (only!) screens from all three versions: Original, TGS, WOW
Warning: it also contains Russian fonts, so it is strongly not recommended to use if you have other than English or Russian version of the game.
"Not a shred of evidence exists in favour of the idea that life is serious." Brendan Gill
- Metathron
- Round Table Hero
- Posts: 2704
- Joined: 29 Jan 2006
- Location: Somewhere deep in the Caribbean...
- Contact:
Hey, those work! I looked inside the .pak files and I think I extracted those very same files last time I tried, so I can only guess the problem was that they were not named skin.h4r but new_mod.h4r like you suggested in an earlier post.
Anyhow, thanks a bunch, Dalai. It is refreshing to be able to change the main menu screen once in a while.
Now perhaps I'll even try Hellspawn's method for changing the music score, though I doubt I'll be successful.
Anyhow, thanks a bunch, Dalai. It is refreshing to be able to change the main menu screen once in a while.
Now perhaps I'll even try Hellspawn's method for changing the music score, though I doubt I'll be successful.
Jesus saves, Allah forgives, Cthulhu thinks you'd make a nice sandwich.
- TheUndeadKing
- Swordsman
- Posts: 588
- Joined: 04 Dec 2006
- Contact:
(To change both the main menu AND the music!) Here's what you need to do:
1. Use this program:
https://www.celestialheavens.com/homm4/ ... 32.006.zip
2. Extract this file from heroes4.h4r:
bitmap_raw.menu.main.1024.raw
3. Extract this file from music.h4r:
sound.main_menu.mp3
4. Create a new text document and type (or copy) these:
[H4R File List]
new.h4r
2
sound.main_menu.mp3
bitmap_raw.menu.main.1024.raw
[End]
(Note: If you copy-paste the script above, you will also need to remove the added "spaces" at the end of each line.)
Then click on File > Save As... and save the document as "new.h4l".
5. Copy these three files (2, 3, 4) into the same folder.
6. Open the extractor (1) and click Options > Build a h4l file. Then select the "new.h4l" file you just created (4). This will create a new file named "new.h4r". Copy this file into your Heroes 4\Data folder.
Note: Rename "new.h4r" to "new_mod.h4r" for the Equilibris mod.
Voila! Enjoy your new menu & music!
1. Use this program:
https://www.celestialheavens.com/homm4/ ... 32.006.zip
2. Extract this file from heroes4.h4r:
bitmap_raw.menu.main.1024.raw
3. Extract this file from music.h4r:
sound.main_menu.mp3
4. Create a new text document and type (or copy) these:
[H4R File List]
new.h4r
2
sound.main_menu.mp3
bitmap_raw.menu.main.1024.raw
[End]
(Note: If you copy-paste the script above, you will also need to remove the added "spaces" at the end of each line.)
Then click on File > Save As... and save the document as "new.h4l".
5. Copy these three files (2, 3, 4) into the same folder.
6. Open the extractor (1) and click Options > Build a h4l file. Then select the "new.h4l" file you just created (4). This will create a new file named "new.h4r". Copy this file into your Heroes 4\Data folder.
Note: Rename "new.h4r" to "new_mod.h4r" for the Equilibris mod.
Voila! Enjoy your new menu & music!
Last edited by TheUndeadKing on 02 Feb 2009, 05:09, edited 1 time in total.
"I saw the angel in the marble and carved until I set him free..." - Michelangelo
Who is online
Users browsing this forum: No registered users and 2 guests