The Blue Line

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.

Re: EHM 1 Database & Saved Game Editor

Postby Asher413 » Sat Jul 08, 2017 7: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
Asher413
Fringe Player
 
Posts: 325
Joined: Wed May 20, 2009 3:28 am
Points: 13.25
Trophies:  1   2   3

Re: EHM 1 Database & Saved Game Editor

Postby nino33 » Sat Jul 08, 2017 7: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
nino33
Retro Rosters Specialist
Mr. Goalie
 
Posts: 5,643
Joined: Sat Aug 07, 2010 4:37 am
Points: 74.48

Re: EHM 1 Database & Saved Game Editor

Postby archibalduk » Sat Jul 08, 2017 9: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.
User avatar
archibalduk
Seaside + Fruit Juice Mode
TBL Admin Team
 
Posts: 18,263
Joined: Tue Jul 06, 2004 9:44 pm
Points: 193.80
Trophies:  1   2   1

Re: Editing league rules and structures in EHM 1

Postby zbguy » Sun Jul 09, 2017 1: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
zbguy
Prospect
 
Posts: 96
Joined: Wed Aug 28, 2013 8:01 pm
Points: 0.96

Re: Editing league rules and structures in EHM 1

Postby Geordie_Bolts » Tue Jul 11, 2017 5: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!!!
User avatar
Geordie_Bolts
Junior League
 
Posts: 33
Joined: Fri Sep 16, 2011 1:46 am
Points: 1.33

Re: Editing league rules and structures in EHM 1

Postby selliott92 » Tue Jul 11, 2017 6: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
selliott92
Learning to skate
 
Posts: 2
Joined: Mon Jun 29, 2015 10:29 pm
Points: 0.02

Re: Editing league rules and structures in EHM 1

Postby Alessandro » Tue Jul 11, 2017 7: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
Alessandro
TBL Rosters Man
Olympic Gold
 
Posts: 2,786
Joined: Sat Aug 27, 2005 2:54 pm
Points: 78.75

Re: Editing league rules and structures in EHM 1

Postby Geordie_Bolts » Wed Jul 12, 2017 9: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: 33
Joined: Fri Sep 16, 2011 1:46 am
Points: 1.33

Re: Editing league rules and structures in EHM 1

Postby Geordie_Bolts » Wed Jul 12, 2017 9: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.
User avatar
Geordie_Bolts
Junior League
 
Posts: 33
Joined: Fri Sep 16, 2011 1:46 am
Points: 1.33

Re: Editing league rules and structures in EHM 1

Postby cleowin » Thu Jul 13, 2017 6: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.
cleowin
Junior League
 
Posts: 6
Joined: Sat Oct 11, 2008 8:45 am
Points: 0.06

Re: Editing league rules and structures in EHM 1

Postby nino33 » Thu Jul 13, 2017 6: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?
User avatar
nino33
Retro Rosters Specialist
Mr. Goalie
 
Posts: 5,643
Joined: Sat Aug 07, 2010 4:37 am
Points: 74.48

Re: Editing league rules and structures in EHM 1

Postby cleowin » Thu Jul 13, 2017 8: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.
cleowin
Junior League
 
Posts: 6
Joined: Sat Oct 11, 2008 8:45 am
Points: 0.06

Re: Editing league rules and structures in EHM 1

Postby nino33 » Thu Jul 13, 2017 8: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)...
User avatar
nino33
Retro Rosters Specialist
Mr. Goalie
 
Posts: 5,643
Joined: Sat Aug 07, 2010 4:37 am
Points: 74.48

Re: Editing league rules and structures in EHM 1

Postby cleowin » Thu Jul 13, 2017 9: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 :(
cleowin
Junior League
 
Posts: 6
Joined: Sat Oct 11, 2008 8:45 am
Points: 0.06

Re: Editing league rules and structures in EHM 1

Postby archibalduk » Thu Jul 13, 2017 10: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.
User avatar
archibalduk
Seaside + Fruit Juice Mode
TBL Admin Team
 
Posts: 18,263
Joined: Tue Jul 06, 2004 9:44 pm
Points: 193.80
Trophies:  1   2   1

Re: Editing league rules and structures in EHM 1

Postby cleowin » Thu Jul 13, 2017 10: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
cleowin
Junior League
 
Posts: 6
Joined: Sat Oct 11, 2008 8:45 am
Points: 0.06

Re: Editing league rules and structures in EHM 1

Postby Alessandro » Fri Jul 14, 2017 11:37 am

Search function.
User avatar
Alessandro
TBL Rosters Man
Olympic Gold
 
Posts: 2,786
Joined: Sat Aug 27, 2005 2:54 pm
Points: 78.75

Re: Editing league rules and structures in EHM 1

Postby Primis » Fri Jul 14, 2017 5:50 pm

How difficult would it be to create a schedule template generator? Where you plug in your parameters (# of teams, # of games, league structure, etc), and it spits out a file you can then import into the DB?
User avatar
Primis
Freeware Moderator
 
Posts: 1,557
Joined: Tue Aug 03, 2010 8:46 pm
Points: 15.57

Re: Editing league rules and structures in EHM 1

Postby nino33 » Fri Jul 14, 2017 6:04 pm

Primis wrote:How difficult would it be to create a schedule template generator? Where you plug in your parameters (# of teams, # of games, league structure, etc), and it spits out a file you can then import into the DB?
From what I've seen about schedule generation in real life, and what I've read about it on the OOTP/FHM sites, it seems schedule generation is extremely difficult
User avatar
nino33
Retro Rosters Specialist
Mr. Goalie
 
Posts: 5,643
Joined: Sat Aug 07, 2010 4:37 am
Points: 74.48

Re: Editing league rules and structures in EHM 1

Postby Alessandro » Fri Jul 14, 2017 8:58 pm

It really is. It's not soccer, it's not like you have "draw teams from this pot to play a sunday round of games."
User avatar
Alessandro
TBL Rosters Man
Olympic Gold
 
Posts: 2,786
Joined: Sat Aug 27, 2005 2:54 pm
Points: 78.75

Re: Editing league rules and structures in EHM 1

Postby cleowin » Sat Jul 15, 2017 6:00 am

I'm trying to export the player list from one of my other db's to a working DB, but everytime I click 'import spreadsheet', it says 'invalid identifier at Cell A1'. Not sure why it wont work.

This is part of my effort to get the 32 Team DB going.. another guy had a working 32 team db, but i wanted my own roster, but cant get it to import. Help?
cleowin
Junior League
 
Posts: 6
Joined: Sat Oct 11, 2008 8:45 am
Points: 0.06

Re: Editing league rules and structures in EHM 1

Postby archibalduk » Sat Jul 15, 2017 6:02 pm

cleowin wrote:I'm trying to export the player list from one of my other db's to a working DB, but everytime I click 'import spreadsheet', it says 'invalid identifier at Cell A1'. Not sure why it wont work.

This is part of my effort to get the 32 Team DB going.. another guy had a working 32 team db, but i wanted my own roster, but cant get it to import. Help?


I'm not sure this really relates to editing rules and structures, but it is because of this: viewtopic.php?f=110&t=14290&p=228921#p228796
User avatar
archibalduk
Seaside + Fruit Juice Mode
TBL Admin Team
 
Posts: 18,263
Joined: Tue Jul 06, 2004 9:44 pm
Points: 193.80
Trophies:  1   2   1

Re: Editing league rules and structures in EHM 1

Postby Asher413 » Sun Jul 16, 2017 5:53 am

Hi all,

In one of the leagues I've edited, I'm ending up with two history lines for the year, instead of one (so it will say 1972-3 champion as team A, then the line below it team B). Any ideas what could cause that?
User avatar
Asher413
Fringe Player
 
Posts: 325
Joined: Wed May 20, 2009 3:28 am
Points: 13.25
Trophies:  1   2   3

Re: Editing league rules and structures in EHM 1

Postby nino33 » Wed Jul 19, 2017 6:17 pm

Riz commented on HFBoards today http://hfboards.hockeysfuture.com/showt ... 89&page=21 on editing in a saved game and I thought it worth sharing here...


The discussion started from the question "Any chance we see relocation/expansion option in this game in near future?"

Foppa (BKarchitect here at TBL) said "I use the Editor extensively for pre-game database editing but not in-game editing...I wonder if it would be possible in-game editing to edit a team's info including name and colors? You could essentially re-locate clubs in this manner during a career...just have the right logos in your logos folder.

Just opened a saved game and looks like all that info is editable. I don't know whether it will corrupt the save or cause issues though back in the actual game. Because the editor lets you move players in a saved game but it doesn't work when you actually return to the game, it just causes errors."


Archi said "I think that should work. I don't think moving teams between leagues would work though.

The only caveat is that I need to add some further settings to allow certain database validation functions to be disabled when editing saved games. Whilst these validation functions work fine for the database (and should be used) they may cause issues with saved games."

Riz then said "Yes, you should be able to edit the static data, such as team names or even their home city/arena in the DB within saved games. Obviously any games already scheduled in the saved game would be unaffected, so if you wanted to "relocate" a team within as saved game DB, you'd need to do it at the very end of a season, before July 1st when the leagues are reset and the new season is scheduled.

Editing the more dynamic data within a saved game DB, such as team divisions and player teams contracted/playing, is likely to cause errors since a lot of that data is not limited to the DB in a saved game but also replicated in various parts of the game data such as league configurations and contract details.

Expansion/relocation as a built-in part of the game is something I am considering for the long term future of the game, but not for the upcoming updates to this current edition of the game.
"
User avatar
nino33
Retro Rosters Specialist
Mr. Goalie
 
Posts: 5,643
Joined: Sat Aug 07, 2010 4:37 am
Points: 74.48

Re: Editing league rules and structures in EHM 1

Postby wildcat62 » Wed Jul 19, 2017 10:16 pm

Having a frustrating issue, totally possible I overlooked a step somewhere along the line.

I'm trying to create a North American pro system consisting of three, 32-team leagues. To do so I changed the necessary parts of the 'Rules & Structures' tabs for the NHL while adding the 32-team schedule template from the Vegas&Seattle db that's in the Vegas DB thread and then changed the respective AHL & ECHL tabs to match it. On my first attempt I successfully got a working DB with just the NHL & AHL, but when I went through the process with the ECHL (again, copying the schedule and Rules&Structures straight from the NHL) I got a couple of errors. The first was "CUSTOM_LEAGUE::draw_competition() - unable to find all the initial teams (United Hockey Association)," which successfully loaded a working NHL & AHL while showing an unplayable ECHL that said it only had 30 teams on the league information screen. The second is a greyed-out, impassable screen after Initializing Game Data is done loading.

Anyone have any ideas? Might this be because I added all of the teams into the DB rather than editing the existing teams in the respective leagues?
wildcat62
Junior League
 
Posts: 13
Joined: Wed Feb 03, 2010 12:48 am
Points: 0.13

PreviousNext

Return to Data Editing Forum

Who is online

Users browsing this forum: No registered users and 1 guest