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
KevT90
Drafted
Posts: 176
Joined: Sat Sep 30, 2006 5:03 am
Location: New-Brunswick, Canada

Re: EHM 1 Database & Saved Game Editor

Post by KevT90 »

archibalduk wrote:It doesn't equal the total of the attributes, but it does have a bearing. I suggest reading through this thread (it is for EHM 2007 but it'll give you a basic idea of roughly how it works): http://www.ehmtheblueline.com/forums/vi ... =13&t=4920

Note that the above link is outdated and things have moved on since EHM 1 and so I'd suggest also taking a look at this: http://www.ehmtheblueline.com/forums/vi ... 10&t=16778
It's a good read and explains a lot but it's not really said in those threads wetter modifying the value of the CA OR the player's attributes will have an effect on the other one and vice versa.

EDIT: So I've tested it myself to see that the CA and the player's attributes are tied together when making modifications using the editor. For example, giving a player a value of 18 for all of his attributes, and keep the default CA of let's say 130, this will stay as is in the editor. However the game will adjust the attributes when loading the database in the game to make it reflect the value of the CA. From there I am assuming it takes into account the player's role and the ratio of offensive vs defensive. The same is true if you modify the CA and leaves the attributes untouched. Changing the values of the offensive and defensive fields in the player roles did not change anything upon loading the database in the game.

Therefore I would believe that giving respectively 20/20 for the offensive/defensive value would be the same as putting it 1/1. It appears that this is only used as a ratio to make distribution of the points as the player progresses within it's player role ??? :dunno:

Lastly for now, is there a way to use a spreadsheet format in modifying the player's attributes, CA, PA, etc. ? I only seem to be able to export a output.csv document where only the hidden attributes appears to be listed on there... How are the TBL Roster's being modified atm which includes major updates ? (must be a quicker method than doing it in the editor itself?)

Thanks again
ragot
Junior League
Posts: 5
Joined: Sun Mar 29, 2015 11:29 am

Re: EHM 1 Database & Saved Game Editor

Post by ragot »

archibalduk wrote:
ragot wrote:Windows 10 and yes. The error message is different when the redistributable is not installed (says some files are missing, I've tried uninstalling and repairing from the installer).

Also I just bought the computer and did a fresh install of Windows 10 a couple of months ago and haven't really installed or done anything with it that would somehow conflict with the editor (of course I cant't be sure) so I have no idea what's going on.
Try copying the three DLL files from the "platforms" sub-folder and placing them in the same folder as the "EHM Editor.exe" file itself. The error message suggests as though it is looking in the wrong folder path.

No luck :-( I also tried moving the entire editor folder around the computer but that doesn't help either.

Not a huge thing for me personally, just wanted to let you know in case anyone else has the same problem.
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 »

kev90 wrote:
archibalduk wrote:It doesn't equal the total of the attributes, but it does have a bearing. I suggest reading through this thread (it is for EHM 2007 but it'll give you a basic idea of roughly how it works): http://www.ehmtheblueline.com/forums/vi ... =13&t=4920

Note that the above link is outdated and things have moved on since EHM 1 and so I'd suggest also taking a look at this: http://www.ehmtheblueline.com/forums/vi ... 10&t=16778
It's a good read and explains a lot but it's not really said in those threads wetter modifying the value of the CA OR the player's attributes will have an effect on the other one and vice versa.

EDIT: So I've tested it myself to see that the CA and the player's attributes are tied together when making modifications using the editor. For example, giving a player a value of 18 for all of his attributes, and keep the default CA of let's say 130, this will stay as is in the editor. However the game will adjust the attributes when loading the database in the game to make it reflect the value of the CA. From there I am assuming it takes into account the player's role and the ratio of offensive vs defensive. The same is true if you modify the CA and leaves the attributes untouched. Changing the values of the offensive and defensive fields in the player roles did not change anything upon loading the database in the game.

Therefore I would believe that giving respectively 20/20 for the offensive/defensive value would be the same as putting it 1/1. It appears that this is only used as a ratio to make distribution of the points as the player progresses within it's player role ??? :dunno:

Lastly for now, is there a way to use a spreadsheet format in modifying the player's attributes, CA, PA, etc. ? I only seem to be able to export a output.csv document where only the hidden attributes appears to be listed on there... How are the TBL Roster's being modified atm which includes major updates ? (must be a quicker method than doing it in the editor itself?)

Thanks again
You can create spreadsheets with the updater
User avatar
KevT90
Drafted
Posts: 176
Joined: Sat Sep 30, 2006 5:03 am
Location: New-Brunswick, Canada

Re: EHM 1 Database & Saved Game Editor

Post by KevT90 »

Alessandro wrote:You can create spreadsheets with the updater
Are you refering to : EHM 2007 Updater v2.0.6 (Database & Saved Game Editor) ?

From what I can understand it won't open the latest TBL DB since they are in EHM 1 format and not 2007 ?
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 »

Archibalduk, in "Transfer rules" "Extra Rules" tab there is possible to choose entry "Fixture rule min underaged players"... Is it working as intended? Because when I choose value 2 (or 20 and maybe even any other number) for that entry in the game it shows up as "No more than -1 players born in 1996 and onwards dressed", while it should been something like this "Minimum 2 players born in 1996 and onwards dressed"...

Couldn't there be an error in editor code that it don't register this rule/item correctly in db or that is a bug in the game?

By the way none of the default leagues have "Fixture rule min underaged players" rule - Canadian junior leagues only have "Fixture rule max underaged players" and it starts with "No more than..." in the game - are you sure that game even supports "Fixture rule min underaged players" rule?
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 »

Edgars wrote:Archibalduk, in "Transfer rules" "Extra Rules" tab there is possible to choose entry "Fixture rule min underaged players"... Is it working as intended? Because when I choose value 2 (or 20 and maybe even any other number) for that entry in the game it shows up as "No more than -1 players born in 1996 and onwards dressed", while it should been something like this "Minimum 2 players born in 1996 and onwards dressed"...

Couldn't there be an error in editor code that it don't register this rule/item correctly in db or that is a bug in the game?

By the way none of the default leagues have "Fixture rule min underaged players" rule - Canadian junior leagues only have "Fixture rule max underaged players" and it starts with "No more than..." in the game - are you sure that game even supports "Fixture rule min underaged players" rule?
I also found that it doesn't work as intended, although I didn't have enough time to investigate.
In your Latvian league there is a development rule where you have to dress two masked players?
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 »

Alessandro wrote:
Edgars wrote:Archibalduk, in "Transfer rules" "Extra Rules" tab there is possible to choose entry "Fixture rule min underaged players"... Is it working as intended? Because when I choose value 2 (or 20 and maybe even any other number) for that entry in the game it shows up as "No more than -1 players born in 1996 and onwards dressed", while it should been something like this "Minimum 2 players born in 1996 and onwards dressed"...

Couldn't there be an error in editor code that it don't register this rule/item correctly in db or that is a bug in the game?

By the way none of the default leagues have "Fixture rule min underaged players" rule - Canadian junior leagues only have "Fixture rule max underaged players" and it starts with "No more than..." in the game - are you sure that game even supports "Fixture rule min underaged players" rule?
I also found that it doesn't work as intended, although I didn't have enough time to investigate.
In your Latvian league there is a development rule where you have to dress two masked players?
Yes 22 can be dressed for the game, but two of them should be born 1997 or later for this season (or 1996 or later for previous season aka tbl 8.2 db), otherwise only 20 can be dressed (or 21 if there is only one such player).
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 »

Edgars wrote:
Alessandro wrote:
Edgars wrote:Archibalduk, in "Transfer rules" "Extra Rules" tab there is possible to choose entry "Fixture rule min underaged players"... Is it working as intended? Because when I choose value 2 (or 20 and maybe even any other number) for that entry in the game it shows up as "No more than -1 players born in 1996 and onwards dressed", while it should been something like this "Minimum 2 players born in 1996 and onwards dressed"...

Couldn't there be an error in editor code that it don't register this rule/item correctly in db or that is a bug in the game?

By the way none of the default leagues have "Fixture rule min underaged players" rule - Canadian junior leagues only have "Fixture rule max underaged players" and it starts with "No more than..." in the game - are you sure that game even supports "Fixture rule min underaged players" rule?
I also found that it doesn't work as intended, although I didn't have enough time to investigate.
In your Latvian league there is a development rule where you have to dress two masked players?
Yes 22 can be dressed for the game, but two of them should be born 1997 or later for this season (or 1996 or later for previous season aka tbl 8.2 db), otherwise only 20 can be dressed (or 21 if there is only one such player).
Yeah I'd need the same for the KHL.
In season three in my VHL I have only one multi-game day... if only one could understand what happens with second season...
Deathrow
Junior League
Posts: 20
Joined: Mon Dec 21, 2015 3:51 pm
Favourite Team: Pittsburgh

Re: EHM 1 Database & Saved Game Editor

Post by Deathrow »

Hi,

It would like to know if it's possible to erase all historical statistics of players, teams and trophys when we start a new carrier mode?

Thx
Deathrow
Junior League
Posts: 20
Joined: Mon Dec 21, 2015 3:51 pm
Favourite Team: Pittsburgh

Re: EHM 1 Database & Saved Game Editor

Post by Deathrow »

And also is it possible to change salary cap of the NHL teams?
I use Editor v0.0.3 Beta

Thx
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: EHM 1 Database & Saved Game Editor

Post by nino33 »

kev90 wrote:It's a good read and explains a lot but it's not really said in those threads wetter modifying the value of the CA OR the player's attributes will have an effect on the other one and vice versa.
kev90 wrote:
Alessandro wrote:You can create spreadsheets with the updater
Are you refering to : EHM 2007 Updater v2.0.6 (Database & Saved Game Editor) ?
From what I can understand it won't open the latest TBL DB since they are in EHM 1 format and not 2007 ?
Some general answers
  • the game doesn't allow you to edit anything anyway you want (I believe Riz has called them "sanity checks"), so extremes like all 18 for Attributes and a 130 CA aren't possible (a 130 CA should have Attributes average around 12) + Player Roles (every player has one) also affect Attribute distribution, as Attributes are considered Key, Essential, Non-Essential, and Irrelevant depending on the Player Role
  • The TBL Rosters (and retro rosters) are still edited and released in EHM07 format using the EHM Updater, and then the EHM07 database is imported into the new EHM (here's the latest database, 8.2 from last year http://www.ehmtheblueline.com/forums/vi ... hp?t=16246)
In terms of editing, here's some info that might help Nino :-)
User avatar
KevT90
Drafted
Posts: 176
Joined: Sat Sep 30, 2006 5:03 am
Location: New-Brunswick, Canada

Re: EHM 1 Database & Saved Game Editor

Post by KevT90 »

Thanks Nino !

I'd like to be able to modify the latest TBL 8.2 database using the EHM updater, which for now, I am not sure how since the DB is incompatible with the EHM updater.
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: EHM 1 Database & Saved Game Editor

Post by nino33 »

kev90 wrote:Thanks Nino !
You're welcome! :-)


kev90 wrote:I'd like to be able to modify the latest TBL 8.2 database using the EHM updater, which for now, I am not sure how since the DB is incompatible with the EHM updater.
I'm not sure why you're saying 8.2 is incompatible with the Updater

Here's TBL 8.2 in EHM07 format http://www.ehmtheblueline.com/forums/vi ... hp?t=16246
It is compatible (editable) using the Updater


TBL 8.2 is not compatible with EHM07 anymore, even though it's in EHM07 format

The editor being discussed in this thread edits the database directly in EHM1 format; to get TBL 8.2 into the EHM1 format you have to import it into the new EHM, or use the version from the Steam Workshop...you want to start with the version in the link above, do your editing with the Updater, and then import your edited version into EHM1
User avatar
KevT90
Drafted
Posts: 176
Joined: Sat Sep 30, 2006 5:03 am
Location: New-Brunswick, Canada

Re: EHM 1 Database & Saved Game Editor

Post by KevT90 »

When I run the updater, then go File -> open database -> TBL Rosters v8.2, the folder is blank and I cannot select anything there ...
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 »

kev90 wrote:When I run the updater, then go File -> open database -> TBL Rosters v8.2, the folder is blank and I cannot select anything there ...
Just click on the Open/Select Folder when you're viewing the blank folder and it will open. It's because of the way the Updater was set up (it opens folders rather than files as such). In retrospect it wasn't a very clear way of doing things and hence I have done it differently using the new EHM Editor.
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 »

Deathrow wrote:And also is it possible to change salary cap of the NHL teams?
I use Editor v0.0.3 Beta

Thx
Use the Editor v0.1.1 Beta. There is a Transfer Rules screen with these settings.
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:Archibalduk, in "Transfer rules" "Extra Rules" tab there is possible to choose entry "Fixture rule min underaged players"... Is it working as intended? Because when I choose value 2 (or 20 and maybe even any other number) for that entry in the game it shows up as "No more than -1 players born in 1996 and onwards dressed", while it should been something like this "Minimum 2 players born in 1996 and onwards dressed"...

Couldn't there be an error in editor code that it don't register this rule/item correctly in db or that is a bug in the game?

By the way none of the default leagues have "Fixture rule min underaged players" rule - Canadian junior leagues only have "Fixture rule max underaged players" and it starts with "No more than..." in the game - are you sure that game even supports "Fixture rule min underaged players" rule?
It's definitely an option in the database. Whether and how it works in game is obviously a separate thing. I wonder if an additional Extra Rule needs to be added in order to enable it.
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 »

ragot wrote:
archibalduk wrote:
ragot wrote:Windows 10 and yes. The error message is different when the redistributable is not installed (says some files are missing, I've tried uninstalling and repairing from the installer).

Also I just bought the computer and did a fresh install of Windows 10 a couple of months ago and haven't really installed or done anything with it that would somehow conflict with the editor (of course I cant't be sure) so I have no idea what's going on.
Try copying the three DLL files from the "platforms" sub-folder and placing them in the same folder as the "EHM Editor.exe" file itself. The error message suggests as though it is looking in the wrong folder path.

No luck :-( I also tried moving the entire editor folder around the computer but that doesn't help either.

Not a huge thing for me personally, just wanted to let you know in case anyone else has the same problem.
Leave it with me. I will add something to the Editor which should force it to check the "platforms" folder (even though it should anyway). I should have it released this weekend.

EDIT: I think I have found the cause. It seems certain additional DLLs ought to have been included with the Editor. I'll these to the next version this weekend. :thup: :thup:
User avatar
KevT90
Drafted
Posts: 176
Joined: Sat Sep 30, 2006 5:03 am
Location: New-Brunswick, Canada

Re: EHM 1 Database & Saved Game Editor

Post by KevT90 »

archibalduk wrote:Just click on the Open/Select Folder when you're viewing the blank folder and it will open
Never thought of this but yes that's all it was ... ! thks
Deathrow
Junior League
Posts: 20
Joined: Mon Dec 21, 2015 3:51 pm
Favourite Team: Pittsburgh

Re: EHM 1 Database & Saved Game Editor

Post by Deathrow »

archibalduk wrote:
Deathrow wrote:And also is it possible to change salary cap of the NHL teams?
I use Editor v0.0.3 Beta

Thx
Use the Editor v0.1.1 Beta. There is a Transfer Rules screen with these settings.
Ok thank you archibalduk. And for the player's history, is it possible to erase it and play like if the ligue was just beginning
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 »

Deathrow wrote:
archibalduk wrote:
Deathrow wrote:And also is it possible to change salary cap of the NHL teams?
I use Editor v0.0.3 Beta

Thx
Use the Editor v0.1.1 Beta. There is a Transfer Rules screen with these settings.
Ok thank you archibalduk. And for the player's history, is it possible to erase it and play like if the ligue was just beginning
No, but you can if you're using an EHM 2007 DB and use the EHM Updater (but that's for another thread).

If you download the Editor then you can take a look over the screens and see what is/isn't possible.
Deathrow
Junior League
Posts: 20
Joined: Mon Dec 21, 2015 3:51 pm
Favourite Team: Pittsburgh

Re: EHM 1 Database & Saved Game Editor

Post by Deathrow »

Ok thank you for the answer et congratulation for your work. I keep going testing
User avatar
Sterbe
Junior League
Posts: 27
Joined: Sun Jul 11, 2010 6:06 pm
Favourite Team: Tampereen Tappara
Location: Tampere Finland

Re: EHM 1 Database & Saved Game Editor

Post by Sterbe »

is it possible to edit player histories in the future releases?
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 - eventually everything will be editable.
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 »

Here is the new version: http://www.ehmtheblueline.com/forums/vi ... 14#p206841

This fixes various of the issues previously reported and also adds all of the definitions to the Rules and Structures editing screen (except for the League Win Pct Type setting - I need to run this one by Riz). All of the Rules and Structures screens have been updated accordingly. I also need to run the Arena Rules settings by Riz as it seems I only have part of the definition (unless it is a bitmask perhaps).

There are some additional notes on league rule and structure editing here: Editing league rules and structures in EHM 1

CHANGELIST: VERSION 0.1.2 (17-Dec-2016)

New Features
  • Added XML spreadsheet support.
Fixes and Improvements:
  • Added data definitions for all data items of the Rules & Structure editing screen (except for Win Pct Type);
  • Added default values for all defined data items in the Rules & Structure editing screen;
  • Added "enable all" and "disabled all" settings for all bitwise (i.e. true/false) settings tables;
  • Bitwise (i.e. true/false) settings table rows are now coloured according to setting;
  • Fixed Transfer Windows sub-screen on the Transfer Rules editing screen so that the drop-down menu is no longer disabled when adding new Transfer Rules items or editing a league without any Transfer Windows;
  • Previously missing DLL and application files are now included with the Editor; and
  • Schedule Dates are now correctly re-ordered thereby resolving the cup::process_fixture in-game error.
Known Limitations and Bugs:
If you encounter an issue which is not listed below then please do report it here: http://www.ehmtheblueline.com/forums/vi ... 10&t=14290
  • Not all of the Club Competition Basic Rules data is entirely user-friendly at this stage;
  • EHM 2004-2007 support not fully operational;
  • Not all data can be added or deleted yet (an error message will be displayed where this is not possible);
  • Clicking on the Cancel button when viewing the Open Database/Saved Game dialog will disable the Open buttons, requiring a restart of the Editor;
  • The mouse cursor does not change when hovering over certain editing fields which makes certain tasks, such as editing Club Contracted/Playing For, not immediately obvious (the field should be clicked on in order to display the selection dialog window);
  • The improved table display has not yet been rolled out to all tables/screens;
  • Table column widths have not yet been set (and will frequently appear too narrow/small);
  • Certain icons could be improved/replaced;
  • Drop-down menus are all sorted alphabetically which is not always appropriate;
  • Set a non-player's Nation Contract is completely untested and may cause a crash;
  • Altered club competition names do not carry across the various editing screens;
  • Only csv/txt/xml file formats are supported at the moment; and
  • The default file format and editor text settings do not currently work.
Post Reply