EHM 2007 Pre-Game Database Editor
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
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
-
- Junior League
- Posts: 17
- Joined: Sun May 24, 2015 10:52 pm
- Favourite Team: Pittsburgh Penguins
Re: Official Pre Game Editor Thread. All questions here plea
A couple quick questions about creating players, I don't know if they have been clarified in this forum so I apologize if they were, I like to create a lot of players, and the last round I did for time sake I just assigned a potential mostly -7 -8 and -9 so they would develop into NHL level talent assigned a position by rating them a 20 at one and then assigned them a CHL or High school team to avoid the retirement issue. I left everything else blank because I'm under the impression the game assigns random amounts for everything. Quick and easy to add a bunch of players, is there any attributes that I should add for my next batch that are essential for their development that shouldn't be left random? Also does anyone know how young I can make a player? I know they won't appear until age 13 but could i potentially create a player born in 2015 who would appear 13 years in? Any tips would be much appreciated!
-
- Top Prospect
- Posts: 121
- Joined: Wed Aug 28, 2013 7:01 pm
Re: Official Pre Game Editor Thread. All questions here plea
Based on what I've seen, putting in a (I guess you would call it) underage player actually puts them in the game, they just seem to be invisible until they hit 13. They otherwise accumulate stats. Dunno if the game does anything else with them (injuries, moving to teams, consider them present on the roster, etc., maybe even early retirement). Beyond that I don't know.
-
- Junior League
- Posts: 17
- Joined: Sun May 24, 2015 10:52 pm
- Favourite Team: Pittsburgh Penguins
Re: Official Pre Game Editor Thread. All questions here plea
Ok, thanks! I've just made myself a bunch of underage players some born as late as 2013 hopefully they end up in the game later
-
- Junior League
- Posts: 15
- Joined: Tue Dec 08, 2015 7:04 pm
- Favourite Team: Flyers
Re: Official Pre Game Editor Thread. All questions here plea
I have the same problem, when I open the editor as it's the only way to run as administrator. I have tried right clicking on a .dat file and then clicking open with editor but then everything that I change does not actually save even though it tells me that it does.
- 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
I assume you're trying to load the EHM 2007 .dat files and not the EHM 1 .db file? Can you post a screenshot showing how you're trying to open the database?Peter_Doherty wrote:I assume i'm missing something super obvious here but i can't find how to import a db into the editor. When i go to file -> load i can't choose a db and it just says "Unable to load database, please choose another one", problem is that i can't choose a database in the first place, let alone change it.
Thanks in advance.
Put your database files in a temporary folder on your desktop or My Documents folder. Load the Pre-Game Editor (use run as admin) and load the database file (it'll be the folder you just put your files in). Once finished, move your files back to your EHM database folder and reimport.Crossey147 wrote:I have the same problem, when I open the editor as it's the only way to run as administrator. I have tried right clicking on a .dat file and then clicking open with editor but then everything that I change does not actually save even though it tells me that it does.
-
- Junior League
- Posts: 27
- Joined: Fri Jun 19, 2009 7:34 am
Re: Official Pre Game Editor Thread. All questions here plea
Got a strange error message. Whenever I want to save a player it tells me: xyz is not a valid date.
I tried various date formats but nothing seems to work. Any idea what I am doing wrong?
I tried various date formats but nothing seems to work. Any idea what I am doing wrong?
- y2jericho
- Prospect
- Posts: 77
- Joined: Mon Mar 07, 2011 7:47 pm
- Custom Rank: yzerwing
Re: Official Pre Game Editor Thread. All questions here plea
I have never had a problem before today, but I am now getting this same error message. Also, it doesn't let you put in the last number in the year, for example: 22-Feb-1980, it won't let me put in the zero at the end.Peter10 wrote:Got a strange error message. Whenever I want to save a player it tells me: xyz is not a valid date.
I tried various date formats but nothing seems to work. Any idea what I am doing wrong?
- 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
It's because the date format is 22/02/1980 and not 22-Feb-1980.y2jericho wrote:I have never had a problem before today, but I am now getting this same error message. Also, it doesn't let you put in the last number in the year, for example: 22-Feb-1980, it won't let me put in the zero at the end.Peter10 wrote:Got a strange error message. Whenever I want to save a player it tells me: xyz is not a valid date.
I tried various date formats but nothing seems to work. Any idea what I am doing wrong?
- y2jericho
- Prospect
- Posts: 77
- Joined: Mon Mar 07, 2011 7:47 pm
- Custom Rank: yzerwing
Re: EHM 2007 Pre-Game Database Editor
Yeah, that is what I thought, but when you open the editor, everyone has the date format, that I posted. When you try and and change it to the other format, it also brings up an error message. I am using Windows 10, running as admin, and up until the other day, had no problems at all. I didn't change anything, about the way I was using the editor.
- y2jericho
- Prospect
- Posts: 77
- Joined: Mon Mar 07, 2011 7:47 pm
- Custom Rank: yzerwing
Re: EHM 2007 Pre-Game Database Editor
Very weird, I remembered that I changed my date and time settings on my computer a few weeks ago, and took a shot, that, that, was the reason. Now the editor works again, with the dates back in the format I remembered, and you mentioned. Strange! ](./images/smilies/wallbash.gif)
](./images/smilies/wallbash.gif)
- leafsrock67
- Junior League
- Posts: 42
- Joined: Thu Apr 09, 2015 5:48 am
- Favourite Team: Toronto Maple Leafs
Re: EHM 2007 Pre-Game Database Editor
Hey guys. Every time I try to open the editor and open a database, the second I get to the databases folder, my computer crashes. I am running it in administrator. Why is this happening?
- 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: EHM 2007 Pre-Game Database Editor
Perhaps the DB is corrupt.
I take it you are trying to load an EHM 2007 database.
I take it you are trying to load an EHM 2007 database.
- y2jericho
- Prospect
- Posts: 77
- Joined: Mon Mar 07, 2011 7:47 pm
- Custom Rank: yzerwing
Re: EHM 2007 Pre-Game Database Editor
Hey Archi, is there anyway to set an arena transfer, where the new arena is owned by the team and not rented? I am setting up a 15-16 DB, so the Wings are playing their final season at The Joe (owned), and the transfer works correctly, and changes to Little Caesars Arena, but is listed as rented. Any way to change to owned?
-
- Checking Line
- Posts: 524
- Joined: Tue Aug 31, 2004 12:29 pm
- Favourite Team: None
- Location: Kent
Re: EHM 2007 Pre-Game Database Editor
I believe that the last line of the "ARENA_MOVE" line in extra_config needs to be a 1 rather than a 0 to indicate this, but I'm not 100%.y2jericho wrote:Hey Archi, is there anyway to set an arena transfer, where the new arena is owned by the team and not rented? I am setting up a 15-16 DB, so the Wings are playing their final season at The Joe (owned), and the transfer works correctly, and changes to Little Caesars Arena, but is listed as rented. Any way to change to owned?
-
- Prospect
- Posts: 98
- Joined: Wed Jun 24, 2015 3:38 pm
- Favourite Team: Dallas Stars
Re: EHM 2007 Pre-Game Database Editor
Hi guys, I've got little question. I was trying to do "rebuilt 2011 db" based on database released by wonderful TBL crew few years ago with updated and adjusted attributes and CA/PA's. New editor which Archi is working on seems to not work properly with databases created to 2007 (there are some errors during loading db), so I've decided to use pre-game editor and import database after making some works. But it seems like game isn't responding to changes which I've made. For example I adjusted Holtby's attributes to "AHL level" but in game after importing db it was still untouched. I've tried to load re-edited database on another computer, but it looked like everything would be hardcoded
Has anyone seen something like that?
I can upload some screens if someone has any ideas how to solve that. I would appreciate any help

I can upload some screens if someone has any ideas how to solve that. I would appreciate any help

- nino33
- Mr. Goalie
- Posts: 6088
- Joined: Sat Aug 07, 2010 3:37 am
- Custom Rank: Retro Rosters Specialist
- Favourite Team: 1970s hockey
Re: EHM 2007 Pre-Game Database Editor
Assuming you clicked Confirm after your edits (bottom right) and saved after your edits, then the "Run as Administrator" issue may be the problem.....when opening up the Editor right click and "Run as administrator" to ensure your edits are savedModano wrote:Hi guys, I've got little question. I was trying to do "rebuilt 2011 db" based on database released by wonderful TBL crew few years ago with updated and adjusted attributes and CA/PA's. New editor which Archi is working on seems to not work properly with databases created to 2007 (there are some errors during loading db), so I've decided to use pre-game editor and import database after making some works. But it seems like game isn't responding to changes which I've made. For example I adjusted Holtby's attributes to "AHL level" but in game after importing db it was still untouched. I've tried to load re-edited database on another computer, but it looked like everything would be hardcodedHas anyone seen something like that?
I can upload some screens if someone has any ideas how to solve that. I would appreciate any help
FYI - the PreGame Editor automatically deletes the Player Role of any player edited; for that reason I don't use the Pregame Editor for player editing (I use the EHM Updater http://www.ehmtheblueline.com/forums/vi ... 10&t=11154)
- 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: EHM 2007 Pre-Game Database Editor
My Editor is designed for EHM 1 databases only which is why you'll get errors with EHM 2007 databases. That said, there will be experimental support for EHM 2005 and EHM 2007 databases in the next release (no ETA right now).Modano wrote:Hi guys, I've got little question. I was trying to do "rebuilt 2011 db" based on database released by wonderful TBL crew few years ago with updated and adjusted attributes and CA/PA's. New editor which Archi is working on seems to not work properly with databases created to 2007 (there are some errors during loading db), so I've decided to use pre-game editor and import database after making some works. But it seems like game isn't responding to changes which I've made. For example I adjusted Holtby's attributes to "AHL level" but in game after importing db it was still untouched. I've tried to load re-edited database on another computer, but it looked like everything would be hardcodedHas anyone seen something like that?
I can upload some screens if someone has any ideas how to solve that. I would appreciate any help
-
- Prospect
- Posts: 98
- Joined: Wed Jun 24, 2015 3:38 pm
- Favourite Team: Dallas Stars
Re: EHM 2007 Pre-Game Database Editor
Thank you for your replies
Unfortunatelly "run as administrator" didn't help, but I'll try to solve that problem by using EHM Updater. I'm glad to hear about experimental support for databases from older EHM's, I'll keep fingers crossed for that 


- y2jericho
- Prospect
- Posts: 77
- Joined: Mon Mar 07, 2011 7:47 pm
- Custom Rank: yzerwing
Re: EHM 2007 Pre-Game Database Editor
Ok, thanks I will try this!hluraven wrote:I believe that the last line of the "ARENA_MOVE" line in extra_config needs to be a 1 rather than a 0 to indicate this, but I'm not 100%.y2jericho wrote:Hey Archi, is there anyway to set an arena transfer, where the new arena is owned by the team and not rented? I am setting up a 15-16 DB, so the Wings are playing their final season at The Joe (owned), and the transfer works correctly, and changes to Little Caesars Arena, but is listed as rented. Any way to change to owned?

- y2jericho
- Prospect
- Posts: 77
- Joined: Mon Mar 07, 2011 7:47 pm
- Custom Rank: yzerwing
Re: EHM 2007 Pre-Game Database Editor
I have searched on here for the answer, but can't seem to find it. I know from the past, that the AHL 27 team is hardcoded in the editor. But now that EHM has 30 teams, I don't know how to update or change teams affiliations with the pre-game editor. Any help?
- 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: EHM 2007 Pre-Game Database Editor
There is a part of the pre-game editor that is called "affiliations"y2jericho wrote:I have searched on here for the answer, but can't seem to find it. I know from the past, that the AHL 27 team is hardcoded in the editor. But now that EHM has 30 teams, I don't know how to update or change teams affiliations with the pre-game editor. Any help?
In there you can look at the parent team.
There is no way to delete affiliations so I use the extinct team Ajax Attack as "dumpster bin"
- y2jericho
- Prospect
- Posts: 77
- Joined: Mon Mar 07, 2011 7:47 pm
- Custom Rank: yzerwing
Re: EHM 2007 Pre-Game Database Editor
But how do you get all 30 NHL teams with AHL affiliates, in the pre game editor?
- 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: EHM 2007 Pre-Game Database Editor
If you are using a modern db then they all have affiliates. The EHM07 version of the db does not have all 30 teams in the league, but it is the game that decides what teams will play in the AHL not the db (unless you force it to)y2jericho wrote:But how do you get all 30 NHL teams with AHL affiliates, in the pre game editor?
- y2jericho
- Prospect
- Posts: 77
- Joined: Mon Mar 07, 2011 7:47 pm
- Custom Rank: yzerwing
Re: EHM 2007 Pre-Game Database Editor
Oh, ok, thanks for clarifying that for me. How do you force it to pick?
-
- Junior League
- Posts: 9
- Joined: Fri Feb 19, 2016 12:56 am
- Favourite Team: Detroit Red Wings