[TE4] Outfit Modding SDK

Everything about Modding the game, from new courts to the modifications of the player & tournament bases (and including all the bugs they may be creating ! ;) )

[TE4] Outfit Modding SDK

Postby manutoo » 01 Oct 2021, 10:12

Hello,

here you can download the Outfit Modding SDK for TE4 : https://www.managames.com/download.php? ... tSDK_v1.7z

To use & mod the files :

- Launch the game, click on the "Show Data Folder" icon in Settings -> Profiles
- Locate the "Mods" subfolder and create in it a folder and name it to whatever you want (eg: "MySuperMod")
- The outfit file are in the "Textures" folder, and can be copied like this to your Mods folder : "TE4-OutfitSDK.zip/Textures/Male.MidShorts/01.png" :arrow: "Mods\MySuperMod\Players\Textures\Male.MidShorts\01.png"
- Warning : avoid to copy the whole SDK into your Mod folder ; instead your final Mod should contain only the files you have actually modified or created ; this will lower the chance to have issues with new versions of the game
- The files "Male.ini" & "Female.ini" files, as well as the "Male", "Female" & "Neutral" folders are for the legacy TE2013/TEM2 outfits
- Tennis Elbow Manager 2 : the Outfit Modding uses the same method as TE4, except the Outfits are in the TEM2 Modding SDK instead of being a separate download ; however, most apparels don't have independent textures from models, and thus you'll have to add an .ini to specify for what model your texture is (see "Adding an outfit for a model-based part" below)

Creating new outfit :

1) Create the corresponding folder in Mods\MySuperMod\Players\Textures
2) Check if there's a UV Mapping file in the corresponding folder in "TE4-OutfitSDK.zip/Players-UvMapping/" ; it'll help you to see the limits of the texture on the 3D model
3) Create your new outfit from scratch or using an existing one as startup
4) Give it a meaningful name ; eg: "Federer-Miami2021_BySuperModder.jpg" ; if you do another version of the same outfit, you can possibly add a version number if you want both to be shown in the game ; eg: "Federer-Miami2021-v2_BySuperModder.jpg"
5) Do your best so your names will be unique and not conflict with names given by other Modders (adding "By<YourNickname>" in your file name as shown in the previous point should do the trick)
6) The name shouldn't end by "_Normal", "_Metal" nor "_Mask"
7) The new outfit files should always have the same width & height as the existing ones (else the game might crash when trying to load them)

Creating a new normal, metallic or mask map for an outfit :

If you need to have a new normal, metallic and/or mask texture, you can simply name them like your outfit file, and add "_Normal", "_Metal" or "_Mask" at the end ; eg: "Federer-Miami2021_BySuperModder_Normal.jpg".

If several of your new outfit files use the same normal, metallic and/or mask texture (or an original one from the game), then instead of duplicating that file, you can create a .ini named like your outfit file (eg: "Federer-Miami2021_BySuperModder.ini"), and put this in it :
Code: Select all
[Desc]
Mask   =   Generic1_BySuperModder_Mask
Normal   =   Generic1_BySuperModder_Normal
Metal   =   Generic1_BySuperModder_Metal


Metal texture format :

- Red channel : metallic value ; usually 0 for non-metal surfaces, and 255 for metallic ones
- Alpha channel : smoothness : 0 = very rough surface ; 255 = mirror ; from 1 to 254 for everything in-between :blackeye:

Changing only the Normal or the Metal texture :

If you want to only add the option to change a normal or metal texture but use the same outfit colors, then name your file as usual, but make it zero-sized ; eg: create an empty text file, save it and rename it to "Federer-Miami2021_BySuperModder.jpg".

And then create an .ini named like your outfit file (eg: "Federer-Miami2021_BySuperModder.ini"), and put this in it :
Code: Select all
[Desc]
Texture   =   Federer-Miami2019_BySuperModder

Note : here "Federer-Miami2019_BySuperModder.jpg" would be a valid image file. You could also reference an image from the base game. (eg: "01")

Adding an outfit for a model-based part :

It's probably not needed, but for example, if you want to add 1 Hair texture, you'll have to specify what Hair 3D Model it's for.

To do so, create an .ini named like your outfit file (eg: "Federer-Miami2021_BySuperModder.ini"), and put this in it (check "MaleHair.ini" for the possible list) :
Code: Select all
[Desc]
Model   =   Hair05

Note : you'd also need to activate the modding for the hair, by adding "ListTexture = 1" in the [Male_Hair] section

Creating new face :

Simply copy your new face files into the "Male.Face" & "Female.Face" folders, without additional changes ; the Skin model in the Customization screen will allow you to select the face

If you want your face to use the coloring choice for the skin, then create an .ini named like your outfit file (eg: "Federer-Miami2021_BySuperModder.ini") and put this in it :
Code: Select all
[Desc]
IgnoreColoring   =   0

Else, the face color won't be changed in-game.

If you want all your faces to use the skin coloring, then create a "Male.Skin_Mod.ini" and put this in it :
Code: Select all
[Male.Face/]
IgnoreColoring   =   0

And create a "Female.Skin_Mod.ini", and put this in it :
Code: Select all
[Female.Face/]
IgnoreColoring   =   0

Note : don't name your face "01", as this name is ignored by the game for the face. (so if you take the "01" face from the Modding SDK, change its name to "MyFace" or anything you want)

Moving the outfit part in its base texture :

This is mostly useful to move an outfit if your Modded texture is bigger or smaller than the original one, when this part is into another part (eg: EyeBrows into the Skin texture)

You can redefine the position using this :
Code: Select all
PosX   =   150
PosY   =   200

Move the current position using this :
Code: Select all
DeltaX   =   15
DeltaY   =   -4

Center the position (so you can use the same PosX / PosY for all textures, whatever their size is) :
Code: Select all
CenterX   =   1
CenterY   =   1

Note : 0 means it's not centered on the PosX/PosY, which is the default, and then PosX/PosY designates the top-left corner.

Checking the game sees your outfits :

If the game sees your outfits, you'll see one line like this one for each of the folders with new outfits, in the log visible by clicking on Settings -> Profiles -> Show Engine Log (on the bottom left) :
Code: Select all
   Created List 'Outfit/Male_Shorts1' with 13 elements, including 11 built-ins


How to install an outfit made by a Modder :

Simply copy the file(s) in the correct folder, within "Mods\MySuperMod\Players\Textures" :
Code: Select all
Female.Cap
Female.CapOpen
Female.Eye
Female.EyeBrows
Female.Face
Female.Hair
Female.HairCap
Female.HeadbandFoulard
Female.HeadbandSlim
Female.Leggings
Female.Shirt
Female.Shoes
Female.Shorts
Female.Skin
Female.Skirt
Female.SkirtTight
Female.Socks
Female.T-Shirt
Female.TankTop
Female.WristBandLargeL
Female.WristBandLargeR
Female.WristBandThinL
Female.WristBandThinR
Glasses
Male.Cap
Male.CapBackward
Male.CapOpen
Male.Eye
Male.EyeBrows
Male.EyeOther
Male.Face
Male.FacialHair
Male.FacialHair2D
Male.Hair
Male.HairScalp
Male.HeadbandFoulard
Male.HeadbandSlim
Male.Leggings
Male.LongShorts
Male.MidShorts
Male.Shirt
Male.Shoes
Male.ShortShorts
Male.Skin
Male.Socks
Male.T-Shirt
Male.TankTop
Male.WristBandLargeL
Male.WristBandLargeR
Male.WristBandThinL
Male.WristBandThinR
Racket
RacketHandle
RacketString
RacketTip
RacketTipOther

eg: copy the new shirt file(s) for the female to the folder named "Mods\MySuperMod\Players\Textures\Female.Shirt". (create the folders if needed)
ManuTOO
== Mana Games ==

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

Re: [TE4] Outfit Modding SDK

Postby manutoo » 12 Oct 2021, 17:10

Changes :
- Added the "Creating new face" section
- Removed the part about the "ListTexture" ; it's not needed anymore, as all parts that could need it already have it now ; warning : if you already put the [Outfit_Path] for the skins in your GameSys_Mod.ini, then remove them now, else the Face modding won't work !

Outfit SDK updated with the new rackets & face stuff.
ManuTOO
== Mana Games ==

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

Re: [TE4] Outfit Modding SDK

Postby manutoo » 12 Feb 2022, 12:46

Tiny Mod to allow to change the Eyebrows separately from the Facial Hair (for the men) and the Hair (for the women).
This also allows you to add different eyebrow textures in "Mods\<NameOfYourMod>\Players\Textures\Male.EyeBrows\" and "Mods\<NameOfYourMod>\Players\Textures\Female.EyeBrows\".

Installation :
1) Unzip and copy the folder into your Mods folder, you'll have the folder like this : "Mods\SeparateEyeBrowCustomisation\".

2) Add this line in your Tennis.ini, under [Menu] : (HowTo => topic19-32161.php )
CsEyeBrows = 1

Notes :
- the step 2) won't be required after the next update
- the women eyebrows will work correctly in the next update
Attachments
SeparateEyeBrowCustomisation.zip
(1.37 KiB) Downloaded 45 times
ManuTOO
== Mana Games ==

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

Re: [TE4] Outfit Modding SDK

Postby MDPpro » 06 Mar 2022, 12:53

Good, when I download the mod, it downloads in word version, if I change it manually to .zip it says that it can't be opened.
MDPpro
tennis curious
 
Messages: 2
Gaming Since: 06 Mar 2022, 12:52

Re: [TE4] Outfit Modding SDK

Postby manutoo » 06 Mar 2022, 13:02

MDPpro,
try with another browser ; it's working fine with Firefox & Chrome.
ManuTOO
== Mana Games ==

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

Re: [TE4] Outfit Modding SDK

Postby MDPpro » 07 Mar 2022, 18:43

manutoo wrote:MDPpro,
try with another browser ; it's working fine with Firefox & Chrome.



good, when I download it even in firefox or chrome it downloads in the version that appears in the image.

It does not come out as a folder but as a text document, this is its name:

TE4-ModdingAnimSDK.7z.part

I attach also a picture
Attachments
Captura de pantalla 2022-03-07 173912.png
Captura de pantalla 2022-03-07 173912.png (25 KiB) Viewed 5640 times
MDPpro
tennis curious
 
Messages: 2
Gaming Since: 06 Mar 2022, 12:52

Re: [TE4] Outfit Modding SDK

Postby manutoo » 08 Mar 2022, 05:20

MDPpro,
just select "Guardar archivo". Then get 7zip to open the archive : https://www.7-zip.org/ .
ManuTOO
== Mana Games ==

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

Re: [TE4] Outfit Modding SDK

Postby Gasolator16 » 10 Apr 2023, 15:15

hello, good afternoon, I did everything you put in the tutorial but the kits I've made don't appear, only the ones from patch 3.8 appear, what am I doing wrong???
Gasolator16
tennis fan
tennis fan
 
Messages: 17
Gaming Since: 22 Jan 2023, 17:23

Re: [TE4] Outfit Modding SDK

Postby manutoo » 11 Apr 2023, 07:10

Gasolator16,
what is "patch 3.8" ? Are you Modding TE2013 or TE4 ?
ManuTOO
== Mana Games ==

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

Re: [TE4] Outfit Modding SDK

Postby Gasolator16 » 11 Apr 2023, 10:49

I'm sorry, if you're right, I only see the files of the last te4 mod, I think I've done the tutorial well, but I don't see any outfit that I've made
Gasolator16
tennis fan
tennis fan
 
Messages: 17
Gaming Since: 22 Jan 2023, 17:23

Re: [TE4] Outfit Modding SDK

Postby manutoo » 11 Apr 2023, 16:57

Gasolator16,
be sure to use a format recognized by the game : .png, .tga & .jpg.
If it's not the issue, please post a screenshot showing the outfit files in the Modding folder.
ManuTOO
== Mana Games ==

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


Return to Modding - TE4

Who is online

Users browsing this forum: No registered users and 0 guests