Page 1 of 2

Facegen for NHL:EHM 2007?

Posted: Fri Mar 23, 2007 10:11 pm
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

Re: Facegen for NHL:EHM 2007?

Posted: Wed Sep 19, 2007 8:36 pm
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.

Posted: Wed Sep 19, 2007 9:26 pm
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:

Posted: Wed Sep 19, 2007 9:44 pm
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.

Posted: Thu Sep 20, 2007 1:49 am
by Saranis
Nice idea but your faces look identical.

Posted: Thu Sep 20, 2007 10:47 am
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:

Posted: Thu Sep 20, 2007 2:30 pm
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.

Posted: Thu Sep 20, 2007 2:38 pm
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.

Posted: Thu Sep 20, 2007 5:00 pm
by Bobble
Yep. And that's what I'm going to do as well if my grandiose plan goes up in smoke.

Posted: Tue Sep 25, 2007 3:11 am
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?

Posted: Tue Sep 25, 2007 9:23 pm
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.

Posted: Fri Oct 05, 2007 2:02 am
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.

Posted: Fri Oct 05, 2007 2:09 am
by Tasku
Looks good. Although it's quite hard to say about the faces with those masks on... :-k

Posted: Fri Oct 05, 2007 2:19 am
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.

Posted: Thu Oct 18, 2007 3:46 pm
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.

Posted: Thu Oct 18, 2007 4:51 pm
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?

Posted: Thu Oct 18, 2007 8:25 pm
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.

Posted: Fri Oct 19, 2007 4:45 pm
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.

Posted: Sat Oct 20, 2007 5:09 pm
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.

Posted: Sat Oct 20, 2007 5:56 pm
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. :-)

Posted: Sun Oct 21, 2007 10:30 am
by Shadd666
Yup, looks very nice :thup:

Posted: Mon Oct 22, 2007 4:26 pm
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).

Posted: Mon Oct 22, 2007 5:10 pm
by Tasku
Okey-dokey, looking forward to this. :thup:

finnished?

Posted: Sun Nov 11, 2007 10:00 pm
by larsson19
Is it finnished soon?

Re: finnished?

Posted: Mon Nov 12, 2007 6:00 pm
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".