Extra_config file

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
Knoeppel
Prospect
Posts: 96
Joined: Tue Jan 17, 2006 6:45 pm

Extra_config file

Post by Knoeppel »

I downloaded a facepack where it was written:

"Chairman pictures works only when "DEBUG_MODE" is enabled in EXTRA_CONFIC file."

Can someone explain how to do this. Where should i write in "DEBUG_MODE" and how can i enable it?
Knoeppel
Prospect
Posts: 96
Joined: Tue Jan 17, 2006 6:45 pm

Post by Knoeppel »

64 people have read this and no reply....
This was a difficult problem ](*,)

Maybe the uploader (Laz) of the file know how to fix it?
User avatar
Lazion
Second Line
Posts: 661
Joined: Tue Oct 23, 2007 5:34 pm
Favourite Team: Flyers

Post by Lazion »

Sorry. I totally missed this.

You find the extra_config file from NHLEHM/data/database/Roster_which_you_start_to_use
Open the extra_config with notepad, or any word processing program.
Make new line in the extra_config and type "DEBUG_MODE" in it.
It should look like this then:

#
#
"DEBUG_MODE"
#
#

Save and start new game.
Knoeppel
Prospect
Posts: 96
Joined: Tue Jan 17, 2006 6:45 pm

Post by Knoeppel »

Thanks alot. :thup:
User avatar
Franck
Fringe Player
Posts: 374
Joined: Mon Mar 12, 2007 3:16 am
Location: Sweden

Post by Franck »

Does the Debug_mode do anything else?
User avatar
Lidas
Stanley Cup Winner
Posts: 1494
Joined: Sun Jul 29, 2007 12:08 pm
Custom Rank: Rosters Legend
Location: Osaka, Japan

Post by Lidas »

It shows some more info about the chairmen, and you can see the all player's consistency.

There is probably more, but I haven't really been searching.
User avatar
Lazion
Second Line
Posts: 661
Joined: Tue Oct 23, 2007 5:34 pm
Favourite Team: Flyers

Post by Lazion »

You can see player favorite staffs and teams.
Coaches give also negative comments in their player reports.
User avatar
getzlaf15
Hall of Fame
Posts: 1932
Joined: Sun Jan 28, 2007 9:33 pm
Custom Rank: TBL Update Team

Post by getzlaf15 »

Is there anything negative with it. I might try it out.
User avatar
Lazion
Second Line
Posts: 661
Joined: Tue Oct 23, 2007 5:34 pm
Favourite Team: Flyers

Post by Lazion »

No.. if seeing consistency and player style without scouting doesn't count.
User avatar
bruins72
TBL Admin Team
Posts: 14513
Joined: Fri Jan 20, 2006 3:13 pm
Custom Rank: Challenge Guy
Favourite Team: Boston Bruins
Location: Taunton, MA

Post by bruins72 »

Just don't enable this in your challenge game. Seeing the consistency of a player is a bit of an advantage.
User avatar
Franck
Fringe Player
Posts: 374
Joined: Mon Mar 12, 2007 3:16 am
Location: Sweden

Post by Franck »

Noticed the consistency part, shame really as all the other things were interesting additions.
User avatar
Iceman90
Top Prospect
Posts: 105
Joined: Sun Jun 24, 2007 10:00 pm
Location: Calgary

Post by Iceman90 »

Can this be applied to a game already in progress, or does it need to be a new game?
User avatar
Franck
Fringe Player
Posts: 374
Joined: Mon Mar 12, 2007 3:16 am
Location: Sweden

Post by Franck »

Needs a new game :thup:
User avatar
Hypnotist
Checking Line
Posts: 558
Joined: Thu Apr 19, 2007 2:35 pm
Location: NW Ohio

Post by Hypnotist »

I followed the directions and I don't see a the additional information. No consistency, no favorites, nothin'. Am I missing something?
User avatar
bruins72
TBL Admin Team
Posts: 14513
Joined: Fri Jan 20, 2006 3:13 pm
Custom Rank: Challenge Guy
Favourite Team: Boston Bruins
Location: Taunton, MA

Post by bruins72 »

Did you start a new game?
User avatar
Hypnotist
Checking Line
Posts: 558
Joined: Thu Apr 19, 2007 2:35 pm
Location: NW Ohio

Post by Hypnotist »

yup. Even tried turning off Fog of War. Nothin'. I'm using the TBL Unfaked DB.
User avatar
Hypnotist
Checking Line
Posts: 558
Joined: Thu Apr 19, 2007 2:35 pm
Location: NW Ohio

Post by Hypnotist »

Code: Select all

#
# Cap Penalties
#
"CAP_PENALTY" "Philadelphia Flyers" 209000 2009
"CAP_PENALTY" "New Jersey Devils" 1200000 2010
"CAP_PENALTY" "New York Islanders" 375000 2009
"CAP_PENALTY" "Dallas Stars" 2333333 2008
#
#
"DEBUG_MODE"
#
#
I added the line to the end of the extra_config.cfg file. Does anyone see a code/punctuation issue?
User avatar
A9L3E
All-Star
Posts: 1230
Joined: Tue Sep 09, 2008 6:22 am
Custom Rank: Shiny gilded nameplate
Favourite Team: Helsingin Jokerit
Location: Vantaa, Finland

Post by A9L3E »

Hypnotist wrote:

Code: Select all

#
# Cap Penalties
#
"CAP_PENALTY" "Philadelphia Flyers" 209000 2009
"CAP_PENALTY" "New Jersey Devils" 1200000 2010
"CAP_PENALTY" "New York Islanders" 375000 2009
"CAP_PENALTY" "Dallas Stars" 2333333 2008
#
#
"DEBUG_MODE"
#
#
I added the line to the end of the extra_config.cfg file. Does anyone see a code/punctuation issue?
That seems to be OK. I really don't know what's wrong :-?
User avatar
leafsnation
Top Prospect
Posts: 125
Joined: Fri Feb 20, 2009 9:25 pm
Favourite Team: Toronto Maple Leafs
Location: Komoka, Ontario, Canada (just outside London)

Post by leafsnation »

I think the part you added needs to be at the very beginning of the file, not at the end.
User avatar
A9L3E
All-Star
Posts: 1230
Joined: Tue Sep 09, 2008 6:22 am
Custom Rank: Shiny gilded nameplate
Favourite Team: Helsingin Jokerit
Location: Vantaa, Finland

Post by A9L3E »

leafsnation wrote:I think the part you added needs to be at the very beginning of the file, not at the end.
I have it bottom of the list and it works perfectly...
User avatar
Hypnotist
Checking Line
Posts: 558
Joined: Thu Apr 19, 2007 2:35 pm
Location: NW Ohio

Post by Hypnotist »

No, you need to edit the extra_config file that corresponds with the DB you are starting the new game with. I mistakenly thought that there was only 1 extra_config file and not 1 for each DB. :doh:

I'm an idiot :oops:
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:

Post by archibalduk »

I'm glad you solved it. I've been reading down this thread trying to figure out why the heck it's not working even though everything seemed to have been written correctly!! :-D
Post Reply