edited database overwritten

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
iowraiders2020
Learning to skate
Posts: 3
Joined: Tue Feb 09, 2021 12:41 pm
Favourite Team: Wightlink Raiders

edited database overwritten

Post by iowraiders2020 »

I quite often edit the databases using the editor. recently ive found that after an update the edited database gets overwritten and when i go to to re edit the default database is there. also i cant seem to find the saved game in the editor either. has something changed or am i looking in the wrong place or doing something wrong?
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

edited database overwritten

Post by archibalduk »

You need to move your edited database out of the Steam Workshop folder as it will get overwritten each time there is a new update pushed through the Workshop.

You will need to create a new sub-folder under the EHM 'database' folder and put your database.db and extra_config.cfg file in that sub-folder in order to avoid it being overwritten. Usually you will find your database at C:\Program Files (x86)\Steam\steamapps\common\Eastside Hockey Manager\data\database but this could be different if you installed the game elsewhere (but you can easily find it using the guide in this link: viewtopic.php?t=13584 ).

So you will end up with your edited database.db file in something like C:\Program Files (x86)\Steam\steamapps\common\Eastside Hockey Manager\data\database\[YOUR SUB-FOLDER NAME]\database.db. The database will then appear in the drop-down menu when you start a new game (you will see the name corresponding to whatever you called your sub-folder).

Saved games are usually found in My Documents\Sports Interactive\EHM\games but I don't recommend editing saved games as they are not really editable and it tends to lead to irrecoverable corruption.
Post Reply