How to edit the database for ourself

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
greaterone66
Junior League
Posts: 42
Joined: Tue Apr 21, 2015 5:31 am
Favourite Team: penguins

How to edit the database for ourself

Post by greaterone66 »

I am using some of the retro rosters but i would like to do some tweaking on some players but im not sure what program was used to edit the databases.

Help would be greatly appreciated!
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: How to edit the database for ourself

Post by nino33 »

greaterone66 wrote:I am using some of the retro rosters but i would like to do some tweaking on some players but im not sure what program was used to edit the databases.

Help would be greatly appreciated!
The EHM07 Pregame Editor http://www.ehmtheblueline.com/forums/vi ... =88&t=6745
The EHM07 Updater http://www.ehmtheblueline.com/forums/vi ... &start=275

Some things to keep in mind when editing...EHM:EA is not the same as EHM07, and changes made may not take affect in game (in fact the DB values may not be what shows in game). This is because there are now Player Roles that affect which player Attributes are focused on and which are secondary + EHM:EA distributes Attributes differently than EHM07 (the game will now override user edits in some cases), and Attributes are on average a little higher overall for many players.....based on Player Role & game mechanics changes may take some trial & error attempts to effectively input.

I believe there is a PDF chart that comes with the EHM Updater download that explains the Player Roles in EHM:EA. If a database doesn't have Player Roles assigned to the skaters (like the retro databases currently don't), then the game assigns Player Roles at start-up based on available player data. Also Player Roles can only be added using the EHM Updater, and if you edit a non-goalie using the Pregame Editor after assigning Player Role the Pregame Editor will erase the Player Role!

FYI - I created the 1974 DB, and have been working with CJ and others on the 1998 DB, and updated versions with Player Roles and more are coming for both! but they're still quite awhile away (maybe end of summer at best)


You can edit some things in an EHM:EA saved game using the EHM:EA Assistant http://www.ehmtheblueline.com/forums/vi ... &start=225 but you can't edit an EHM:EA database directly (for actual database editing you can only edit an EHM07 database, and then import it into EHM:EA)
greaterone66
Junior League
Posts: 42
Joined: Tue Apr 21, 2015 5:31 am
Favourite Team: penguins

Re: How to edit the database for ourself

Post by greaterone66 »

So, i downloaded the editor, and i Edited Crosby to just get a jiff of how it worked. I messed with the pittsburgh budgets and Crosby's attributes but neither were changed even after i re-imported the database i edited. IS there anything I can do to make it work?
greaterone66
Junior League
Posts: 42
Joined: Tue Apr 21, 2015 5:31 am
Favourite Team: penguins

Re: How to edit the database for ourself

Post by greaterone66 »

I also went to the link for the updater, but there was nothing there.
greaterone66
Junior League
Posts: 42
Joined: Tue Apr 21, 2015 5:31 am
Favourite Team: penguins

Re: How to edit the database for ourself

Post by greaterone66 »

I actually found the updater but its very confusing.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: How to edit the database for ourself

Post by nino33 »

greaterone66 wrote:So, i downloaded the editor, and i Edited Crosby to just get a jiff of how it worked. I messed with the pittsburgh budgets and Crosby's attributes but neither were changed even after i re-imported the database i edited. IS there anything I can do to make it work?
The first thing is did the database actually get edited? When you used the Pregame Editor did you "Run as Administrator" - not doing so can result in your database copy not actually getting edited

If the database was actually edited then my answer to how to get it to work would be "that would be the trial & error" I mentioned :-)

It depends on what you're trying to change, and the ratio/averages of almost all Attributes must stay close to the same, and the ratio of Attribute averages to CA must stay close to the same.....it seems to me the first thing you need to do is figure out what these are in-game (using the EHM:EA Assistant), and then maybe keep your changes within what it is now (i.e. decrease an Attribute by a couple to increase another by a couple). Increases to the current ratio/averages of Attributes to CA would require a CA increase (i.e. only increasing Attribute ratings would require a CA increase too).

And finally, the new Player Roles are going to affect development [they don't necessarily let all Attributes grow to their maximum (20) so the game will be realistic and not full of "superplayers" - Attributes that are secondary or unimportant to the Player Role may not be able to be increased significantly in all cases]

The new Attribute development/growth system & the new Player Role system are "new" to all of us.....the game is in early access, and those that edit it regularly are still learning how things are working (and the way things are working can potentially change every 2 weeks!), so trial & error is the only answer

greaterone66 wrote:I also went to the link for the updater, but there was nothing there.
Go to page 1 in the thread
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: How to edit the database for ourself

Post by nino33 »

greaterone66 wrote:I actually found the updater but its very confusing.
Yeah, you're talking about editing a complicated simulation of the world of hockey that has many dozens of leagues, thousands of teams, and over 60,000 players and staff.....it's going to take some time/effort if you are looking to do some editing (more than 23 minutes! HaHa)

EHM's never been a sandlot/fantasy style game, so the ease of editing may not be what some are used to
MGSPORTS
Top Prospect
Posts: 117
Joined: Fri Oct 21, 2011 11:55 pm
Custom Rank: EHM Editing Whizzkid

Re: How to edit the database for ourself

Post by MGSPORTS »

If your Data gets Saved should you still run in Adminstratior?
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: How to edit the database for ourself

Post by nino33 »

MGSPORTS wrote:If your Data gets Saved should you still run in Adminstratior?
Sorry, I don't understand your question....the Pregame Editor (that you want to make sure you "Run as Administrator") doesn't edit a saved game

There is the SavedGame Editor & the EHM Updater has some saved game editing too, but neither have full editability (there are many things in a saved game that can't be edited, like contracts and schedules) & I've never really used either
zbguy
Top Prospect
Posts: 121
Joined: Wed Aug 28, 2013 7:01 pm

Re: How to edit the database for ourself

Post by zbguy »

nino33 wrote:
MGSPORTS wrote:If your Data gets Saved should you still run in Adminstratior?
Sorry, I don't understand your question....the Pregame Editor (that you want to make sure you "Run as Administrator") doesn't edit a saved game

There is the SavedGame Editor & the EHM Updater has some saved game editing too, but neither have full editability (there are many things in a saved game that can't be edited, like contracts and schedules) & I've never really used either
Do you mean they're things that can't be edited right now or things that don't seem to be editable, period?
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: How to edit the database for ourself

Post by nino33 »

zbguy wrote:
nino33 wrote:
MGSPORTS wrote:If your Data gets Saved should you still run in Adminstratior?
Sorry, I don't understand your question....the Pregame Editor (that you want to make sure you "Run as Administrator") doesn't edit a saved game

There is the SavedGame Editor & the EHM Updater has some saved game editing too, but neither have full editability (there are many things in a saved game that can't be edited, like contracts and schedules) & I've never really used either
Do you mean they're things that can't be edited right now or things that don't seem to be editable, period?
With saved games, yes I mean editing is limited. Whether in EHM07 (with the SavedGame Editor) or with EHM:EA (with the EHM:EA Assistant) you can't edit everything...IIRC some things that aren't editable are contracts/team contracted, League structures/rules and schedules
zbguy
Top Prospect
Posts: 121
Joined: Wed Aug 28, 2013 7:01 pm

Re: How to edit the database for ourself

Post by zbguy »

Oh darn. I was hoping player names could be editable via the save game editor because occasionally the game generates non-nationalistically appropriate or otherwise odd names for players.
MGSPORTS
Top Prospect
Posts: 117
Joined: Fri Oct 21, 2011 11:55 pm
Custom Rank: EHM Editing Whizzkid

Re: How to edit the database for ourself

Post by MGSPORTS »

In the future we can edit those.
MB44
Learning to skate
Posts: 3
Joined: Wed Aug 12, 2015 3:17 pm
Favourite Team: Vancouver Canucks

Re: How to edit the database for ourself

Post by MB44 »

Well I hope this is an appropriate place to post this.

I need to be able to fix the maximum roster size and maximum dressed count on EHM 2007. There is no max roster size and current dressed count is 22. This is for the NHL league. Where ir what do i need to do this?
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: How to edit the database for ourself

Post by nino33 »

MB44 wrote:Well I hope this is an appropriate place to post this.

I need to be able to fix the maximum roster size and maximum dressed count on EHM 2007. There is no max roster size and current dressed count is 22. This is for the NHL league. Where ir what do i need to do this?
I'm not sure I understand what you're trying to "fix" but....I don't think anyone ever successfully edited NHL roster rules in EHM07.
I suspect hexediting may be your only option to attempt (not an easy thing to do!)

Here's a few possibly helpful/relevant threads...
The NHL 50 Contracts/80 Rights rule http://www.ehmtheblueline.com/forums/vi ... ts#p171064
Anything on the league customizing front? http://www.ehmtheblueline.com/forums/vi ... ts#p142738
Editing league structures & rules using a hex editor/ArtMoney http://www.ehmtheblueline.com/forums/vi ... 110&t=8142
Tutorials for hexediting EHM http://www.ehmtheblueline.com/forums/vi ... hexediting
MB44
Learning to skate
Posts: 3
Joined: Wed Aug 12, 2015 3:17 pm
Favourite Team: Vancouver Canucks

Re: How to edit the database for ourself

Post by MB44 »

Hey man, thanks for the reply. :)

When I load a game the main roster says no maximum, but it should be 23 and maximum dressed roster says 22 when it should be 20. This is in the NHL part of the game. I would like to change these.
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: How to edit the database for ourself

Post by nino33 »

MB44 wrote:When I load a game the main roster says no maximum, but it should be 23 and maximum dressed roster says 22 when it should be 20. This is in the NHL part of the game. I would like to change these.
At start-up you're in the offseason, where there is no roster limit & (in the preseason) you can dress 22 players in exhibition games.
When the regular season starts you will have to be down to 23 players on your roster, and in the regular season the dressed limit will be 20
MB44
Learning to skate
Posts: 3
Joined: Wed Aug 12, 2015 3:17 pm
Favourite Team: Vancouver Canucks

Re: How to edit the database for ourself

Post by MB44 »

FML I didn't think to make the preseason connection. Thanks alot for the heads up. I'll try not to clutter with silly questions in the future. Again thanks for the replies.
Post Reply