Page 1 of 1

create a new database from a prior saved game

Posted: Wed Feb 28, 2018 8:25 am
by proxomat
Is it possible to extract a new playable database from a prior saved game?

I am playing an EHM2007 game for more than 60 seasons. What I want is to use the generated players and data in a new game.
So I think I need to create a new database first at all. How can I manage that? Is there a tool out for that?

And btw, is it possible to use this new created database with the new EHM 2015?

Re: create a new database from a prior saved game

Posted: Wed Feb 28, 2018 7:19 pm
by archibalduk
Unfortunately it is not really possible. In theory, much of the EHM 2007 saved game could be exported and then imported into a new database. However, it would be missing a lot of data (such as career histories). The big issue is that player attributes in EHM 2007 saved games are somehow encoded and nobody has ever been able to figure out how to decode them back into a human-readable format. You might just be able to export the players' Current Ability, Potential Ability, positions, etc but you'd be missing most/all of the attributes.

Doing this with an EHM 1 saved game is a little more feasible because the player attributes are no longer encoded. But you'd still have things like career histories missing.

Re: create a new database from a prior saved game

Posted: Thu Mar 01, 2018 8:25 am
by proxomat
Thanks, a lot for your answer.
It's a shame, because all the data must be located in the saved game.

What I just did, was to export all data with the TBL EHM Updater.
So i've got some files and spec. the attributes file contains all the players data (nearly 15000 lines).
For me, it looks like the first step is done.
Now i just need to import this player data in a new database.
How does this work?

So, if it's possible to import this data into a new database, everything worked for me.
Now I should be able to start a new game with the players and the attributes from my old savegame file from Dec. 2080 ;-).
All the historical data and the game rules etc. is not so important for me.
I would love to start now with a fantasy draft.

Re: create a new database from a prior saved game

Posted: Thu Mar 01, 2018 5:59 pm
by archibalduk
As I mentioned previously, the attributes are encoded in a way we do not know how to decode. If you take a look at your spreadsheet you will see that the attributes are not in the 1-20 range and they appear as an apparently random jumble of numbers.

Note that your spreadsheet probably includes any human GMs from your game so you'll need to remove these from the sheet (they might be at the very end of the spreadsheet, but I'm not sure).

To import any players/non-players/attributes into an EHM 1 database, you will need to use the EHM 1 Editor. Our Introduction to Researching Guide should explain how to import player/non-player data into the database. You will need to retire all of the existing players in the database if you want to start afresh. I hope there will be a free-agent utility in the next version of the Editor but, for now, you'd have to manually set them all to retired using a spreadsheet (you can export a list of players and non-players from the EHM 1 database using the Editor and then re-import with "_Retire" in the Job For Club column (leave all other columns blank aside from the Name and DOB columns)).