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

I think I found a bug.
I create MHL All-Star game... I can't get it to appear in the game. So I add both teams to league structure, but I can't get it to save. I populate the league with the editor command, save. If I reload, there is no structure.
User avatar
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 1 Database & Saved Game Editor

Post by archibalduk »

Could you upload the affected DB please? I'll see if I can figure it out.
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:Could you upload the affected DB please? I'll see if I can figure it out.
Here you go:
http://www57.zippyshare.com/v/MpLOJ7Zr/file.html

I tried once again, and it keeps on not working. Not sure if it's my fault, maybe I missed a step, but in other comps it worked like a charm (watch Russian junior national hockey league)
User avatar
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 1 Database & Saved Game Editor

Post by archibalduk »

Thanks! :thup:

This is a bug with the Editor. Where the competition does not have any Conference added via the Structure tab, the list of clubs shown is actually from the competition you most recently viewed in the Editor. E.g. if you click on the AHL and then click on the MHL All-Stars you'll see that the AHL details are still shown. So any changes you make will actually affect the AHL.

I hadn't appreciated that the all-star competitions didn't have any Conferences (I thought every competition had to have at least one Conference and one Division).

I'll fix this for the next version. :-)
User avatar
MikelPickle
Prospect
Posts: 70
Joined: Sat May 23, 2015 3:22 am
Favourite Team: Boston Bruins/Syracuse Crunch

Re: EHM 1 Database & Saved Game Editor

Post by MikelPickle »

How do you delete one club? I add 2 of the same clubs. How do you get rid of one?:

Image
User avatar
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 1 Database & Saved Game Editor

Post by archibalduk »

I'm afraid clubs cannot be deleted yet. You could rename one of them and make them defunct/inactive.
User avatar
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 1 Database & Saved Game Editor

Post by archibalduk »

archibalduk wrote:Thanks! :thup:

This is a bug with the Editor. Where the competition does not have any Conference added via the Structure tab, the list of clubs shown is actually from the competition you most recently viewed in the Editor. E.g. if you click on the AHL and then click on the MHL All-Stars you'll see that the AHL details are still shown. So any changes you make will actually affect the AHL.

I hadn't appreciated that the all-star competitions didn't have any Conferences (I thought every competition had to have at least one Conference and one Division).

I'll fix this for the next version. :-)
Fixed. :thup:
Kart99
Junior League
Posts: 48
Joined: Wed Apr 01, 2015 2:35 pm

Re: EHM 1 Database & Saved Game Editor

Post by Kart99 »

Can I ask a really quick question regarding something? Does the game need the drafts? For example, say I was to delete the NHL entry draft, would that be problematic and cause the game to crash? Just wondered
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 »

Kart99 wrote:Can I ask a really quick question regarding something? Does the game need the drafts? For example, say I was to delete the NHL entry draft, would that be problematic and cause the game to crash? Just wondered
Cant be done
Kart99
Junior League
Posts: 48
Joined: Wed Apr 01, 2015 2:35 pm

Re: EHM 1 Database & Saved Game Editor

Post by Kart99 »

Good to know before I started to mess about with it.
User avatar
MikelPickle
Prospect
Posts: 70
Joined: Sat May 23, 2015 3:22 am
Favourite Team: Boston Bruins/Syracuse Crunch

Re: EHM 1 Database & Saved Game Editor

Post by MikelPickle »

archibalduk wrote:I'm afraid clubs cannot be deleted yet. You could rename one of them and make them defunct/inactive.
How would you do so?
User avatar
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 1 Database & Saved Game Editor

Post by archibalduk »

MikelPickle wrote:
archibalduk wrote:I'm afraid clubs cannot be deleted yet. You could rename one of them and make them defunct/inactive.
How would you do so?
Set the club's League, Detailed Division and Reserve Division to [None].
disastermanager
Learning to skate
Posts: 1
Joined: Tue Jan 10, 2017 10:11 pm
Favourite Team: Ottawa Senators

Re: EHM 1 Database & Saved Game Editor

Post by disastermanager »

Will there be an update for the EHMAssistant prior to the game uptade 1.4?
User avatar
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 1 Database & Saved Game Editor

Post by archibalduk »

disastermanager wrote:Will there be an update for the EHMAssistant prior to the game uptade 1.4?
Wrong thread.
User avatar
PeakyBlinder
Prospect
Posts: 51
Joined: Mon Jun 27, 2016 10:33 pm
Favourite Team: Vancouver Canucks
Contact:

Re: EHM 1 Database & Saved Game Editor

Post by PeakyBlinder »

archibalduk wrote:
disastermanager wrote:Will there be an update for the EHMAssistant prior to the game uptade 1.4?
Wrong thread.
Lol, I have both threads pulled up right now.
plaaplaa72
Junior League
Posts: 7
Joined: Sat Jul 27, 2013 3:10 pm

Re: EHM 1 Database & Saved Game Editor

Post by plaaplaa72 »

Can i add new affiliations in the middle of a saved game?
Aristocrat
Learning to skate
Posts: 2
Joined: Mon Dec 05, 2016 9:47 am
Favourite Team: Pens

Re: EHM 1 Database & Saved Game Editor

Post by Aristocrat »

my game stopped working after latest update so I can't play the game ](*,)

error message: FIXTURE_MANAGER::load_check_fixture_legs()

hoping someone can help i'm not spending another 60 hours getting to where i'm at in game to get a pants message like this while loading the saved file. All I did was after the 1.4 update go onto datsyuk to change his home reputation up to make him consider playing another year.
Dethsupp0rt
Junior League
Posts: 6
Joined: Thu Mar 26, 2015 10:38 pm

Re: EHM 1 Database & Saved Game Editor

Post by Dethsupp0rt »

Riz said there should be a hotfix Monday. Hopefully it will address your issue.

https://community.sigames.com/topic/395 ... ad-struct/
Aristocrat wrote:my game stopped working after latest update so I can't play the game ](*,)

error message: FIXTURE_MANAGER::load_check_fixture_legs()

hoping someone can help i'm not spending another 60 hours getting to where i'm at in game to get a pants message like this while loading the saved file. All I did was after the 1.4 update go onto datsyuk to change his home reputation up to make him consider playing another year.
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: EHM 1 Database & Saved Game Editor

Post by BKarchitect »

Hey archi - I've got some weird issues with veteran players showing up as rookies even though their NHL career history shows otherwise. Riz said it was "recalculate runtime data" needed to be run upon import but obviously I'm now completely in EHM 1 format with my db and this is not possible. He says the official editor will do this whenever it comes out but was just curious if there was a function in the EHM 1 editor right now or maybe will be that allows for this runtime info to be up-to-date?
User avatar
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 1 Database & Saved Game Editor

Post by archibalduk »

plaaplaa72 wrote:Can i add new affiliations in the middle of a saved game?
No I'm afraid not. The saved game handles affiliations differently to databases.
User avatar
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 1 Database & Saved Game Editor

Post by archibalduk »

BKarchitect wrote:Hey archi - I've got some weird issues with veteran players showing up as rookies even though their NHL career history shows otherwise. Riz said it was "recalculate runtime data" needed to be run upon import but obviously I'm now completely in EHM 1 format with my db and this is not possible. He says the official editor will do this whenever it comes out but was just curious if there was a function in the EHM 1 editor right now or maybe will be that allows for this runtime info to be up-to-date?
I'll add it very soon. I just need to copy over the function from the EHM Updater. :thup:
User avatar
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 1 Database & Saved Game Editor

Post by archibalduk »

I have released a new version of the Editor here (version 0.1.5): http://www.ehmtheblueline.com/editor/

I've posted the full changelist below, but the most notable features are:

- New data items can be added to every table in the database;
- Rules & Structures can be transferred from one database to another (but note that it is very basic right now);
- EHM 2005 to EHM 2007 conversion (it appears stable with the NHL but there are a couple of issues relating to the number of teams in the AHL and ECHL which I have not yet figured out); and
- XLSX Excel spreadsheet format support.

Please read the known limitations set out below as there are a couple of issues I need to work on further.

CHANGELIST: VERSION 0.1.5 (28-Jan-2017)

New Features:
  • Club competition history editing screen (via Club Competitions editing screen);
  • Club history editing screen (via Clubs editing screen);
  • Club records editing screen (via Clubs editing screen);
  • Player records editing screen (via Clubs editing screen);
  • Staff award history editing screen (via Staff Awards editing screen);
  • Staff career history editing screen (via Players & Staff editing screen);
  • Staff info editing section (Last Known Club setting) (via Players & Staff editing screen);
  • Default spreadsheet file format setting added to the Settings screen;
  • EHM 2005 to EHM 2007 conversion;
  • Facepack reporter spreadsheet details which players have linked face images and which images are unused;
  • Rules & Structures import and export functions;
  • Staff Info table validation; and
  • XLSX Excel spreadsheet import and export support added.
Fixes and Improvements:
  • The entire EHM 1 database is now editable and new items can be added to any table;
  • Added EHM v1.4 flag definitions;
  • Added full descriptions to all error messages;
  • Clicking on Cancel on the Open Database and Open Saved Game dialog windows no longer disables the Open buttons;
  • Corrected the Continental Licence definition which was resulting in the drop-down menu on the Clubs editing screen not showing in the CHL A Licence;
  • Disable All and Enable All buttons on bitwise tables now work correctly;
  • Fixed Structure tab of Rules & Structure screen which previously showed data for the wrong league where no conferences exist;
  • Fixed Day of Week drop-down menu so that it correctly supports the "None" setting (e.g. on the Transfer Windows screen);
  • Fixed staff classification validation on the Staff editing screen;
  • Improved EHM 2005 and 2007 database compatibility;
  • Improved processing of domestic and national clubs, competitions and competition histories;
  • Performance improvements to spreadsheet processing;
  • Progress dialog windows when saving spreadsheets are now correctly displayed;
  • Replaced various icons with nicer icons;
  • Schedules can now be deleted;
  • Structures with no conferences (such as all-star competitions) are now permitted;
  • Tidied the Settings screen with the Database and Saved Game Maintenance settings now split into separate screens; and
  • Upgraded to Qt version 5.8.0.
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
  • There is a slight pause halfway through the loading the database where no dialog window is displayed;
  • Certain of the club records in the Editor do not match what is displayed in game and there is one unknown record type;
  • EMH 2005 to 2007 conversion results in two error messages when importing in EHM 1 relating to the number of AHL and ECHL teams;
  • EHM 2004 support not fully operational;
  • EHM 2005-2007 support is experimental;
  • Exporting Model Data as XLSX format sometimes results in an invalid spreadsheet file;
  • Not all data can be deleted yet (an error message will be displayed where this is not possible);
  • 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;
  • Altering club competition names do not carry across the various editing screens; and
  • The editor text settings do not currently work.
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 »

Archi - are awards import/exportable?
andda715
Junior League
Posts: 44
Joined: Fri Apr 10, 2015 10:07 pm
Favourite Team: Tingsryd AIF

Re: EHM 1 Database & Saved Game Editor

Post by andda715 »

Really nice Archi!

Can't wait to try the export /import feature once I'm back from the weekend away. :-D
User avatar
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 1 Database & Saved Game Editor

Post by archibalduk »

Alessandro wrote:Archi - are awards import/exportable?
No, nothing is importable other than Rules and Structures.
Post Reply