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
ZaZooM
Prospect
Posts: 79
Joined: Fri Sep 03, 2010 5:26 pm
Favourite Team: Lokomotiv Yaroslavl / NY Rangers
Location: Moscow, Russia

Re: EHM 1 Database & Saved Game Editor

Post by ZaZooM »

Fast arena edit from team menu too.
Jagr
Junior League
Posts: 6
Joined: Thu Feb 11, 2016 6:52 pm
Favourite Team: Washington Capitals

Re: EHM 1 Database & Saved Game Editor

Post by Jagr »

So does this editor work well?

I mean, if I try to edit some attributes on a certain player from my saved game does it work like it should be? Not crash etc. Like the ol' good saved-game editor in EHM07 worked.
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 »

Jagr wrote:So does this editor work well?

I mean, if I try to edit some attributes on a certain player from my saved game does it work like it should be? Not crash etc. Like the ol' good saved-game editor in EHM07 worked.
Editing attributes in a saved game should be fine (but do keep a backup of your saved game). But note that the game uses a 1-100 range (IIRC) for attributes. If you try and do more elaborate things such as trying to change contract details, etc then you will start running into issues.
Jagr
Junior League
Posts: 6
Joined: Thu Feb 11, 2016 6:52 pm
Favourite Team: Washington Capitals

Re: EHM 1 Database & Saved Game Editor

Post by Jagr »

archibalduk wrote: Editing attributes in a saved game should be fine (but do keep a backup of your saved game). But note that the game uses a 1-100 range (IIRC) for attributes. If you try and do more elaborate things such as trying to change contract details, etc then you will start running into issues.

Alright thanks. But I have a problem: I opened the editor and tried to load a saved game. I thought everything was working fine since it loaded the game etc.

Then I went to the section where you can find the players & edit their attributes etc. but there were none. If I remember right the same problem occurred on the teams, arenas etc.

How to solve this?
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 »

Were you trying to load a compressed save game? The Editor does not support compressed saved games.
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 could You have a look on below problem?

We have activated Major Finnish U20 SM-Liiga but have problems with schedule. We used schedule template but somehow one team (JYP U20) is playing 59 games in season (in template all teams had 48 games). Dates also aren't the same as we set. It might be a game or editor problem? What could be a hint that Liiga has 60dates set up in schedule dates. Maybe its connected? I uploaded db if You can have a look. I tried to solve it many ways but still failed. Thanks.

http://www16.zippyshare.com/v/4kqQaKPo/file.html
zbguy
Top Prospect
Posts: 121
Joined: Wed Aug 28, 2013 7:01 pm

Re: EHM 1 Database & Saved Game Editor

Post by zbguy »

Quick question for Archi: What are the plans to expand importing features in the editor? I'd like to update some of the cities in the game, and it'll be a pretty big task... unless I could import them from a CSV file. Is that on the radar?
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 »

zbguy wrote:Quick question for Archi: What are the plans to expand importing features in the editor? I'd like to update some of the cities in the game, and it'll be a pretty big task... unless I could import them from a CSV file. Is that on the radar?
I started work on importing recently (there's an update on the previous page of this thread). The top priority is player career history and staff updating (creating and editing player and non-player data). After I have finished those, I'll be looking at some basic filters. And then I'll likely return to data importing functions. I would also like to update the cities as there are many missing. IIRC there is an open source city data website which I once came across - it'd be great to transfer some of that data into the DB.
Named wrote:Archi could You have a look on below problem?

We have activated Major Finnish U20 SM-Liiga but have problems with schedule. We used schedule template but somehow one team (JYP U20) is playing 59 games in season (in template all teams had 48 games). Dates also aren't the same as we set. It might be a game or editor problem? What could be a hint that Liiga has 60dates set up in schedule dates. Maybe its connected? I uploaded db if You can have a look. I tried to solve it many ways but still failed. Thanks.

http://www16.zippyshare.com/v/4kqQaKPo/file.html
In all likelihood it'll be an issue with the way you set up the data. If the Editor had an issue with schedule dates then it would affect every single schedule template in the database. I can take a look but not for a week or so. I'm out of the country this weekend (for hockey!) and my working hours are hideous at the moment (50-60 hours per week :().
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 started work on importing recently (there's an update on the previous page of this thread). The top priority is player career history and staff updating (creating and editing player and non-player data). After I have finished those, I'll be looking at some basic filters. And then I'll likely return to data importing functions. I would also like to update the cities as there are many missing. IIRC there is an open source city data website which I once came across - it'd be great to transfer some of that data into the DB.
I'm not sure it's a good idea. We did it for Italy, and the result is that people gets born in places where hockey doesn't exist, it was very unrealistic. May be different for places like the US or Canada, but I think that in most European countries (maybe not in Scandinavia?) there would be the same problem.
User avatar
ZaZooM
Prospect
Posts: 79
Joined: Fri Sep 03, 2010 5:26 pm
Favourite Team: Lokomotiv Yaroslavl / NY Rangers
Location: Moscow, Russia

Re: EHM 1 Database & Saved Game Editor

Post by ZaZooM »

Alessandro wrote: I'm not sure it's a good idea. We did it for Italy, and the result is that people gets born in places where hockey doesn't exist, it was very unrealistic. May be different for places like the US or Canada, but I think that in most European countries (maybe not in Scandinavia?) there would be the same problem.
Russia - no problem.
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: EHM 1 Database & Saved Game Editor

Post by BKarchitect »

AHHHHH! Archi, not sure if this is a bug or not but I was editing my database, saved and checked for errors like normal...then went into the game to test it and NONE of the leagues are showing up. Not even the standard leagues. Went back into my db in the editor - and while all the leagues are still there - all the league structure (playable league) data, league rules and league schedule templates are gone. There's no data.

I have a backup but it is many hours of player editing old. I know you can unpack the db file into parts but is there a way I can repack my screwed up db player data with the competition structure data from my backup or do I need to recreate every league structure in the game in my current file if I don't want to lose my edits to the players?
User avatar
Buho
Junior League
Posts: 37
Joined: Mon Mar 13, 2017 5:47 pm
Favourite Team: NYR

Re: EHM 1 Database & Saved Game Editor

Post by Buho »

Can someone please help me!

I downloaded modified TBL Roster from steam workshop (it's the one with trades up until march) and decided to make a few changes. Nothing fancy. The main goal was to update roster numbers, move a couple of players (like McIlrath to Red Wings and J.Fontaine is still in Hartford for some reason), update retired numbers across NHL and adjust some players positions and roles.

But I noticed that with more changes I make (I'm using EHM Editor v0.1.7) more player become rookies in the game (I'm talking about number of seasons acquired in the "information" tab in players profiles). Players like Lundqvist, Yandle, Sedin brothers now all have "no seasons acquired" and Yandle is the only one whose jersey number I changed (JT Miller is the only one who went in other direction, from 2 to 12 seasons acquired).

I had similar problem a couple of month ago using EHM Editor v0.1.4, but back then every player with "no seasons acquired" in the game had a clear Statistics tab in the editor (and a mismatch between Record ID and Staff ID). But now everything is fine in the Editor (all statistics are in place) but in the game the amount of players with "no seasons acquired" keeps getting bigger. "History" tabs are all fine in both the game and the editor.

So please, can anyone explain whether it's me missing something or it's some sort of bug in the editor?

btw I've tried to update jersey numbers editing saved game file. Did a couple of changes, everything was fine. So I did all 30 NHL teams and got "memory allocation problem" message. was unable to load that save file.
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:AHHHHH! Archi, not sure if this is a bug or not but I was editing my database, saved and checked for errors like normal...then went into the game to test it and NONE of the leagues are showing up. Not even the standard leagues. Went back into my db in the editor - and while all the leagues are still there - all the league structure (playable league) data, league rules and league schedule templates are gone. There's no data.

I have a backup but it is many hours of player editing old. I know you can unpack the db file into parts but is there a way I can repack my screwed up db player data with the competition structure data from my backup or do I need to recreate every league structure in the game in my current file if I don't want to lose my edits to the players?
That is very alarming. What do you mean about checking for errors - are you referring to a specific function in the Editor? I would be very interested to know the exact steps you took when saving the DB in case it is a bug. Also if there is anything unusual you did prior to the time you saved it. I will add some more logging to the Editor's log file so that we can try and track these sorts of issues a little more closely.

I can't remember if re-packing is in the latest Editor, but it was in an earlier version and should be fine to use. If you can upload a copy of your corrupted DB and your backup DB then I can transfer over the structures/rules/schedules from your backup DB to the corrupted DB.
Buho wrote:Can someone please help me!

I downloaded modified TBL Roster from steam workshop (it's the one with trades up until march) and decided to make a few changes. Nothing fancy. The main goal was to update roster numbers, move a couple of players (like McIlrath to Red Wings and J.Fontaine is still in Hartford for some reason), update retired numbers across NHL and adjust some players positions and roles.

But I noticed that with more changes I make (I'm using EHM Editor v0.1.7) more player become rookies in the game (I'm talking about number of seasons acquired in the "information" tab in players profiles). Players like Lundqvist, Yandle, Sedin brothers now all have "no seasons acquired" and Yandle is the only one whose jersey number I changed (JT Miller is the only one who went in other direction, from 2 to 12 seasons acquired).

I had similar problem a couple of month ago using EHM Editor v0.1.4, but back then every player with "no seasons acquired" in the game had a clear Statistics tab in the editor (and a mismatch between Record ID and Staff ID). But now everything is fine in the Editor (all statistics are in place) but in the game the amount of players with "no seasons acquired" keeps getting bigger. "History" tabs are all fine in both the game and the editor.

So please, can anyone explain whether it's me missing something or it's some sort of bug in the editor?
I suspect it is linked to the fact that the Editor does not yet recalculate the "runtime data" which relates to the Player Info/Stats tab in the Editor. Can you upload a copy of your edited DB? I can then take a look and confirm.
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: EHM 1 Database & Saved Game Editor

Post by BKarchitect »

Archi - can't think of anything unusual about what I was doing between the DB when it was fine and when I saved it and noticed everything wiped out. And yeah I mean just the editor function of checking for errors. I've never had an error or issue saving this particular DB and didn't know what had happened until I tried to start a test game.

I'll upload some stuff later today, thanks for the quick response.
User avatar
Buho
Junior League
Posts: 37
Joined: Mon Mar 13, 2017 5:47 pm
Favourite Team: NYR

Re: EHM 1 Database & Saved Game Editor

Post by Buho »

to archibalduk

There is two db's

this one has schedule imported (from TBL 7.4 if I'm not mistaken), retired numbers updated, and roster numbers updated for 3or4 teams.
I found only one "rookie" in this one (Keith Yandle)
https://1drv.ms/u/s!At9-sBikhpunam0qIvokuO67fmg

another one is pretty much the same just couple of hours younger. has roster numbers done for maybe 10 teams.
there's a lot of "rookies" in this one
https://1drv.ms/u/s!At9-sBikhpunaxwSjkDpO-PzxXA

Thanks a lot for your help!
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: EHM 1 Database & Saved Game Editor

Post by BKarchitect »

Here is the current database with the errors.
https://www.dropbox.com/s/lotxk8lcx00oo ... se.db?dl=0
What is missing/got wiped out is:
- Finance Info
- Rules & Structures
- Ruling Bodies
- Schedule Templates
- Transfer Rules

I'd like to preserve the player and non-player data from it.

This database should have the league info correct to pack back with the first DB player data if possible:
https://www.dropbox.com/s/xbwstavh41kvi ... se.db?dl=0
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 »

Thanks. I will try and take a look tonight. Could you also upload the log.txt file from your Editor folder please? Do you know the time and date of when you saved it and the corruption occurred? I wonder if something triggered the EHM 2007 mode in the Editor just prior to saving.
BKarchitect
Second Line
Posts: 656
Joined: Sat Jan 07, 2012 11:21 pm

Re: EHM 1 Database & Saved Game Editor

Post by BKarchitect »

Here is the log to the time and date it was last saved prior to not having league info:
https://www.dropbox.com/s/yjp6o02eb17ibwi/log.txt?dl=0

Do you know which version of the editor had a repacking function? I can do that part myself (repairing my database) if you can link the version that has it.

Thanks Archi!

EDIT: Nevermind - rebuilt the entire league structures with Editor export and import functions. Saved me...that worked well!
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 - "Club limited to use natural domestic players only" in extra rules should not be a true/false, but it should be able to read the team unique ID
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:Here is the log to the time and date it was last saved prior to not having league info:
https://www.dropbox.com/s/yjp6o02eb17ibwi/log.txt?dl=0

Do you know which version of the editor had a repacking function? I can do that part myself (repairing my database) if you can link the version that has it.

Thanks Archi!

EDIT: Nevermind - rebuilt the entire league structures with Editor export and import functions. Saved me...that worked well!
I'm glad you managed to figure it out. :thup: I'm sorry I couldn't get back to you yesterday - I got stuck at work til late (same again tonight). :-( Buho - I'll have to look at yours on Friday now.
Alessandro wrote:Archi - "Club limited to use natural domestic players only" in extra rules should not be a true/false, but it should be able to read the team unique ID
Thanks. I'll fix for the next version. :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 »

BKarchitect wrote:Here is the log to the time and date it was last saved prior to not having league info:
https://www.dropbox.com/s/yjp6o02eb17ibwi/log.txt?dl=0

Do you know which version of the editor had a repacking function? I can do that part myself (repairing my database) if you can link the version that has it.
Hmm there's nothing there to suggest any issue with changing mode.

Is it normal to take 28 seconds to load the database for you? It takes 6 seconds on mine (and about 9 seconds on my older laptop). I know in the past when I had a corrupt DB the loading time can increase significantly.

I'm going to try and add some more logging data to the next Editor to try and help track what on earth went wrong (should it happen again).
adawxawx
Prospect
Posts: 54
Joined: Sun Jul 06, 2008 8:52 am

Re: EHM 1 Database & Saved Game Editor

Post by adawxawx »

I cant import EHM07 databases that were saved by the editor in EHM1? Anyone know why?? The game crashes when importing

All I did was load the .db file, save as EHM07 db then try importing it in EHM1. No modifications. This causes crashes for any DB I use
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 »

If you are loading a .db file then this is in EHM 1 format and there is no need to save as EHM 2007 format. Just save it as EHM 1 format and start a new game.
swmlon
Learning to skate
Posts: 2
Joined: Wed Feb 15, 2017 2:40 pm
Favourite Team: Canadiens

Re: EHM 1 Database & Saved Game Editor

Post by swmlon »

Is it possible to import spreadsheet data through the editor? All the import buttons are greyed out and it's not possible. Is there a missing module I need to install?
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 »

swmlon wrote:Is it possible to import spreadsheet data through the editor? All the import buttons are greyed out and it's not possible. Is there a missing module I need to install?
It's coming soon.
That being said, new guys
* PLEASE READ ALSO THE OLDER PAGES, NOT JUST THE LAST POST *
Post Reply