Page 64 of 82
EHM 1 Database & Saved Game Editor
Posted: Sun Apr 19, 2020 9:37 pm
by archibalduk
xECK29x wrote: Sun Apr 19, 2020 3:02 pm
Small request, under cities can you put a counter for how many times its used? Will help me in some of the work to remove duplicates/wrong entries. Similar to how names are counted.
It's actually pretty fiddly to add for the current Editor (lots of tables use city data). I will try to add this to the Editor v2 however. In the meantime, if you rename one of the cities to include something like "Duplicate" at the end of the name then you can export staff/arena/nation spreadsheets to see where they're used.
EHM 1 Database & Saved Game Editor
Posted: Mon Apr 20, 2020 11:56 am
by xECK29x
What about adding player/staff filter for place of birth to find those renamed entries?
EHM 1 Database & Saved Game Editor
Posted: Mon Apr 20, 2020 11:57 am
by xECK29x
archibalduk wrote: Sun Apr 19, 2020 9:37 pm
It's actually pretty fiddly to add for the current Editor (lots of tables use city data). I will try to add this to the Editor v2 however. In the meantime, if you rename one of the cities to include something like "Duplicate" at the end of the name then you can export staff/arena/nation spreadsheets to see where they're used.
Yea that's exactly what I've been doing! Not a problem
EHM 1 Database & Saved Game Editor
Posted: Mon Apr 20, 2020 12:57 pm
by archibalduk
xECK29x wrote: Mon Apr 20, 2020 11:56 am
What about adding player/staff filter for place of birth to find those renamed entries?
Yes I can add that to the next release.
EHM 1 Database & Saved Game Editor
Posted: Mon Apr 20, 2020 11:47 pm
by TBIF
Can we export individual players to excel from their player page?
EHM 1 Database & Saved Game Editor
Posted: Tue Apr 21, 2020 8:38 am
by archibalduk
TBIF wrote: Mon Apr 20, 2020 11:47 pm
Can we export individual players to excel from their player page?
No but you can export all players from the Export Spreadsheet screen and then filter out the relevant row in Excel.
EHM 1 Database & Saved Game Editor
Posted: Wed Apr 29, 2020 9:23 pm
by BulldogsFan
Im confused... so I went and followed Archi's notes... to install the Visual C++ Redistributable for Visual Studio 2015 and then to open the editor and i am still getting the missing VCruntime140.dlll file
EHM 1 Database & Saved Game Editor
Posted: Wed Apr 29, 2020 9:59 pm
by archibalduk
We're now using the 2019 Redistributable. Here's the link (you need the x64/64-bit version):
https://aka.ms/vs/16/release/VC_redist.x64.exe
EHM 1 Database & Saved Game Editor
Posted: Wed Apr 29, 2020 10:28 pm
by BulldogsFan
Archi...
Question about your svae editor... If i sim to March 22nd 2019 or something and i can a team can i delete that team history or no?
EHM 1 Database & Saved Game Editor
Posted: Mon May 04, 2020 1:42 pm
by xECK29x
Request from one of our researchers, he would like to see keyboard navigation added to the menus, so when he scrolls up/down with the keyboard it will refresh the pane on the right, same functionality for all screens. Would be nice to be able to page up/down actually instead of clicking sometimes

.
EHM 1 Database & Saved Game Editor
Posted: Tue May 05, 2020 2:21 pm
by archibalduk
xECK29x wrote: Mon May 04, 2020 1:42 pm
Request from one of our researchers, he would like to see keyboard navigation added to the menus, so when he scrolls up/down with the keyboard it will refresh the pane on the right, same functionality for all screens. Would be nice to be able to page up/down actually instead of clicking sometimes

.
Good point. That has bugged me for some time too. I'll see if I can add it to the upcoming release of the Editor.

EHM 1 Database & Saved Game Editor
Posted: Thu Jul 09, 2020 6:18 pm
by m4ch1n13d351r3
Hi, I've been having some issues trying to edit player attribute data for yojimbro1111's WIP 92/93 database in the editor. (This is not the 24 team DB but the 30 team version found on the Workshop.) Every time I create a copy of the database and then attempt to change attributes and save, all of the data in the copy file is deleted. Any help would be greatly appreciated!
EHM 1 Database & Saved Game Editor
Posted: Thu Jul 09, 2020 10:19 pm
by archibalduk
It sounds like you're not using Run as Administrator when running the Editor. Right-click on the EHM Editor.exe and click on Run as Administrator.
You can make Run as Administrator permanent by following these instructions:
https://www.itechtics.com/run-programs- ... inistrator
EHM 1 Database & Saved Game Editor
Posted: Thu Jul 09, 2020 10:28 pm
by m4ch1n13d351r3
That's not it, unfortunately, I have admin mode enabled. I'll do some more troubleshooting and see if anything manifests.
EHM 1 Database & Saved Game Editor
Posted: Sun Jul 12, 2020 10:34 pm
by xECK29x
Feature request: Can you add a yellow warning label to active clubs where Professional Status is set to [None]? I found a bunch of these (mostly junior clubs)
EHM 1 Database & Saved Game Editor
Posted: Wed Jul 15, 2020 3:30 am
by nino33
Is it possible to be able to edit League Records and Team Records via exporting/importing a spreadsheet?
It doesn't seem to be that I can see.....could the ability to do so be added to the editor?
EHM 1 Database & Saved Game Editor
Posted: Wed Jul 15, 2020 9:53 pm
by archibalduk
At present I'm afraid it isn't possible. If I can find the time, I'll add it to the Editor but in any event it will definitely be in for Editor v2. It's a bit fiddly to add to the current Editor compared with the existing import spreadsheets.
EHM 1 Database & Saved Game Editor
Posted: Wed Jul 15, 2020 10:00 pm
by xECK29x
Archi did we ever get the ability to delete career history records added? I want to spend some time purging old history records for qualifying rounds/relegation playoffs as technically they aren't playoffs or regular season and thus don't fit the supported schema.
EHM 1 Database & Saved Game Editor
Posted: Thu Jul 16, 2020 5:51 am
by nino33
archibalduk wrote: Wed Jul 15, 2020 9:53 pm
At present I'm afraid it isn't possible. If I can find the time, I'll add it to the Editor but in any event it will definitely be in for Editor v2.
Great
P.S. I've got NHL as well as some Minor Pro/Major Junior Guides that I could use to provide Team/League Records for the 1992, 1998 and 2000 databases

EHM 1 Database & Saved Game Editor
Posted: Sat Jul 18, 2020 11:54 am
by Geordie_Bolts
I don't think this issue has been raised before, so apologies if it has.
I know we're not really able/meant to edit saved games with this tool but I have routinely been able to use it to edit the Salary Cap limits for the NHL only without issue since the earlier versions however for my current save, when I am making that same edit I am now getting an error message when re-loading the game that causes it to crash when I try to advance to the next day.
The message appears during the "loading database" part of loading a saved game and reads... "TRAINING_MANAGER::load_from_disk(): cannot read human_team_training"
I'm a little lazy so I always have Head Coach takes care of practice selected and I've never encountered this before.
Any help or suggestions would be appreciated as it's left me very confused!
Thanks
EHM 1 Database & Saved Game Editor
Posted: Sat Jul 18, 2020 2:53 pm
by 88AMcGee
Can you please elaborate on the issues with historical records, if the player with the record doesn’t exist in the DB, the game generates a fake name. Is this not possible to be coded in another file? Without the need for hundreds of non-players added to the DB? Also the Competitions Honors tab for several teams are a mess, Detroit, Boston and Chicago to name a few, any reason for this error?
EHM 1 Database & Saved Game Editor
Posted: Sat Jul 18, 2020 10:40 pm
by archibalduk
Geordie_Bolts wrote: Sat Jul 18, 2020 11:54 am
I don't think this issue has been raised before, so apologies if it has.
I know we're not really able/meant to edit saved games with this tool but I have routinely been able to use it to edit the Salary Cap limits for the NHL only without issue since the earlier versions however for my current save, when I am making that same edit I am now getting an error message when re-loading the game that causes it to crash when I try to advance to the next day.
The message appears during the "loading database" part of loading a saved game and reads... "TRAINING_MANAGER::load_from_disk(): cannot read human_team_training"
I'm a little lazy so I always have Head Coach takes care of practice selected and I've never encountered this before.
Any help or suggestions would be appreciated as it's left me very confused!
Thanks
As you say, editing saved games isn't supported with the Editor as we simply don't have enough information about the saved game structure to enable any real editing. Hence it's not possible for us to suggest or make any fixes. It's likely the Editor changed something when saving the edited saved game which has caused a dangling/invalid ID reference.
88AMcGee wrote: Sat Jul 18, 2020 2:53 pm
Can you please elaborate on the issues with historical records, if the player with the record doesn’t exist in the DB, the game generates a fake name. Is this not possible to be coded in another file? Without the need for hundreds of non-players added to the DB?
It's exactly as you say - historical records won't appear in game unless the player exists in the database. This reminds me that I need to check the v1.5 patch changelist to see if this is something that has been fixed. If it hasn't, I'll mention it to Riz as I can't remember whether or not I reported this.
88AMcGee wrote: Sat Jul 18, 2020 2:53 pmAlso the Competitions Honors tab for several teams are a mess, Detroit, Boston and Chicago to name a few, any reason for this error?
I'm not really sure if I follow - is the Editor scrambling your data? If so, please can you detail your steps so that I can replicate the issue? If this is in relation to a particular database then I suggest posting it in the TBL Rosters Forum or the relevant database thread.
EHM 1 Database & Saved Game Editor
Posted: Sat Jul 18, 2020 10:46 pm
by archibalduk
xECK29x wrote: Wed Jul 15, 2020 10:00 pm
Archi did we ever get the ability to delete career history records added? I want to spend some time purging old history records for qualifying rounds/relegation playoffs as technically they aren't playoffs or regular season and thus don't fit the supported schema.
Yes just set the Club and Comp to "_none" and the GP to zero. The Editor will then delete the entry when you next save/refresh. This can be done either via the Editor or the importer spreadsheet (you'll need to enter the current Club, Comp, Season and Playoffs in the spreadsheet and then set the Edit Club and Edit Comp to "_none" and GP to zero).
EHM 1 Database & Saved Game Editor
Posted: Sat Jul 18, 2020 11:15 pm
by nino33
archibalduk wrote: Sat Jul 18, 2020 10:40 pm
It's exactly as you say -
historical records won't appear in game unless the player exists in the database. This reminds me that I need to check the v1.5 patch changelist to see if this is something that has been fixed. If it hasn't, I'll mention it to Riz as I can't remember whether or not I reported this.
YIkes! I didn't realize this!
I think in EHM07 it worked...you could have the player ID (the player name was a link to the player in the database), or you could have just first name & last name (using an identifying # for each first/last name) but these didn't link to anything...or am I remembering wrong?
EHM 1 Database & Saved Game Editor
Posted: Sun Jul 19, 2020 1:44 pm
by archibalduk
nino33 wrote: Sat Jul 18, 2020 11:15 pm
archibalduk wrote: Sat Jul 18, 2020 10:40 pm
It's exactly as you say -
historical records won't appear in game unless the player exists in the database. This reminds me that I need to check the v1.5 patch changelist to see if this is something that has been fixed. If it hasn't, I'll mention it to Riz as I can't remember whether or not I reported this.
YIkes! I didn't realize this!
I think in EHM07 it worked...you could have the player ID (the player name was a link to the player in the database), or you could have just first name & last name (using an identifying # for each first/last name) but these didn't link to anything...or am I remembering wrong?
It has been a couple of years since I last looked at it but I recall EHM 1 being a bit fussier with records than EHM 2007. That said, it should be easier with historical DBs to use the old EHM 2007 approach because the chances of deleting the player to the randomly selected player ID is fairly low (e.g. in a modern DB, if you used John Doe's player ID and he is subsequently retired/deleted from the DB, the Editor will blank out his player ID from the various records linked to his ID).