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.
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
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 ???
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?)
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.
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
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 ???
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?)
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?
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?
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).
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...
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
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.
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
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
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.
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.
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.
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).
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.
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.