EHM 2007 Custom NHL Jersey Generator
Forum rules
Data Editing Forum: Editing the game, databases or saved games. Home of the EHM Editor and the EHM Assistant.
Game Add-ons Forum: Database projects, graphics and sounds. Any discussion which does not relate to editing databases or saved games.
Game Knowledge Discussion: Attributes, coaching, drafting, scouting, tactics and training/practice.
Rosters Forum: Discussion relating to all database and roster projects for Eastside Hockey Manager.
TBL Rosters: Discussion, crashes, data issues, questions, etc relating to the TBL Rosters update for Eastside Hockey Manager.
Technical Support: Difficulties, crashes and errors when installing or running the game (and nothing else). Any issues relating to the TBL Rosters must be posted in the TBL Rosters forum. Questions about how to install add-ons must be posted in the Game Add-ons Forum.
General EHM Chat: Anything relating to Eastside Hockey Manager 2004 / 2005 / 2007 / 1 which does not fall within any of the other forums.
Useful Links: Find your EHM 1 installation folder location • Converting an EHM 2007 database into EHM 1 • Logo sizes • Where to install add-ons
Data Editing Forum: Editing the game, databases or saved games. Home of the EHM Editor and the EHM Assistant.
Game Add-ons Forum: Database projects, graphics and sounds. Any discussion which does not relate to editing databases or saved games.
Game Knowledge Discussion: Attributes, coaching, drafting, scouting, tactics and training/practice.
Rosters Forum: Discussion relating to all database and roster projects for Eastside Hockey Manager.
TBL Rosters: Discussion, crashes, data issues, questions, etc relating to the TBL Rosters update for Eastside Hockey Manager.
Technical Support: Difficulties, crashes and errors when installing or running the game (and nothing else). Any issues relating to the TBL Rosters must be posted in the TBL Rosters forum. Questions about how to install add-ons must be posted in the Game Add-ons Forum.
General EHM Chat: Anything relating to Eastside Hockey Manager 2004 / 2005 / 2007 / 1 which does not fall within any of the other forums.
Useful Links: Find your EHM 1 installation folder location • Converting an EHM 2007 database into EHM 1 • Logo sizes • Where to install add-ons
- Asbeen
- Drafted
- Posts: 161
- Joined: Wed May 03, 2006 2:41 pm
- Location: Gatineau
- Contact:
Re: EHM 2007 Custom NHL Jersey Generator
I know it's an old topic but I still use it with the new EHM and I want to share how I found a way to make it work because it's not working well by default with the new version.
First problem is the DOB format, the new version is with dot (01.03.2016) and the program was written for EHM2007 with date format like 01-03-2016.
So if you want it to read your rosters (text files), you have to edit each team player's DOB switching the " . " for a " - ".
That seems pretty long to do but you can do it with a program like Notepad++ by creating an easy macro to do it for you.
Second problem is the Arizona Coyotes, you have to edit with notepad++ the name Phoenix for Arizona in the file jersey_dl.py within the program directory.
Everything should work fine after this.
I wish their would be an easier way to update the program instead but I have no knowledge of Python programming.
Hope it helps.
First problem is the DOB format, the new version is with dot (01.03.2016) and the program was written for EHM2007 with date format like 01-03-2016.
So if you want it to read your rosters (text files), you have to edit each team player's DOB switching the " . " for a " - ".
That seems pretty long to do but you can do it with a program like Notepad++ by creating an easy macro to do it for you.
Second problem is the Arizona Coyotes, you have to edit with notepad++ the name Phoenix for Arizona in the file jersey_dl.py within the program directory.
Everything should work fine after this.
I wish their would be an easier way to update the program instead but I have no knowledge of Python programming.
Hope it helps.
-
- Top Prospect
- Posts: 114
- Joined: Fri Jan 11, 2008 11:51 pm
Re: EHM 2007 Custom NHL Jersey Generator
Thanks for the update Asbeen.... I have been using this as well. Unfortunately it looks like NHL.com is starting to use a different format for their jerseys so it might get harder to get updated jerseys in the future...
- 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: EHM 2007 Custom NHL Jersey Generator
Hmm it shouldn't take too much to write a little tool to do the same thing... It looks like the URL is always like this:
What are the different NHL.com formats that are appearing?
Code: Select all
http://lp.imageg.net/prod?set=key[name],value[IVERSON]&set=key[number],value[3]&set=key[displaysize],value[260]&load=url[http://chains.imageg.net/graphics/dynamic/chains/p3536103_customback.chain]
-
- Top Prospect
- Posts: 114
- Joined: Fri Jan 11, 2008 11:51 pm
Re: EHM 2007 Custom NHL Jersey Generator
I think it was more that the newer jerseys do not allow you to just get the back of the jersey and the combo back/front jerseys don't fit in the available space quite as well (and are kind of ugly):
Here's an example of one that won't work: http://shop.nhl.com/Jerseys/Reebok_Buff ... sey_-_Gold
That's not to say its not possible to just get the back, I just wasn't successful in the hour or so I spent trying to figure it out.
Here's an example of one that won't work: http://shop.nhl.com/Jerseys/Reebok_Buff ... sey_-_Gold
That's not to say its not possible to just get the back, I just wasn't successful in the hour or so I spent trying to figure it out.
-
- Junior League
- Posts: 38
- Joined: Sat Nov 28, 2015 12:07 am
- Favourite Team: Toledo Walleye
Re: EHM 2007 Custom NHL Jersey Generator
This looks really awesome if it still works--would it replace existing player photos, too, though? I like having the player pics, but I'm not a fan of faceless newgens and it'd be sweet to have their jerseys instead.
- 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: EHM 2007 Custom NHL Jersey Generator
Ah I see what you mean. It doesn't look like there's any way around that.helmespc wrote:I think it was more that the newer jerseys do not allow you to just get the back of the jersey and the combo back/front jerseys don't fit in the available space quite as well (and are kind of ugly):
Here's an example of one that won't work: http://shop.nhl.com/Jerseys/Reebok_Buff ... sey_-_Gold
That's not to say its not possible to just get the back, I just wasn't successful in the hour or so I spent trying to figure it out.
Incidentally, it's interesting how high quality the preview images are:
Code: Select all
http://images.fanatics.com/lf?set=key[name],value[TBL]&set=key[number],value[99]&call=url[http://dmimages.ff.p10/chains/1601733.txt]
- Asbeen
- Drafted
- Posts: 161
- Joined: Wed May 03, 2006 2:41 pm
- Location: Gatineau
- Contact:
Re: EHM 2007 Custom NHL Jersey Generator
A small jersey editor for the game would be nice.. 

-
- Top Prospect
- Posts: 114
- Joined: Fri Jan 11, 2008 11:51 pm
Re: EHM 2007 Custom NHL Jersey Generator
After looking at this a bit more, I think there's probably a way to mask just the back of the newer jerseys using the covert tool, I'll have to look into it a bit more when I get some free time...
-
- Top Prospect
- Posts: 114
- Joined: Fri Jan 11, 2008 11:51 pm
Re: EHM 2007 Custom NHL Jersey Generator
If used, this will typically replace photos if the player changes teams or changes number. Its kind of hard to determine whether the original photo was a real player or generated player, unfortunatelyneuralhandshake wrote:This looks really awesome if it still works--would it replace existing player photos, too, though? I like having the player pics, but I'm not a fan of faceless newgens and it'd be sweet to have their jerseys instead.

- JakeTheSnake
- Prospect
- Posts: 73
- Joined: Fri May 06, 2011 9:07 am
- Location: Finland
Re: EHM 2007 Custom NHL Jersey Generator
Might be a stupid question, but do you think it would be possible to make this work by creating a background picture for every team to appear in the player profile that would have a picture of the jersey on the spot where the player picture is? After that it would be a matter of creating a proflie picture for every player that has just the players last name and number that would align properly with the jersey in the background. So even when the player is traded the player picture stays the same but the jersey in the background image changes.helmespc wrote:After looking at this a bit more, I think there's probably a way to mask just the back of the newer jerseys using the covert tool, I'll have to look into it a bit more when I get some free time...
And is it possible to use data from the game in some way to create a small prorgram that generates the name and number of players automatically as player pictures?
- Asbeen
- Drafted
- Posts: 161
- Joined: Wed May 03, 2006 2:41 pm
- Location: Gatineau
- Contact:
Re: EHM 2007 Custom NHL Jersey Generator
I found the ID's number for St.Louis Blues (their jersey wasn't working)
The program as it, it's not working because of dob format but there is a way around but maybe a bit complicated.
I would like to change the dob 00.01.2016 for 00-01-2016 within the coding
(The program "Jersey generator" is not reading the roster files with DateOfBirth separate by dot but if you change them by "-" it works, the old EHM2007 was printing the rosters as 01-01-2016 but the new EHM is printing as 01.01.2016)
Anyone knows Pyhton programming that could have a look at the coding or tell me what to change?
The program as it, it's not working because of dob format but there is a way around but maybe a bit complicated.
I would like to change the dob 00.01.2016 for 00-01-2016 within the coding
(The program "Jersey generator" is not reading the roster files with DateOfBirth separate by dot but if you change them by "-" it works, the old EHM2007 was printing the rosters as 01-01-2016 but the new EHM is printing as 01.01.2016)
Anyone knows Pyhton programming that could have a look at the coding or tell me what to change?
Maybe it's somewhere else?def parse_dob(dob):
date_object = datetime.strptime(dob, '%m.%d.%y')
return date_object.day, date_object.month, date_object.year
def gen_filename(firstname, lastname, dob):
day, month, year = parse_dob(dob)
fn = firstname + "." + lastname + "." + str(day) + "." + str(month) + "." + str(year) + ".png"
return fn
- 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: EHM 2007 Custom NHL Jersey Generator
Just looking at that code snippet, you'll want to find wherever it says something like this (assuming you want to replace the dashes with dots):
... and replace it with this:
Basically, the "day", "month" and "year" variables will be numbers. The "str()" function changes the number to a text string e.g. str(month) will convert the month number to a text string (numbers and strings are different data types which is why they have to be converted).
Code: Select all
str(day) + "-" + str(month) + "-" + str(year) + ".png"
Code: Select all
str(day) + "." + str(month) + "." + str(year) + ".png"
- Asbeen
- Drafted
- Posts: 161
- Joined: Wed May 03, 2006 2:41 pm
- Location: Gatineau
- Contact:
Re: EHM 2007 Custom NHL Jersey Generator
Switching dashes for dots or the other way around is not changing anything. It must be somewhere else in the coding.
I don't know if it would be possible to change the print fonction of EHM itself?
I don't know if it would be possible to change the print fonction of EHM itself?
- Asbeen
- Drafted
- Posts: 161
- Joined: Wed May 03, 2006 2:41 pm
- Location: Gatineau
- Contact:
Re: EHM 2007 Custom NHL Jersey Generator
A small update on the Generator:
I manage to make it works.
I made a small macro in Notepad++ to convert all roster printout DOB from dot to dash. Then you need to manually change the Blues roster title (within the printout) from -> St. Louis to St- Louis Blues.
Other thing mentionned before; The Arizona Coyotes, you have to edit with notepad++, Phoenix for Arizona in the file jersey_dl.py within the program directory.
In jersey_dl.conf you need to make sure you have these numbers to have the St- Louis Blues jerseys: (You can use Notepad++ to open it)
St- Louis Blues 1: 3536454
St- Louis Blues 2: 3535960
St- Louis Blues 3: 4685102
I could upload the file jersey_dl.conf somewhere if needed
I know it seems a bit tricky to have it to work but I really like it to have the jerseys with numbers instead of the players faces since if you play with your franchise long enough to have new players.
I manage to make it works.
I made a small macro in Notepad++ to convert all roster printout DOB from dot to dash. Then you need to manually change the Blues roster title (within the printout) from -> St. Louis to St- Louis Blues.
Other thing mentionned before; The Arizona Coyotes, you have to edit with notepad++, Phoenix for Arizona in the file jersey_dl.py within the program directory.
In jersey_dl.conf you need to make sure you have these numbers to have the St- Louis Blues jerseys: (You can use Notepad++ to open it)
St- Louis Blues 1: 3536454
St- Louis Blues 2: 3535960
St- Louis Blues 3: 4685102
I could upload the file jersey_dl.conf somewhere if needed
I know it seems a bit tricky to have it to work but I really like it to have the jerseys with numbers instead of the players faces since if you play with your franchise long enough to have new players.
- Asbeen
- Drafted
- Posts: 161
- Joined: Wed May 03, 2006 2:41 pm
- Location: Gatineau
- Contact:
Re: EHM 2007 Custom NHL Jersey Generator
Where do you find the related team code?archibalduk wrote:Hmm it shouldn't take too much to write a little tool to do the same thing... It looks like the URL is always like this:
What are the different NHL.com formats that are appearing?Code: Select all
http://lp.imageg.net/prod?set=key[name],value[IVERSON]&set=key[number],value[3]&set=key[displaysize],value[260]&load=url[http://chains.imageg.net/graphics/dynamic/chains/p3536103_customback.chain]
ex.: p3536103
This one correspond to Anaheim Ducks but I would like to find Vegas and I don't know where to search. (I did found St-Louis Blues over a year ago but can't remember where)