Color of Team EHM07

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
User avatar
SirWroom
Junior League
Posts: 16
Joined: Sun Apr 02, 2017 8:07 pm
Favourite Team: Detroit Red Wings

Color of Team EHM07

Post by SirWroom »

I couldn't send a PM to Archibalduk to ask this as I need more posts on this new user, so I'll just ask it here instead.

How and where does one change the color of an NHL-team? Meaning the color of the team, color of the team in game (home and away) and wherever else one needs to?

I want to change the colors of the Nashville Predators on NHL Eastside Hockey Manager 2007. Currently it's like dark blue with yellow name at home and the white and blue or something away (can't exactly remember right now).

I want to change to yellow and blue and correct away as well.
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:

Re: Color of Team EHM07

Post by archibalduk »

User avatar
SirWroom
Junior League
Posts: 16
Joined: Sun Apr 02, 2017 8:07 pm
Favourite Team: Detroit Red Wings

Re: Color of Team EHM07

Post by SirWroom »

archibalduk wrote:Use the EHM 2007 Pre-Game Editor: http://www.ehmtheblueline.com/forums/vi ... =88&t=6745
Ah! Okay. Thanks. Does that work for already started games? I mean, I see it's a pre-game editor, but colors must be taken from somewhere? A script somewhere.
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:

Re: Color of Team EHM07

Post by archibalduk »

No, it works for databases only. You cannot edit saved games to change colours.
User avatar
SirWroom
Junior League
Posts: 16
Joined: Sun Apr 02, 2017 8:07 pm
Favourite Team: Detroit Red Wings

Re: Color of Team EHM07

Post by SirWroom »

archibalduk wrote:No, it works for databases only. You cannot edit saved games to change colours.
Ah I see! But do you know what files that have the colors?

Is it among the dat files? Because one might be able to edit this stuff manually if one finds out where it is.
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:

Re: Color of Team EHM07

Post by archibalduk »

Yes - all club data (including club colour data) is stored in club.dat and nat_club.dat (for the national clubs). You will need the following:

1. A hex editor;
2. Details of the club table structure - see here: http://www.ehmtheblueline.com/forums/vi ... 81#p131548; and
3. A basic understanding of C/C++ structures.

You will also need to look at the colour.dat file in order to see which colours have which IDs. Alternatively, you might be able to export the colour data (i.e. colour IDs and names) via the EHM Updater.
User avatar
SirWroom
Junior League
Posts: 16
Joined: Sun Apr 02, 2017 8:07 pm
Favourite Team: Detroit Red Wings

Re: Color of Team EHM07

Post by SirWroom »

archibalduk wrote:Yes - all club data (including club colour data) is stored in club.dat and nat_club.dat (for the national clubs). You will need the following:

1. A hex editor;
2. Details of the club table structure - see here: http://www.ehmtheblueline.com/forums/vi ... 81#p131548; and
3. A basic understanding of C/C++ structures.

You will also need to look at the colour.dat file in order to see which colours have which IDs. Alternatively, you might be able to export the colour data (i.e. colour IDs and names) via the EHM Updater.
Thanks for the help, I'll try and see if I can get around to this. I'm like 19 seasons in, in that game. So if I'm able to change it that way, it would be great.

It worked very easy using the pre-editor and a new game.
Post Reply