Editing league rules and structures in EHM 1

Discuss all aspects of editing the data and databases in EHM here. Have a question about the EHM Editor, EHM Assistant, editing the .cfg files, hex editing the .dat or .db files? Want to tweak the EHM exe file to change league rules/structure, start date etc? This is the place!
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
Post Reply
User avatar
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: Editing league rules and structures in EHM 1

Post by Alessandro »

Primis wrote: Just wanted to say, it isn't as daunting and complicated as it seems, so long as you have another league to base your settings/schedule off of.
We broke our heads over more than a second round qualifying stages with odd number of teams or bronze medal games with teams coming from different divisions in more than single occasions for days :grin:
But really all it takes is some practice and having simple rules won't hurt :nod:
User avatar
Primis
Freeware Moderator
Posts: 1698
Joined: Tue Aug 03, 2010 7:46 pm
Location: Michigan, USA

Re: Editing league rules and structures in EHM 1

Post by Primis »

Alessandro wrote:We broke our heads over more than a second round qualifying stages with odd number of teams or bronze medal games with teams coming from different divisions in more than single occasions for days :grin:
But really all it takes is some practice and having simple rules won't hurt :nod:
Yeah, that's a level of complexity I don't know that I'll get into even. That's one of the perks of North American leagues I guess, ultimately they're not that involved or complicated (only two stages I guess -- season and then straight-forward playoffs, and no promotion/relegation, so no need to link leagues, etc). Self-contained, mostly.

I just wanted to encourage people to try it if they're interested. Reading the pages of this thread as you've gone along, it seemed so daunting as the pages of posts began piling up. But once I actually cracked it open to do it, I could flip between leagues and compare settings and logic out most all of it to get what I wanted. It takes some time, no doubt. I think I spent two hours just doing a simple new league, so I could make sure I didn't miss anything and to figure a few things out (it took me a while to figure out that a league needs a governing body to be playable, for instance, that was maybe my single biggest hurdle I came across).

Now that I've done it, it's time to go in and start seeing how far I can push things, and what effect they have on things already in the game. Adding whole new playable leagues is a big game-changer IMHO. And as people get more schedule matrices out there, it'll be even easier.

I used to spend so much time in the 2007 Pregame Editor trying to make things work or happen that were not intended, that honestly was part of the fun of 2007 for me. I spent more time in the editor modding things than even playing for quite a while (making a best-of global league, making NCAA Playable, resurrecting old leagues to replace other dead leagues, etc)

If I can make all-new leagues with this editor, a lot of other people can to. It just takes an afternoon say to hash it all out.
User avatar
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: Editing league rules and structures in EHM 1

Post by Alessandro »

A thing that would help is clearer error codes... an error like "mismatch in the number of teams for stage 0" doesn't mean much...
Nylander
Learning to skate
Posts: 1
Joined: Thu Feb 16, 2017 8:05 pm
Favourite Team: Toronto meaple leafs

Re: Editing league rules and structures in EHM 1

Post by Nylander »

Hey guys :help: im from sweden 13 years old boy and has just started playing ehm on mac (uses the PlayOnMac). I want to create my favorite team from sweden but cant get the pre game editor. How do I do??
User avatar
TochilKING
TBL Rosters Researcher
Posts: 28
Joined: Sun May 31, 2015 9:27 am
Favourite Team: Krylia Sovetov

Re: Editing league rules and structures in EHM 1

Post by TochilKING »

Hello!

What does Extra Team Start Index means in Stages - Schedule Dates?

I have a problem with organisation of Latvijas Virsliga, where at all 7 teams, and 7 plaing in play-off.

I have select 1 team as promoted, 6 teams as Playoff (top), but while testing of this update, there are "mismatch in the number of teams for stage 0" error. Perhaps, I have to select another Extra Team Start Index to correct it, but I don't understand what does it means?
User avatar
Named
TBL Rosters Researcher
Posts: 698
Joined: Tue Apr 07, 2015 8:34 pm
Custom Rank: League structures guru
Favourite Team: Chicago Blackhawks
Location: PL

Re: Editing league rules and structures in EHM 1

Post by Named »

Latvijas Virsliga will be playable in our soonest new release with new playable leagues.
User avatar
TochilKING
TBL Rosters Researcher
Posts: 28
Joined: Sun May 31, 2015 9:27 am
Favourite Team: Krylia Sovetov

Re: Editing league rules and structures in EHM 1

Post by TochilKING »

Named wrote:Latvijas Virsliga will be playable in our soonest new release with new playable leagues.
Can you help me and tell, how it's structure of play-off are realized?
User avatar
Filip Croatia
Fringe Player
Posts: 335
Joined: Thu Jul 08, 2010 5:55 pm
Location: Zagreb, Croatia

Re: Editing league rules and structures in EHM 1

Post by Filip Croatia »

Named wrote:Latvijas Virsliga will be playable in our soonest new release with new playable leagues.

Which one's ? :)
User avatar
Named
TBL Rosters Researcher
Posts: 698
Joined: Tue Apr 07, 2015 8:34 pm
Custom Rank: League structures guru
Favourite Team: Chicago Blackhawks
Location: PL

Re: Editing league rules and structures in EHM 1

Post by Named »

Filip Croatia wrote:
Named wrote:Latvijas Virsliga will be playable in our soonest new release with new playable leagues.

Which one's ? :)
For now (from what I remember) we have made as they are IRL:

VHL
VHLB
MHL
MHL B
MHL SuperCup & All-Star Games
Belarus Extraliga
Belarusian Cup
Polish Elite League
Czech DHL Junior League (Major U20)
Latvijas Virsliga
Federal Hockey League
DEL2
French Magnus League
French Second League
MOL League

Those leagues are fully designed. We think also about few North American and more EU leagues but still need to think how to create some of them and help with rules (especially Canadian minor junior leagues) will be appreciate.
User avatar
TochilKING
TBL Rosters Researcher
Posts: 28
Joined: Sun May 31, 2015 9:27 am
Favourite Team: Krylia Sovetov

Re: Editing league rules and structures in EHM 1

Post by TochilKING »

Named wrote:
Filip Croatia wrote:
Named wrote:Latvijas Virsliga will be playable in our soonest new release with new playable leagues.

Which one's ? :)
For now (from what I remember) we have made as they are IRL:

VHL
VHLB
MHL
MHL B
MHL SuperCup & All-Star Games
Belarus Extraliga
Belarusian Cup
Polish Elite League
Czech DHL Junior League (Major U20)
Latvijas Virsliga
Federal Hockey League
DEL2
French Magnus League
French Second League
MOL League

Those leagues are fully designed. We think also about few North American and more EU leagues but still need to think how to create some of them and help with rules (especially Canadian minor junior leagues) will be appreciate.
Maybe we can join our efforts? I have already create VHL, VHLB, MHL, MHLB, Belarus Extraliga, Belarus Vysshaya League, Kazakhstan Championship, Ukrainian Hockey League, Lithuanian Hockey League, Estonian Hockey League with real rules and real schedules.

But I can't still create Latvijas Virsaliga and Latvijas 1 liga with real rules.
szczepek25
Junior League
Posts: 48
Joined: Thu May 07, 2015 3:22 pm
Favourite Team: Poland
Location: Kraków

Re: Editing league rules and structures in EHM 1

Post by szczepek25 »

Named wrote:
Filip Croatia wrote:
Named wrote:Latvijas Virsliga will be playable in our soonest new release with new playable leagues.

Which one's ? :)
For now (from what I remember) we have made as they are IRL:

VHL
VHLB
MHL
MHL B
MHL SuperCup & All-Star Games
Belarus Extraliga
Belarusian Cup
Polish Elite League
Czech DHL Junior League (Major U20)
Latvijas Virsliga
Federal Hockey League
DEL2
French Magnus League
French Second League
MOL League

Those leagues are fully designed. We think also about few North American and more EU leagues but still need to think how to create some of them and help with rules (especially Canadian minor junior leagues) will be appreciate.
Wow really? Cool! Great job TBL team :notworthy:
User avatar
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: Editing league rules and structures in EHM 1

Post by Alessandro »

[quote="TochilKING"][/quote]

Do you have skype?
User avatar
TochilKING
TBL Rosters Researcher
Posts: 28
Joined: Sun May 31, 2015 9:27 am
Favourite Team: Krylia Sovetov

Re: Editing league rules and structures in EHM 1

Post by TochilKING »

Alessandro wrote:
TochilKING wrote:
Do you have skype?
Yes, I have. My NickName there is TochilKING too. But I vere rarely visit it. Maybe Whatsapp in private messages?
User avatar
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: Editing league rules and structures in EHM 1

Post by Alessandro »

Check your skype for initial contact :)
User avatar
Edgars
Top Prospect
Posts: 134
Joined: Fri Mar 08, 2013 6:37 am
Location: Rīga, Latvija

Re: Editing league rules and structures in EHM 1

Post by Edgars »

TochilKING wrote:I have a problem with organisation of Latvijas Virsliga, where at all 7 teams, and 7 plaing in play-off.
Six teams are making play-offs in Latvijas Virslīga!
User avatar
Named
TBL Rosters Researcher
Posts: 698
Joined: Tue Apr 07, 2015 8:34 pm
Custom Rank: League structures guru
Favourite Team: Chicago Blackhawks
Location: PL

Re: Editing league rules and structures in EHM 1

Post by Named »

andda715: Have You made any progress with Swedish J20 SuperElit or still some things need to tweak and help?
User avatar
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: Editing league rules and structures in EHM 1

Post by Alessandro »

Archi, I'm not sure if this is a problem of the editor or the game (I think the latter, but I prefer asking). If you change a team's status fro Junior to Professional, for example, the DB saves it (close and reload show updated information), but the game does not retain the new status. I have screenshots if it's not clear.
Can you have a look?
GooseGaming68
Junior League
Posts: 31
Joined: Sun Aug 14, 2016 2:45 pm
Favourite Team: Washington Capitals

Re: Editing league rules and structures in EHM 1

Post by GooseGaming68 »

I've got a quick question, what do the team IDs represent in the schedule templates tab under club competitions? I would like to try and update the NHL roster but I have no idea what for example the Washington Capital's ID is.
ebenton99
Junior League
Posts: 17
Joined: Thu May 21, 2015 7:56 pm
Favourite Team: Philadelphia Flyers

Re: Editing league rules and structures in EHM 1

Post by ebenton99 »

GooseGaming68 wrote:I've got a quick question, what do the team IDs represent in the schedule templates tab under club competitions? I would like to try and update the NHL roster but I have no idea what for example the Washington Capital's ID is.
The team IDs in a schedule template represent a generic team in a division of the league it is specified for. It is for league structure, not specific teams.

For example, lets say the first conference for the NHL is the East and the first division in that conference is the Metropolitan. Since there are eight teams in that division, the team IDs for that division would be 000-007 (the first digit representing that it is the first division in the first conference in the league starting from 0, and the remaining two digits representing the teams in that division again starting from 0). So the second division (the Atlantic) would then be 100-107, and so on with the other two divisions. When the schedule is generated, the teams in the division replace these IDs and a schedule is made for that team.

In other words, updating specific teams through schedule templates isn't possible. If you want to update rosters, you would have to go to each player and change the team they're contracted to/playing for.
GooseGaming68
Junior League
Posts: 31
Joined: Sun Aug 14, 2016 2:45 pm
Favourite Team: Washington Capitals

Re: Editing league rules and structures in EHM 1

Post by GooseGaming68 »

ebenton99 wrote:
GooseGaming68 wrote:I've got a quick question, what do the team IDs represent in the schedule templates tab under club competitions? I would like to try and update the NHL roster but I have no idea what for example the Washington Capital's ID is.
The team IDs in a schedule template represent a generic team in a division of the league it is specified for. It is for league structure, not specific teams.

For example, lets say the first conference for the NHL is the East and the first division in that conference is the Metropolitan. Since there are eight teams in that division, the team IDs for that division would be 000-007 (the first digit representing that it is the first division in the first conference in the league starting from 0, and the remaining two digits representing the teams in that division again starting from 0). So the second division (the Atlantic) would then be 100-107, and so on with the other two divisions. When the schedule is generated, the teams in the division replace these IDs and a schedule is made for that team.

In other words, updating specific teams through schedule templates isn't possible. If you want to update rosters, you would have to go to each player and change the team they're contracted to/playing for.
What I meant was updating the schedule, Thanks for telling me! If what I update works I will upload the 2016 Rosters with the correct schedule. I don't know where tho :( Anyone knows tell me!
GooseGaming68
Junior League
Posts: 31
Joined: Sun Aug 14, 2016 2:45 pm
Favourite Team: Washington Capitals

NHL Team IDs in EHM 1

Post by GooseGaming68 »

GooseGaming68 wrote: What I meant was updating the schedule, Thanks for telling me! If what I update works I will upload the 2016 Rosters with the correct schedule. I don't know where tho :( Anyone knows tell me!
Ok after some testing I have figured out the IDs for all the NHL teams. Idk if they are already out there but I will post them here if anyone wants to edit the NHL schedule.

Code: Select all

NHL Team IDs
0=Boston
1=Buffalo
2=Detroit
3=Florida
4=Montreal
5=Ottawa
6=Tampa Bay
7=Toronto

100=Carolina
101=Columbus
103=New York I
102=New Jersey
104=New York R
105=Philadelphia
106=Pittsburgh
107=Washington

200=Chicago
201=Colorado
202=Dallas
203=Minnesota
204=Nashville
205=St.Louis
206=Winnipeg

300=Anaheim
301=Arizona
302=Calgary
303=Edmonton
304=Los Angeles
305=San Jose
306=Vancouver
User avatar
archibalduk
TBL Admin Team
Posts: 20373
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: Editing league rules and structures in EHM 1

Post by archibalduk »

The IDs for the teams in the schedule templates is roughly as ebenton99 mentions above except that the IDs do point to a particular team (at least in the first season). The teams are ordered alphabetically and then the first team is 0, the second team is 1, etc. Where a league has divisions, the teams are grouped into their divisions and sorted alphabetically within each division. The divisions are sorted according to the order they appear in the Editor - in the case of the NHL it's: Atlantic = 0, Metropolitan = 1, Central = 2 and Pacific = 3.

There is a much fuller explanation here: http://www.ehmtheblueline.com/forums/vi ... 50#p220679
GooseGaming68
Junior League
Posts: 31
Joined: Sun Aug 14, 2016 2:45 pm
Favourite Team: Washington Capitals

Re: Editing league rules and structures in EHM 1

Post by GooseGaming68 »

archibalduk wrote:The IDs for the teams in the schedule templates is roughly as ebenton99 mentions above except that the IDs do point to a particular team (at least in the first season). The teams are ordered alphabetically and then the first team is 0, the second team is 1, etc. Where a league has divisions, the teams are grouped into their divisions and sorted alphabetically within each division. The divisions are sorted according to the order they appear in the Editor - in the case of the NHL it's: Atlantic = 0, Metropolitan = 1, Central = 2 and Pacific = 3.

There is a much fuller explanation here: http://www.ehmtheblueline.com/forums/vi ... 50#p220679
Well I've filled in October and all the games I have filled in are correct. For these tests I removed the rest of the games that I hadn't changed. No crashes and I was able to sim all the way to the entry draft. I'll try and get to at least January by the end of today :) Have you been able to update the schedule in the 9.1 Feb. 4 Roster update? If not I can put the edited database up on OneDrive for you.
User avatar
Javs
Minor League
Posts: 238
Joined: Mon Mar 07, 2005 11:48 pm
Location: Ontario

Re: Editing league rules and structures in EHM 1

Post by Javs »

Is it possible to edit leagues schedule year to year?
User avatar
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: Editing league rules and structures in EHM 1

Post by Alessandro »

Javs wrote:Is it possible to edit leagues schedule year to year?
Unfortunately no. Only alternative for Olympics.
Post Reply