EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
Forum rules
This is the forum to discuss all aspects of editing the EHM data and tweaking the game.
Have a bug or feature request for the EHM Editor? Post them in the EHM Editor thread. Please start a new thread or post in another thread if you have a question about how to use the EHM Editor.
Given the large number of questions on similar topics, we ask that you start a new thread for a new question unless you can locate a similar question in an existing thread. This will hopefully ensure that similar questions do not get buried in large threads.
Useful links: EHM 1 Assistant (Download) | EHM 1 Editor (Download) | EHM 1 Editor Tutorials | Editing Rules & Structures Guide | Converting EHM 2004 / 2005 DBs to EHM 1 | Converting an EHM 2007 DB to EHM 1 | Extra_config.cfg | Import_config.cfg | Player Roles
This is the forum to discuss all aspects of editing the EHM data and tweaking the game.
Have a bug or feature request for the EHM Editor? Post them in the EHM Editor thread. Please start a new thread or post in another thread if you have a question about how to use the EHM Editor.
Given the large number of questions on similar topics, we ask that you start a new thread for a new question unless you can locate a similar question in an existing thread. This will hopefully ensure that similar questions do not get buried in large threads.
Useful links: EHM 1 Assistant (Download) | EHM 1 Editor (Download) | EHM 1 Editor Tutorials | Editing Rules & Structures Guide | Converting EHM 2004 / 2005 DBs to EHM 1 | Converting an EHM 2007 DB to EHM 1 | Extra_config.cfg | Import_config.cfg | Player Roles
-
- Checking Line
- Posts: 526
- Joined: Wed Mar 07, 2007 5:05 am
- Custom Rank: MKoivuSports
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
can u change the number of teams in a league or no for example WHL..
edit... i changed WHL to 22 teams and had to rename the exe file so we will soon find out if it works or not..
edit... i changed WHL to 22 teams and had to rename the exe file so we will soon find out if it works or not..
-
- Checking Line
- Posts: 526
- Joined: Wed Mar 07, 2007 5:05 am
- Custom Rank: MKoivuSports
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
k so after changing it in the hard code editor..

Then i got this

then i decided to save it to a different directory and then copy the exe file back into the ehm07 directory.
If i just double click on the ehm2007whl.exe file
it shows

however if i run as admin because i have vistia on my pc
i get this

but then when i dont run it under admin the standings only register as 21 teams instead of 22

so not sure if i did something wrong or what not..

Then i got this

then i decided to save it to a different directory and then copy the exe file back into the ehm07 directory.
If i just double click on the ehm2007whl.exe file
it shows

however if i run as admin because i have vistia on my pc
i get this

but then when i dont run it under admin the standings only register as 21 teams instead of 22

so not sure if i did something wrong or what not..
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
You need to use "Run as Admin" when loading the Editor. Otherwise it cannot save files to C:/Program Files/.../
Always use "Run as Admin" when running the game and when running the Pre-Game Editor. Otherwise you'll end up with a shadow copies of your DB. You'll need to edit your DB again using "Run as Admin" with the Pre-Game Editor to add the 22nd team. Then use "Run as Admin" to load your edited exe. Try simming through the season to see what happens with the 22nd team.
I think you also need to change the League Structure because otherwise it might not allow 22 teams in the league. See if any other leagues have a 22 team league and try copying their settings.
Always use "Run as Admin" when running the game and when running the Pre-Game Editor. Otherwise you'll end up with a shadow copies of your DB. You'll need to edit your DB again using "Run as Admin" with the Pre-Game Editor to add the 22nd team. Then use "Run as Admin" to load your edited exe. Try simming through the season to see what happens with the 22nd team.
I think you also need to change the League Structure because otherwise it might not allow 22 teams in the league. See if any other leagues have a 22 team league and try copying their settings.
-
- Checking Line
- Posts: 526
- Joined: Wed Mar 07, 2007 5:05 am
- Custom Rank: MKoivuSports
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
if i want to use another league structure do i have to have the same amount of divisions and teams in those divisions..
for example another thing i was looking into is changing AHL, so if i use NHL as their structure do i have to have 5 divisions of 5 teams each or is it 30 teams with the 4 divisions?
for example another thing i was looking into is changing AHL, so if i use NHL as their structure do i have to have 5 divisions of 5 teams each or is it 30 teams with the 4 divisions?
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
I don't know. You'll have to experiment and test things out. All I did was write the editor - I haven't tested every possible setting.MKoivuFan wrote:if i want to use another league structure do i have to have the same amount of divisions and teams in those divisions..
for example another thing i was looking into is changing AHL, so if i use NHL as their structure do i have to have 5 divisions of 5 teams each or is it 30 teams with the 4 divisions?
-
- Checking Line
- Posts: 526
- Joined: Wed Mar 07, 2007 5:05 am
- Custom Rank: MKoivuSports
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
just a little update for everyone...

I tried that and i get this error...

I just got to figure out because in the database i did 5 divisions of 5, im gonna try and go with the 4 divisions that AHL has in the original file but ill keep everyone updated..

I tried that and i get this error...

I just got to figure out because in the database i did 5 divisions of 5, im gonna try and go with the 4 divisions that AHL has in the original file but ill keep everyone updated..
-
- Checking Line
- Posts: 526
- Joined: Wed Mar 07, 2007 5:05 am
- Custom Rank: MKoivuSports
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
after finding out the error it was because i had more then 30 teams in the pregame editor... so now the file loads up and in the team selection it shows all 30 AHL teams but in standings it only shows 27 teams so im gonna go ahead and sim 1 full season and see where it leads..
-
- Checking Line
- Posts: 526
- Joined: Wed Mar 07, 2007 5:05 am
- Custom Rank: MKoivuSports
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
After doing much testing with OHL as WHL League size and everything else was going to try having 21 teams aka expansion team as the 21st team, AHL as a 30 team using NHL settings and everything, the database works just not the standings in EHM like u said im not sure if there if theres some hard coding that does not let u change the standings or something..
- Manimal
- TBL Admin Team
- Posts: 6344
- Joined: Thu Apr 24, 2008 4:01 am
- Custom Rank: EHM Rosters Man
- Favourite Team: Djurgårdens IF
- Location: Karlstad, Sweden
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
Do all teams play games?MKoivuFan wrote:After doing much testing with OHL as WHL League size and everything else was going to try having 21 teams aka expansion team as the 21st team, AHL as a 30 team using NHL settings and everything, the database works just not the standings in EHM like u said im not sure if there if theres some hard coding that does not let u change the standings or something..
-
- Checking Line
- Posts: 526
- Joined: Wed Mar 07, 2007 5:05 am
- Custom Rank: MKoivuSports
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
Only 27 teams show up in standings but when u go to take over as the GM like when u first start up the game and u pick ur team it lists all 30 teams but in the standings it only shows 27 teams so it has to be some hard coding in the standings or something that archi hasn't solved yet with his editor that will problemly will be written in the editor down the road..Manimal wrote:Do all teams play games?MKoivuFan wrote:After doing much testing with OHL as WHL League size and everything else was going to try having 21 teams aka expansion team as the 21st team, AHL as a 30 team using NHL settings and everything, the database works just not the standings in EHM like u said im not sure if there if theres some hard coding that does not let u change the standings or something..
- MillionDollarMan
- Junior League
- Posts: 5
- Joined: Sat Aug 24, 2013 8:18 pm
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
Are you planning on making this work on any version that doesn't use elicense because I tried buying it the way some other guys bought it years after the game was released but it seems that it's no longer possible. Wouldn't EHM 2007 at this point be considered abandonware since it's no longer for sale and official support for it has stopped?
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
I'm afraid I only have the eLicence version and the notes on which I based the editor are based on that version too. So I'm afraid I have no ability to support any other version of the game. Also, I'm not comfortable supporting any cracked version.
-
- Junior League
- Posts: 37
- Joined: Fri Jul 13, 2007 12:05 pm
- Custom Rank: UUDB & Hex Man!
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
Just saw what you guys have been up to! Great job with it but thank god the new EHM will (hopefully) forever retire this headache of a project! 

- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
Welcome back!! 

-
- Junior League
- Posts: 37
- Joined: Fri Jul 13, 2007 12:05 pm
- Custom Rank: UUDB & Hex Man!
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
Hey 
How's it been going with the editing work? Have to say looking back over everything i sort of miss it but sadly just don't have the time for it any more. Are you still putting in as much effort as back in the day?

How's it been going with the editing work? Have to say looking back over everything i sort of miss it but sadly just don't have the time for it any more. Are you still putting in as much effort as back in the day?
- Alessandro
- Olympic Gold
- Posts: 2865
- Joined: Sat Aug 27, 2005 1:54 pm
- Custom Rank: TBL Rosters Man
- Favourite Team: Team Russia
- WHL Team: Calgary Flames
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
Long story short: When you quit, we had to stopHobbit13 wrote:Hey
How's it been going with the editing work? Have to say looking back over everything i sort of miss it but sadly just don't have the time for it any more. Are you still putting in as much effort as back in the day?
- archibalduk
- TBL Admin Team
- Posts: 20372
- Joined: Tue Jul 06, 2004 8:44 pm
- Custom Rank: Seaside + Fruit Juice Mode
- Favourite Team: Guildford (EPL) / Invicta (NIHL)
- Location: United Kingdom
- Contact:
Re: EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
In terms of editing the exe - we gave up after you left because nobody else has the expertise like you with the exe (apart from the Hardcode Editor which I based on your work). Also because we've been so busy with the database and writing editors instead.
In terms of editing the DB - we're as busy as we have every been.
In terms of editing the DB - we're as busy as we have every been.

- bennybandits
- Learning to skate
- Posts: 2
- Joined: Wed Nov 22, 2023 3:49 pm
- Favourite Team: Frisk Asker
EHM 2007 Hardcode Editor (An exe / hex editor) [WIP]
Where can i find this now? The link is not working 
