EHM 1 Database & Saved Game Editor v1: BUG REPORTS & FEATURE REQUESTS
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
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
-
- Junior League
- Posts: 31
- Joined: Sat Mar 06, 2010 12:13 pm
Re: EHM 1 Database & Saved Game Editor
Is there a Mass Edit button in this version of the editor. I want to clear the history of a DB so I can start a career from scratch.
- Satyr
- Fringe Player
- Posts: 323
- Joined: Tue Jan 23, 2007 10:17 am
- Location: Holland
Re: EHM 1 Database & Saved Game Editor
I can't see my saved database when starting a new game.
I loaded the 9.1 TBL Database, edited soma data, saved it as myname.db, but it does not appear in the 'Import Database' option
I loaded the 9.1 TBL Database, edited soma data, saved it as myname.db, but it does not appear in the 'Import Database' option
- 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:
Re: EHM 1 Database & Saved Game Editor
The Import Database function is only for converting EHM 2007 to EHM 1 format. You just click on Start New Game and select your edited database. However, I don't know if EHM allows the databases to be called anything other than 'database.db'. So you might need to rename your database and perhaps put it into a separate sub-folder of the 'database' folder.Satyr wrote:I can't see my saved database when starting a new game.
I loaded the 9.1 TBL Database, edited soma data, saved it as myname.db, but it does not appear in the 'Import Database' option
-
- Junior League
- Posts: 31
- Joined: Sat Mar 06, 2010 12:13 pm
Re: EHM 1 Database & Saved Game Editor
Anything about the Mass Editor that was in previous versions. I cannot find it. Thanks.
- 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:
Re: EHM 1 Database & Saved Game Editor
No there are no mass edit functions yet.nuggett wrote:Anything about the Mass Editor that was in previous versions. I cannot find it. Thanks.
The best thing to do is to download the Editor and flick through the tabs. This will show you what can and cannot be edited at present.
-
- Junior League
- Posts: 31
- Joined: Sat Mar 06, 2010 12:13 pm
Re: EHM 1 Database & Saved Game Editor
Am I able to clear history. The old version I was able to clear the majority of things as if I was starting from scratch (and very easily done).
Database Editing Question - NHL Records (this was the original thread).
Thanks.
Database Editing Question - NHL Records (this was the original thread).
Thanks.
- 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:
Re: EHM 1 Database & Saved Game Editor
No that isn't possible for now. As I say, there are no mass editing functions at present.
-
- Junior League
- Posts: 31
- Joined: Sat Mar 06, 2010 12:13 pm
Re: EHM 1 Database & Saved Game Editor
Thanks. Is it possible to use an older editor to do what I am looking for.
- Satyr
- Fringe Player
- Posts: 323
- Joined: Tue Jan 23, 2007 10:17 am
- Location: Holland
Re: EHM 1 Database & Saved Game Editor
Found the problem, I have to save and load the 'default' database and not the 9.1 TBL database.
- MikelPickle
- Prospect
- Posts: 70
- Joined: Sat May 23, 2015 3:22 am
- Favourite Team: Boston Bruins/Syracuse Crunch
Re: EHM 1 Database & Saved Game Editor
Wondering if that is a bug or something, or how I can fix itMikelPickle wrote:When I change something in the editor (Salary cap, team name, affiliation,etc.), it switches up each players position and randomizes their history.
- 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:
Re: EHM 1 Database & Saved Game Editor
As I mentioned earlier, editing saved games is highly experimental. I added saved game support to the Editor more for the purposes of scouting and tweaking attributes than anything else. Doing anything more than that is likely to result in issues such as the one you have posted.MikelPickle wrote:Wondering if that is a bug or something, or how I can fix itMikelPickle wrote:When I change something in the editor (Salary cap, team name, affiliation,etc.), it switches up each players position and randomizes their history.
You could edit an EHM 2007 format database, make your changes with the Updater and then import into EHM 1.nuggett wrote:Thanks. Is it possible to use an older editor to do what I am looking for.
-
- Junior League
- Posts: 31
- Joined: Sat Mar 06, 2010 12:13 pm
Re: EHM 1 Database & Saved Game Editor
Thanks for your help, but I was looking to do this with the current roster (ie working NCAA). I have this done already for an older roster file.
- 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:
Re: EHM 1 Database & Saved Game Editor
A new version of the Editor is available here (v 0.1.8): http://www.ehmtheblueline.com/forums/vi ... 85#p206841
A BIG THANK YOU to everybody who has reported bugs with the previous version. I believe all issues are resolved in this new release, but let me know if you come across any further issues or think I have not fixed something. Other than bug fixes, the key changes are as follows (a full changelist is set out further below):
- Runtime Data Calculation: This should resolve all of the database-driven Pro Experience and RFA eligibility issues. Any remaining issues are likely to be game bugs or a result of there being insufficient career history data for a particular player (the Runtime Data is based upon career history data). I think the Runtime Data calculation could be improved slightly in terms of what it treats as professional experience and I'll tweak this for the next version. Currently there is no option to disable any elements of Runtime Data calculation - I'll add this when I get round to re-working the Settings screen. FYI the Runtime Data consists of three elements: (1) Player Info tab in the Editor, (2) Date of First NHL Contract and (3) Last Known Club.
- Spreadsheet Import: This is essentially the same as the Updater import function. It is, however, more efficient and more flexible than what we had with the EHM 2007 Updater. I will post a basic guide on how it works later today. Currently there are three types of spreadsheet which can be imported: Clubs, Staff (i.e. players and/or non-players) and Player Career History. The screen is a work in progress and will be tidied up once I have added more settings to the screen, etc. Note that the Import and Export icons are very similar at the moment - I am trying to create an alternative Export icon in order to differentiate between the two.
- High Resolution/DPI Scaling Support: The Editor now supports high resolution displays (such as 1920x1080 and 4k). I haven't had a chance to test the Editor on a lower resolution display yet (I need to dig out my old laptop) and so please let me know if you encounter any resolution/layout issues. The high resolution support is not completely perfect yet - some drop-down menus are slightly cropped and the Stages tabs don't quite fit onto the screen. I'll look into fixing these later as they are very minor cosmetic issues.
CHANGELIST: VERSION 0.1.8 (23-Apr-2017)
New Features:
A BIG THANK YOU to everybody who has reported bugs with the previous version. I believe all issues are resolved in this new release, but let me know if you come across any further issues or think I have not fixed something. Other than bug fixes, the key changes are as follows (a full changelist is set out further below):
- Runtime Data Calculation: This should resolve all of the database-driven Pro Experience and RFA eligibility issues. Any remaining issues are likely to be game bugs or a result of there being insufficient career history data for a particular player (the Runtime Data is based upon career history data). I think the Runtime Data calculation could be improved slightly in terms of what it treats as professional experience and I'll tweak this for the next version. Currently there is no option to disable any elements of Runtime Data calculation - I'll add this when I get round to re-working the Settings screen. FYI the Runtime Data consists of three elements: (1) Player Info tab in the Editor, (2) Date of First NHL Contract and (3) Last Known Club.
- Spreadsheet Import: This is essentially the same as the Updater import function. It is, however, more efficient and more flexible than what we had with the EHM 2007 Updater. I will post a basic guide on how it works later today. Currently there are three types of spreadsheet which can be imported: Clubs, Staff (i.e. players and/or non-players) and Player Career History. The screen is a work in progress and will be tidied up once I have added more settings to the screen, etc. Note that the Import and Export icons are very similar at the moment - I am trying to create an alternative Export icon in order to differentiate between the two.
- High Resolution/DPI Scaling Support: The Editor now supports high resolution displays (such as 1920x1080 and 4k). I haven't had a chance to test the Editor on a lower resolution display yet (I need to dig out my old laptop) and so please let me know if you encounter any resolution/layout issues. The high resolution support is not completely perfect yet - some drop-down menus are slightly cropped and the Stages tabs don't quite fit onto the screen. I'll look into fixing these later as they are very minor cosmetic issues.
CHANGELIST: VERSION 0.1.8 (23-Apr-2017)
New Features:
- Added club spreadsheet editing/importing;
- Added draft history exporting;
- Added player career history spreadsheet editing/importing;
- Added staff (player/non-player) spreadsheet editing/importing;
- Added runtime data calculation; and
- Added support for high resolutions (e.g. 1920x1080, 4k, etc).
- A nationality selection dialog is now displayed when adding a name to a Player Record or Staff Awards History which has no nationality;
- Added additional text flags for use with importer spreadsheets;
- Added approximate age to the Staff editing screen;
- Added extra logging information when loading and saving databases;
- Added draft history validation;
- Adding new names via Player Records and Staff Awards History will use existing names where possible;
- Corrected "Club limited to use natural domestic players only" extra rule setting to an integer type;
- Date and day names are now fixed to English language to ensure compatibility of spreadsheets between different user locales;
- Disabled ability to save EHM 200x databases as EHM 1 databases and vice-versa;
- Fixed Stage Name setting on the Stages -> Structures screen so that it now correctly shows the stage names;
- Fixed tooltip and status tip displayed for the Save button;
- Removed hard-coded default conversion settings for EHM 2005 to 2007 conversion in order to improve compilation time and the size of the application;
- State and nation abbreviations are now displayed alongside city names within the various Editor screens; and
- Transfer Window Index and Start Date are now correctly set when adding new Deadline Dates and when saving the database.
- 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:
Re: EHM 1 Database & Saved Game Editor
I'm hoping this latest release of the Editor is in near suitable form for using with the TBL Rosters project. This would allow us to permanently move the master database from EHM 2007 format to the EHM 1 format. However, before we do so, we need to ensure that the Editor is bug-free and that the importer functions work exactly as they should. Therefore the importer functions need some thorough testing. I posted about this some time back in the Researchers' Forum but had zero interest/responses and so I'm hoping by posting here there might be at least one or two people who are interested in helping. If anybody does end up trying out the importer functions then let me know how they go. I really need people to try and break the functions so that can identify any bugs or anything that isn't working as it should (or if there is anything missing). To help anybody out with testing, I have posted a small guide below on how to use the importer functions. The guide assumes at least some basic working knowledge of the EHM 2007 Updater import functions.
Templates
To create the spreadsheet templates, click on Tools -> Import Spreadsheet -> Create templates.
Alternatively, you can download the templates with some example data HERE. When you download the zip file, you will find two sub-folders (one is Canada, UK and USA and the other is rest of world). Select the sub-folder according to the language/region of your Windows installation.
I highly recommend downloading the above example data because it will help the below guide make more sense.
Spreadsheet Settings
The first few cells of the first row in the spreadsheet contain an identifier and some settings. These allow you to customise how the spreadsheet is organised and processed by the Editor. Take a look at the staff.csv template file as an example. The first cell (i.e. Cell A1) contains the identifier. This tells the Editor what type of spreadsheet it is. For instance, the staff.csv file has "Staff" as the identifier. You should not change the identifier but you can rename the spreadsheet's file name.
You will see that staff.csv has "dmy" in Cell B1 and "metric" in Cell C1. The first of these settings determines the date format used in the spreadsheet. You can change this to dmy (European date format), mdy (North American date format) or ymd (Japanese date format). When entering the year in a date, make sure you use the full four digit year. The day and month numbers can be either single or double digit. The "metric" setting means that metric heights and weights will be used. You can change this to "imperial" if you prefer.
Note that it does not matter which settings are present in the spreadsheet. You can have no settings if you prefer (the Editor will just use default settings in that case). The only mandatory one is the identifier which must always be present and must be in Cell A1.
Importer Settings
If you click on Tools -> Import Spreadsheet you will find various checkboxes containing settings. These set how the Editor will import the data. Hopefully most/all of these are self-explanatory but let me know if anybody has any questions.
Mode
You will find that each of the club.csv and staff.csv files have a Mode column at Column A of each spreadsheet. This determines whether each row is intended to be added as a new item in the database, to edit an existing item or to delete an existing item. If you leave this cell blank for any row then the Editor will use a default mode setting for that row. The default is indicated in brackets after the word "Mode" in each spreadsheet (note that you cannot change what the default mode is). Both of the club.csv and staff.csv files state "Mode (e)" at Cell A2 which means that the default mode is "edit".
To set the mode, enter "a" (add), "d" (delete) or "e" (edit) for each row you enter into the spreadsheet. Note that the delete function is not yet enabled in the Editor. Only add and edit work for now.
For instance, if you want to add a new team to the database, open the "club.csv" file and enter "a" into the appropriate row followed by the data you want to set for that new team. If you want to edit an existing team, enter "e" along with the Long Name of the team you wish to edit - and then use the remaining cells to enter the data you want to change.
The staff_history.csv does not have a mode. Instead, the Editor will automatically add or edit the data depending on whether it can find an existing item in the database. To edit a staff history item, enter the following: Staff name, staff dob, playoffs, club, competition. If the Editor finds a pre-existing entry with all of those details then it will edit that entry with whatever you enter into the other cells in the spreadsheet (for example, if you want to update the goalie stats, GP, etc). Obviously this means that you cannot edit the club, competition or playoffs setting for an existing entry. However, you can set it to zero GP so that the Editor will (eventually, once I add the function) delete that entry - and then add a new entry with the correct data.
To Import
In the Editor click on Tools -> Import Spreadsheet -> Import Spreadsheet and then select your csv file. Make sure you set your settings before you do so. The Editor will then check the spreadsheet and let you know if it has any errors (it will create an _errors.csv spreadsheet in the same location as your selected spreadsheet file). If no errors are found then the Editor will automatically import the data. If errors are found then it will give you the option to abort.
Templates
To create the spreadsheet templates, click on Tools -> Import Spreadsheet -> Create templates.
Alternatively, you can download the templates with some example data HERE. When you download the zip file, you will find two sub-folders (one is Canada, UK and USA and the other is rest of world). Select the sub-folder according to the language/region of your Windows installation.
I highly recommend downloading the above example data because it will help the below guide make more sense.
Spreadsheet Settings
The first few cells of the first row in the spreadsheet contain an identifier and some settings. These allow you to customise how the spreadsheet is organised and processed by the Editor. Take a look at the staff.csv template file as an example. The first cell (i.e. Cell A1) contains the identifier. This tells the Editor what type of spreadsheet it is. For instance, the staff.csv file has "Staff" as the identifier. You should not change the identifier but you can rename the spreadsheet's file name.
You will see that staff.csv has "dmy" in Cell B1 and "metric" in Cell C1. The first of these settings determines the date format used in the spreadsheet. You can change this to dmy (European date format), mdy (North American date format) or ymd (Japanese date format). When entering the year in a date, make sure you use the full four digit year. The day and month numbers can be either single or double digit. The "metric" setting means that metric heights and weights will be used. You can change this to "imperial" if you prefer.
Note that it does not matter which settings are present in the spreadsheet. You can have no settings if you prefer (the Editor will just use default settings in that case). The only mandatory one is the identifier which must always be present and must be in Cell A1.
Importer Settings
If you click on Tools -> Import Spreadsheet you will find various checkboxes containing settings. These set how the Editor will import the data. Hopefully most/all of these are self-explanatory but let me know if anybody has any questions.
Mode
You will find that each of the club.csv and staff.csv files have a Mode column at Column A of each spreadsheet. This determines whether each row is intended to be added as a new item in the database, to edit an existing item or to delete an existing item. If you leave this cell blank for any row then the Editor will use a default mode setting for that row. The default is indicated in brackets after the word "Mode" in each spreadsheet (note that you cannot change what the default mode is). Both of the club.csv and staff.csv files state "Mode (e)" at Cell A2 which means that the default mode is "edit".
To set the mode, enter "a" (add), "d" (delete) or "e" (edit) for each row you enter into the spreadsheet. Note that the delete function is not yet enabled in the Editor. Only add and edit work for now.
For instance, if you want to add a new team to the database, open the "club.csv" file and enter "a" into the appropriate row followed by the data you want to set for that new team. If you want to edit an existing team, enter "e" along with the Long Name of the team you wish to edit - and then use the remaining cells to enter the data you want to change.
The staff_history.csv does not have a mode. Instead, the Editor will automatically add or edit the data depending on whether it can find an existing item in the database. To edit a staff history item, enter the following: Staff name, staff dob, playoffs, club, competition. If the Editor finds a pre-existing entry with all of those details then it will edit that entry with whatever you enter into the other cells in the spreadsheet (for example, if you want to update the goalie stats, GP, etc). Obviously this means that you cannot edit the club, competition or playoffs setting for an existing entry. However, you can set it to zero GP so that the Editor will (eventually, once I add the function) delete that entry - and then add a new entry with the correct data.
To Import
In the Editor click on Tools -> Import Spreadsheet -> Import Spreadsheet and then select your csv file. Make sure you set your settings before you do so. The Editor will then check the spreadsheet and let you know if it has any errors (it will create an _errors.csv spreadsheet in the same location as your selected spreadsheet file). If no errors are found then the Editor will automatically import the data. If errors are found then it will give you the option to abort.
- 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:
Re: EHM 1 Database & Saved Game Editor
Just to add to the above - I am interested in any feedback on the order in which the columns appear in the spreadsheet. IMO some of them should not really be changed because they follow what was done for the EHM 2007 Updater. However, the club.csv file in particular could be completely re-ordered if it makes more sense.
The staff.csv file is hideously large. This is because it merges four EHM 2007 Updater spreadsheets into one and adds some additional fields. From my own experience of research, I think this will save me a lot of time because I can work on a single spreadsheet rather than four (usually I have a single master spreadsheet which I copy and paste into the relevant four spreadsheets - but it's a real pain). I think I will also create a mini/shorter version of this spreadsheet with just the key settings in. Then users will have the choice of using the full spreadsheet or the reduced spreadsheet. Note that the staff.csv file does not include things such as player preferences - this will be dealt with in a separate sheet.
The staff.csv file is hideously large. This is because it merges four EHM 2007 Updater spreadsheets into one and adds some additional fields. From my own experience of research, I think this will save me a lot of time because I can work on a single spreadsheet rather than four (usually I have a single master spreadsheet which I copy and paste into the relevant four spreadsheets - but it's a real pain). I think I will also create a mini/shorter version of this spreadsheet with just the key settings in. Then users will have the choice of using the full spreadsheet or the reduced spreadsheet. Note that the staff.csv file does not include things such as player preferences - this will be dealt with in a separate sheet.
- Named
- TBL Rosters Researcher
- Posts: 698
- Joined: Tue Apr 07, 2015 8:34 pm
- Custom Rank: League structures guru
- Favourite Team: Chicago Blackhawks
- Location: PL
Re: EHM 1 Database & Saved Game Editor
Only csv is supported? I always used xml 

- Alessandro
- Olympic Gold
- Posts: 2865
- Joined: Sat Aug 27, 2005 1:54 pm
- Custom Rank: TBL Rosters Man
- Favourite Team: Team Russia
- WHL Team: Calgary Flames
Re: EHM 1 Database & Saved Game Editor
I also always use XML, with CSV I always get errors. Archi, help us!
- 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:
Re: EHM 1 Database & Saved Game Editor
I can't help you without some sort of description of the errors you are encountering!...Alessandro wrote:I also always use XML, with CSV I always get errors. Archi, help us!
Only CSV templates are supported right now because it is a first version and, as you know, I need to get this out for testing asap so that we are in good shape for this summer's research. XML and XLSX template creation will follow in the next version.
That said, if you create the CSV templates, load them in Excel/OpenOffice and then save them as XML or XLSX, you should be good to go. Although I haven't tested this, it should import XML and XLSX absolutely fine. It's just the template creation that needs the work.
- 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
Re: EHM 1 Database & Saved Game Editor
The errors I got when using .csv with the Updater files(I have never used the editor) was always due to the fact of different languages and charactersettings being used.
I am currently not working with the editing but if everyone else has the same issues then we should consider making sure everyone is using the same charactersettings and language.
I am currently not working with the editing but if everyone else has the same issues then we should consider making sure everyone is using the same charactersettings and language.
- 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:
Re: EHM 1 Database & Saved Game Editor
What are the character and language settings you mention? Is this the comma/semi-colon delimiter issue or something else?
We should encourage researchers to use XLSX as it is more portable than the other formats. CSV is still relevant when dealing with large volumes of career history data because it is lightweight. XML should really be avoided now that we have XLSX because it is not portable and it is inefficient in terms of file size and import speed.
We should encourage researchers to use XLSX as it is more portable than the other formats. CSV is still relevant when dealing with large volumes of career history data because it is lightweight. XML should really be avoided now that we have XLSX because it is not portable and it is inefficient in terms of file size and import speed.
- 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
Re: EHM 1 Database & Saved Game Editor
Whenever I open a CSV file, it asks me for some settings among them the delimiter.archibalduk wrote:What are the character and language settings you mention? Is this the comma/semi-colon delimiter issue or something else?
We should encourage researchers to use XLSX as it is more portable than the other formats. CSV is still relevant when dealing with large volumes of career history data because it is lightweight. XML should really be avoided now that we have XLSX because it is not portable and it is inefficient in terms of file size and import speed.
It says (roughly translated from swedish) import - Character settings - and then a roll-down list of which I use Western Europe (ISO-8859-1) and then language - where I have Swedish set as standard
-
- Second Line
- Posts: 656
- Joined: Sat Jan 07, 2012 11:21 pm
Re: EHM 1 Database & Saved Game Editor
First thanks for the awesome update and continual work, Archi.
The import process seems rather straight forward once you dig into it and having prior experience with the old EHM 07 Updater utility. But how do I export player info like with the older Updater where it has ratings, attributes, current team, etc? When I export player info from the editor, all I get is:

The import process seems rather straight forward once you dig into it and having prior experience with the old EHM 07 Updater utility. But how do I export player info like with the older Updater where it has ratings, attributes, current team, etc? When I export player info from the editor, all I get is:

- Alessandro
- Olympic Gold
- Posts: 2865
- Joined: Sat Aug 27, 2005 1:54 pm
- Custom Rank: TBL Rosters Man
- Favourite Team: Team Russia
- WHL Team: Calgary Flames
Re: EHM 1 Database & Saved Game Editor
I read this only now. In my latest PM, ignore the part about XML then and replace it with XLSXarchibalduk wrote: We should encourage researchers to use XLSX as it is more portable than the other formats. CSV is still relevant when dealing with large volumes of career history data because it is lightweight. XML should really be avoided now that we have XLSX because it is not portable and it is inefficient in terms of file size and import speed.
- 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:
Re: EHM 1 Database & Saved Game Editor
Ha! Sorry I responded to your PM before I read this.Alessandro wrote:I read this only now. In my latest PM, ignore the part about XML then and replace it with XLSXarchibalduk wrote: We should encourage researchers to use XLSX as it is more portable than the other formats. CSV is still relevant when dealing with large volumes of career history data because it is lightweight. XML should really be avoided now that we have XLSX because it is not portable and it is inefficient in terms of file size and import speed.

Ah yes I know what you mean. The reason is that there is no standard format for CSV files and it does not contain any settings data whatsoever (it is just a plain text file). So OpenOffice/LibreOffice prompts you every time to tell it how the spreadsheet is set up. For this reason, there aren't any language settings that can be set within the CSV by other users. Assuming XLSX works correctly with OpenOffice/LibreOffice then XLSX should be the default format going forward as it will avoid all of the issues that come with CSV and XML.Manimal wrote:Whenever I open a CSV file, it asks me for some settings among them the delimiter.archibalduk wrote:What are the character and language settings you mention? Is this the comma/semi-colon delimiter issue or something else?
We should encourage researchers to use XLSX as it is more portable than the other formats. CSV is still relevant when dealing with large volumes of career history data because it is lightweight. XML should really be avoided now that we have XLSX because it is not portable and it is inefficient in terms of file size and import speed.
It says (roughly translated from swedish) import - Character settings - and then a roll-down list of which I use Western Europe (ISO-8859-1) and then language - where I have Swedish set as standard
I'll be adding that to the next version. The Player Info spreadsheet is just the Player Info/Stats tab from the Editor - so it relates to the Runtime Data.BKarchitect wrote:First thanks for the awesome update and continual work, Archi.
The import process seems rather straight forward once you dig into it and having prior experience with the old EHM 07 Updater utility. But how do I export player info like with the older Updater where it has ratings, attributes, current team, etc? When I export player info from the editor, all I get is:
The exporting feature now has filters (as you may have seen) - so hopefully once I have added the player attributes, contract data etc as an export spreadsheet, it'll be easy to create a research spreadsheet as you can filter by club competition and/or player/non-player nationality.

It might be helpful if I share my plans for the next few versions in the run up to starting the TBL Rosters 10 research (note that I wrote the below prior to yesterday's release - hence it mentions v0.1.7 as the current version):
archibalduk wrote:So my basic plan is as follows:
Version 0.1.7 - This is the current version
Version 0.1.8 - First release with non-player/player, player career history and club importing for full testing (April)
Version 0.1.9 - Release with any fixes following the testing of the importing functions. It will also include some basic spreadsheet exporting functions. (May/early June) <-- This is the first version we could use with the database research
Version 0.2.0 - This will include some basic filtering and hopefully additional importing. I would have liked to include the filtering for v0.1.9 but it'd just slow down the release.
This is of course on the assumption my job does not become too busy (the last six weeks were bad, but things are better for now).
- 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
Re: EHM 1 Database & Saved Game Editor
I totally agree with thisarchibalduk wrote:
Ah yes I know what you mean. The reason is that there is no standard format for CSV files and it does not contain any settings data whatsoever (it is just a plain text file). So OpenOffice/LibreOffice prompts you every time to tell it how the spreadsheet is set up. For this reason, there aren't any language settings that can be set within the CSV by other users. Assuming XLSX works correctly with OpenOffice/LibreOffice then XLSX should be the default format going forward as it will avoid all of the issues that come with CSV and XML.