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.
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
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.
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.
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!
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!!
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.
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.
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.
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
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! 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)
Also, I'm still curious if a player can be deleted?
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.
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.
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?
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).
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
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?
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.
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.