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 Editor (2016)

Post by Alessandro »

wildcat62 wrote: I've been hoping to set up a North American structure with all four leagues (NHL/AHL/ECHL/SPHL) having four divisions of 8 teams each so every NHL team will have 3 unique affiliates each. Would I be able to accomplish this in the next release?
No
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 Editor (2016)

Post by archibalduk »

wildcat62 wrote:What about changing the names/parameters of staff awards?
This will be possible with the upcoming release of the Editor.
bäckström19
Junior League
Posts: 37
Joined: Fri Apr 26, 2013 4:12 pm

Re: EHM 1 Database Editor (2016)

Post by bäckström19 »

is there a way to edit my saving game...the other "in game save editor" guy , there always bring the update is not more here i think...
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 »

A new version of the Editor can be downloaded here: http://www.ehmtheblueline.com/forums/vi ... 93#p206841

This version uses a newer version of the C++ Redistributable (the 2015 version) compared with previous versions of the Editor. Please make sure you download this before trying to run the Editor: https://www.microsoft.com/en-gb/downloa ... x?id=48145

Note that this version is fairly untested and so, as always, use with caution (and plenty of backups!!). I have set out below the main changes (it has been 9 months in the making and I'm sure I have missed some things out).

CHANGELIST: VERSION 0.1.0 (22-Nov-2016)

New Features:
  • Finance information editing screen;
  • Player info/statistics editing screen (via the Staff editing screen);
  • Ruling bodies editing screen;
  • Saved game header editing screen;
  • Schedule template editing screen;
  • Schedule template importing from spreadsheets;
  • Stage names editing screen;
  • Transfer rules screen;
  • EHM 2004-2007 index screen;
  • Added initial limited support for EHM 2005 and 2007 databases (not fully working yet);
  • Added the possibility for EHM 2004 database editing in the future;
  • Saved game loading, saving, unpacking and editing support;
  • Added setting: File dialog window style (predominantly for testing purposes);
  • Added setting: Show import warning at start-up;
  • Added setting: Main menu toolbar size (larger size available for those who find the standard size is too small for their screen resolution);
  • Added setting: Default window state (the Editor will remember whether you last used the Editor in maximised window mode);
  • Added setting: Automatic removal of invalid affiliations;
  • Added setting: Sort staff data.
Fixes and Improvements:
  • The database is now fully decoded and all missing fields added to the respective editing screens;
  • The majority of the core Editor has been re-written and improved;
  • Items can be added to and deleted from certain tables/editing screens (including staff);
  • All drop-down menus can be customised via the Common folder in the Editor installation folder (the folder is created upon first loading the Editor);
  • Tidied up the Settings screen and added a new help pane (further tidying required);
  • Staff classification validation when changing a staff's Classification and/or Job;
  • Improved table editing screens with menu bar and right-click menu;
  • Mono colour icons replaced with colourful icons.
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
  • EHM 2004-2007 support not fully operational;
  • Not all data can be added or deleted yet (an error message will be displayed where this is not possible);
  • Clicking on the Cancel button when viewing the Open Database/Saved Game dialog will disable the Open buttons, requiring a restart of the Editor;
  • The Club Competition Basic Rules data is not yet editable owing to its complexity (this is the table which enables editing of league structures, etc). I hope to add this to the next version;
  • 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;
  • Stage Generic Type setting on the Stage Types editing screen is not yet user-friendly;
  • 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;
  • Altered club competition names do not carry across the various editing screens;
  • Only csv/txt file formats are supported at the moment;
  • The default file format and editor text settings do not currently work.
User avatar
wildcat62
Junior League
Posts: 16
Joined: Tue Feb 02, 2010 10:48 pm

Re: EHM 1 Database & Saved Game Editor

Post by wildcat62 »

If you hadn't already mentioned a significant other, this is when I'd propose to you.
zbguy
Top Prospect
Posts: 121
Joined: Wed Aug 28, 2013 7:01 pm

Re: EHM 1 Database & Saved Game Editor

Post by zbguy »

Beautiful. Can't wait to give it a whirl.
User avatar
riazorblues86
Top Prospect
Posts: 128
Joined: Sat Apr 11, 2015 7:49 pm
Favourite Team: New Jersey Devils

Re: EHM 1 Database & Saved Game Editor

Post by riazorblues86 »

I try edit my saved game, i only edited retired number because my most important n loyal player retired, but after that, all the name in team transaction window change to weird name..for example Eric Gelinas was change to david gelinas. and all name in transaction window is change by random name.

I check NHL transaction window, same problem occur..so far as i know, i didn't change it at all..why?

how to revert it back? since i'm not make backup..
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 »

riazorblues86 wrote:all the name in team transaction window change to weird name..for example Eric Gelinas was change to david gelinas. and all name in transaction window is change by random name.

I check NHL transaction window, same problem occur..so far as i know, i didn't change it at all..why?
I'm not sure I fully understand. Could you post some screenshots of the game showing the issue please? As I understand it, you added a new Retired Number entry in your saved game and some names elsewhere have become mixed up.
riazorblues86 wrote:how to revert it back? since i'm not make backup..
It's hard to say whether there is anything you can do to change it back. I have tried to make it really clear on the download page that this is largely untested software and you must make regular backups.
iaintevenmad1
Junior League
Posts: 21
Joined: Sat Mar 28, 2015 4:35 pm
Favourite Team: It's a secret
Location: Latvia

Re: EHM 1 Database & Saved Game Editor

Post by iaintevenmad1 »

The same happened for me as riazorblues86. Made some changes in the save game and upon loading the game again, all the first names were changed to random names.
Funnily enough, can't replicate it now a second time. :dunno:

Edit:
happened again.. not all the names are changed as I said previously, though.
Image
Image
Image

Edit 2:
a screen with actually changed names - none of these are clickable :
Image
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 »

iaintevenmad1 wrote:The same happened for me as riazorblues86. Made some changes in the save game and upon loading the game again, all the first names were changed to random names.
Funnily enough, can't replicate it now a second time. :dunno:
Thanks! That's very helpful. It looks as though the the first name IDs are being adjusted by one. I'll check it out. If it's a quick fix then I'll release a fixed version asap.

What changes did you make to your saved game? This will help me try to replicate the issue.
iaintevenmad1
Junior League
Posts: 21
Joined: Sat Mar 28, 2015 4:35 pm
Favourite Team: It's a secret
Location: Latvia

Re: EHM 1 Database & Saved Game Editor

Post by iaintevenmad1 »

Competitions > Finance Info > Min wage budget

Also moved a player from Free Agency to a team from People > Players & Staff > Club Contract.

Edit: just happened without making any changes at all.. the shortlist is trashed (as in emptied) as well, don't know if that's related
zbguy
Top Prospect
Posts: 121
Joined: Wed Aug 28, 2013 7:01 pm

Re: EHM 1 Database & Saved Game Editor

Post by zbguy »

Thanks again for the updated editor. I guess I'm submitting a bug report here because when I created a team in the database, the game crashed upon loading said database. I can add a league just fine, but adding a team, no matter how I adjust the parameters for it, makes the DB unusable.
User avatar
riazorblues86
Top Prospect
Posts: 128
Joined: Sat Apr 11, 2015 7:49 pm
Favourite Team: New Jersey Devils

Re: EHM 1 Database & Saved Game Editor

Post by riazorblues86 »

archibalduk wrote:
riazorblues86 wrote:all the name in team transaction window change to weird name..for example Eric Gelinas was change to david gelinas. and all name in transaction window is change by random name.

I check NHL transaction window, same problem occur..so far as i know, i didn't change it at all..why?
I'm not sure I fully understand. Could you post some screenshots of the game showing the issue please? As I understand it, you added a new Retired Number entry in your saved game and some names elsewhere have become mixed up.
riazorblues86 wrote:how to revert it back? since i'm not make backup..
It's hard to say whether there is anything you can do to change it back. I have tried to make it really clear on the download page that this is largely untested software and you must make regular backups.
Sorry Archi, I forget to post the print screen. but thanks to iaintevenmad1, its the same problem happened to him & me. But i only add new retired jersey for my team, no more than that. Suddenly, all first name change.

I found another problem, you can't ask your scouts to scout any player because its say you don't have anyone in that position. All my scouts cannot do their jobs.

Plus, when you click scouting menu, supposedly you can click & choose your scout before ask them to scout whereas you like, but now, the button is gone..Sorry no pic because I at my office. Tonight will post the pic again.
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 »

I have figured out the issue with the shortlists and head scouts disappearing. The solution is to ensure that all of the Maintenance options for saved games are disabled (see screenshot below). These settings should be set to disabled before you open the saved game (otherwise the Maintenance functions will be applied upon loading and the damage will have been done). I'm struggling to replicate the scrambled names issue. Maybe the abovementioned fix also fixes this issue. I did notice something in the Editor code which *might* cause an issue which I have now changed just in case - so perhaps that's why I'm unable to replicate the issue.

Anyhow, let me know if the settings fix resolves your issues (obviously it will not fix already bugged saved games).

I will check the club creation issue zbguy mentions next (thanks for reporting it). :thup:

Image
iaintevenmad1
Junior League
Posts: 21
Joined: Sat Mar 28, 2015 4:35 pm
Favourite Team: It's a secret
Location: Latvia

Re: EHM 1 Database & Saved Game Editor

Post by iaintevenmad1 »

That seems to have done it.
Thanks and good job. :grin:
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:Thanks again for the updated editor. I guess I'm submitting a bug report here because when I created a team in the database, the game crashed upon loading said database. I can add a league just fine, but adding a team, no matter how I adjust the parameters for it, makes the DB unusable.
I'm struggling to find the cause of this issue. The clubs are added to the database fine but EHM does not like it. I wonder if the table has to be re-ordered so that the club teams appear before the national teams in the database - but this would be inconsistent with how the Club Competitions table works. I'll check with Riz on this one...
zbguy
Top Prospect
Posts: 121
Joined: Wed Aug 28, 2013 7:01 pm

Re: EHM 1 Database & Saved Game Editor

Post by zbguy »

Thanks for the update.
User avatar
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

Post by nino33 »

Am I correct in thinking we can't yet remove teams from a League? (i.e. can't yet make the 74/92/98 databases accurate in terms of number of teams by reducing the size of playable Leagues)
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 »

nino33 wrote:Am I correct in thinking we can't yet remove teams from a League? (i.e. can't yet make the 74/92/98 databases accurate in terms of number of teams by reducing the size of playable Leagues)
Unfortunately I think you are correct.
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 »

nino33 wrote:Am I correct in thinking we can't yet remove teams from a League? (i.e. can't yet make the 74/92/98 databases accurate in terms of number of teams by reducing the size of playable Leagues)
That's correct - the current Editor cannot do this. The section of the database named Competition Basic Rules controls everything you will need in order to reduce the size of playable leagues, change structures, etc (I'm calling this table "Rules & Structures" in the Editor). I have started work on this but it is a large and complex table. Unlike the rest of the tables in the database (which are largely a basic tables of rows and columns), this particular table is more like a multi-layered table which requires me to design a lot of different editing screens that need to link together.

Here is a very early (and incomplete) screenshot:

Image
Djungelurban
Prospect
Posts: 58
Joined: Thu Nov 26, 2009 9:57 am

Re: EHM 1 Database & Saved Game Editor

Post by Djungelurban »

Has anyone successfully been able to replace a team in the NHL? Just for testing purposes I'm trying to replace Arizona Coyotes with Las Vegas Thunder, but every time I start a new game with that db file Arizona is still there, albeit unselectable. And Las Vegas is nowhere to be seen...
User avatar
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

Post by nino33 »

archibalduk wrote:
nino33 wrote:Am I correct in thinking we can't yet remove teams from a League? (i.e. can't yet make the 74/92/98 databases accurate in terms of number of teams by reducing the size of playable Leagues)
That's correct - the current Editor cannot do this. The section of the database named Competition Basic Rules controls everything you will need in order to reduce the size of playable leagues, change structures, etc (I'm calling this table "Rules & Structures" in the Editor). I have started work on this but it is a large and complex table. Unlike the rest of the tables in the database (which are largely a basic tables of rows and columns), this particular table is more like a multi-layered table which requires me to design a lot of different editing screens that need to link together.
Thanks for the reply! :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 »

Djungelurban wrote:Has anyone successfully been able to replace a team in the NHL? Just for testing purposes I'm trying to replace Arizona Coyotes with Las Vegas Thunder, but every time I start a new game with that db file Arizona is still there, albeit unselectable. And Las Vegas is nowhere to be seen...
Switching teams in playable leagues involves also updating the league structure of the relevant league (the structure includes a list of teams which play in each league/conference). This is the part of the Editor I'm working on at the moment. Hence it won't be possible to switch teams in playable leagues until I've finished this section of the Editor.
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 »

Djungelurban wrote:Has anyone successfully been able to replace a team in the NHL? Just for testing purposes I'm trying to replace Arizona Coyotes with Las Vegas Thunder, but every time I start a new game with that db file Arizona is still there, albeit unselectable. And Las Vegas is nowhere to be seen...
(I think) You need to set Arizona as inactive (eg delete all the nation/league information), and replace them with Vegas with the same division/conference setup. Then you have to add this line in the import config file
"FORCE_DATABASE_SET_TEAMS" "National Hockey League"
I have no time to test it, but i guess it's right.
EDIT: I didn't read that you want the Thunder in, I thought you wanted the new Vegas team. You have to replace the Thunder with another team in the ECHL (same alignment setup), then add "FORCE_DATABASE_SET_TEAMS" "ECHL" too.
Let us know.
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 »

Just to clarify the above works on an EHM 2007 format DB when importing via the game. It won't allow any further team changes via the Editor.
Post Reply