Page 1 of 1

Renaming Leagues

Posted: Sat May 04, 2013 4:18 am
by Animal31
I searched for this, couldnt find anything

But im working on some of the Junior A Canadian Leagues for fun, but I cant rename name them

Well, I can, but if I do, I get a warning on start up, and it doesnt let me loan players to teams of those leagues. They still function correctly, but not really

any advice?

Re: Renaming Leagues

Posted: Sat May 04, 2013 4:39 pm
by Manimal
Create a new league and move all the teams and leave the old league without teams

Re: Renaming Leagues

Posted: Sat May 04, 2013 9:03 pm
by Animal31
What about the BCHL or NCAA, where one has rostor rules, and the other has a special relationship with the CHL?

Re: Renaming Leagues

Posted: Sat May 04, 2013 9:37 pm
by Manimal
Animal31 wrote:What about the BCHL or NCAA, where one has rostor rules, and the other has a special relationship with the CHL?
That cannot be edited to a new league

Re: Renaming Leagues

Posted: Sun May 05, 2013 2:00 am
by Animal31
Do you know which leagues are like that?

I have most of the Canadian leagues written down, grouped into Bantam, Midget, Junior B/C, and Junior A/AAA, as well as college, with the "special" leagues marked, but thats just canada, I still have to work on the rest

Re: Renaming Leagues

Posted: Sun May 05, 2013 7:44 am
by Alessandro
Most leagues can't be renamed.

Re: Renaming Leagues

Posted: Sun May 05, 2013 9:10 am
by archibalduk
It depends on how determined you are to rename the hardcoded leagues. It is possible to do - I did it with the United Hockey League and Russian Superleague by renaming them to the Southern Professional Hockey League and the Kontinental Hockey League .

As mentioned by Manimal and Alessandro, many of the leagues cannot be renamed in the DB without causing the game to crash. Even if you create a new league with the name of the replaced league, the game still crashes because it expects to see certain leagues to have certain names. So the only way to change things is to change what EHM expects to see in the DB. This means that you have to open ehm2007.exe in a hex editor, search for the league you want to rename and then rename it to the new name (make a backup of your ehm2007.exe file first). Then make the same name change in your DB via the Pre-Game Editor.

By making the changes in both the exe and the DB, the name changes will work fine. However, EHM will only work with saved games that have the same league names as the exe. For example, if you have one saved game where the league is called the Russian Superleague and another saved game where the league is called the KHL, you will need to have two copies of the exe - one for each variation. The game will crash if you try to load a saved game with a differently named league. There's a more detailed thread about this here but it gets fairly technical.

Image

Image

Re: Renaming Leagues

Posted: Sun May 05, 2013 9:52 am
by Animal31
I think if I get to the point of hex editing, ill just go ahead and make my own game :B