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
Mackecool93
Prospect
Posts: 85
Joined: Wed Oct 22, 2014 5:05 pm
Favourite Team: Djurgårdens IF

Re: EHM 1 Database & Saved Game Editor

Post by Mackecool93 »

Hi, first thing, archi you're doing some truly amazing work :notworthy:

Second thing, i've noticed a small bug, that's just a small glitch. Every time i change something on a player under "basic data", for example club, birth city etc. the "player details" side gets grayed out and instead the "non-player" side gets available, even though the "classification" still reads player. It will only revert back if you press the player again, and nothing is lost, as far as i can see. So its just a graphic glitch i suppose.

EDIT: Found one more, under "player details" you can't select height or weight to edit it if the value is zero, now you need to press the up-arrow to make it a one before its possible.

EDIT2: Turns out the weight and height fields are harder to select but not impossible to select even when the value is zero. You must press the right half of it to select it, not all of the field i clickable.
Last edited by Mackecool93 on Wed Dec 28, 2016 2:09 am, edited 3 times in total.
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 »

Another bug: can't reset day of week in end date in trade windows. I created a new rule for a new league, it got assigned "monday" and I can't reset it back to none.
User avatar
Mackecool93
Prospect
Posts: 85
Joined: Wed Oct 22, 2014 5:05 pm
Favourite Team: Djurgårdens IF

Re: EHM 1 Database & Saved Game Editor

Post by Mackecool93 »

Got a question about players. Afaik its not possible to create new players in this editor, correct? My workaround this far has been to remake either old players without history or retired players. Can i find somewhere all the players in the db that are set as either retired or invalid? Could there be something that goes wrong with re-enabling this players?
BulldogsFan
Drafted
Posts: 196
Joined: Fri Aug 11, 2006 7:59 pm

Re: EHM 1 Database & Saved Game Editor

Post by BulldogsFan »

the schedule list for the league is only for season 1 correct after that it will be automatically generated? just cause i want to add 2 american teams to OHL and make a US division like WHL
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 »

BulldogsFan wrote:the schedule list for the league is only for season 1 correct after that it will be automatically generated? just cause i want to add 2 american teams to OHL and make a US division like WHL
(for this kind of leagues) You need to adjust the template anyway, either you want to add or replace teams.
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 to the both of you for reporting these bugs. :thup:
Mackecool93 wrote:Second thing, i've noticed a small bug, that's just a small glitch. Every time i change something on a player under "basic data", for example club, birth city etc. the "player details" side gets grayed out and instead the "non-player" side gets available, even though the "classification" still reads player. It will only revert back if you press the player again, and nothing is lost, as far as i can see. So its just a graphic glitch i suppose.
The Editor momentarily checks whether the person is a player or non-player and disables the relevant tabs (so, as you say, it's just a UI issue rather than a data one). It looks like something has gone awry with the checking/validation. I'll check it out and will have it fixed for the next release. :thup:
Mackecool93 wrote:EDIT: Found one more, under "player details" you can't select height or weight to edit it if the value is zero, now you need to press the up-arrow to make it a one before its possible.

EDIT2: Turns out the weight and height fields are harder to select but not impossible to select even when the value is zero. You must press the right half of it to select it, not all of the field i clickable.
How strange! I'll take a look a see what is happening here. :-?

Another way of selecting the height where it is not working is to click on Favourite Number (bottom left corner of the screen) and then press the Tab key. I'll get this fixed for the new release. :thup:
Alessandro wrote:Another bug: can't reset day of week in end date in trade windows. I created a new rule for a new league, it got assigned "monday" and I can't reset it back to none.
Looks like there's a glitch with the list of options in the drop-down menu. I'll get this fixed for the new release. :thup:
Mackecool93 wrote:Got a question about players. Afaik its not possible to create new players in this editor, correct? My workaround this far has been to remake either old players without history or retired players. Can i find somewhere all the players in the db that are set as either retired or invalid? Could there be something that goes wrong with re-enabling this players?
Click on the "Add" button at the bottom of the Players & Staff screen. That allows you to add a new player/non-player.
Dontirri
Junior League
Posts: 12
Joined: Mon Jul 09, 2012 8:29 am

Re: EHM 1 Database & Saved Game Editor

Post by Dontirri »

Hey, I got a question regarding the editor.
Is it possible to enable promotion/relegation between leagues and if so, how? And when moving clubs from one league to another, is it enough to change the current league in the clubs data and then increase league size/decrease league size in the respective leagues or am I missing a step?

I'm basically trying to bring Jokerit back to Finnish liiga and reopen the promotion/relegation between Liiga and Mestis.
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 »

Dontirri wrote:Hey, I got a question regarding the editor.
Is it possible to enable promotion/relegation between leagues and if so, how? And when moving clubs from one league to another, is it enough to change the current league in the clubs data and then increase league size/decrease league size in the respective leagues or am I missing a step?

I'm basically trying to bring Jokerit back to Finnish liiga and reopen the promotion/relegation between Liiga and Mestis.
I suggest you to read through the thread for more information. You always need to work out the schedule.
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've been working on the Rules & Structures import/export function recently. There's still a lot of work to do, but it can now export the selected Rules & Structure along with any associated Finance Info, Ruling Body, Schedules and Transfer Rules. Hopefully it's reasonably straightforward - you just navigate to the Rules & Structure item you want to export, click on the Export button and enter your Author and Release Notes information (so you can include some explanation/readme if you wish). To import, click on the Import button and select your chosen file. It'll then show some basic information about the data (e.g. the start year from the source database, the database format, etc) before giving your the option to proceed with the import. The Import function will be forward and backward compatible with future/previous versions of the database.

Although it works, I now need to add some checks, etc in order to prevent importing duplicate copies of Finance Info, etc, update club IDs, etc.

Image

Image
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:I've been working on the Rules & Structures import/export function recently. There's still a lot of work to do, but it can now export the selected Rules & Structure along with any associated Finance Info, Ruling Body, Schedules and Transfer Rules. Hopefully it's reasonably straightforward - you just navigate to the Rules & Structure item you want to export, click on the Export button and enter your Author and Release Notes information (so you can include some explanation/readme if you wish). To import, click on the Import button and select your chosen file. It'll then show some basic information about the data (e.g. the start year from the source database, the database format, etc) before giving your the option to proceed with the import. The Import function will be forward and backward compatible with future/previous versions of the database.

Although it works, I now need to add some checks, etc in order to prevent importing duplicate copies of Finance Info, etc, update club IDs, etc.
Fantastic job, Archi, as usual. When can we expect a new release?
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! :) I think it'll be a little while yet. The validation aspects are going to take some work. It's not all that complex in terms of coding but it does take a bit of thought and planning (it's more of a logical puzzle).
User avatar
Named
TBL Rosters Researcher
Posts: 698
Joined: Tue Apr 07, 2015 8:34 pm
Custom Rank: League structures guru
Favourite Team: Chicago Blackhawks
Location: PL

Re: EHM 1 Database & Saved Game Editor

Post by Named »

Archi remember sometimes we have to add new conferences, divisions, competitions so it might not work.
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 »

Named wrote:Archi remember sometimes we have to add new conferences, divisions, competitions so it might not work.
Yes that will of course be a limitation with the initial version. It will only work if the clubs/comps/conferences/divisions already exist in the game.

I expect in the future I will add the ability to export the linked clubs/comps/conferences/divisions too. It's not too difficult but I think it might be too much for the initial version (the more complex I make it, the more complex it will be for us to test and debug).
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 »

Well, for the time being one could just add a "release note" indicating that creation is needed
User avatar
Mackecool93
Prospect
Posts: 85
Joined: Wed Oct 22, 2014 5:05 pm
Favourite Team: Djurgårdens IF

Re: EHM 1 Database & Saved Game Editor

Post by Mackecool93 »

archibalduk wrote:
Mackecool93 wrote:Got a question about players. Afaik its not possible to create new players in this editor, correct? My workaround this far has been to remake either old players without history or retired players. Can i find somewhere all the players in the db that are set as either retired or invalid? Could there be something that goes wrong with re-enabling this players?
Click on the "Add" button at the bottom of the Players & Staff screen. That allows you to add a new player/non-player.
Didnt work when i tried. A new entry(player) did not appear.

Edit: And now i tried again and it worked :-k
User avatar
erikhogberg
Junior League
Posts: 5
Joined: Fri Apr 24, 2015 7:59 pm
Favourite Team: AIK

Re: EHM 1 Database & Saved Game Editor

Post by erikhogberg »

Is it not possible to move teams to the swedish leagues? I've moved teams from some of the top european leagues plus the Nordiques and Whalers to the SHL and Allsvenskan but i can't start a new game. It crashes when it's loading the leagues.

I've replaced the teams like Dinamo Riga for example with a swedish team, i've put them in the same division/conference D.Riga was in so that shouldn't be a problem, should it? I mean, there are no teams missing in any leagues, divisions or conferences. Could it be the nationalities that's making it crash? The nordiques being canadian for example?

If it is possible to move teams i would greatly appreciate some help with what i need to do to make it 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 »

You should understand that this kind of topics are almost unuseful. They are the likes of "My phone is broken, what do I do?"
Please explain what you did in greater detail.
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 finished adding all editing screens now! :joy: E.g. screens such as player career history, club records, player rights, etc. I want to tidy things up a little, but nonetheless it feels like a bit of a milestone. I have also added Excel XLSX spreadsheet support.

It'll still be a little while until the next release though. I need to finish off the first draft of the Rules & Structure import/export, make it possible to add entries for every single screen (most are done) and fix a couple of reported bugs.
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:I have finished adding all editing screens now! :joy: E.g. screens such as player career history, club records, player rights, etc. I want to tidy things up a little, but nonetheless it feels like a bit of a milestone. I have also added Excel XLSX spreadsheet support.

It'll still be a little while until the next release though. I need to finish off the first draft of the Rules & Structure import/export, make it possible to add entries for every single screen (most are done) and fix a couple of reported bugs.
Image
martinmiller1986
Junior League
Posts: 34
Joined: Sat May 29, 2010 1:16 am
Favourite Team: Wightlink Raiders
Location: Isle of Wight

Re: EHM 1 Database & Saved Game Editor

Post by martinmiller1986 »

I've had a play around with the editor and all good so far.
I've expanded and Edited all of the British league and added additional cup competitions successfully so far...
the only snag I've come across is when creating a new team... on the Continental licence option it automatically put it to -none- which then draws that team into the CHL/Euro Cup... it wont let me change from -none- to -invalid- ... any ideas?? apart from that all okay!
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 »

It was a typo in the Editor on my part. Here is a temporary fix: http://www.ehmtheblueline.com/forums/vi ... 00#p221040

What cups have you added?
martinmiller1986
Junior League
Posts: 34
Joined: Sat May 29, 2010 1:16 am
Favourite Team: Wightlink Raiders
Location: Isle of Wight

Re: EHM 1 Database & Saved Game Editor

Post by martinmiller1986 »

thanks... I expanded the EPL cup to 20 teams (2 groups north and south) to include some NIHL teams. Also added a cup for NIHL North and South both divisions 1 & 2
User avatar
erikhogberg
Junior League
Posts: 5
Joined: Fri Apr 24, 2015 7:59 pm
Favourite Team: AIK

Re: EHM 1 Database & Saved Game Editor

Post by erikhogberg »

Alessandro wrote:You should understand that this kind of topics are almost unuseful. They are the likes of "My phone is broken, what do I do?"
Please explain what you did in greater detail.

I switched in teams from KHL, Norway, Denmark, GB, Czech rep. Switzerland, Germany, Austria, and two inactive teams (Whalers and Nordiques) from NA into the SHL and HA.

For example, i changed 'league' 'detailed division' and 'previous league' on Dinamo Minsk to have the same as Mora IK, and then i change Mora to what Minsk had in those.
I also replaced the KHL and Elite league teams in the "rules & structures" tab so that there should be no missing teams in the conferences.

Don't know what more information i can give you, that's pretty much all i did.
User avatar
Mackecool93
Prospect
Posts: 85
Joined: Wed Oct 22, 2014 5:05 pm
Favourite Team: Djurgårdens IF

World Juniors

Post by Mackecool93 »

Now with the release of the improved editor, is it possible to change the eligibility for this tournament? To remove the weird thing that all NA based players become unavailable for the playoffs. I've been looking around in the comp rules but i can't see what needs to be done. Anyone with more knowledge that knows or got a theory about what to change to make everyone(with the right age) available for all games including the playoffs.
flyers0909
Learning to skate
Posts: 2
Joined: Sat May 02, 2015 3:33 pm
Favourite Team: Flyers

Re: EHM 1 Database & Saved Game Editor

Post by flyers0909 »

Sorry if this has been mentioned before, but I just started playing EHM the other day. I'm trying to edit a saved game but when I go to load my game I get the following:
================== Editing session started: Wednesday 04 January 2017 ==================

21:51:49 Read saved game: C:/Users/Nick/Documents/Sports Interactive/EHM/games/Editor.sav
21:51:49 Format: Saved Game
21:51:49 Mode: EHM 1 v1013+
21:51:49 ERR_COMPRESSED_SAVED_GAME: C:/Users/Nick/Documents/Sports Interactive/EHM/games/Editor.sav (SavedGame::openEHM1SavedGame)
21:51:49 Result: Failure
21:51:50 Elapsed: 1.221 secs
Post Reply