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
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 »

archibalduk wrote:
ragot wrote: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:
I have packaged the Editor with additional DLL files which I hope might have resolved the above. Let me know if it does. :thup:
ragot
Junior League
Posts: 5
Joined: Sun Mar 29, 2015 11:29 am

Re: EHM 1 Database & Saved Game Editor

Post by ragot »

Yes it's working now, thank you :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 »

Excellent! Thanks for checking and letting me know. :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 »

Here is a new version which consists of a minor fix (version 0.1.3): http://www.ehmtheblueline.com/forums/vi ... 41#p206841

The previous version incorrectly ordered the Clubs table in databases other than TBL Rosters v8.2 (which causes a crash when starting a new game). This new version fixes this and will repair any corrupted databases (just load and save the database in the new version of the Editor).

CHANGELIST: VERSION 0.1.3 (18-Dec-2016)

Fixes and Improvements:
  • Fixed in-game crash caused by an error with the Clubs Validation setting (any corrupted databases can be repaired by loading and saving the database in this new version of the Editor);
  • Fixed the default Team Picking Rules setting when creating a new stage in the Rules and Structure screen; and
  • Forced a new version of the settings in the "common" folder.
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.
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 »

A couple of bugs (this is a note to self):

- Editing the day of week in the Schedule Dates does not work (but it does work if you're importing from a spreadsheet)
- Clicking the Add Item does not map to the new item when using on Rules & Structures, etc (those screens with the Add New drop-down menu)
- The Record Navigator goes out of sync when adding new Conferences/Divisions
- Need to fix the column counts for each data model
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,
in the section "Match rules ?" of the editor what will we find?
Will it be possible to choose to go on overtime or not? to avoid Shutoots?
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 »

Match rules are editable already, get the 0.1.3 version
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 »

Oh Ok... Sorry. I test it tonight :)
User avatar
djsatu
Junior League
Posts: 17
Joined: Thu Mar 26, 2015 6:21 pm
Location: Calgary

Re: EHM 1 Database & Saved Game Editor

Post by djsatu »

Hey guy's I downloaded the latest version editor yesterday, and tried to tweak some of the players in the new update. Loaded the 9.0b database file no problem, re-saved overwriting the database file, re-imported file hoping that new edits would take effect but nothing I edited saved. What am I doing wrong? Much thanks and great job!
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 »

The editor is to be used with the EHM 1 format database. You import before making the changes when using the editor. Don't re import after you made changes.
User avatar
djsatu
Junior League
Posts: 17
Joined: Thu Mar 26, 2015 6:21 pm
Location: Calgary

Re: EHM 1 Database & Saved Game Editor

Post by djsatu »

kev90 wrote:The editor is to be used with the EHM 1 format database. You import before making the changes when using the editor. Don't re import after you made changes.
Much thanks, this did the trick.
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 »

Version 0.1.4 of the Editor is available here: http://www.ehmtheblueline.com/forums/vi ... 35#p206841

IMPORTANT! I have made a change to the Stage Indexes on the Rules & Structures editing screen. Previously -7 = no index, -1 = first stage, 0 = second stage, etc. As this is not user-friendly, the Editor now displays these figures differently: 0 = no index, 1 = first stage, 2 = second stage, etc. I know this will take a bit of getting used to for those of you already experimenting with structure editing, but I think it will make life easier in the long run. Most of the Stage Indexes can be found under the Linked Stages box (see Screenshot 1 below).

To make it easier to quickly copy Match Rules, etc from one league to another, I have added a "Manual Override" row to each relevant editing table. The combination of True and False settings on these screens results in a unique number. You can enter this unique number into the table in order to get the same combination of settings. Take care with using this setting - entering an invalid number might result in a game crash. See Screenshot 2 below.

In order to make it easier to add clubs to a division via the Structure screen, I have added a Populate button. If you click on this button you can add all clubs from the chosen League or Detailed Division. For instance, if you select the "Populate with clubs by Detailed Division" and select the NHL Atlantic Division from the pop-up window, the Editor will add all teams with that Detailed Division to the present table. See Screenshot 3 below.

CHANGELIST: VERSION 0.1.4 (22-Dec-2016)

Fixes and Improvements:
  • Added bitmask override to every bitmask editor so that combinations of values can be quickly entered;
  • Added League Win Pct Type definition on the Comp Rules tab of the Rules & Structures editing screen;
  • Added missing Continental Licence definition which was resulting in the drop-down menu on the Clubs editing screen not functioning as expected;
  • Adding a new conference on the Structure tab of the Rules & Structure screen now automatically adds a new division to that conference;
  • Adding new items now results in the Editor automatically showing the new record;
  • Adding and removing items correctly updates the highlighting in the left-hand navigation menu;
  • All clubs from a league or detailed division can be quickly added via the Populate button on the Structure tab of the Rules & Structures screen;
  • Each editing screen now defaults to the first record in the left-hand navigation menu;
  • Fixed day editing in the Schedule Dates table;
  • Fixed Schedule Dates importing where certain text was not correctly imported (such as Arena Rules);
  • Item navigation buttons added to the lower section of each editing screen;
  • Stage indexes displayed in the Rules & Structure editing screens are now displayed in a more user-friendly format (0 = no stage, 1 = stage 1, etc); and
  • The record navigator now jumps to the latest item when adding a new item via the Add button (e.g. when adding a new conference).
SCREENSHOT 1:

Image


SCREENSHOT 2:

Image


SCREENSHOT 3:


Image
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: EHM 1 Database & Saved Game Editor

Post by BKarchitect »

Great work archi!

Hey I might just be missing it but where is the "Edit Rights" at for players in the EHM 1 Editor?
janks
Prospect
Posts: 56
Joined: Thu Dec 10, 2015 2:44 pm
Favourite Team: Dinamo Riga, HK Kurbads
Location: Ogre, Latvia

Re: EHM 1 Database & Saved Game Editor

Post by janks »

What's the meaning of continental licence - A, B, C and lower A, B, C?
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 »

It's how they work IRL. The problem is that they get reset after first season and I fear that the process is hardcoded as I tried creating a CHL with KHL clubs but it works for season 1 only.
janks
Prospect
Posts: 56
Joined: Thu Dec 10, 2015 2:44 pm
Favourite Team: Dinamo Riga, HK Kurbads
Location: Ogre, Latvia

Re: EHM 1 Database & Saved Game Editor

Post by janks »

Alessandro wrote:It's how they work IRL. The problem is that they get reset after first season and I fear that the process is hardcoded as I tried creating a CHL with KHL clubs but it works for season 1 only.
IRL there were A,B,C licenses, dunno that those lower A,B,C mean. Strangely I cannot see any license awarded for any club in editor.
Does that reset means there are predetermined (hardcoded) clubs getting spots to CHL or still there are rules like best clubs of specific competions (but not KHL) getting spots (under B and C licenses at least)?
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 »

janks wrote:
Alessandro wrote:It's how they work IRL. The problem is that they get reset after first season and I fear that the process is hardcoded as I tried creating a CHL with KHL clubs but it works for season 1 only.
IRL there were A,B,C licenses, dunno that those lower A,B,C mean. Strangely I cannot see any license awarded for any club in editor.
Does that reset means there are predetermined (hardcoded) clubs getting spots to CHL or still there are rules like best clubs of specific competions (but not KHL) getting spots (under B and C licenses at least)?
A, B and C licenses I would imagine is for Champions league and lower A, B and C licenses are for Continental Cup - correct me someone if I am wrong...
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 »

janks wrote: Does that reset means there are predetermined (hardcoded) clubs getting spots to CHL or still there are rules like best clubs of specific competions (but not KHL) getting spots (under B and C licenses at least)?
Leagues, not teams, are hardcoded, therefore no teams from KHL or other non-included leagues after season 1
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 »

janks wrote:IRL there were A,B,C licenses, dunno that those lower A,B,C mean. Strangely I cannot see any license awarded for any club in editor.
There are 65 teams in the DB with licences. See EC Klagenfurter AC for example.

I just noticed that there is another mistake with the definitions of the licences in the Editor. As a temporary fix, you can do the following:

1) Go to the "common" sub-folder where the EHM Editor is located.

2) Open the "continental_licence.txt" file.

3) Replace "0, - None - ,0" with "0,CHL A Licence,0". This means you will have two lines of "0,CHL A Licence,0" but that's fine.

So the text file should look like this:

Code: Select all

-1, - Invalid - ,0
0,CHL A Licence,0
0,CHL A Licence,0
1,CHL B Licence,0
2,CHL C Licence,0
3,Lower A Licence,0
4,Lower B Licence,0
5,Lower C Licence,0
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: EHM 1 Database & Saved Game Editor

Post by BKarchitect »

archi - sorry to be a pest, just wondering if you caught my message above about editing players rights. Is that in the editor now and I'm just not seeing it or is that an item on the "to-do" list? As the features of this editor start to far out-strip what was possible before, it's becoming clear IMO that the future of editing is simply with the EHM 1 DB, not the old EHM 07 data files. As people edit leagues and rules and such - there's no way to go back to the EHM 07 data files with the EHM updater and CSV files or the old pre-game editor which had filtering and player rights' capabilities. I know you have a of features up-coming as you get time to implement them for the EHM 1 Editor!

Also wondering if an EHM 1 Updater will ever be a "thing" or does that only work because of the .dat files of EHM 07? So much easier to do mass player editing and such in spreadsheet format.
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 »

Alessandro wrote:With 9.0b if i try to edit or create a new club competition, I get an error Access violation at address 00522F3E. Read of address 00000000.
It saves the name, but doesn't save other information...
Any advice?
Where are you getting that error? In the Editor or the game?
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 »

BKarchitect wrote:archi - sorry to be a pest, just wondering if you caught my message above about editing players rights. Is that in the editor now and I'm just not seeing it or is that an item on the "to-do" list? As the features of this editor start to far out-strip what was possible before, it's becoming clear IMO that the future of editing is simply with the EHM 1 DB, not the old EHM 07 data files. As people edit leagues and rules and such - there's no way to go back to the EHM 07 data files with the EHM updater and CSV files or the old pre-game editor which had filtering and player rights' capabilities. I know you have a of features up-coming as you get time to implement them for the EHM 1 Editor!

Also wondering if an EHM 1 Updater will ever be a "thing" or does that only work because of the .dat files of EHM 07? So much easier to do mass player editing and such in spreadsheet format.
Player rights are on the to do list. They'll appear as a sub-screen/tab of the Players & Staff section once editable.

The Editor will eventually have all of the Updater-type functions added (so it'll just be one Editor program rather than there being a separate Updater). I'll be looking at the Updater side of things once I have all editing screens added (I'm nearly there now).
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 »

archibalduk wrote:
Alessandro wrote:With 9.0b if i try to edit or create a new club competition, I get an error Access violation at address 00522F3E. Read of address 00000000.
It saves the name, but doesn't save other information...
Any advice?
Where are you getting that error? In the Editor or the game?
In the 2007 editor. The new editor works well, but since you can't do from db file to 2007 format it's quite unuseful.
kebabseller
Learning to skate
Posts: 4
Joined: Sat Nov 09, 2013 8:59 am

Re: EHM 1 Database & Saved Game Editor

Post by kebabseller »

Everytime I try to edit anything with the beta editor it is fine. But when I start a new game it always crashes on july 14th
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: EHM 1 Database & Saved Game Editor

Post by BKarchitect »

archibalduk wrote:
BKarchitect wrote:archi - sorry to be a pest, just wondering if you caught my message above about editing players rights. Is that in the editor now and I'm just not seeing it or is that an item on the "to-do" list? As the features of this editor start to far out-strip what was possible before, it's becoming clear IMO that the future of editing is simply with the EHM 1 DB, not the old EHM 07 data files. As people edit leagues and rules and such - there's no way to go back to the EHM 07 data files with the EHM updater and CSV files or the old pre-game editor which had filtering and player rights' capabilities. I know you have a of features up-coming as you get time to implement them for the EHM 1 Editor!

Also wondering if an EHM 1 Updater will ever be a "thing" or does that only work because of the .dat files of EHM 07? So much easier to do mass player editing and such in spreadsheet format.
Player rights are on the to do list. They'll appear as a sub-screen/tab of the Players & Staff section once editable.

The Editor will eventually have all of the Updater-type functions added (so it'll just be one Editor program rather than there being a separate Updater). I'll be looking at the Updater side of things once I have all editing screens added (I'm nearly there now).
Awesome. Can't wait. Thanks to the hard work of you and others, we'll finally be able to throw off the last vestiges of the 07 format which I think will simplify things a lot. One program to rule them all! :notworthy:
Post Reply