EHM 1 Database & Saved Game Editor v1: BUG REPORTS & FEATURE REQUESTS

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
Javs
Minor League
Posts: 238
Joined: Mon Mar 07, 2005 11:48 pm
Location: Ontario

Re: EHM 1 Database & Saved Game Editor

Post by Javs »

I downloaded x64... It works with x86, thanks!
Ahall88
Junior League
Posts: 15
Joined: Fri Jan 14, 2011 8:42 am

Re: EHM 1 Database & Saved Game Editor

Post by Ahall88 »

I'm having a problem creating new teams; whenever I make a new team and try to save the editor crashes and when I reload it the finance info, rules & structures, ruling bodies, schedule templates, and transfer rules tabs are all blank.(The created team does show up, but I'm sure the database is now unplayable.)
I can create a new league without any problems though.
Should I just use EHM 2007 pre-game editor to add all the teams?
(Sorry if this has already been brought up/solved I only briefly skimmed the other pages.)
User avatar
Edgars
Top Prospect
Posts: 134
Joined: Fri Mar 08, 2013 6:37 am
Location: Rīga, Latvija

Re: EHM 1 Database & Saved Game Editor

Post by Edgars »

Ahall88 wrote:I'm having a problem creating new teams; whenever I make a new team and try to save the editor crashes and when I reload it the finance info, rules & structures, ruling bodies, schedule templates, and transfer rules tabs are all blank.(The created team does show up, but I'm sure the database is now unplayable.)
I can create a new league without any problems though.
Should I just use EHM 2007 pre-game editor to add all the teams?
(Sorry if this has already been brought up/solved I only briefly skimmed the other pages.)
I have the same issue and it was introduced in v0.1.5 of editor, tho on v0.1.5 it wasn't possible to load db at all afterwards.
There were no such problem in v0.1.4, because I created handful of clubs with it without any issues, so I guess that it have something to do with histories.

Another thing is when filling club histories, then position is off, for example, if in editor I input that in 15/16 season club finished 3rd, then in game it shows up as 4th and so on (one position lower) and club histories year 2015 transfers as 14/15 season stats in game, while in player histories year 2015 transfers as 15/16 season stats in game. In my opinion there should be one format for both histories and maybe there was planned one, but in team history you put (-1) for wrong column/code - you did it for position column/code, instead of year column/code (these are only my speculations)...
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: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Thanks for the reports. I'll check this out. It sounds like there is an issue when the data is saving - most likely following the wide-ranging fix I made last weekend.

I'll check out the positions in the club histories too.

The years in the player histories and club/competition histories are handled differently in the database, as you say. This is not by design in the Editor but is the design of the database/game. The reason is that club/competition histories can relate to an international competition, such as the World Championships. So the year for club/competition histories has to relate to the year in which the competition ended. If there was a -1 modifier in the Editor (so that you could enter 2014 for the 2014/15 season), you'd have to enter "2014" for the 2015 World Championships, which wouldn't make much sense. Hence the difference between player histories and club/competition histories.
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: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Edgars wrote:Another thing is when filling club histories, then position is off, for example, if in editor I input that in 15/16 season club finished 3rd, then in game it shows up as 4th and so on (one position lower)
I checked this out and it looks like it may be a bug with the game. I'll raise this and also the club records issue (player names appear scrambled in game) with Riz.
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: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Ahall88 wrote:I'm having a problem creating new teams; whenever I make a new team and try to save the editor crashes and when I reload it the finance info, rules & structures, ruling bodies, schedule templates, and transfer rules tabs are all blank.(The created team does show up, but I'm sure the database is now unplayable.)
I can create a new league without any problems though.
Should I just use EHM 2007 pre-game editor to add all the teams?
(Sorry if this has already been brought up/solved I only briefly skimmed the other pages.)
Here is a new version (v 0.1.7) with the above issue fixed: http://www.ehmtheblueline.com/forums/vi ... 85#p206841
Insulin
Learning to skate
Posts: 1
Joined: Fri Mar 27, 2015 7:23 pm

Re: EHM 1 Database & Saved Game Editor

Post by Insulin »

What's up guys, really noob question here. I downloaded the Editor and messed around with it a little bit. I tried to save it as a EH1 Database and I put it into my folder with all the other databases I've downloaded from here. The issue I'm having is that it won't save as a .db file so I can't use it. I'm not very smart. :help:
User avatar
djskek
Second Line
Posts: 612
Joined: Sat Sep 23, 2006 10:31 am
Location: Germany, near from Dresden

Re: EHM 1 Database & Saved Game Editor

Post by djskek »

How can I change the players budget of the teams? No matter what I type, it does not change.

And in general, why were the team reputations increased? Did the Community agree on a specific area with the individual leagues? In Germany DEL the lowest is 5000.

Unfortunately, I have been a while out of the community and have not noticed everything.
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: EHM 1 Database & Saved Game Editor

Post by Alessandro »

djskek wrote:How can I change the players budget of the teams? No matter what I type, it does not change.
Change them, then when you create a new game tick the option "do not change financial adjustments", something like that, can't remember off hands. It's after the DB options.
User avatar
djskek
Second Line
Posts: 612
Joined: Sat Sep 23, 2006 10:31 am
Location: Germany, near from Dresden

Re: EHM 1 Database & Saved Game Editor

Post by djskek »

Don't work with Editor (v 0.1.7). There you can write what you want. Nothing changes in the game. Whether the function is active or not. With the old editor and older databases it still works.

f.e. Augsburg always 6.5 million - 7.0 million.
GooseGaming68
Junior League
Posts: 31
Joined: Sun Aug 14, 2016 2:45 pm
Favourite Team: Washington Capitals

Re: EHM 1 Database & Saved Game Editor

Post by GooseGaming68 »

How do I edit player injuries? For example Jonathan Quick got injured in the first game of the season, that is a huge factor in the fact that the Kings aren't in a playoff spot. Also how do I edit draft pick rights? Just the other day Calgary traded a couple of 2017 draft picks for Stone from the Coyotes. I know how to move Stone to the flames but I don't know how to move the picks to Arizona.
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: EHM 1 Database & Saved Game Editor

Post by archibalduk »

You can't edit injuries or draft picks in saved games. To edit them in databases you can edit the extra_config.cfg file.
zbguy
Top Prospect
Posts: 121
Joined: Wed Aug 28, 2013 7:01 pm

Re: EHM 1 Database & Saved Game Editor

Post by zbguy »

You can't edit them as in you won't ever be able to edit them, or they just can't be edited right now?
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: EHM 1 Database & Saved Game Editor

Post by archibalduk »

zbguy wrote:You can't edit them as in you won't ever be able to edit them, or they just can't be edited right now?
They are unlikely to ever be editable. Most of the saved game structure is unknown to me and so I can only really makes things in the saved game editable if they exist in the database. Additionally, certain aspects (such as contract data) is dealt with differently in the saved game compared to the database (hence why editing contract data in the saved game via the Editor does not work). Maybe one day I can expand what the Editor can edit in the saved game but it would require many, many hours' work and ultimately the database side of things is my priority so that we can improve how we produce database updates.
Fredlig
TBL Rosters Researcher
Posts: 153
Joined: Mon Nov 28, 2011 9:48 am

Re: EHM 1 Database & Saved Game Editor

Post by Fredlig »

Is there any possibility to restrain reserve teams to get promoted? I am currently working on the danish first division and of 15 teams, 12 is reserve teams, which irl, can't get promoted.
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: EHM 1 Database & Saved Game Editor

Post by Alessandro »

Fredlig wrote:Is there any possibility to restrain reserve teams to get promoted? I am currently working on the danish first division and of 15 teams, 12 is reserve teams, which irl, can't get promoted.
This is something for Riz more than Archi.
salm
Junior League
Posts: 29
Joined: Thu Nov 05, 2015 7:32 pm
Favourite Team: Rögle

Re: EHM 1 Database & Saved Game Editor

Post by salm »

Hmm... Maybe a stupid Q but can't finde the database filr to open and Edit for v.9,1... isnt that update possible to edit? :(
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: EHM 1 Database & Saved Game Editor

Post by archibalduk »

You need to edit the imported database.db file created by the game after you use the in-game Import function.
swmlon
Learning to skate
Posts: 2
Joined: Wed Feb 15, 2017 2:40 pm
Favourite Team: Canadiens

Re: EHM 1 Database & Saved Game Editor

Post by swmlon »

Not sure if this is the right place to post this question, but I've edited the NHL awards to go as far back as possible for most awards, including adding people where applicable, for example Dominik Hasek. However, two things happen when I start a new game. 1. The awards only show up to 1986, nothing prior, and when I click on the people I've created, like Hasek, the game crashes. Any ideas on how to get around either of these two issues in the game editor.
Thanks
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: EHM 1 Database & Saved Game Editor

Post by archibalduk »

swmlon wrote:Not sure if this is the right place to post this question, but I've edited the NHL awards to go as far back as possible for most awards, including adding people where applicable, for example Dominik Hasek. However, two things happen when I start a new game. 1. The awards only show up to 1986, nothing prior, and when I click on the people I've created, like Hasek, the game crashes. Any ideas on how to get around either of these two issues in the game editor.
Thanks
The 1986 cut-off is a limitation brought over from EHM 2007. I'll mention to Riz in case this can be lifted.

I'll check out the crash - thanks for reporting. :thup:
Alessandro wrote:Archi, I'm not sure if this is a problem of the editor or the game (I think the latter, but I prefer asking). If you change a team's status fro Junior to Professional, for example, the DB saves it (close and reload show updated information), but the game does not retain the new status. I have screenshots if it's not clear.
Can you have a look?
Thanks - I'll check it out. :thup:
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: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Just a quick update on the Editor: At the moment I'm concentrating on getting some Updater functions up and running as we need this in order to be able to migrate the TBL Rosters master database from using the EHM 2007 format database to using the EHM 1 format database. The migration will have significant benefits for the TBL Rosters project as we will no longer be bound by the EHM 2007 database limitations - e.g. we will be able to add new playable leagues to the master database, update league rules, not worry about the EHM 2007 Pre-Game resetting player roles, etc.

I think the only two updating functions we'll need in order to enable migration are player career history updating and staff updating (by staff updating I mean contract_update, attribute_update and non_player_update - these three spreadsheets will be covered by a single spreadsheet in the Editor). I now have a very rudimentary player career history updating function up and running. This one is a little more advanced and flexible than the Updater for the following reasons:
  • There is no longer any need to have the "correct" file name or XML identifier. Instead, the identifier is entered at Cell A1 of the spreadsheet. This will stop the annoying issue with LibreOffice removing the identifier from the XML data as well as allowing us to have CSV files with any filename we want.
  • Dates (such as date of birth) are now entered into a single cell. Any separator can be used (e.g. using periods or slashes to separate the date, month and year). It is also possible to set the date format (e.g. European, North American or Japanese format - so date/month/year, month/year/date, etc).
  • It is possible to use imperial or metric measurements.
  • Text matching will be more flexible - e.g. you can optionally also use club short names as well as club long names to match against.
  • Text matching (e.g. matching club names from the spreadsheet with those in the database) should be significantly quicker than in the Updater version 2.x.
  • Importing staff histories should be even quicker - it'll benefit from the improved text matching along with an improved way in which the Editor handles staff histories. This will make importing data, removing duplicates, etc far, far quicker than the Updater.
  • The Editor will prevent duplicate staff histories from being imported. Instead, it'll edit the existing item rather than adding it as a duplicate. This means that it will be much easier to later add goalie-specific data.
In addition to adding the first Updater functions, I have also added hi-dpi support. Having just switched to a 4k screen, I can see how poorlythe Editor scales. I have now almost entirely fixed this - it scales correctly and you get nice high resolution icons, etc (rather than blocky zoomed ones). I just need to fix a couple of smaller icons and one set of tabs on the Rules and Structure screen.

Other than this, I'm also making a few miscellaneous tweaks such as migrating the settings from a separate settings file to using the Windows registry. This will make coding things a little cleaner as well as mean that users won't lose their settings on the odd occasion I change the settings file format.

There's still a heap of work to be done and so there's no ETA yet.
User avatar
ZaZooM
Prospect
Posts: 79
Joined: Fri Sep 03, 2010 5:26 pm
Favourite Team: Lokomotiv Yaroslavl / NY Rangers
Location: Moscow, Russia

Re: EHM 1 Database & Saved Game Editor

Post by ZaZooM »

we need filters: teams by league, players by team.
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: EHM 1 Database & Saved Game Editor

Post by Alessandro »

ZaZooM wrote:we need filters: teams by league, players by team.
Absolutely! At least teams by league would be a good start...
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: EHM 1 Database & Saved Game Editor

Post by archibalduk »

Yes filters is next on the list after the above. It involves a fairly significant tweak which will take a fair bit of time to set up.
User avatar
ZaZooM
Prospect
Posts: 79
Joined: Fri Sep 03, 2010 5:26 pm
Favourite Team: Lokomotiv Yaroslavl / NY Rangers
Location: Moscow, Russia

Re: EHM 1 Database & Saved Game Editor

Post by ZaZooM »

Arenas by league would be great.
Post Reply