Facegen for NHL:EHM 2007?

Want to ask EHM graphics questions, questions about a project or make requests for a project? Don't know what files go where? Are you working on a new addon or roster update? This is the place to discuss!
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 locationConverting an EHM 2007 database into EHM 1Logo sizesWhere to install add-ons
duff88
Junior League
Posts: 37
Joined: Fri Mar 23, 2007 10:08 pm

Facegen for NHL:EHM 2007?

Post by duff88 »

Anyone think it would be possible to make some kind of "editor" to use OOTP:2007's facegen and create faces for NHL:EHM? Making the pictures would be possible with proper mods, but would it be possible and would someone be up to the challenge of creating a program that transfers the faces to NHL:EHM?

Thanks. :-D
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Re: Facegen for NHL:EHM 2007?

Post by Bobble »

duff88 wrote:Anyone think it would be possible to make some kind of "editor" to use OOTP:2007's facegen and create faces for NHL:EHM? Making the pictures would be possible with proper mods, but would it be possible and would someone be up to the challenge of creating a program that transfers the faces to NHL:EHM?

Thanks. :-D
I know it's a little odd resurrecting a thread from last March, but I am doing something like this. It's not actually taking the faces from OOTP, but directly from Facegen. My goal would be to have faces for all the regens (which I think is do-able -- I did it for FM).

I've started with goalies. You can see some examples here:
http://server7.pictiger.com/img/60118/p ... alieex.php

The faces will be different in the future and maybe jersey colors but you get the idea. My only problem is that I need a savegame editor that will print out the player names and DOBs to a file so I can assign the pictures correctly. Well, I need that and more free time.

Comments welcomed.
User avatar
Tasku
TBL Admin Team
Posts: 8165
Joined: Sat Jul 10, 2004 9:36 pm
Custom Rank: W-WPoTBLfaSaD
Favourite Team: WSH Capitals
Location: Finland

Post by Tasku »

Will this cover all leagues in EHM, or just the NHL?

Interesting project. Looking forward to seeing how you do, and what you can do with it. :thup:
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Post by Bobble »

Tasku wrote:Will this cover all leagues in EHM, or just the NHL?
Theoretically, you could do any or all leagues you liked. It would be something each user would have to customize for their own game. I could upload all my facegen pix but since your regen's names and birthdates aren't MY regen's names and birthdates, you would have to assign the pix to the appropriate player in your game. Not individually, but through something like a batch file.

Just to be clear, it would work something like this. The pictures would be named:

1.jpg
2.jpg
3.jpg...

Then, you would print out from the saved game editor (which it currently does not do) the names and DOBs of the players you're interested in getting pictures for:

Joe Schlabotnik 1-1-2014
Tom Dickenharry 3-4-2015
Thug McThugster 9-12-2013

Then, you run a batch file that renames 1.jpg to Joe_Schlabotnik_1_1_2014, 2.jpg to Tom_Dickenharry_3_4_2015, etc.

Presto, your regens have pictures. The only problem is getting the names and DOBs in a convenient manner.
User avatar
Saranis
Top Prospect
Posts: 128
Joined: Sat Jul 28, 2007 5:14 pm

Post by Saranis »

Nice idea but your faces look identical.
User avatar
Shadd666
Super Mario
Posts: 2996
Joined: Mon Mar 27, 2006 5:47 pm
Custom Rank: Smiley Crazy Goodwill Ambassador!
Location: Toulouse (France)

Post by Shadd666 »

Saranis: i think it was just an example to show different goalie masks ;)

Bobble: Nice project! :) Keep us tuned on how it progresses :thup:
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Post by Bobble »

Saranis wrote:Nice idea but your faces look identical.
Bobble wrote:The faces will be different in the future...
I like the way it's looking but I'm concerned that I don't know and may never have a way to collect the names and DOBs of the regens. That's my big holdup.

Thanks for the interest, everyone.
User avatar
Tasku
TBL Admin Team
Posts: 8165
Joined: Sat Jul 10, 2004 9:36 pm
Custom Rank: W-WPoTBLfaSaD
Favourite Team: WSH Capitals
Location: Finland

Post by Tasku »

Would it be possible to just create a face and then manually save it as that particular regen when signed? Obviously that way it's not as cool as having faces generated automatically to each regen, which is what I'm guessing you're trying to do, but for me that would do. I tend to look for missing player pics for newly signed players when they come to my team anyway.
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Post by Bobble »

Yep. And that's what I'm going to do as well if my grandiose plan goes up in smoke.
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Post by Bobble »

Well, I've got 114 goalie pictures done.

Anyone got any other ideas on how to get names and DOBs for regens? Is there anything you can do with a shortlist to get it to print DOB rather than age?
User avatar
Saranis
Top Prospect
Posts: 128
Joined: Sat Jul 28, 2007 5:14 pm

Post by Saranis »

You're not the first to try to get it to print, people have been asking for it since 2007 was released (probably before that with earlier versions, I just dont remember) and no one has yet been able to do it.
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Post by Bobble »

With the start of hockey season, I delved into this project a little more as I watched the Wings (they should call him Todd Ber-LOSE-y!).

Doesn't look like I'm going to get the saved game editor to print DOBs so I printed out all the NHL rosters and gleened my data from there. I've done my regen goalies. You can see a couple of in-game examples here:
Image

I've started in on skaters. As I started mass producing them, I didn't like how about a third of them were coming out so I'm going to try to craft them a little more.
User avatar
Tasku
TBL Admin Team
Posts: 8165
Joined: Sat Jul 10, 2004 9:36 pm
Custom Rank: W-WPoTBLfaSaD
Favourite Team: WSH Capitals
Location: Finland

Post by Tasku »

Looks good. Although it's quite hard to say about the faces with those masks on... :-k
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Post by Bobble »

Tasku wrote:Looks good. Although it's quite hard to say about the faces with those masks on... :-k
Thanks. Agreed. The idea was to give each player a bit more individuality and the ability to be more instantly recognized. I think it works for that.
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Post by Bobble »

If anyone is interested in this project, here's an update. I've got my 100+ goalies and I did about 150 skaters. I've put them in my saved game and I'm pleased with the results. I was hoping to do more skaters before I put them in but I got impatient :dunno:. If anyone wants to see examples or use them in their game, let me know.
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 sounds interesting for sure.

Did you manage to find a way to set the filenames, or did you have to do it manually?
User avatar
Tasku
TBL Admin Team
Posts: 8165
Joined: Sat Jul 10, 2004 9:36 pm
Custom Rank: W-WPoTBLfaSaD
Favourite Team: WSH Capitals
Location: Finland

Post by Tasku »

Yup, I'm interested for sure.

I'd love to see a few skater-faces. So far I've seen that you make a killer mask for goalies, but haven't seen what the faces look like.
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Post by Bobble »

Lidas wrote:It sounds interesting for sure.

Did you manage to find a way to set the filenames, or did you have to do it manually?
I'm sure there's an easier way to do it but here's what I did. It's actually easier than it sounds.

- I cycled through each NHL team, switching to "all contracted", and printing their roster to a file. I probably should have done this during training camps to make sure I captured the most player names but I'll make sure I do that next season. And, I suppose you could do some of the other teams out there like the International Under 20's.

- Then, I opened up a MSDOS window, navigated to the directory where my current player pictures are, entered "dir" to get a list of the files, right-click and select all, copy, and finally paste into notepad. That's a text file of all the pictures I currently have. I might have had to list and copy the filenames in pages now that I think about it.

- Open up Excel , copy/paste all my team roster text files, and arrange to get a name+ DOB column. Copy/paste in my text file of all the filenames of pictures I already have (deleting the duplicates) in another worksheet. I used vlookup to see if the name+DOBs I have occured in the list of the pictures I already had on the next worksheet. Delete ones I already have.

- So, that leaves me with a list of all the players on NHL teams who don't already have a picture. For the skaters, I deleted any goalies in my list. Then I add a column to excel with numbers from 1 to 150, repeated over and over until I got to the bottom of the list of players (since I had 150 skater pictures at that time). Then I add another column with the words "rename "<the number from the column I previously made>+".jpg "+the player's name+DOB+.jpg.

- Copy/paste that last column to notepad and save it as .bat. That's a batch file that will rename the current files which are of the format #.jpg to name+DOB.jpg.

That's how I did it in a nutshell. If anyone wants more of the details, let me know.

So, the same picture is assigned to about 4 or 5 guys but so far, it hasn't been noticeable that there are duplicates. Really I'd like to get about 500 or so skaters. When I did something similar for FM, that number of pictures seemed to be enough where I never noticed a duplicate picture.

I'll put together some examples this evening and post 'em.
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Post by Bobble »

I was gonna post this last night but our power was out. Anyway, here's a couple of the skater pictures in-game:

Image

Comments welcomed.
User avatar
Tasku
TBL Admin Team
Posts: 8165
Joined: Sat Jul 10, 2004 9:36 pm
Custom Rank: W-WPoTBLfaSaD
Favourite Team: WSH Capitals
Location: Finland

Post by Tasku »

Looks great! :thup:

Will helmets and jerseys get their colours according to what team their in?

Not sure if beards are quite as common in real hockey as they were in the pics, though... but looks very cool nevertheless. :-)
User avatar
Shadd666
Super Mario
Posts: 2996
Joined: Mon Mar 27, 2006 5:47 pm
Custom Rank: Smiley Crazy Goodwill Ambassador!
Location: Toulouse (France)

Post by Shadd666 »

Yup, looks very nice :thup:
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Post by Bobble »

Tasku wrote:Looks great! :thup:

Will helmets and jerseys get their colours according to what team their in?
No, just random colors. I suppose that could have been done but it would take a lot more effort than I'm willing to put into it. As it is with trades and free agency, many player pictures don't match up with their current team (Pavel Datsyuk is playing for Phoenix in my game but he's still wearing his Wings jersey in his photo).

Tasku wrote:Not sure if beards are quite as common in real hockey as they were in the pics, though... but looks very cool nevertheless. :-)
Actually, only about 10% of the pix I made have a beard. I just happened to grab a higher percentage when I was looking for examples (probably because I think they look cooler).
User avatar
Tasku
TBL Admin Team
Posts: 8165
Joined: Sat Jul 10, 2004 9:36 pm
Custom Rank: W-WPoTBLfaSaD
Favourite Team: WSH Capitals
Location: Finland

Post by Tasku »

Okey-dokey, looking forward to this. :thup:
larsson19
Junior League
Posts: 5
Joined: Sun Sep 30, 2007 12:54 pm

finnished?

Post by larsson19 »

Is it finnished soon?
Bobble
Junior League
Posts: 24
Joined: Sat Apr 21, 2007 12:26 am

Re: finnished?

Post by Bobble »

larsson19 wrote:Is it finnished soon?
I wouldn't say finished but probably useable as is. I haven't done much on this project lately (I've been distracted by other shiney objects) but I can upload the pix I have if someone wants them now. Otherwise, I'll be making more pix "soon".
Post Reply