[EHM: EA] Anyway to edit EHM Salary Cap?

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
boundedcascade
Learning to skate
Posts: 2
Joined: Fri Mar 27, 2015 3:03 am

[EHM: EA] Anyway to edit EHM Salary Cap?

Post by boundedcascade »

I hate the cap both because it limits me and I don't like it in the actual sport. It doesn't make things interesting to me and I was wondering if there was a way to remove/make it so high it is pointless?
mpronger
Top Prospect
Posts: 106
Joined: Sat Apr 09, 2005 6:03 pm

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by mpronger »

Have you tried editing the "transfer_rules_config.cfg" file?

It's currently:
"CAP" "National Hockey League" 69000000
"FLOOR" "National Hockey League" 53000000

If you place 0 instead of the value there, it'll remove the cap, at least in EHM2007 it did.
boundedcascade
Learning to skate
Posts: 2
Joined: Fri Mar 27, 2015 3:03 am

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by boundedcascade »

Tried it and can't get it to work. Tried 0 and adding a 0 on, and putting it to 99999999 and still nothing
User avatar
sluice
Top Prospect
Posts: 101
Joined: Mon Mar 30, 2015 12:57 pm
Location: Ottawa, Canada

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by sluice »

Related question (I don't mind to hijack..) but does the salary cap increases?
bstar
Junior League
Posts: 9
Joined: Mon Mar 30, 2015 8:33 pm

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by bstar »

I got you all covered, this is what you need to do...

1. First off, assuming you are using TBL Rosters 7.3. This only works when creating new games.
2. Goto: C:\Program Files (x86)\Steam\steamapps\common\Eastside Hockey Manager\data\database\TBL Rosters v7.3
3. Edit: transfer_rules_config.cfg
4. The values have change since 2007, use this:

Code: Select all

 "SALARY_CAP"   "National Hockey League" 0
5. Save this file and start a new game (continuing an existing game will not work)
6. No, you can't trade a scrub for St. Louis anymore
7. You're welcome
MXD
Prospect
Posts: 55
Joined: Mon Oct 12, 2009 7:10 pm

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by MXD »

That's the thing...
I just tried it (with Nino's 74-75 database), and it still mentions the Salary Cap in the "main" window.

At this point, I cannot say if the cap is truly in effect, but there's clearly something about a 44M$ cap.
bstar
Junior League
Posts: 9
Joined: Mon Mar 30, 2015 8:33 pm

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by bstar »

MXD wrote:That's the thing...
I just tried it (with Nino's 74-75 database), and it still mentions the Salary Cap in the "main" window.

At this point, I cannot say if the cap is truly in effect, but there's clearly something about a 44M$ cap.
Then you are doing it wrong. It's working fine for me, I'm running the game with it turned off right now. Make sure you are updating the correct file and make sure you are editing it to say SALARY_CAP, not CAP. You have to edit the transfer_rules_config.cfg in the TBL rosters directory, not the one in the database folder (that one gets ignored).

I'm not familiar with Nino's DB, but you make need to create a transfer_rules_config.cfg file in that DB's directory. The game looks for it there when a new game is initiated.

This absolutely works.
Last edited by bstar on Tue Mar 31, 2015 2:26 pm, edited 1 time in total.
User avatar
Peter_Doherty
Hall of Fame
Posts: 1850
Joined: Sun Jan 13, 2013 10:39 pm
Favourite Team: New York Rangers
Location: Sweden

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by Peter_Doherty »

Edit: Nvm me
bstar
Junior League
Posts: 9
Joined: Mon Mar 30, 2015 8:33 pm

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by bstar »

See, no cap!

Image
MXD
Prospect
Posts: 55
Joined: Mon Oct 12, 2009 7:10 pm

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by MXD »

Bstar : That is exactly how I proceeded.

But there was three transfer-config.cfg files : one with Copy,one with Default and the other was "plain". I modified all of them.

Sorry for non-exact names, but I'm not home ATM.
bstar
Junior League
Posts: 9
Joined: Mon Mar 30, 2015 8:33 pm

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by bstar »

Make sure (where ever your database you are importing is located) you have a file called: transfer-config.cfg (all other file names will be ignored)

If you don't have this file then you need to create it. This is the only line you need to add to affect the cap:

"SALARY_CAP" "National Hockey League" 0
User avatar
Satyr
Fringe Player
Posts: 323
Joined: Tue Jan 23, 2007 10:17 am
Location: Holland

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by Satyr »

bstar wrote:I got you all covered, this is what you need to do...

1. First off, assuming you are using TBL Rosters 7.3. This only works when creating new games.
2. Goto: C:\Program Files (x86)\Steam\steamapps\common\Eastside Hockey Manager\data\database\TBL Rosters v7.3
3. Edit: transfer_rules_config.cfg
4. The values have change since 2007, use this:

Code: Select all

 "SALARY_CAP"   "National Hockey League" 0
5. Save this file and start a new game (continuing an existing game will not work)
6. No, you can't trade a scrub for St. Louis anymore
7. You're welcome
Image

Ok, I did this and nothing happened. I rightclicked on the transfer_rules_config.cfg to open it with Notepad. What did I do wrong?
bstar
Junior League
Posts: 9
Joined: Mon Mar 30, 2015 8:33 pm

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by bstar »

Satyr, just change all the "CAP" instances to "SALARY_CAP" and change all the "FLOOR" instances to "SALARY_FLOOR".

Then you need to start a new game, these values seem to only get used when you first create a game.
User avatar
Satyr
Fringe Player
Posts: 323
Joined: Tue Jan 23, 2007 10:17 am
Location: Holland

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by Satyr »

bstar wrote:Satyr, just change all the "CAP" instances to "SALARY_CAP" and change all the "FLOOR" instances to "SALARY_FLOOR".

Then you need to start a new game, these values seem to only get used when you first create a game.

Thanks! It's so obvious once you know the trick :doh:
MXD
Prospect
Posts: 55
Joined: Mon Oct 12, 2009 7:10 pm

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by MXD »

Fixed it. In the end, I was wrong about one thing : you really have to change "SALARY_CAP", and not "CAP".
bstar
Junior League
Posts: 9
Joined: Mon Mar 30, 2015 8:33 pm

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by bstar »

Happy to see you guys got it working!
User avatar
Satyr
Fringe Player
Posts: 323
Joined: Tue Jan 23, 2007 10:17 am
Location: Holland

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by Satyr »

For those who wonder: The cap can be lifted. For example, I changed the cap to this:

"SALARY_CAP" "National Hockey League" 93000000
"SALARY_FLOOR" "National Hockey League" 53000000

In the game it turns out like this:

Image
User avatar
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: EA] Anyway to edit EHM Salary Cap?

Post by Alessandro »

It doesn't work for the KHL, however
bstar
Junior League
Posts: 9
Joined: Mon Mar 30, 2015 8:33 pm

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by bstar »

Alessandro wrote:It doesn't work for the KHL, however
Did you try this:
"SALARY_CAP" "Kontinental Hockey League" 0
MGSPORTS
Top Prospect
Posts: 117
Joined: Fri Oct 21, 2011 11:55 pm
Custom Rank: EHM Editing Whizzkid

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by MGSPORTS »

It doesn't go to 0 and if it did Teams wouldn't be releasing Players. How about it way high a Billion so Teams can afford everybody? If we could have unlimited Contacted then my Blackhawks wouldn't be releasing players before season.
Last edited by MGSPORTS on Wed May 27, 2015 2:38 am, edited 1 time in total.
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: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by nino33 »

MGSPORTS wrote:But I only want to do it for one Team the Blackhawks not all NHL Teams.
Sorry, you can't remove the Salary Cap for just one team
MGSPORTS
Top Prospect
Posts: 117
Joined: Fri Oct 21, 2011 11:55 pm
Custom Rank: EHM Editing Whizzkid

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by MGSPORTS »

Thanks and I'm okay with all Teams.
User avatar
jackknife77
Minor League
Posts: 291
Joined: Sun Mar 25, 2007 5:15 am
Favourite Team: Montreal Canadiens
Location: St-Zotique Can

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by jackknife77 »

If you want to trick the game with the salary cap, hire Lou Lamoriello as assistant GM. :**
Moses Doughty
Top Prospect
Posts: 101
Joined: Thu Nov 11, 2010 3:54 pm
Location: California

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by Moses Doughty »

Does anyone know if the cap can be changed on a mac? Tried all of this so far but nothing works.
MGSPORTS
Top Prospect
Posts: 117
Joined: Fri Oct 21, 2011 11:55 pm
Custom Rank: EHM Editing Whizzkid

Re: [EHM: EA] Anyway to edit EHM Salary Cap?

Post by MGSPORTS »

I want to make it as High as it can be for NHL but the 9999999999999999999999 doesn't show up.
Post Reply