char****.txt files for Player Pictures

General discussions about the 1st version of Tennis Elbow Manager

char****.txt files for Player Pictures

Postby manutoo » 11 Dec 2007, 13:57

Hello,

FilipeMB is asking me this by PM :
>> what should i put in char****.txt file?

I'm answering here so everyone could know about this point.

The char****.txt files must be located in the subdirectory Data\Menu (that you need to manually create, coz it doesn't exist by default).
It must has 1 file like this for every player picture.
Usually, you'll have a picture file (.tga, or .jpg), along the .txt file, for example, like this :
- char0140.txt
- char0140.tga

The picture contains the player image displayed on his/her profile.
The .Txt file contains the displaying size. Here an example :
Code: Select all
NbSprite: 1
InfoSup: 1

Spr 0
{
   RealSize 85 150
}


It says that the picture should be 85 wide and 150 high in a 640x480 resolution screen. (if the resolution is higher, the engine will scale the picture accordingly)

You can also add this optional line after RealSize :
Code: Select all
HotSpot 0 -16

Specifying an Hotspot will let you move the picture on the screen, to put more to up, or to the left, or any place like you want...
In this example line, the picture will be moved of 16 pixels up, in a 640x480 resolution screen.

That's all, I hope it's clear... :)
ManuTOO
== Mana Games ==

>> I don't answer Private Message, except if it's really a _Private_ topic <<
User avatar
manutoo
Game Author
 
Messages: 18732
Gaming Since: 24 Jan 2004, 15:38
Location: France

Postby FilipeMB » 11 Dec 2007, 14:32

Then, if I find a 80x160 pic in the web, then I should put 80 160 in this file, right?
FilipeMB
court stakhanovite
court stakhanovite
 
Messages: 33
Gaming Since: 17 Dec 2006, 01:09

Postby manutoo » 11 Dec 2007, 14:37

yup, or if you want it to be 10% bigger : 88x176 .
Just keep the good proportions...
ManuTOO
== Mana Games ==

>> I don't answer Private Message, except if it's really a _Private_ topic <<
User avatar
manutoo
Game Author
 
Messages: 18732
Gaming Since: 24 Jan 2004, 15:38
Location: France

Postby FilipeMB » 11 Dec 2007, 15:07

and how to see how it looks without having to play against the player? :?:
FilipeMB
court stakhanovite
court stakhanovite
 
Messages: 33
Gaming Since: 17 Dec 2006, 01:09

Postby manutoo » 11 Dec 2007, 15:24

just look the player in the rankings ! ;)
From the ranking screen, click on his name a 1st time to see his activity, and from this screen, click again on his name to access his character sheet...
ManuTOO
== Mana Games ==

>> I don't answer Private Message, except if it's really a _Private_ topic <<
User avatar
manutoo
Game Author
 
Messages: 18732
Gaming Since: 24 Jan 2004, 15:38
Location: France

Postby FilipeMB » 11 Dec 2007, 15:38

thanks.
even playing this game for a year, i didnt know that.
FilipeMB
court stakhanovite
court stakhanovite
 
Messages: 33
Gaming Since: 17 Dec 2006, 01:09

Re: char****.txt files for Player Pictures

Postby s06231193 » 16 Jun 2011, 05:49

Manutoo,
I've tried again and again,but still can't see the picture when I play the game......Do you have email? I think you are the only man can help me edit the right picture...So,I 'll send an original picture to your email,and you receive me the right picture and .txt profile ,thank you very very much !!!
s06231193
tennis curious
 
Messages: 2
Gaming Since: 13 Jun 2011, 10:48

Re: char****.txt files for Player Pictures

Postby Maxy » 16 Jun 2011, 15:45

I understand everything but only that i dont know is realsize :D
Best Grand Slam results: Australian Open R16 '11, '12
Best results: 's-Hertogenbosch final '11, Belgrade semifinal '11

Image


Download my courts: http://www.managames.com/Forum/topic29-15035.php
Maxy
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 1681
Gaming Since: 21 Aug 2010, 08:46
Location: Serbia

Re: char****.txt files for Player Pictures

Postby Maxy » 16 Jun 2011, 16:42

Nah, I try everything for RealSize and it doesnt working, what to do Manutoo, in the game i only got all red picture....or some other colours....
Best Grand Slam results: Australian Open R16 '11, '12
Best results: 's-Hertogenbosch final '11, Belgrade semifinal '11

Image


Download my courts: http://www.managames.com/Forum/topic29-15035.php
Maxy
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 1681
Gaming Since: 21 Aug 2010, 08:46
Location: Serbia

Re: char****.txt files for Player Pictures

Postby s06231193 » 17 Jun 2011, 03:16

Maxy wrote:Nah, I try everything for RealSize and it doesnt working, what to do Manutoo, in the game i only got all red picture....or some other colours....

Mine is white :mrgreen:
s06231193
tennis curious
 
Messages: 2
Gaming Since: 13 Jun 2011, 10:48

Re: char****.txt files for Player Pictures

Postby Maxy » 17 Jun 2011, 15:24

s06231193 wrote:Mine is white :mrgreen:

Sometimes white too :D
Best Grand Slam results: Australian Open R16 '11, '12
Best results: 's-Hertogenbosch final '11, Belgrade semifinal '11

Image


Download my courts: http://www.managames.com/Forum/topic29-15035.php
Maxy
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 1681
Gaming Since: 21 Aug 2010, 08:46
Location: Serbia

Re: char****.txt files for Player Pictures

Postby calmeidajr » 21 Sep 2011, 03:52

I get an all brown picture. I tried to use the image in JPG, BMP and TGA formats and with all of them I get the brown picture. I tried another images, with a box os other color. I'm really disapointed.
calmeidajr
Guest
 

Re: char****.txt files for Player Pictures

Postby torto14 » 21 Sep 2011, 21:54

Have you tried with jpg and then a jpg mask? This is what I did and it works. I just tried deleting a mask and it produces a brown square like you are getting.
torto14
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 1584
Gaming Since: 24 Jun 2010, 00:22

Re: char****.txt files for Player Pictures

Postby Maxy » 22 Sep 2011, 18:31

torto14 wrote:Have you tried with jpg and then a jpg mask? This is what I did and it works. I just tried deleting a mask and it produces a brown square like you are getting.

How to get mask? And where should I post it? In which file?
Best Grand Slam results: Australian Open R16 '11, '12
Best results: 's-Hertogenbosch final '11, Belgrade semifinal '11

Image


Download my courts: http://www.managames.com/Forum/topic29-15035.php
Maxy
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 1681
Gaming Since: 21 Aug 2010, 08:46
Location: Serbia

Re: char****.txt files for Player Pictures

Postby torto14 » 22 Sep 2011, 19:16

The mask is a separate file that defines what parts of the image to display, as with TE2009/11 female shirts

the file is named like this:

char0xxx_mask.jpg

Here is an example from my image pack:

Image

Image

Image

Mask
torto14
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 1584
Gaming Since: 24 Jun 2010, 00:22

Next

Return to Tennis Elbow Manager 1

Who is online

Users browsing this forum: No registered users and 1 guest