Jump to content

Possible to have the portraits updated


redsox

Recommended Posts

  • Replies 63
  • Created
  • Last Reply
If you just wanted the logo for the player's current team in one of the corners of the portrait, that would be so much easier to do automatically than to automatically change the hat.
That would definitely work. And I guess we can substitute in the game faces for the real ones right?
Link to comment
Share on other sites

This is what I mean.

portraitmr4.jpg

I guess this is what you are referring to as well right? Basically getting rid of the real portraits and have player portraits like these.

EDIT: I just grabbed a generic face to show as example.

Link to comment
Share on other sites

This is what I mean.

portraitmr4.jpg

I guess this is what you are referring to as well right? Basically getting rid of the real portraits and have player portraits like these.

EDIT: I just grabbed a generic face to show as example.

Yeah. something like that.

I just didn't understand your last post, because you were referring to them as faces, when portraits is what you really meant.

Link to comment
Share on other sites

Yeah. something like that.

I just didn't understand your last post, because you were referring to them as faces, when portraits is what you really meant.

I am sorry about that. You are right. I meant portraits.

If that is what you are referring to, then I guess we would have to redo every single one of those portraits correct? Meaning we would have to create the alpha images and the portrait images for those 1000+ portraits.

Or is there another way?

Link to comment
Share on other sites

I am sorry about that. You are right. I meant portraits.

If that is what you are referring to, then I guess we would have to redo every single one of those portraits correct? Meaning we would have to create the alpha images and the portrait images for those 1000+ portraits.

Or is there another way?

You wouldn't need to do it manually. The program I proposed earlier would take care of it.

All it would need is the logo for each team + alpha file for the logo.

Link to comment
Share on other sites

Would what Ty suggested be something that a lot of you would want? If so, maybe we can implement this mod.

I would be glad to create the team logo and its alpha images but I don't know any coding, so I wouldn't be able to help in that regard. But anything else, I can help with.

Link to comment
Share on other sites

That would be a tremendous thing for portraits. It would be especially useful for minor league pictures where most people wouldn't recognize some of the hat logos, but the big league logo would tell them what organization the player plays for.

Link to comment
Share on other sites

Wait, so let me get this straight. All you want us to do is put team logos on each of the players? That's easy!

I thought you were suggesting something much harder.

Ty, if you don't want to do it, I'll do it, because I could use the practice.

I'd just need the team logos and alphas, as ty said.

Link to comment
Share on other sites

You'd get major props for this program if you made it, comp.

Only problem is, ty is probably going to get it done before I even start it.

But redsox, I have one more question. Will these new portraits be for ALL the players, or just the players that have generic faces?

Link to comment
Share on other sites

compmaniac, you can make the program that actually edits the portrait.

But, I'll have to do the main program. Actually, I'd probably just add it into MVP2005 Editor.

I want to be able to use it from the command-line.

Example command (assuming you name the program addlogo.exe):

addlogo.exe infile.fsh outfile.fsh x

where infile.fsh is the file that you need to edit

and outfile.fsh is the file after it is edited

and x is the team number (to tell you which logo to add)

Also maybe there should be an option to pick which corner to add the logo to.

Link to comment
Share on other sites

That would be a tremendous thing for portraits. It would be especially useful for minor league pictures where most people wouldn't recognize some of the hat logos, but the big league logo would tell them what organization the player plays for.

Great idea about the minor leaguers portraits, KG.

I would definitely love to see this mod, and would use it for sure. It would give MVP Baseball an even different, original look.

Link to comment
Share on other sites

compmaniac, you can make the program that actually edits the portrait.

But, I'll have to do the main program. Actually, I'd probably just add it into MVP2005 Editor.

I want to be able to use it from the command-line.

Example command (assuming you name the program addlogo.exe):

addlogo.exe infile.fsh outfile.fsh x

where infile.fsh is the file that you need to edit

and outfile.fsh is the file after it is edited

and x is the team number (to tell you which logo to add)

Also maybe there should be an option to pick which corner to add the logo to.

tywiggins, I think redsox wants ALL the portraits, even the non-generic ones, to be cyberface-shots...

...However, if not, ty, I could learn about program command-line parameters and maybe make the program, but most likely you'll do it faster than me.

Also, tywiggins, does the nfshtool.exe that you include with your MVPEditor2005 accept wildcards (*)?

I need a nfshtool.exe or something similar that accepts wildcards.

And one more question, ty, would the program have to assign id numbers on the fly, or will they be pre-assigned?

Link to comment
Share on other sites

Something like that could be done.

The game couldn't do it for you though.

First, each player that is using a generic portrait would have to be given a unique Photo/Audio Id. Their generic portrait could then be copied to xxxx.fsh where xxxx is their new photo/audio id after they were updated for the player's current team. Also their photo type would have to be changed to 1. Also the program that does this would need to record the current teams for each player into a file.

Ty, can you assign whatever number you want, or do all the generic portrait players have to be assigned unique numbers prior to the program running? Would you have them named zzzz, zzzy, zzzx.fsh, etc?

Link to comment
Share on other sites

tywiggins, I think redsox wants ALL the portraits, even the non-generic ones, to be cyberface-shots...

...However, if not, ty, I could learn about program command-line parameters and maybe make the program, but most likely you'll do it faster than me.

Also, tywiggins, does the nfshtool.exe that you include with your MVPEditor2005 accept wildcards (*)?

I need a nfshtool.exe or something similar that accepts wildcards.

And one more question, ty, would the program have to assign id numbers on the fly, or will they be pre-assigned?

I believe redsox settled on the idea of having all of the portraits be the portrait with the logo in the corner. (not a cyberface shot)

I'm actually working on something else right now, so you'll have a couple of days head start at least.

I want your program to only do one portrait. My program would run your program every time that it needs a portrait updated. You wouldn't need a wildcard for that.

The fshtool version that I use is basically just fshtool 1.22 without having to press Enter to end the program, and it's set to automatically overwrite files if the directory/file already exists. (I deleted the lines where the program expects user input)

This should help you some if you don't know how to read the command line parameters. http://msdn2.microsoft.com/en-us/library/ms857735.aspx

My program would assign the id numbers. I'll probably just use the first one that's not being used.

Read up on the how to read the command line parameters. It's pretty easy.

Link to comment
Share on other sites

Let's say the greatest id number currently used by the user is abcd. Would your program just start from abc(d+1)?

Also, ty, if you assign numbers, do you only have to do it to the portraits, or with other things as well? (Where exactly would the program change the id numbers?)

Also, how long do you think it would take for you to make the program?

If it's not that hard, could you give this noobie a chance, because if I start working on it, I don't want to have to throw my work in progress in the garbage if you get finished before I do?

Link to comment
Share on other sites

Let's say the greatest id number currently used by the user is abcd. Would your program just start from abc(d+1)?

Also, ty, if you assign numbers, do you only have to do it to the portraits, or with other things as well? (Where exactly would the program change the id numbers?)

Also, how long do you think it would take for you to make the program?

If it's not that hard, could you give this noobie a chance, because if I start working on it, I don't want to have to throw my work in progress in the garbage if you get finished before I do?

I'll make the changes to the memory version of attrib.dat. That way it will work for all of the players that the game creates as well.

Wait, are you saying that you want to do the whole project by yourself?

I gave you something that you could do. I really don't think you're up to making changes to the memory.

Link to comment
Share on other sites

I'm working on it right now. So far I've created all the team logo images and alpha files. I'm just working on the program that will apply it right now.

I'd say the MANUAL part of this program will be done within the next week.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...