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
88_06_12
Junior League
Posts: 29
Joined: Sun Mar 25, 2018 4:10 pm
Favourite Team: Leksand

EHM 1 Database & Saved Game Editor

Post by 88_06_12 »

archibalduk wrote: Tue Jun 19, 2018 7:20 pm The file appeared in the same folder as the DB in version 0.2.8 because of a bug (the DB file was being saved into the .ehm file). The Editor imports the contents of the .ehm file into the DB and so there is no separate file once imported as it is contained within the DB file. The .ehm file is just a handy way to transfer data from one DB to another.
Thanks Archi! Both for the response and for the overall work :notworthy:
bneff14
Learning to skate
Posts: 1
Joined: Mon Apr 28, 2014 5:49 am

EHM 1 Database & Saved Game Editor

Post by bneff14 »

Hey guys, just wondering if someone can help me. I'm a long time player trying to get back in. I have ehm and am trying to get the update for the editor. When I go to try and download from the link above I get an error.

This site cant be reached
1drv.ms refused to connect

I've tried using a different browser, same error. I've tried googling maybe I had some setting I needed to change couldnt get it to work. Even tried getting the link on my phone and downloading it and I couldnt make that work either.

Also if I go to something different like the manimal rosters I used to dl or like tbl rosters from the past I can still dl those. Any help trying to figure this out would be appreciated.
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

Post by archibalduk »

I'm making the switch from 32-bit to 64-bit and so you'll need to download and install the Microsoft Visual C++ Redistributable for Visual Studio 2017 (64-bit / x64) in order to run the next version of the Editor. This is a very cursory test, but it seems the change will result in an increase in RAM usage by 50% (380mb up from 255mb on my test) and a 12% speed improvement when loading DBs (e.g. 7.715 secs down from 8.809 secs). Mileage will obviously vary by system and database. I hope to decrease RAM usage a little with a bit of tweaking. In reality there may be little/no noticeable difference but it makes sense to move away from a 32-bit platform now that 64-bit is the standard.
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

Post by xECK29x »

:thup:
User avatar
Geordie_Bolts
Junior League
Posts: 43
Joined: Fri Sep 16, 2011 12:46 am

EHM 1 Database & Saved Game Editor

Post by Geordie_Bolts »

Apologies in advance if I've overlooked anything or if I'm just flogging a dead horse here but with the latest versions of EHM, TBL Rosters and the Editor is there a sustainable way to edit the NHL salary cap within a saved game? I searched for salary cap posts in this thread and it hadn't been mentioned since Feb so thought I'd check again!! I have tried with the Editor but where I looked it already had the NHL cap at £80mil to start...I can't get it to increase from the £75mil in game.
I know that EHM Assistant used to be able to do it but I don't seem to be able to find a version of that which works alongside the latest version of EHM.
Any advice or suggestions would be appreciated.
Thanks!
haneman
Junior League
Posts: 16
Joined: Fri Aug 14, 2015 9:11 pm
Favourite Team: esbjerg energy

EHM 1 Database & Saved Game Editor

Post by haneman »

Is it possible to change the number of allowed foreigners in league?
User avatar
Geordie_Bolts
Junior League
Posts: 43
Joined: Fri Sep 16, 2011 12:46 am

EHM 1 Database & Saved Game Editor

Post by Geordie_Bolts »

Geordie_Bolts wrote: Thu Jun 28, 2018 2:36 pm Apologies in advance if I've overlooked anything or if I'm just flogging a dead horse here but with the latest versions of EHM, TBL Rosters and the Editor is there a sustainable way to edit the NHL salary cap within a saved game?
I figured it out, I was just looking under the wrong heading of the editor. Rookie mistake!!
Wild94
Top Prospect
Posts: 143
Joined: Wed Nov 03, 2010 9:39 pm
Location: DDO

EHM 1 Database & Saved Game Editor

Post by Wild94 »

I hate asking this because I probably missed it or am missing a simple step, how do I load the TBL database into the editor ? I want to add myself into the databas and I can’t find it in the EHM 1 data base files, I am subcribded through steam.
Hansovic
Learning to skate
Posts: 3
Joined: Mon Nov 20, 2017 12:59 pm
Favourite Team: Colorado Avalanche

EHM 1 Database & Saved Game Editor

Post by Hansovic »

Hello,,
I have unpack my Db and i want to repack it. How can i do?

Thank you.
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

Post by archibalduk »

Wild94 wrote: Wed Jul 04, 2018 3:29 am I hate asking this because I probably missed it or am missing a simple step, how do I load the TBL database into the editor ? I want to add myself into the databas and I can’t find it in the EHM 1 data base files, I am subcribded through steam.
This is the wrong thread, but here is your answer: https://www.ehmtheblueline.com/forums/v ... 16#p225184
Hansovic wrote: Thu Jul 05, 2018 1:47 am Hello,,
I have unpack my Db and i want to repack it. How can i do?

Thank you.
This is not currently possible. The Unpack function is purely for helping me test out the Editor. It has no real utility for editing data.
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

Post by xECK29x »

Potential ability for non-player staff is not being saved if you enter a value and hit save. Still have to hit tab off that space it appears.
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

Post by archibalduk »

I will take a look. It ought to be auto-saved now but perhaps I missed something.
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

Post by xECK29x »

Would it be possible to add the ability to delete names from the database? I see some bad typos in there I wouldn't want the game to generate players/staff with those names if possible.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

EHM 1 Database & Saved Game Editor

Post by nino33 »

Am I able to delete a player in a database?
If this can be done, how? Select/highlight the player and click on Delete Item?
User avatar
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

EHM 1 Database & Saved Game Editor

Post by Manimal »

nino33 wrote: Wed Aug 01, 2018 4:37 pm Am I able to delete a player in a database?
If this can be done, how? Select/highlight the player and click on Delete Item?
I've never tried the Delete Item.
I retire the players and then all retired players gets removed together with some option in the editor that Archi always runs before a release
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

EHM 1 Database & Saved Game Editor

Post by nino33 »

Manimal wrote: Wed Aug 01, 2018 9:07 pm I've never tried the Delete Item.
I retire the players and then all retired players gets removed together with some option in the editor that Archi always runs before a release
Thanks much! :thup: I've been doing just player CA/PA and Roles/Attributes for so long now, I'd forgotten about the retiring option HaHa



I don't see where the option is to delete retired players with this editor (I'm using v0.2.6) :-k
Also, I'm still curious if a player can be deleted? :-)
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

Post by archibalduk »

nino33 wrote: Wed Aug 01, 2018 4:37 pm Am I able to delete a player in a database?
If this can be done, how? Select/highlight the player and click on Delete Item?
I had to double-check as it was such a long time ago when I worked on player/non-player deletion! You're right - you can click on the Delete Item button to delete a person. The Delete Item button will delete the item currently viewed in the editing screen. E.g. if you are viewing an official then you'll delete that official by clicking on the Delete Item button. Not all items can be deleted yet (e.g. clubs) - this will be apparent because you'll get an error message saying "Unable to delete any rows" when clicking on the button. Eventually I would like all data to be delete-able (such as name data as xECK29x suggests) but it's lower priority to other stuff.

Persons set as Retired or Invalid will also be deleted if you have the right setting enabled - see my note below in response to Manimal's quote:
Manimal wrote: Wed Aug 01, 2018 9:07 pmI've never tried the Delete Item.
I retire the players and then all retired players gets removed together with some option in the editor that Archi always runs before a release
This is actually done by default each time you load/save a database if you have the Database Validation: Staff data setting enabled in the Editor (see the Settings -> Database screen). This is a bit different to the old EHM 2007 Updater where there was a separate setting for this which I would run each time before release.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

EHM 1 Database & Saved Game Editor

Post by nino33 »

Thanks Arch! :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

Post by archibalduk »

I have come across a crash when importing club histories. I have spent hours trying to debug it but cannot get to the bottom of the issue (it is simply an unspecified memory access violation). I expect that I will need to re-write the importing function for club histories (I'll try a slightly slower method).

In the meantime, please save your database before importing any club histories. This will avoid losing any unsaved data in the event you encounter this crash.

EDIT (27-AUG-18): This is now fixed for upcoming version 0.3.0.
Great Imp
Junior League
Posts: 6
Joined: Wed Jul 12, 2017 10:19 am
Favourite Team: Toronto

EHM 1 Database & Saved Game Editor

Post by Great Imp »

Hi Archie,
first, again thank you so much for all your work regarding the editor. I use that extensively:)
Right now, I am writing a program to reduce the CA of older players (when some conditions are met). In principle, I want to prevent that tons of 35+ year old players are still playing like young gods.

To do that, I load a saved game with your editor. Then, I reduce the CA value.
However, there are no changes to the player attributes. Even after I advanced the game a couple of days.
Do you happen to know why reducing the CA has no impact on the attributes?

Besides: I can - of course - easily modify the individual attributes. But, as we all know, they are somewhat parameterized. Have you ever heard of a formula to go from the parameterized version to the visible version in the game?

Thank you so much and cheers:)
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

Post by archibalduk »

I do not really know how EHM updates/develops CA in-game, but I imagine that the game does not continuously monitor a player's CA rating throughout the season. Maybe the game will update the attributes when it next updates data on approx 1 July or 1 January in-game. However, I do wonder if EHM has really been designed to deal with adjusting attributes mid-game following a CA increase. The reason it does it right at the beginning of the game is to ensure that the attributes and CA in the database are appropriate. I wouldn't be surprised if EHM works on the assumption that once a game has been created, players will develop per the in-game development curve/process and will not be subject to any external editing which might adjust things in unexpected way.

Unlike EHM 2007, attributes in an EHM 1 saved game are no longer encoded/paramatised. Instead they use a simple 1-100 range (so you can multiply/divide by 5 to convert from/to the 1-20 range).
Great Imp
Junior League
Posts: 6
Joined: Wed Jul 12, 2017 10:19 am
Favourite Team: Toronto

EHM 1 Database & Saved Game Editor

Post by Great Imp »

Hi Archi, thanks for your answer!
I think after playing so much EHM 2007 I just took the encoded attributes for granted:)
I will make some tests. If you are interested, I can give you some feedback:)
Cheers
User avatar
LaMachine
Learning to skate
Posts: 1
Joined: Sat Sep 01, 2018 1:14 pm
Favourite Team: Edmonton

EHM Editor

Post by LaMachine »

i'm using ehm editor since yesterday and i want to do a roster 18-19 but i'm unable to put the functions in 1-100, i'm going to database header and i check 1-100 but i can not change the skills above 20. What can I do?


Thank you for your help !
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

Post by archibalduk »

LaMachine wrote: Sat Sep 01, 2018 1:19 pm i'm using ehm editor since yesterday and i want to do a roster 18-19 but i'm unable to put the functions in 1-100, i'm going to database header and i check 1-100 but i can not change the skills above 20. What can I do?


Thank you for your help !
The 1-100 range in the Database Header does not work with DBs IIRC. I believe this only works with saved games. Whilst I could add a setting to allow you to input 1-100 ratings via the Editor, I don't think these will work in the Editor and you would in any event have to edit every single player's attributes in order to change them from 1-20 to 1-100.
nuggett
Junior League
Posts: 31
Joined: Sat Mar 06, 2010 12:13 pm

EHM 1 Database & Saved Game Editor

Post by nuggett »

May have asked this before, but anything in the works for the editor that will let you clear a DB so you start with a fresh history with records, stats, etc.

Thanks.
Post Reply