Something random I came across the other day is that you can use an asterisk (*) as a wildcard when using the text search filters. E.g. "new*rangers" will bring up the New York Rangers.
EHM 1 Database & Saved Game Editor v1: BUG REPORTS & FEATURE REQUESTS
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
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
- archibalduk
- TBL Admin Team
- Posts: 20384
- 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
Thank you - I'm glad it is of use! 
Something random I came across the other day is that you can use an asterisk (*) as a wildcard when using the text search filters. E.g. "new*rangers" will bring up the New York Rangers.
Something random I came across the other day is that you can use an asterisk (*) as a wildcard when using the text search filters. E.g. "new*rangers" will bring up the New York Rangers.
-
BKarchitect
- Second Line
- Posts: 656
- Joined: Sat Jan 07, 2012 11:21 pm
Re: EHM 1 Database & Saved Game Editor
Awesome new feature archi - anybody who edits databases I would think would love this "one-screen editing ability". Can't wait!
- EZJaeger
- Junior League
- Posts: 7
- Joined: Thu Jun 30, 2016 9:09 pm
- Favourite Team: Boston Bruins
- Location: London, UK
Re: EHM 1 Database & Saved Game Editor
Is anyone playing on Mac with a PlayonMac mirror and managed to make this work? this is impossible...archibalduk wrote:The latest version of the Eastside Hockey Manager 1 Database Editor can be downloaded here: http://www.ehmtheblueline.com/editor
I would like to eliminate the salary cap, since it does not go up or down and my save has a bug where teams are attributed with cap penalties that I don't know how they were aggregated....
- archibalduk
- TBL Admin Team
- Posts: 20384
- 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
I read on Reddit that somebody had gotten it running on the Mac (with PlayonMac IIRC). I have been trying to get OS X up and running using Virtual Box but it is prone to crashing and I'm struggling to get the compiler running. I'll try it again in the coming weeks. If I can get it to work then I may be able to compile a Mac version of the Editor. It's a big IF.EZJaeger wrote:Is anyone playing on Mac with a PlayonMac mirror and managed to make this work? this is impossible...archibalduk wrote:The latest version of the Eastside Hockey Manager 1 Database Editor can be downloaded here: http://www.ehmtheblueline.com/editor
Editing saved games is highly risky and usually ends with irreparable corruption. Try editing the "transfer_rules_config.cfg" file which accompanies the database. You can edit this in any text editor.EZJaeger wrote:I would like to eliminate the salary cap, since it does not go up or down and my save has a bug where teams are attributed with cap penalties that I don't know how they were aggregated....
- EZJaeger
- Junior League
- Posts: 7
- Joined: Thu Jun 30, 2016 9:09 pm
- Favourite Team: Boston Bruins
- Location: London, UK
Re: EHM 1 Database & Saved Game Editor
Hi Archi,
the problem that I have is that If the roster update is a subscription from steam workshop e.g. TBL 10.1, I cannot find the appropriate database config file in the "database" folder.
the problem that I have is that If the roster update is a subscription from steam workshop e.g. TBL 10.1, I cannot find the appropriate database config file in the "database" folder.
- archibalduk
- TBL Admin Team
- Posts: 20384
- 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
There's a guide here: viewtopic.php?f=13&t=17841&p=224816#p225184
- EZJaeger
- Junior League
- Posts: 7
- Joined: Thu Jun 30, 2016 9:09 pm
- Favourite Team: Boston Bruins
- Location: London, UK
Re: EHM 1 Database & Saved Game Editor
Thank you. Followed the instructions and changed the cap value but there were no changes. Is there a higher salary cap value limit to input or shall I just change the value to 0?
- Primis
- Freeware Moderator
- Posts: 1698
- Joined: Tue Aug 03, 2010 7:46 pm
- Location: Michigan, USA
Re: EHM 1 Database & Saved Game Editor
It is, in fact. It is very different. You're doing great work here, Archi.archibalduk wrote:Haha!There were a lot of changes between the September 2017 version and the current version, so it should be a nice surprise features-wise!
With the Staff filters, can you add an option to filter by PA/CA eventually? Thanks.
- 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
Am I correct in thinking I can use the Editor to add a single player to the database? i.e. I can add players manually one at a time rather than using a spreadsheet?
To do so do I click on "Add Item" on the Players & Staff screen?
To do so do I click on "Add Item" on the Players & Staff screen?
- Manimal
- TBL Admin Team
- Posts: 6344
- Joined: Thu Apr 24, 2008 4:01 am
- Custom Rank: EHM Rosters Man
- Favourite Team: Djurgårdens IF
- Location: Karlstad, Sweden
Re: EHM 1 Database & Saved Game Editor
Yesnino33 wrote:Am I correct in thinking I can use the Editor to add a single player to the database? i.e. I can add players manually one at a time rather than using a spreadsheet?
To do so do I click on "Add Item" on the Players & Staff screen?
- 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
Thanks!Manimal wrote:Yesnino33 wrote:Am I correct in thinking I can use the Editor to add a single player to the database? i.e. I can add players manually one at a time rather than using a spreadsheet?
To do so do I click on "Add Item" on the Players & Staff screen?
- archibalduk
- TBL Admin Team
- Posts: 20384
- 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
That's the long term plan. It's a little more complex than the existing filters because it involves pulling data from three tables (i.e. the basic staff data table, the player attributes table and the non-player attributes table). I need to give it some thought because the filtering needs to be as efficient as possible when filtering all of that data given the volume of staff data present. As you will see, filtering the staff data is already a bit slow (and that's filtering against just the staff data table).Primis wrote:It is, in fact. It is very different. You're doing great work here, Archi.archibalduk wrote:Haha!There were a lot of changes between the September 2017 version and the current version, so it should be a nice surprise features-wise!
With the Staff filters, can you add an option to filter by PA/CA eventually? Thanks.
I am working on the buttons/menus running along the lower edge of the screen at the moment (needs some tidying up IMO) - I'll try and make that button a little more obvious (e.g. "Add New Person" instead of "Add New Item", etc).nino33 wrote:Am I correct in thinking I can use the Editor to add a single player to the database? i.e. I can add players manually one at a time rather than using a spreadsheet?
To do so do I click on "Add Item" on the Players & Staff screen?
- 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
I'm getting a crash of the Editor while working on the 74DB
If I click on the Kingston Canadians team on the Clubs tab the Editor crashes
Also, in looking into it I noticed a few team names on the Clubs tab list were highlighted in yellow!
I figured the yellow highlight was to highlight an error issue; I found that entering the "Nation" got rid of the yellow (IIRC it had been None -1)
If I click on the Kingston Canadians team on the Clubs tab the Editor crashes
Also, in looking into it I noticed a few team names on the Clubs tab list were highlighted in yellow!
I figured the yellow highlight was to highlight an error issue; I found that entering the "Nation" got rid of the yellow (IIRC it had been None -1)
- archibalduk
- TBL Admin Team
- Posts: 20384
- 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
Could you email a copy of your current DB to me please? I will take a look at the crash.
That's right - the Editor will highlight in yellow if an active team does not have a nation or Reputation set. The game will crash if a team on a playable league has no nation or a Reputation of zero. I don't think this will be an issue with the next version of the game however (but it seems to make sense to ensure these are set for playable teams anyhow).
P.s. I'll get back to you this week on your previous email.
That's right - the Editor will highlight in yellow if an active team does not have a nation or Reputation set. The game will crash if a team on a playable league has no nation or a Reputation of zero. I don't think this will be an issue with the next version of the game however (but it seems to make sense to ensure these are set for playable teams anyhow).
P.s. I'll get back to you this week on your previous email.
- 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
DB emailed/thanksarchibalduk wrote:Could you email a copy of your current DB to me please? I will take a look at the crash.
I thought it was pretty cool!archibalduk wrote:That's right - the Editor will highlight in yellow if an active team does not have a nation or Reputation set. The game will crash if a team on a playable league has no nation or a Reputation of zero. I don't think this will be an issue with the next version of the game however (but it seems to make sense to ensure these are set for playable teams anyhow).
-
lucamo99
- Learning to skate
- Posts: 3
- Joined: Fri Mar 02, 2018 3:07 pm
- Favourite Team: HC Lugano
Re: EHM 1 Database & Saved Game Editor
What can I do to see the text on the left? https://imgur.com/a/NoBN9
-
Dadonov
- Learning to skate
- Posts: 1
- Joined: Sat Mar 03, 2018 2:24 am
- Favourite Team: Buffalo Sabres
Re: EHM 1 Database & Saved Game Editor
I have absolutely no idea how to use the editor, the main thing I want to do is be able to change prospect's potential, but when I see a player has a potential of: -15, I have no idea what that means, and what to change it to. Say I want to make some random prospect like Ivan Chukarov a future superstar and give him the best possible potential, how would I go about doing that?
- archibalduk
- TBL Admin Team
- Posts: 20384
- 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
What screen resolution are you using? It looks like the screen size is too small for the Editor.lucamo99 wrote:What can I do to see the text on the left? https://imgur.com/a/NoBN9
The negative Potential Ability ratings mean that the game will randomly generate a Potential Ability for each saved game within a certain range.Dadonov wrote:I have absolutely no idea how to use the editor, the main thing I want to do is be able to change prospect's potential, but when I see a player has a potential of: -15, I have no idea what that means, and what to change it to. Say I want to make some random prospect like Ivan Chukarov a future superstar and give him the best possible potential, how would I go about doing that?
See here: viewtopic.php?p=6795#p6795
-
lucamo99
- Learning to skate
- Posts: 3
- Joined: Fri Mar 02, 2018 3:07 pm
- Favourite Team: HC Lugano
Re: EHM 1 Database & Saved Game Editor
I use a 1920 x 1080 screen, I have a laptop 13' is it normal or my settings are wrong?
- archibalduk
- TBL Admin Team
- Posts: 20384
- 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
That resolution should be plenty large enough. Given the size of your screen, I suspect you have the scaling setting up pretty high and this would result in the issue you're seeing.
Right click on your desktop and click on Display Settings. There is a setting entitled "Scale and layout: Change the size of text, apps and other items". Reduce the percentage value. This should fix it, but the downside is that everything will look smaller on your screen.
Alternatively, right-click on your EHM Editor.exe file -> Properties -> Compatibility. You will see a setting entitled "Override high DPI scaling behaviour". You could try enabling this and trying the various settings in the drop-down menu. I'm not sure it will make much of a difference though.
Right click on your desktop and click on Display Settings. There is a setting entitled "Scale and layout: Change the size of text, apps and other items". Reduce the percentage value. This should fix it, but the downside is that everything will look smaller on your screen.
Alternatively, right-click on your EHM Editor.exe file -> Properties -> Compatibility. You will see a setting entitled "Override high DPI scaling behaviour". You could try enabling this and trying the various settings in the drop-down menu. I'm not sure it will make much of a difference though.
- archibalduk
- TBL Admin Team
- Posts: 20384
- 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
I have been unable to reproduce this bug. Creating new teams doesn't cause any issue when I try it (I have been testing using your Pivot Rosters). Could you email to me a copy of a database with the issue present please? ehmtheblueline AT gmail DOT com.xECK29x wrote:Looks like creating any new club, not sure if it is something with junior/national U20 records having issues. I'll know it happens because a GUI bug appears shortly after saving. You won't see it instantly after creating the club and saving, what will happen is when I go to assign staff to the club I'll see the name of the club change in the selection box to Zaire U20 or Zimbabwe or some other nation, that is how I know it occurred. When I look up the nation I saw in the selection box usually the city, arena, and reputation info of the club I created will overwrite the country, and make it a junior team. After a long editing session creating clubs I have to figure out what national team was overwritten and manually correct the changes via the tip you gave me in the other thread. Sometimes it will bug out for teams I created weeks ago, it's pretty weird.
Happy to do a Zoom meeting or something to show you in person, just PM me. I should be able to reproduce it pretty easily.
Also, if you can post a step by step of how you can recreate the issue then that would be very useful.
- xECK29x
- TBL Rosters Researcher
- Posts: 1013
- Joined: Sun May 03, 2015 2:52 pm
- Custom Rank: Premier Pivot Rosters Man
- Favourite Team: New York Islanders
Re: EHM 1 Database & Saved Game Editor
Sent!archibalduk wrote:I have been unable to reproduce this bug. Creating new teams doesn't cause any issue when I try it (I have been testing using your Pivot Rosters). Could you email to me a copy of a database with the issue present please? ehmtheblueline AT gmail DOT com.xECK29x wrote:Looks like creating any new club, not sure if it is something with junior/national U20 records having issues. I'll know it happens because a GUI bug appears shortly after saving. You won't see it instantly after creating the club and saving, what will happen is when I go to assign staff to the club I'll see the name of the club change in the selection box to Zaire U20 or Zimbabwe or some other nation, that is how I know it occurred. When I look up the nation I saw in the selection box usually the city, arena, and reputation info of the club I created will overwrite the country, and make it a junior team. After a long editing session creating clubs I have to figure out what national team was overwritten and manually correct the changes via the tip you gave me in the other thread. Sometimes it will bug out for teams I created weeks ago, it's pretty weird.
Happy to do a Zoom meeting or something to show you in person, just PM me. I should be able to reproduce it pretty easily.
Also, if you can post a step by step of how you can recreate the issue then that would be very useful.
- archibalduk
- TBL Admin Team
- Posts: 20384
- 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
Thanks so much for this.xECK29x wrote:Sent!
The issue is because the GUI goes out of sync with the data when either importing data or when running any validation functions (which are applied when saving the database). When you add a new club, it is added to the end of the clubs table. Then when you save, the database is re-ordered and the national teams are put to the end of the clubs table. However, the GUI still thinks that the newly created team is at the end of the table when in fact it is the final U20 national team (being Zaire in the first instance). This means that you are actually editing Zaire U20 after you save the database when it appears from the GUI that you are editing your newly created team. This could potentially happen with many editing screens (including staff). I have now fixed this aspect of the issue.
A second issue is that even with this issue fixed, there is some copying of data from the newly created record to the final club in the clubs table (being Zaire U20). It only affects certain values and specifically those with drop-down menus. Strangely, it is not all drop-downs but just the Professional Status drop-down. A similar issue appears when importing data via a spreadsheet - the item currently viewed in the Editor will not be fully updated (specifically, certain drop-down menus). I was aware of this latter issue and have been trying to fix it, but now I know that the issue is much wider than I first thought. Had it not been for this additional issue, the temporary work around would be to navigate to another record immediately after saving as this would refresh the GUI. But this doesn't work because of this second "copying" issue.
The temporary work around is to exit the Editor after saving the database. It's not ideal, but all I can suggest whilst I continue to look at the bug.
- 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
Just to clarify, is this only in regards to adding a new club?archibalduk wrote:The temporary work around is to exit the Editor after saving the database. It's not ideal, but all I can suggest whilst I continue to look at the bug.
- archibalduk
- TBL Admin Team
- Posts: 20384
- 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
I've fixed the copying issue now, which is a relief. Thanks again to xECK29x for reporting this.
I'll try and get a new version out sooner rather than later but it'll need to wait until I have completed and fully tested the roster management changes.
I still need to fix the issue with the Importer though. It's a fairly minor issue, but an issue nonetheless.
I still need to fix the issue with the Importer though. It's a fairly minor issue, but an issue nonetheless.