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
Mgomrjsurf
Prospect
Posts: 81
Joined: Sat May 13, 2017 10:32 pm
Custom Rank: MGSports Account #3
Favourite Team: Blues/Blackhawks

Re: Editing league rules and structures in EHM 1

Post by Mgomrjsurf »

Would like to do NHL Geographically and turn off Trade Deadline but still allow Trades,Turn on Trading with other Leagues,League E. and so on.
celislanders1
Prospect
Posts: 85
Joined: Sun Apr 05, 2015 11:32 pm

New British League System

Post by celislanders1 »

Has anybody managed to re-create this with the editor ??
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 »

No, not that I am aware of.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: EHM 1 Database & Saved Game Editor

Post by nino33 »

Greetings!

I'm working on the 1974 database, I'm not having success, hoping someone can help...
I've changed division names, and reduced the NHL to 4 divisions and 18 teams, and I've created and imported the actual 1974-75 schedule...
I've changed things on the Club and the Competition screens...
I've done my best to have playoff structure setup right (I don't understand it well though, and might have errors)

But I'm currently unable to start a game with the database I have (freezes up at Options screen)
Below is the error message I get...anyone have any suggestions regarding what the problem might be/how I might fix it?

As far as I can tell the "NHL Southeast Division" mentioned in the error message is not even in use in the 1974 database

Thanks!


Image
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: EHM 1 Database & Saved Game Editor

Post by Named »

It depends how You start db - from conferences or divisions. Initial stages should be 4 (divs) or xx (conf). Please upload db and I will check.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: EHM 1 Database & Saved Game Editor

Post by nino33 »

nino33 wrote:anyone have any suggestions regarding what the problem might be/how I might fix it?
Named wrote:It depends how You start db - from conferences or divisions. Initial stages should be 4 (divs) or xx (conf). Please upload db and I will check.
Thanks so much Named!
Here's a link to a zipped copy of the database https://1drv.ms/u/s!AvTHo4MBaphkdXSvbsvlJkdOEg8
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: EHM 1 Database & Saved Game Editor

Post by nino33 »

Me again with another question...

I'm currently looking at the 1979-80 database, and setting it up for a 21 team NHL, and I'm wondering how do I set the playoffs on the Stages screen (Competitions-Rules & Structures-Stages)?

While the League is set up in two conferences, they're meaningless, as of the 21 teams 16 make the playoffs (top 16 by points) and playoffs are 1v16, 2v15, 3v14, etc & they stay like this every round (always most points versus least points, next most versus next least, etc)




IMO 1979-80 is likely a great starting point for "fantasy play/databases" (including using real modern players, but an altered/fantasy league structure) as well as actual historical play, as in 1979-80 the schedule was actually "equal" [21 team league, each team played each other team 4 times (twice at home and twice away) & playoffs were always "most regular season points VS least regular season points"]
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 »

How looked NHL in these years? One standing? Conferences or divisions? If it was one standing current QMJHL format will be helpfull. 16 playoff teams and seeded draw might also work. U can also add team picking rule Special sort points after regular season + previous stages seeded.
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 »

I checked db and first you had too many divs in NHL schedule template and wrong setup of club IDs. IDs for clubs with 2 confs + 4 divs should be:

1 conf 1 div: 0, 1, 2, 3
1 conf 2 div: 100, 101, 102, 103, 104
2 conf 1 div 200, 201, 202, 203
2 conf 2 div 300, 301, 302, 303, 304.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

Thanks Named! :thup:
Named wrote:I checked db and first you had too many divs in NHL schedule template and wrong setup of club IDs. IDs for clubs with 2 confs + 4 divs should be:

1 conf 1 div: 0, 1, 2, 3
1 conf 2 div: 100, 101, 102, 103, 104
2 conf 1 div 200, 201, 202, 203
2 conf 2 div 300, 301, 302, 303, 304.
I see my error of too many Divisions on the NHL "Schedule Templates tab"


I'm not yet sure what you're referring to when you refer to "wrong setup of club IDs"
I don't see where these are, or what you're referring to :dunno:

All I did regarding the schedule was replace the existing schedule with the IRL 1974-75 schedule for the NHL regular season only (are there playoff dates/references too? if yes, where?): I obtained Team IDs from the "Clubs" tab, Basic Data page

Sorry I'm not understanding...
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 »

I mean Home and Road IDs are wrong. They should be as above. Load 9.4 in editor and u will see what i mean with above numbers. If You sort team names from A-Z for first conf and first div inside this conf teams should have ID's 0, 1, 2, 3. Second div in this conf 100, 101, 102, 103, 104 etc. Playoff dates and scheme are out of Schedule templates screen. Examples:

Bruins - 0
Sabres - 1
California - 2
Toronto - 3

Detroit - 100
Kings - 101

etc.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

Named wrote:I mean Home and Road IDs are wrong. They should be as above. Load 9.4 in editor and u will see what i mean with above numbers. If You sort team names from A-Z for first conf and first div inside this conf teams should have ID's 0, 1, 2, 3. Second div in this conf 100, 101, 102, 103, 104 etc. Playoff dates and scheme are out of Schedule templates screen. Examples:

Bruins - 0
Sabres - 1
California - 2
Toronto - 3

Detroit - 100
Kings - 101

etc.
Interesting! So the "Team IDs" that are found on the Clubs tab is not what is used! That's what I used!
I'll redo the schedule and see if that solves my problem!
Thanks much for the help Named!
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

Thanks again for your help Named! =D>
Seems I've got things working! :joy:

I made an error in my schedule, and had the same ID for two teams (two 200 instead of one 100 and one 200), so in my first test season I went until Christmas and checked in and noticed the problem (Detroit wasn't playing any games, Atlanta was playing twice as many as they should).....I'm fixing this now, and then I'll do some more testing to see if things are working as they should (I'm interested to see how the Playoffs work)
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

nino33 wrote:I'm currently looking at the 1979-80 database, and setting it up for a 21 team NHL, and I'm wondering how do I set the playoffs on the Stages screen (Competitions-Rules & Structures-Stages)?
Named wrote:How looked NHL in these years? One standing? Conferences or divisions? If it was one standing current QMJHL format will be helpfull. 16 playoff teams and seeded draw might also work. U can also add team picking rule Special sort points after regular season + previous stages seeded.
Back in 1979-80 they had both Conferences and Divisions, but they were essentially meaningless.
Standings were often shown with one big list of all 21 teams, and an indicator of the "playoff cutoff" (top 16 teams made the playoffs)

Maybe the current QMJHL format will help...I'll take a look at the things you mentioned

Thanks for the feedback :thup:
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

With only the EHM1 Editor and an EHM1 database, can I edit...
- NHL Salary Cap/Floor ?
- Maximum Wage ?
- Entry Level Wage ?
- Minimum Wage ?



As far as I can tell, I can't edit any of this things with in an EHM1 database with the EHM1 Editor...maybe because they're "League Rules" (based on the CBA) ?


The only things editable I can see is on the Finance Info tab, and I did change Max F/D/G Wage to 1.5 million and it seemed to work :thup:

But the "League Minimum" NHL salary of $450,000 K seems to be in place (no one makes less than that); is there a way I can get rid of the Salary Cap/Floor, League Minimum salary amount, Entry Level Contract amounts, etc ?



ALSO...has anyone every tried removing a Draft using the EHM1 Editor?
I see that the NHL Supplemental Draft and NHL Waiver Draft both show up in the Editor as "Extinct" and I'm wondering if I can get rid of the CHL Import Draft by checking off Extinct in the Editor
Last edited by nino33 on Wed May 24, 2017 12:46 am, edited 1 time in total.
Mgomrjsurf
Prospect
Posts: 81
Joined: Sat May 13, 2017 10:32 pm
Custom Rank: MGSports Account #3
Favourite Team: Blues/Blackhawks

Re: Editing league rules and structures in EHM 1

Post by Mgomrjsurf »

So does Expansion Draft.
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 »

We can't add/remove drafts yet. League minimum salary is editable.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

nino33 wrote:Thanks again for your help Named! =D>
Seems I've got things working! :joy:

I made an error in my schedule, and had the same ID for two teams (two 200 instead of one 100 and one 200), so in my first test season I went until Christmas and checked in and noticed the problem (Detroit wasn't playing any games, Atlanta was playing twice as many as they should).....I'm fixing this now, and then I'll do some more testing to see if things are working as they should (I'm interested to see how the Playoffs work)
Well, it seems there's a problem...
Two test sims in a row, on April 6th, the final day of regular season competition...clicking Continue = crash :-(



I suspected the playoffs might be a challenge...
I've got two conferences (9 teams in each), two divisions in each conference



The playoffs I'm trying to get are
  • 3 teams from each division make the playoffs (6 from each conference)
  • in the 1st round of the playoffs the divisional winners don't have to play (winning the division gives you an automatic bye to the 2nd round)
I'm not sure if I can make this happen, and if I can I don't know how to make this happen
  • the second and third place teams were seeded 1–8 based on their regular season record and played a best-of-three series.
I'm not sure if this is possible...honestly I didn't care a lot if they were re-seeded or not, and I was OK with it being best of 7 instead of best of 3 if the length of the series couldn't be changed


  • The four division winners then joined the 4 Preliminary series winners in the quarterfinals, and they were again re-seeded 1–8 based on regular season record.
This is where the division winners join (in the 2nd round)
  • This re-seeding took place again in the semifinals, with the teams seeded 1–4.
Again, re-seeding would be nice but not necessary



Question - what screens should I be looking at in the EHM1 Editor to solve my playoff issues?
I'm using the Stages screen, on the Competitions tab, then Rules & Structures tab - anywhere else I should be looking?
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

Named wrote:League minimum salary is editable.
I'm not able to do so with the NHL; maybe the CBA takes precedence (hardcoded?)

With the current 1974 database, the EHM1 Editor shows the "Min Full Time Wage" for the NHL as $75K but ingame no player is making less than $450K
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 »

Stage 1: playoff top 2, playoff bottom 4
Stage 2 playoff top 2, playoff bottom 4
Stage 3 add team picking rule "From Prev Stages Top Bye" and "From Prev Stages Special Sort Regular Season Pts"
Stage 4 add team picking rule "From Prev Stages Top Bye" and "From Prev Stages Special Sort Regular Season Pts"

then sim game before last regular season game and save. After that with non-compresed save u can load save with editor and fun is start. In some cases simming is not needed to get testing playoff format as we can edit things before draw are made. Of course its douable if you didnt change number of playoff top, bottom, promoted teams then you had to reload db and sim till before last regular season game. MHLB league from 9.4 will be helpfull to do this playoff format. There You had BYE's.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

Named wrote:Stage 1: playoff top 2, playoff bottom 4
Stage 2 playoff top 2, playoff bottom 4
Stage 3 add team picking rule "From Prev Stages Top Bye" and "From Prev Stages Special Sort Regular Season Pts"
Stage 4 add team picking rule "From Prev Stages Top Bye" and "From Prev Stages Special Sort Regular Season Pts"

then sim game before last regular season game and save. After that with non-compresed save u can load save with editor and fun is start. In some cases simming is not needed to get testing playoff format as we can edit things before draw are made. Of course its douable if you didnt change number of playoff top, bottom, promoted teams then you had to reload db and sim till before last regular season game. MHLB league from 9.4 will be helpfull to do this playoff format. There You had BYE's.
Thanks Named! :thup:
I've been working on it, and still can't get it working...but I'll keep trying :-)
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

Named wrote: MHLB league from 9.4 will be helpfull to do this playoff format. There You had BYE's.
What League is the MHLB?

Looking at a saved 9.4 game with the EHM1 Editor I don't see it in the list of Leagues (on the Competitions-Rules & Structure tab) in 9.4
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 »

Russian National Junior Hockey League. Any progress?
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Editing league rules and structures in EHM 1

Post by nino33 »

Named wrote:Any progress?
Alas, no progress (tried a number of things without success)
Named wrote:Russian National Junior Hockey League
Hopefully having a guideline/example for a Bye situation will help



EDIT - Well it's 4 hours later, I've tried again, but alas no success :dunno:
User avatar
idio3
Junior League
Posts: 14
Joined: Tue May 16, 2017 3:00 pm
Favourite Team: Neman Grodno

Re: Editing league rules and structures in EHM 1

Post by idio3 »

Hey, can someone please explain what does "Priority" under Rules & Structures / Comp Rules control? It seems to be fairly randomly allocated number, but the name itself sounds extremely important. Anyone?
Post Reply