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:

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by archibalduk »

xECK29x wrote: Sun Mar 14, 2021 1:42 pm Running into a weird issue where I'm trying to mass-update Pass Tendency, it looks like this value may be getting ignored on import. I will provide a sheet via email.
I'll take a look this weekend.
boscolam444 wrote: Sun Mar 14, 2021 1:09 am Hello,Why I can't click on the Wizard button at the rules and structure???
Let me check. I'll let you know.
User avatar
TBIF
Top Prospect
Posts: 106
Joined: Sun Jan 01, 2017 8:38 pm
Custom Rank: 2000/01 Rosters Author
Favourite Team: Canucks

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by TBIF »

Not how this could be implemented but might be a bit fun for creating some fantasy players, but if we were to select a nation when creating a new staff, would be fun to have a "Randomize Name" button that pulled from the list of names under nation. Totally not needed though.
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:

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by archibalduk »

boscolam444 wrote: Sun Mar 14, 2021 1:09 am Hello,Why I can't click on the Wizard button at the rules and structure???
I just checked. It's because I haven't yet finished writing the function. It's incredibly complex and involves some hefty re-designing.
xECK29x wrote: Sun Mar 14, 2021 1:42 pm Running into a weird issue where I'm trying to mass-update Pass Tendency, it looks like this value may be getting ignored on import. I will provide a sheet via email.
It works for me. I suspect you have the "Calculate Pass Tendency" setting on the Import screen enabled (see under the "Players" section of the Import screen). This auto-sets the Pass Tendency for each person edited via spreadsheets, so it'll be overwriting whatever you put in your spreadsheet.
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:

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by archibalduk »

xECK29x wrote: Sat Feb 13, 2021 10:46 pm Hey Archi,

Can you swap Auto-Set Pass tendency and Strength? I've built up quite the muscle memory to click Auto-Set Strength as the top one in that list :).
Sorry I totally overlooked this for v0.5.1. Are you happy for me to swap these over for 0.5.2? I thought I'd check because I appreciate you might have gotten use to it being the other way round already! :-D
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1010
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by xECK29x »

archibalduk wrote: Sun Mar 21, 2021 3:42 pm It works for me. I suspect you have the "Calculate Pass Tendency" setting on the Import screen enabled (see under the "Players" section of the Import screen). This auto-sets the Pass Tendency for each person edited via spreadsheets, so it'll be overwriting whatever you put in your spreadsheet.
A ha that is it!
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1010
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by xECK29x »

archibalduk wrote: Sun Mar 21, 2021 3:44 pm Sorry I totally overlooked this for v0.5.1. Are you happy for me to swap these over for 0.5.2? I thought I'd check because I appreciate you might have gotten use to it being the other way round already!
lol yea I got used to it
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:

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by archibalduk »

I'll leave it in that case! :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:

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by archibalduk »

TBIF wrote: Thu Feb 18, 2021 8:07 pm Something that I would use personally that I think would be easy to implement is a copy and paste on the player attribute page. I do a lot of my player profiles through the editor rather than Excel and this would let me tackle a swarm of similar players at the same time just making minor adjustments here and there.
TBIF wrote: Fri Mar 19, 2021 7:42 pm Not how this could be implemented but might be a bit fun for creating some fantasy players, but if we were to select a nation when creating a new staff, would be fun to have a "Randomize Name" button that pulled from the list of names under nation. Totally not needed though.
I'm still working through various posts in this thread, but the above two are done for version 0.5.2.
bogii23
Junior League
Posts: 11
Joined: Tue Mar 23, 2021 7:57 pm
Favourite Team: Jesenice

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by bogii23 »

Hey all, I have downloaded latest rosters and when I want to use editor, it is all blank now, cant edit anything.

https://imgur.com/26pceVq
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by ideawithoutamind »

bogii23 wrote: Tue Mar 23, 2021 8:00 pm Hey all, I have downloaded latest rosters and when I want to use editor, it is all blank now, cant edit anything.

https://imgur.com/26pceVq
Looks like you are using the editor on a save game. I wouldn't edit a sav file as it's not fully supported. If you want to open it to see the structure, you need to Save As uncompressed.

That said, I'd find where the database file is of the db you want to edit. If you downloaded via steam, you need to look in the steamapps/eastside hockey manager folder, workshops. If you downloaded files from this site, you will want to copy them to your steam/ehm/data/database/database name folder. Important part, make a copy of it. Save it to a new folder and name it whatever you want to call your project. Then open that database file in the editor.
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1010
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by xECK29x »

Small request, can you add filters to ignore  “A” and  “C” in club names during import of career history data? Just removes one step from the process :)
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:

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by archibalduk »

Sorry I don't think I follow. Could you give an example?
User avatar
TBIF
Top Prospect
Posts: 106
Joined: Sun Jan 01, 2017 8:38 pm
Custom Rank: 2000/01 Rosters Author
Favourite Team: Canucks

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by TBIF »

Not positive but I'm assuming if you copy/paste from elite:

2017-18 Tampa Bay Lightning “A” NHL 80 4 14 18 18 29 | Playoffs 17 1 4 5 8 -3
2018-19 Tampa Bay Lightning “A” NHL 47 2 15 17 8 12 |
2019-20 Florida Panthers NHL 69 5 14 19 14 -6 | Playoffs 4 0 0 0 2 -5
2020-21 Florida Panthers NHL 29 3 6 9 6 -4 |
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1010
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by xECK29x »

TBIF wrote: Fri Mar 26, 2021 8:10 pm Not positive but I'm assuming if you copy/paste from elite:

2017-18 Tampa Bay Lightning “A” NHL 80 4 14 18 18 29 | Playoffs 17 1 4 5 8 -3
2018-19 Tampa Bay Lightning “A” NHL 47 2 15 17 8 12 |
2019-20 Florida Panthers NHL 69 5 14 19 14 -6 | Playoffs 4 0 0 0 2 -5
2020-21 Florida Panthers NHL 29 3 6 9 6 -4 |
Yup that is what I mean: https://www.eliteprospects.com/player/3656/eric-staal
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:

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by archibalduk »

Ah I see, thanks. I'll add that to the next release. :thup:
bogii23
Junior League
Posts: 11
Joined: Tue Mar 23, 2021 7:57 pm
Favourite Team: Jesenice

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by bogii23 »

Looks like you are using the editor on a save game. I wouldn't edit a sav file as it's not fully supported. If you want to open it to see the structure, you need to Save As uncompressed.

That said, I'd find where the database file is of the db you want to edit. If you downloaded via steam, you need to look in the steamapps/eastside hockey manager folder, workshops. If you downloaded files from this site, you will want to copy them to your steam/ehm/data/database/database name folder. Important part, make a copy of it. Save it to a new folder and name it whatever you want to call your project. Then open that database file in the editor.

I downloaded the game via steam. How do I save as uncompressed?
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:

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by archibalduk »

xECK29x wrote: Fri Mar 26, 2021 2:32 pm Small request, can you add filters to ignore “A” and “C” in club names during import of career history data? Just removes one step from the process :)
Are you importing using csv or xlsx? Xlsx is more doable as all speech marks are stripped from csv files when importing (so Anaheim Ducks "C" is actually processed as Anaheim Ducks C).

If you're using csv files then it'll have to be a bit hacky in that we'll just check to see if the club name ends in "<space>a" or "<space>c" (e.g. "Anaheim Ducks C"). Will this cause any potential conflicts with club names? E.g. if you had Altona Maroons Bantam "A" then it would try Altona Maroons Bantam if it couldn't find Altona Maroons Bantam A.

EDIT: I've added the above fall-back function in the event csv is imported. You'll just need to bear in mind the possibility of "Altona Maroons Bantam A" potentially being imported as "Altona Maroons Bantam" if "Altona Maroons Bantam A" does not exist, but this does seem like a very small chance.
bogii23 wrote: Sat Mar 27, 2021 7:55 am
Looks like you are using the editor on a save game. I wouldn't edit a sav file as it's not fully supported. If you want to open it to see the structure, you need to Save As uncompressed.

That said, I'd find where the database file is of the db you want to edit. If you downloaded via steam, you need to look in the steamapps/eastside hockey manager folder, workshops. If you downloaded files from this site, you will want to copy them to your steam/ehm/data/database/database name folder. Important part, make a copy of it. Save it to a new folder and name it whatever you want to call your project. Then open that database file in the editor.

I downloaded the game via steam. How do I save as uncompressed?
It's on the Preferences screen in-game.
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1010
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by xECK29x »

archibalduk wrote: Sat Mar 27, 2021 6:40 pm Are you importing using csv or xlsx? Xlsx is more doable as all speech marks are stripped from csv files when importing (so Anaheim Ducks "C" is actually processed as Anaheim Ducks C).

If you're using csv files then it'll have to be a bit hacky in that we'll just check to see if the club name ends in "<space>a" or "<space>c" (e.g. "Anaheim Ducks C"). Will this cause any potential conflicts with club names? E.g. if you had Altona Maroons Bantam "A" then it would try Altona Maroons Bantam if it couldn't find Altona Maroons Bantam A.

EDIT: I've added the above fall-back function in the event csv is imported. You'll just need to bear in mind the possibility of "Altona Maroons Bantam A" potentially being imported as "Altona Maroons Bantam" if "Altona Maroons Bantam A" does not exist, but this does seem like a very small chance.
I was already using a .xlsx so this shouldn't be an issue.
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1010
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by xECK29x »

What is the easiest way to mass delete specific career history entries again? I want to clear out any where Club or Competition is [None] or a specific competition.
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:

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by archibalduk »

xECK29x wrote: Wed Mar 31, 2021 4:42 pm What is the easiest way to mass delete specific career history entries again? I want to clear out any where Club or Competition is [None] or a specific competition.
Set the GP to zero for those entries and then go to People -> Mass Edit -> Delete entries with zero GP.

If easier, I can add an option to delete [None] clubs and comps.
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:

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by archibalduk »

ideawithoutamind wrote: Tue Mar 30, 2021 5:07 am*I can send you some examples at some point, but I've found certain UIDs behave differently in game (navigation doesn't work or is wonky), which can be resolved by creating a new club competition OR re-assigning existing as league. Not sure if this is an editor thing or an issue with 1.4.1 I've experienced same issue on Pivot/TBL.
Yes please. This isn't something I've come across before, aside from prior UID allocation issues which have since been fixed.
User avatar
xECK29x
TBL Rosters Researcher
Posts: 1010
Joined: Sun May 03, 2015 2:52 pm
Custom Rank: Premier Pivot Rosters Man
Favourite Team: New York Islanders

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by xECK29x »

archibalduk wrote: Wed Mar 31, 2021 9:20 pm If easier, I can add an option to delete [None] clubs and comps.
I think this would be a welcome addition
User avatar
TBIF
Top Prospect
Posts: 106
Joined: Sun Jan 01, 2017 8:38 pm
Custom Rank: 2000/01 Rosters Author
Favourite Team: Canucks

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by TBIF »

xECK29x wrote: Wed Mar 31, 2021 4:42 pm What is the easiest way to mass delete specific career history entries again? I want to clear out any where Club or Competition is [None] or a specific competition.
Other option, export all, mass delete all history, sort by [None], delete, re-import.
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by ideawithoutamind »

archibalduk wrote: Wed Mar 31, 2021 9:31 pm Yes please. This isn't something I've come across before, aside from prior UID allocation issues which have since been fixed.
I'll try to give you examples tomorrow!
User avatar
ideawithoutamind
TBL Rosters Researcher
Posts: 123
Joined: Sat Apr 11, 2015 5:54 am
Custom Rank: Global United Hockey
Favourite Team: Boston Bruins

EHM 1 Database & Saved Game Editor: BUG REPORTS & FEATURE REQUESTS

Post by ideawithoutamind »

ideawithoutamind wrote: Fri Apr 02, 2021 5:36 am archibalduk wrote: ↑Wed Mar 31, 2021 4:31 pm
Yes please. This isn't something I've come across before, aside from prior UID allocation issues which have since been fixed.

I'll try to give you examples tomorrow!
I'm strictly a 1.4.1 user, so not sure if this carries over to 1.5 (worth verifying before doing anything extensive troubeshooting to figure it out)

This is using a modified version of PremierPivot 5.5 (I had stripped out a bunch of the playable league rules, and copied the DEL and Germany setup over to a full Brazilian setup mimicking germany, and added Brazilian players (basically copied and renamed from German players)
Figured xECK29x may want to know this as well. I'll ping him on discord after I post this.
Brazilian Ice Hockey League

Let me know if you have any issues accessing it

This is not unique to creating new leagues, as I fiddled around with this when making GUH and got it working, but wondering if there's some behind the scenes things with UID that comes into play. I've tried using the UID validator in other cases, and it usually doesn't make a difference to this behavior

I included both databases, which should be identical in setup. Both leagues run and can sim without any issues. The issue is with the menu navigation.
Brazil BrokenMenu, Brazilian Ice Hockey League = 1246683
Clicking the top Trophy Icon, Brings you to the Overview screen (most working leagues bring you to standings)
On a team page, clicking the BIHL does nothing (other working leagues bring you to standings page)

Brazilian_NewUID, I renamed an existing extinct league (I kept the name and added ID in long name just for quick reference, but that is just cosmetic)= Brazilian Ice Hockey League (11214 - Alpen League)
I updated the teams to point to the new LeagueID and updated the stages, finance, rules, and transfer rules to point to the existing new ID.

Otherwise everything should be configured exactly the same.

Clicking Trophy Icon brings you to standings
Clicking BIHL from team page brings you to standings

The game and sim works fine, just the weird menu issue.
Post Reply