EHM 2007 Pre-Game Database Editor

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
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Official Pre Game Editor Thread. All questions here plea

Post by nino33 »

colinrsmall wrote:I may be mistaken, but isn't this saying I can't save it before closing? https://gfycat.com/CaringExemplaryIrishdraughthorse
Yes it does! HaHa

Well maybe Archi or Manimal will know what the problem is

Maybe you could just pick an available team for the missing affiliation, and then try to save-close-reopen (and then see if the needed team then shows up in the affiliations list)
User avatar
archibalduk
TBL Admin Team
Posts: 20372
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: Official Pre Game Editor Thread. All questions here plea

Post by archibalduk »

I don't really know how you've ended up with those blank affiliations if all you have done is add new teams. The best thing to do is to take a fresh copy of the original database you were using and add your teams again. Then save and exit the Editor - and then go back in and add/edit the affiliations.

I don't think there should be a problem with adding affiliations for new teams - I know I have done it on occasion.
colinrsmall
Prospect
Posts: 94
Joined: Fri Mar 27, 2015 8:56 pm

Re: Official Pre Game Editor Thread. All questions here plea

Post by colinrsmall »

Alright. It sucks that the delete button is greyed, as I would just delete them. It didn't take too long to make teams, though. Also, is it possible to assign players to the team in-game rather than using the editor? I want to make the teams completely with free agents, but I don't want to have to go through each player in the editor and set their team to one of the teams.
User avatar
archibalduk
TBL Admin Team
Posts: 20372
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: Official Pre Game Editor Thread. All questions here plea

Post by archibalduk »

You could use the EHM Updater to set the players' contracts. This allows you to do it via a spreadsheet: http://www.ehmtheblueline.com/forums/vi ... 71#p186571
colinrsmall
Prospect
Posts: 94
Joined: Fri Mar 27, 2015 8:56 pm

Re: Official Pre Game Editor Thread. All questions here plea

Post by colinrsmall »

But I can't just use the in-game free agent list to sign all of my players?
User avatar
archibalduk
TBL Admin Team
Posts: 20372
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: Official Pre Game Editor Thread. All questions here plea

Post by archibalduk »

Yes of course. Sorry, I thought you were referring to using some saved game editor to move FAs (which of course isn't possible).
colinrsmall
Prospect
Posts: 94
Joined: Fri Mar 27, 2015 8:56 pm

Re: Official Pre Game Editor Thread. All questions here plea

Post by colinrsmall »

Awesome. Finally, is there a way to change the number of teams in each division in the league rules? I can't import the game because it's saying that the number of teams doesn't match what's in the league rules.
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: Official Pre Game Editor Thread. All questions here plea

Post by nino33 »

colinrsmall wrote:Awesome. Finally, is there a way to change the number of teams in each division in the league rules? I can't import the game because it's saying that the number of teams doesn't match what's in the league rules.
AFAIK at this time you can't change number of teams in each division...currently the choices are the 2006 setup or the 2014 setup
ruhroh
Learning to skate
Posts: 2
Joined: Thu Mar 26, 2015 6:35 pm

Re: Official Pre Game Editor Thread. All questions here plea

Post by ruhroh »

Just making sure - the NHL at 30 teams, the limits for the AHL and ECHL - they're totally hardcoded, right?

Thought I could find a cute way to add in expansion teams (even while accepting there's no way the game can do an expansion draft - I'd have to do a league-wide fantasy draft or assign players myself) but it doesn't look very doable unless I replace/edit existing teams.
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: Official Pre Game Editor Thread. All questions here plea

Post by nino33 »

ruhroh wrote:Just making sure - the NHL at 30 teams, the limits for the AHL and ECHL - they're totally hardcoded, right?
As noted directly above your post, your choices are the 2006 setup or the 2014 setup
User avatar
comatose
Prospect
Posts: 55
Joined: Tue Apr 21, 2015 12:21 am
Favourite Team: Calgary Flames

Re: Official Pre Game Editor Thread. All questions here plea

Post by comatose »

I tend to edit the database a fair bit on my own, but there's something I wonder about

Some players, I enter the CA/PA and leave attributes at 0 for random, and offensive/defensive roles really help to mold the types of players without figuring out attributes. However, how can I make sure it's a shooting setup or playmaking, or hitting, etc. I understand the passing tendency attribute, however it doesn't appear to affect much in game (still get results like 30 goals, 50 assists for 8 passing tendency), and it doesn't affect say a player's shot being better than their passing attribute, etc.

How can I adjust that?
User avatar
djskek
Second Line
Posts: 612
Joined: Sat Sep 23, 2006 10:31 am
Location: Germany, near from Dresden

Re: Official Pre Game Editor Thread. All questions here plea

Post by djskek »

I advise you, if you have some of the attributes provided with numbers, then do not let others Attribute with 0. When PA / CA high, then you get the attribute numbers that you have set. If the CA / PA low, is sometimes withdrawn. (That's my impression) You must try out a little bit. Use the Updater.

edit: Manimal was faster
Last edited by djskek on Wed May 13, 2015 10:52 pm, edited 4 times in total.
User avatar
Manimal
TBL Admin Team
Posts: 6344
Joined: Thu Apr 24, 2008 4:01 am
Custom Rank: EHM Rosters Man
Favourite Team: Djurgårdens IF
Location: Karlstad, Sweden

Re: Official Pre Game Editor Thread. All questions here plea

Post by Manimal »

comatose wrote:I tend to edit the database a fair bit on my own, but there's something I wonder about

Some players, I enter the CA/PA and leave attributes at 0 for random, and offensive/defensive roles really help to mold the types of players without figuring out attributes. However, how can I make sure it's a shooting setup or playmaking, or hitting, etc. I understand the passing tendency attribute, however it doesn't appear to affect much in game (still get results like 30 goals, 50 assists for 8 passing tendency), and it doesn't affect say a player's shot being better than their passing attribute, etc.

How can I adjust that?
Use the EHM Updater and set their player roles
User avatar
comatose
Prospect
Posts: 55
Joined: Tue Apr 21, 2015 12:21 am
Favourite Team: Calgary Flames

Re: Official Pre Game Editor Thread. All questions here plea

Post by comatose »

Manimal wrote:
comatose wrote:I tend to edit the database a fair bit on my own, but there's something I wonder about

Some players, I enter the CA/PA and leave attributes at 0 for random, and offensive/defensive roles really help to mold the types of players without figuring out attributes. However, how can I make sure it's a shooting setup or playmaking, or hitting, etc. I understand the passing tendency attribute, however it doesn't appear to affect much in game (still get results like 30 goals, 50 assists for 8 passing tendency), and it doesn't affect say a player's shot being better than their passing attribute, etc.

How can I adjust that?
Use the EHM Updater and set their player roles
So, these will change the attributes to suit the role, then?
At first glance, even reading through the updater threads, player roles is still relatively confusing
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: Official Pre Game Editor Thread. All questions here plea

Post by nino33 »

comatose wrote:At first glance, even reading through the updater threads, player roles is still relatively confusing
I believe Archi added to the Updater download a PDF file that is a chart of the different Roles, with a description and example player(s)....have you seen the chart?
saabman0508
Junior League
Posts: 9
Joined: Thu Jul 14, 2011 2:08 pm

Re: Official Pre Game Editor Thread. All questions here plea

Post by saabman0508 »

I apologize if this issue has already been dealt with, but I'm having difficulty getting the pre-game editor to apply in my EHM-EA sims. I'm not sure how else to describe it. I make changes in the editor and they do not show up in the sim. I am using the EHM 07 version of the 7.3 rosters. Is there something I need to do after making my changes, saving them in the editor and opening the game? Thanks for any help!
User avatar
comatose
Prospect
Posts: 55
Joined: Tue Apr 21, 2015 12:21 am
Favourite Team: Calgary Flames

Re: Official Pre Game Editor Thread. All questions here plea

Post by comatose »

nino33 wrote:
comatose wrote:At first glance, even reading through the updater threads, player roles is still relatively confusing
I believe Archi added to the Updater download a PDF file that is a chart of the different Roles, with a description and example player(s)....have you seen the chart?
Yep, I have. My problem stems right now from what all the roles will effect in game. For instance, I am aware it probably helps shape future attribute growth, but say attributes and CA do not line up. Currently, the game fills in the states. With a role set, does it fill them in according to that? Alternatively, does it also affect general playstyle (in the game, if I set Stamkos to c_sniper, will he become a shoot first goalscorer, or will he stay as what he always is in game for me, a 30-35 goal, 40-50 assist guy)

Sorry if I am a pain, or missing the obvious!
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: Official Pre Game Editor Thread. All questions here plea

Post by nino33 »

comatose wrote:With a role set, does it fill them in according to that?
Yes! That's exactly what it's supposed to do! But it is Early Access HaHa so there may be some bugs and/or tweaking needed

comatose wrote:in the game, if I set Stamkos to c_sniper, will he become a shoot first goalscorer, or will he stay as what he always is in game for me, a 30-35 goal, 40-50 assist guy
That would be more than just Player Role! NHL players and others (like top prospects/worldwide players) have all their Attributes inputted (there's no "0" random Attribute used), and so the fine tuning/tweaking of different Attributes is done in an effort to best represent/model the player.....in your example with Stamkos, Attributes you'd be looking at closely in the fine tuning/tweaking process would certainly include Pass Tendency (to get the right goal-assist ratio) and Consistency (how often the player plays to his full ability; small increments can increase/reduce point production with a sniper)

I think we're all trying to fully understand the relation between the new Player Roles and the existing Roles/Attributes. I think once the next TBL Rosters are released, when most/all of the playable Leagues will have their Player Roles set, we'll be able to better test/understand things...

comatose wrote:Sorry if I am a pain, or missing the obvious!
Not a problem at all/happy to help :-)
User avatar
comatose
Prospect
Posts: 55
Joined: Tue Apr 21, 2015 12:21 am
Favourite Team: Calgary Flames

Re: Official Pre Game Editor Thread. All questions here plea

Post by comatose »

Thanks for the help.

The pass tendency updater seems like a useful tool, too. Hopefully it will work well. I haven't noticed much change in stats based on pass tendency with trials so far, though.
saabman0508
Junior League
Posts: 9
Joined: Thu Jul 14, 2011 2:08 pm

Re: Official Pre Game Editor Thread. All questions here plea

Post by saabman0508 »

saabman0508 wrote:I apologize if this issue has already been dealt with, but I'm having difficulty getting the pre-game editor to apply in my EHM-EA sims. I'm not sure how else to describe it. I make changes in the editor and they do not show up in the sim. I am using the EHM 07 version of the 7.3 rosters. Is there something I need to do after making my changes, saving them in the editor and opening the game? Thanks for any help!
This can be ignored or deleted. I figured it out. Thanks!
User avatar
Comete89
Learning to skate
Posts: 4
Joined: Mon Apr 06, 2015 12:06 am
Favourite Team: Montréal Canadiens

Re: Official Pre Game Editor Thread. All questions here plea

Post by Comete89 »

I've looked around but didn't find the answer...
Is there any way to adjust the number of roster spots in a league?
User avatar
archibalduk
TBL Admin Team
Posts: 20372
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: Official Pre Game Editor Thread. All questions here plea

Post by archibalduk »

No I'm afraid not.
User avatar
comatose
Prospect
Posts: 55
Joined: Tue Apr 21, 2015 12:21 am
Favourite Team: Calgary Flames

Re: Official Pre Game Editor Thread. All questions here plea

Post by comatose »

Comete89 wrote:I've looked around but didn't find the answer...
Is there any way to adjust the number of roster spots in a league?
Coulda swore it was an option in a config file
User avatar
archibalduk
TBL Admin Team
Posts: 20372
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: Official Pre Game Editor Thread. All questions here plea

Post by archibalduk »

Sorry, you're absolutely right. I was thinking only of the Pre-Game Editor when I replied. But of course there was recently an option added to the transfer_rules_config.cfg file where limits can be set (see below).

Thanks comatose :thup:

Code: Select all

# "MAX_ROSTER_SIZE"
#
# This alters the maximum number of players allowed on roster
# for a league or nation.
#
# The format is
# "MAX_ROSTER_SIZE" "League Name" Value
#
# Value needs to be between -1 and 50 (-1 indicates no limit)
#
# Example:
# 
# "MAX_ROSTER_SIZE" "National League" 23
User avatar
watts555
Minor League
Posts: 295
Joined: Thu Nov 06, 2008 2:00 am
Favourite Team: Toronto Maple Leafs

Re: Official Pre Game Editor Thread. All questions here plea

Post by watts555 »

Hey, am trying to switch coaches for two different teams, i have set coach 1 to coach team 2 , and coach 2 to coach team 1, I save the DB, and start up the game, but the changes revert so that coach one = team one and coach 2 = team 2 , any help would be appreciated !
Post Reply