PDA

View Full Version : NBA players photos


Icy
01-31-2007, 11:23 AM
To finish my NBA universe, i wrote a php script to auto download all the players pics from nba.com for the players names in the default.dat database of DDSPB.

Here is the result, 604 players pics ready to be used in the game that cover 99% of the players in the default database (4 or 5 players failed to be downloaded by the script). I also added the pic of Toronto's Garbajosa, even when I couldn't find him in the default game database, but I'll create him anyway.

To use it just unzip the pics in the folder:

C:\Program Files\Wolverine Studios\DDSPB\graphics\players

(if you installed the game in another folder, then unzip it there).

Enjoy:
http://www.prodeportes.com/ddspb/Icy-nba-playerspics.zip

KG21
01-31-2007, 11:27 AM
What can i say.....YES!!!!!.....and thanks, obviously.....

Honny118
01-31-2007, 11:49 AM
Beautiful man. So how about getting all those coaches' photos from NBA.com as well?

Icy
01-31-2007, 11:51 AM
Beautiful man. So how about getting all those coaches' photos from NBA.com as well?

Are the coaches in the database the real ones? if so it should be easy to download them too.

Rocko
01-31-2007, 11:52 AM
Thanks Icy.

Honny118
01-31-2007, 11:58 AM
Are the coaches in the database the real ones? if so it should be easy to download them too.

Yes, they are also real NBA coaches.

Icy
01-31-2007, 12:13 PM
Yes, they are also real NBA coaches.

Yes i saw it, downloading them now, will upload the file shortly.

Icy
01-31-2007, 12:16 PM
From the 261 non players in the default database, 167 could be downloaded, the magic of scripting, no way i would download all them manually :)

wget http://www.nba.com/media/playerfile/jerry_degregorio.jpg--18:11:37-- http://www.nba.com/media/playerfile/jerry_degregorio.jpg
=> `jerry_degregorio.jpg'
Resolving www.nba.com... 64.21.49.53, 64.21.49.54
Connecting to www.nba.com[64.21.49.53]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
18:11:39 ERROR 404: Not Found.

wget http://www.nba.com/media/playerfile/mike_smith.jpg--18:11:39-- http://www.nba.com/media/playerfile/mike_smith.jpg
=> `mike_smith.jpg'
Resolving www.nba.com... 64.21.49.54, 64.21.49.53
Connecting to www.nba.com[64.21.49.54]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5,075 [image/jpeg]

100%[================================================== ======================================>] 5,075 --.--K/s

18:11:40 (50.11 KB/s) - `mike_smith.jpg' saved [5075/5075]

wget http://www.nba.com/media/playerfile/john_moyer.jpg--18:11:40-- http://www.nba.com/media/playerfile/john_moyer.jpg
=> `john_moyer.jpg'
Resolving www.nba.com... 64.21.49.53, 64.21.49.54
Connecting to www.nba.com[64.21.49.53]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
18:11:40 ERROR 404: Not Found.

wget http://www.nba.com/media/playerfile/jeff_malone.jpg--18:11:40-- http://www.nba.com/media/playerfile/jeff_malone.jpg
=> `jeff_malone.jpg'
Resolving www.nba.com... 64.21.49.54, 64.21.49.53
Connecting to www.nba.com[64.21.49.54]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,673 [image/jpeg]

100%[================================================== ======================================>] 2,673 --.--K/s

18:11:40 (26.68 KB/s) - `jeff_malone.jpg' saved [2673/2673]

thony
01-31-2007, 05:42 PM
Thanks Icy. :D

galaril
02-01-2007, 10:10 AM
I noticed a few of the players photos are not appearing in game e.g JJ Redick. Is there a speciafic naming convention?

galaril
02-10-2007, 10:46 AM
So has anyone figured out how to get player photos like jj Redick who have pictures in this file mod but for some reason aren't appearing in game? Is it because of the jj at the front of the name:confused: ?

LMamone
02-10-2007, 11:01 AM
You need to rename picture to JJ_Redick.Caps doesnt matter.

Warriors11
11-22-2007, 12:28 AM
just stumbled across these - dude you are the MAN!!!