Editing league rules and structures in EHM 1

Discuss all aspects of editing the data in EHM here. Have a question about the Pre Game Editor, editing the .cfg files, hex editing the .dat 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.

Please note that discussion about roster updates belongs in the Game Add-ons Forum.
User avatar
Geordie_Bolts
Junior League
Posts: 40
Joined: Fri Sep 16, 2011 12:46 am

Re: EHM 1 Database & Saved Game Editor

Post by Geordie_Bolts » Mon Jul 03, 2017 6:47 pm

nino33 wrote:
Geordie_Bolts wrote:Hey guys, I've edited the 9.6 DB to include a 30 team league in the UK which I can start a game with but it crashes whenever I try to save. The league has been created from scratch as a mirror of the NHL structures and schedule. I haven't created any new teams but I have reactivated some inactive clubs (Ayr, Newcastle, Durham etc..) and I had to add some inactive teams to replace the clubs I have taken from the existing UK leagues.
Has anyone on here had the same problem saving their edited game or does anything that I've listed above sound like it could be causing the problem? Thanks for any help offered!
Are you editing the database? or a saved game?
The changes you're making can only be done by editing the database
I'm editing the 9.6 database and using that to start a new game but the problem I'm having is that once the game has loaded my new database and I'm up and running, the game can't be saved as it crashes. Is that an issue with the database I've edited or something else?

User avatar
nino33
Mr. Goalie
Posts: 5998
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 » Mon Jul 03, 2017 7:41 pm

Geordie_Bolts wrote:I'm editing the 9.6 database and using that to start a new game but the problem I'm having is that once the game has loaded my new database and I'm up and running, the game can't be saved as it crashes. Is that an issue with the database I've edited or something else?
I suspect it's an issue with the database you've edited, but I don't know...I do know I haven't heard of others having problems saving an edited database & I just loaded up the database I'm editing and started/saved a game without issue


With my EHM1 editing thus far I've had issue with Leagues not showing as playable when I thought they should, and crashes occurring at playoff time because I didn't have things set up right for the playoffs, but I've never had an edited database crash when attempting to save; hopefully someone else will know what might have gone wrong to prevent a save.....

User avatar
archibalduk
TBL Admin Team
Posts: 19424
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 1 Database & Saved Game Editor

Post by archibalduk » Mon Jul 03, 2017 8:45 pm

Geordie_Bolts wrote:Hey guys, I've edited the 9.6 DB to include a 30 team league in the UK which I can start a game with but it crashes whenever I try to save. The league has been created from scratch as a mirror of the NHL structures and schedule. I haven't created any new teams but I have reactivated some inactive clubs (Ayr, Newcastle, Durham etc..) and I had to add some inactive teams to replace the clubs I have taken from the existing UK leagues.
Has anyone on here had the same problem saving their edited game or does anything that I've listed above sound like it could be causing the problem? Thanks for any help offered!
It may well be because you have some sort of issue with your Rules & Structures settings for your new league. Also, for every team you have reactivated, make sure they have a Reputation set and at least one player (the game will otherwise crash - this will be fixed with the next game patch).

User avatar
Geordie_Bolts
Junior League
Posts: 40
Joined: Fri Sep 16, 2011 12:46 am

Re: Editing league rules and structures in EHM 1

Post by Geordie_Bolts » Tue Jul 04, 2017 12:58 pm

Thanks for the responses guys, I appreciate the suggestions.

I know with the teams I've added that they have a rep but no players added so I'll try that to see if it sorts it 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 » Tue Jul 04, 2017 2:00 pm

I frankly doubt it because many times once it crashes, it crashes also if you revert the situation. This is why you need to take a backup for any thing you do.

User avatar
archibalduk
TBL Admin Team
Posts: 19424
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 » Tue Jul 04, 2017 7:48 pm

Alessandro wrote:I frankly doubt it because many times once it crashes, it crashes also if you revert the situation. This is why you need to take a backup for any thing you do.
If it's just a case of adding players to a roster the doing that will resolve it (no need to revert to a backup). If it's something else the it'll be far easier to find a working backup and go from there.

User avatar
nino33
Mr. Goalie
Posts: 5998
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 » Wed Jul 05, 2017 4:49 pm

Riz shared some knowledge at HFBoards today regarding database editing I thought was worth sharing; the "editing issue" is the most recent Vegas database not having Olympics/Worlds occur as they should (Olympics occur in the wrong year, Worlds don't occur at all)

BKarchitect (aka Foppa at HFBoards) had said "I wonder if by moving the start date to 2017-18 if it automatically moved the Olympics and all events off by one year now" and Riz replied saying:

Yes, changing the start date alone might cause these issues as some of the international comps have a "start year offset" defined in the comp basic rules in the DB. So you'll need to modify those values for the Olympics related comps. Iirc, for a 2017 start date you'll need to set these offsets:
Olympic Final Tournament - 0 (as it will then run in the first season which is 2017-18 but as the comp schedule dates have a year offset 1, the games will be in 2018)
Olympic Pre-Qualification - 3
Olympic Final Qualification - 3

Not sure why the World Champs would be gone, typically those have worked okay in my tests with a 2017 start date without any data changes.

Edit: But just to be safe, it might be worthwhile updating the "draw date" in all the playable league comp basic rules in the editor so it is set to a 2017 date instead of 2016. The game will correct that automatically but in some cases things like leap years can affect conversions and cause issues, so it is best to update that field as well for each comp.

User avatar
archibalduk
TBL Admin Team
Posts: 19424
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 » Wed Jul 05, 2017 8:12 pm

That's very useful to know. I should be able to add something to the Editor to try and make this task easier (some sort of mass edit function, I think).

User avatar
Geordie_Bolts
Junior League
Posts: 40
Joined: Fri Sep 16, 2011 12:46 am

Re: Editing league rules and structures in EHM 1

Post by Geordie_Bolts » Thu Jul 06, 2017 5:19 pm

I tried the addition of a player to each of the teams I've reactivated and also ticked the add players to playable teams box when starting a new game but it still crashes when I go to save it. I guess it must be an issue with the DB itself somewhere but the game seems fairly stable up until I try to save!!
I think I'm at the point of trial and error now to see what's stopping it from holding

User avatar
Asher413
Challenge Moderator
Posts: 355
Joined: Wed May 20, 2009 2:28 am
Favourite Team: Pittsburgh Penguins

Re: EHM 1 Database & Saved Game Editor

Post by Asher413 » Sat Jul 08, 2017 6:07 am

Geordie_Bolts wrote:Hey guys, I've edited the 9.6 DB to include a 30 team league in the UK which I can start a game with but it crashes whenever I try to save.
I had this after my first attempt with the editor when I loaded a league that had [!!] next to it. It initialized the DB then crashed when it started to save.

Several issues from my first run (wish I could post a teaser of the standings screen from my 16 team 2 division 1972-73 NHL to show it wasn't all a loss :), but photobucket doesn't like me tonight.) Some of these I'm quite content with an answer of "yes it's possible", and I'll go fight the battle (or even "we don't know", and I'll go fight the battle).

1- Has anyone seen the US start date go haywire? It's a 1972 DB, the "early start" is July 1972, and the "normal start (or whatever it's called) is December 1970 (!).

2- Has anyone worked on the Olympics? Needless to say the Olympics in 1976 looked very different in Hockey vs. 2010 or 14, and I'd like to make the schedule/format as realistic as possible. Also, is it possible to exclude NHL/WHA players from the Olympics? More than anything curious about what has been done here because it could potentially mean reworking the WHA/NHL schedules for an Olympic break.

3- NHL Draft/other drafts- On the historic Vein, it was pretty much (with some minor exception to the rules) only 20 year olds and higher allowed in the NHL draft, and a LOT more rounds in the early 70's- has anyone edited anything here yet? (Side note- adding drafts such as the waiver/intra-league draft and the WHA draft?)

4- In a potential winner in "Most random playoff award" goes to the IHL in 1973. Short version- the 2nd and 3rd place team in each division played each other in the "pre-playoffs" in best of 5 series, with those two winners playing a best of 5 in the semifinals. The two division winners faced off in a best of 7 in the other semifinal, then the finals best of 7 between the winners. I can't wrap my brain around how to get the two "pre-playoffs" winners to play each other. Any suggestions/thoughts?

Go team. Now that Pandora's box is opened, I'm really hoping this actually makes my 1972 DB easier to finish since I don't have to fit all the leagues in a 2006 box (and I can ignore the really low minor leagues I would've needed for the UHL and such).

User avatar
nino33
Mr. Goalie
Posts: 5998
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 » Sat Jul 08, 2017 6:39 am

Asher413 wrote:2- Has anyone worked on the Olympics? Needless to say the Olympics in 1976 looked very different in Hockey vs. 2010 or 14, and I'd like to make the schedule/format as realistic as possible.
Getting the yearly IIHF World Championships to have an early/mid 70s feel (round robin/no playoffs) would be great too


Asher413 wrote:3- NHL Draft/other drafts- On the historic Vein, it was pretty much (with some minor exception to the rules) only 20 year olds and higher allowed in the NHL draft, and a LOT more rounds in the early 70's- has anyone edited anything here yet? (Side note- adding drafts such as the waiver/intra-league draft and the WHA draft?)
Good questions! I don't know the answers, but I do know you can't remove/delete a Draft (the Major Junior Import Draft is the one I'm wanting to get rid of for 1970s/1980 databases)

User avatar
archibalduk
TBL Admin Team
Posts: 19424
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 1 Database & Saved Game Editor

Post by archibalduk » Sat Jul 08, 2017 8:11 am

Asher413 wrote:1- Has anyone seen the US start date go haywire? It's a 1972 DB, the "early start" is July 1972, and the "normal start (or whatever it's called) is December 1970 (!).
Yes I have seen start years go haywire (but not the US league in particular). This has happened to me when I've gotten a draw date wrong (or too late). For instance, trying to create the Australian league with a schedule which straddles two seasons (and doesn't actually commence until mid-way through season 1) resulted in some pretty funky dates and game behaviours (unfortunately the game cannot run with the Australian league schedule dates - this was confirmed by Riz). My suggestion is to check all dates on the Rules & Structures screen for the North American leagues - maybe there is something unusual or incorrect there.
Asher413 wrote:2- Has anyone worked on the Olympics? Needless to say the Olympics in 1976 looked very different in Hockey vs. 2010 or 14, and I'd like to make the schedule/format as realistic as possible. Also, is it possible to exclude NHL/WHA players from the Olympics? More than anything curious about what has been done here because it could potentially mean reworking the WHA/NHL schedules for an Olympic break.
I think it might be possible because the settings are there in the Rules & Structure screen. You cannot add any new international tournaments (and I would be surprised if you could delete them) but I can't see why you couldn't edit what is there.
Asher413 wrote:3- NHL Draft/other drafts- On the historic Vein, it was pretty much (with some minor exception to the rules) only 20 year olds and higher allowed in the NHL draft, and a LOT more rounds in the early 70's- has anyone edited anything here yet? (Side note- adding drafts such as the waiver/intra-league draft and the WHA draft?)
As Nino said, you cannot add or delete drafts. I cannot see any settings to impose an age limit and there are no settings relating to rounds. I recall Riz mentioning that a lot of the draft stuff remains hardcoded.
Asher413 wrote:4- In a potential winner in "Most random playoff award" goes to the IHL in 1973. Short version- the 2nd and 3rd place team in each division played each other in the "pre-playoffs" in best of 5 series, with those two winners playing a best of 5 in the semifinals. The two division winners faced off in a best of 7 in the other semifinal, then the finals best of 7 between the winners. I can't wrap my brain around how to get the two "pre-playoffs" winners to play each other. Any suggestions/thoughts?
That's a hideous rule! :D

It would be possible to add a further stage via Rules & Structure which you could interpose between the regular season and the playoffs. I don't know whether it is possible to draw just the second and third placed teams. I bet Named or Alessandro would know if it is possible.

zbguy
Top Prospect
Posts: 117
Joined: Wed Aug 28, 2013 7:01 pm

Re: Editing league rules and structures in EHM 1

Post by zbguy » Sun Jul 09, 2017 12:34 am

2- Has anyone worked on the Olympics? Needless to say the Olympics in 1976 looked very different in Hockey vs. 2010 or 14, and I'd like to make the schedule/format as realistic as possible. Also, is it possible to exclude NHL/WHA players from the Olympics? More than anything curious about what has been done here because it could potentially mean reworking the WHA/NHL schedules for an Olympic break
The most I've done with the Olympics is add an extra group of 4 teams and adjust the playoffs accordingly. Everything worked fine. The only glitch was the extra group was listed oddly in the standings page. I suspect that some leagues are hardcoded in that way.
You cannot add any new international tournaments (and I would be surprised if you could delete them) but I can't see why you couldn't edit what is there.
I don't know if this counts as "deleting" them but I overwrote the World Cup without any serious issues. The only aftereffects were 1) occasionally an error message about a missing fixture pops up on March 18th, which does not do anything else and 2) the World Cup is still listed on the sim speed page

User avatar
Geordie_Bolts
Junior League
Posts: 40
Joined: Fri Sep 16, 2011 12:46 am

Re: Editing league rules and structures in EHM 1

Post by Geordie_Bolts » Tue Jul 11, 2017 4:30 pm

Hey guys, is it possible to edit the start date of free agency? I've managed to get the UK league I was building running (and I can save it!) but the only outstanding issue is that the start of Free Agency seems to be locked to May 1st and I can't see anyway of editing that?
Thanks again for any help!!!

selliott92
Learning to skate
Posts: 2
Joined: Mon Jun 29, 2015 9:29 pm
Favourite Team: Nottingham Panthers

Re: Editing league rules and structures in EHM 1

Post by selliott92 » Tue Jul 11, 2017 5:08 pm

Geordie_Bolts wrote:Hey guys, is it possible to edit the start date of free agency? I've managed to get the UK league I was building running (and I can save it!) but the only outstanding issue is that the start of Free Agency seems to be locked to May 1st and I can't see anyway of editing that?
Thanks again for any help!!!
If you get your league stable i'll be interested in playing that if you are willing to share it sounds good

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 » Tue Jul 11, 2017 6:28 pm

Geordie_Bolts wrote:Hey guys, is it possible to edit the start date of free agency? I've managed to get the UK league I was building running (and I can save it!) but the only outstanding issue is that the start of Free Agency seems to be locked to May 1st and I can't see anyway of editing that?
Thanks again for any help!!!
Hardcoded stuff - impossible.

User avatar
Geordie_Bolts
Junior League
Posts: 40
Joined: Fri Sep 16, 2011 12:46 am

Re: Editing league rules and structures in EHM 1

Post by Geordie_Bolts » Wed Jul 12, 2017 8:04 am

Alessandro wrote:
Geordie_Bolts wrote:Hey guys, is it possible to edit the start date of free agency? I've managed to get the UK league I was building running (and I can save it!) but the only outstanding issue is that the start of Free Agency seems to be locked to May 1st and I can't see anyway of editing that?
Thanks again for any help!!!
Hardcoded stuff - impossible.
Thought it might be!! That's no problem, just makes it a bit more interesting around playoff time when guys need their contracts renewed haha!!

User avatar
Geordie_Bolts
Junior League
Posts: 40
Joined: Fri Sep 16, 2011 12:46 am

Re: Editing league rules and structures in EHM 1

Post by Geordie_Bolts » Wed Jul 12, 2017 8:05 am

selliott92 wrote:
Geordie_Bolts wrote:Hey guys, is it possible to edit the start date of free agency? I've managed to get the UK league I was building running (and I can save it!) but the only outstanding issue is that the start of Free Agency seems to be locked to May 1st and I can't see anyway of editing that?
Thanks again for any help!!!
If you get your league stable i'll be interested in playing that if you are willing to share it sounds good
It seems pretty stable so far, i've gone through 1yr with no issues so if it goes through a second season then I will happily share the db file.

cleowin
Junior League
Posts: 9
Joined: Sat Oct 11, 2008 7:45 am

Re: Editing league rules and structures in EHM 1

Post by cleowin » Thu Jul 13, 2017 5:26 pm

Hi guys,

so I added a 32nd team to the NHL, expanded # games to 84, and added the scheduling for it to make sure there was no conflict.. however the game crashes during initially load to set-up a new game. I noticed that all the offset years were set to '0', and i had no way to upload the schedule template with the offset year saying 1 for January - April. Is that why it could be crashing? Short of adjusting 600+ games in the editor from 0 to 1... I was hoping there's a way to upload it so i dont have to manually enter them that way, because that's going to take forever since i can't copy & paste in the editor.

Here's my DB for testing.
http://www.filedropper.com/database_22

Hopefully one of you guys can figure out the issue for me. I even added players to the Quebec Nordiques and some basic staff.

User avatar
nino33
Mr. Goalie
Posts: 5998
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 » Thu Jul 13, 2017 5:56 pm

cleowin wrote:I noticed that all the offset years were set to '0', and i had no way to upload the schedule template with the offset year saying 1 for January - April. Is that why it could be crashing?
That's weird....I had no problem importing my schedules for the 1974 database with the 1 showing in the offset year correctly
I'm not sure why you had no way to upload the schedule (for the 1974 DB I just hit "Export Data" and edited the exported schedule, saved and closed it, and and then hit "Import Data")




While the issue noted is likely the problem, here's what little else I know about "troubleshooting" a database (that's had # of teams edited) that won't load up properly...
cleowin wrote:Hi guys,so I added a 32nd team to the NHL, expanded # games to 84, and added the scheduling for it to make sure there was no conflict.. however the game crashes during initially load to set-up a new game.
Does "added the scheduling" mean you have both schedules for the NHL? You need the "National Hockey League schedule" & the "National Hockey League (Alternative)" schedule; the Alternative schedule is for Olympic years (and so has to have an Olympic break)

Is your NHL showing properly and accounting for 32 teams on the Competitions/Rules & Structure/NHL/Basic Data tab (and also on the Structure tab and on the Stages tab too); is your new team in a division correctly on the Clubs tab & the Competitions/NHL/Structure tab?

cleowin
Junior League
Posts: 9
Joined: Sat Oct 11, 2008 7:45 am

Re: Editing league rules and structures in EHM 1

Post by cleowin » Thu Jul 13, 2017 7:17 pm

I can save, edit and upload, and everything loads except the offset year data.

All the rules/structures/#teams/etc is fine. I was hoping there is a way to bypass the olympic schedules? Otherwise ill have to create a whole new template.

User avatar
nino33
Mr. Goalie
Posts: 5998
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 » Thu Jul 13, 2017 7:55 pm

cleowin wrote:I can save, edit and upload, and everything loads except the offset year data.
Weird :dunno: Can you just manually edit it within the Editor (without exporting/importing? not ideal, but if it works...


cleowin wrote:I was hoping there is a way to bypass the olympic schedules?
None that I'm aware of (I don't think there is any way other than two schedules)...

cleowin
Junior League
Posts: 9
Joined: Sat Oct 11, 2008 7:45 am

Re: Editing league rules and structures in EHM 1

Post by cleowin » Thu Jul 13, 2017 8:01 pm

I could, but there are over 634 entries.... lol, will take me probably a whole day because you cant even tab down to make it easier, gotta click on every entry :(

User avatar
archibalduk
TBL Admin Team
Posts: 19424
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 » Thu Jul 13, 2017 9:03 pm

It seems to be a bug with the Editor. I understand from Alessandro that it works if you import using XLSX format instead of CSV.

cleowin
Junior League
Posts: 9
Joined: Sat Oct 11, 2008 7:45 am

Re: Editing league rules and structures in EHM 1

Post by cleowin » Thu Jul 13, 2017 9:09 pm

archibalduk wrote:It seems to be a bug with the Editor. I understand from Alessandro that it works if you import using XLSX format instead of CSV.
What is the easiest way to determine if there is a team that is double booked on the same day? I am wondering because when i added the Nordiques, and made a schedule, I just simply filled in random dates & months, but didn't really check if there was an overlap. Will that cause the game to not load as well? I tried doing team by team and didnt see too many inconsistencies... but wanted to make sure

Post Reply

Return to “Data Editing Forum”