Tutorial : create your 1st player Mod for XKT and publish it

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 ! ;) )

Tutorial : create your 1st player Mod for XKT and publish it

Postby manutoo » 03 Nov 2024, 09:04

Hello,

here's a small step by step tutorial to get you started :

1a) If you're on console, create a folder for your Mod anywhere on your HD ; its name will be your Mod name (it should not be "XKT")

1b) If you're on PC, create this folder : %APPDATA%\..\LocalLow\Mana Games\Tennis Elbow 4\Mods\MySuperMod (replace "MySuperMod" by your Mod name ; it should not be "XKT")

2) Inside that folder, create a "Ini" (capital i) subfolder ; inside this subfolder, create an empty text file named "Players.ATP_Mod.ini" . (be careful to replace the .txt extension with an .ini extension ; its name shouldn't be "Players.ATP_Mod.ini.txt")

3) Download the latest version of the XKT Mod from here : https://mod.io/g/tennis-elbow-4/m/xkt (the little arrow on the bottom right)

4a) Open the XKT .zip file and locate "XKT\Ini\Players.ATP.ini" and open it (just double-click the .zip file ; Windows, MacOS & Linux can open it)

4b) if you want to Mod the original player base instead of the XKT base, take instead "TE4-ModdingSDK.zip/TE4-ModdingSDK/Ini/Players.ATP.ini" (you can download it from topic60-33540.php ) ; in this case, ignore the steps 9, 10 & 11 below

5) In Players.ATP.ini, locate the player you want to modify and copy its section name to your "Players.ATP_Mod.ini" ; eg:
Code: Select all
[Player0238]


6) Now let's add some RankPerYear to this player so his strength in the future years will be determined instead of random ; 1st, we copy the existing RankPerYear from "Players.ATP.ini" and put it under the section name :
Code: Select all
[Player0238]
RankPerYear      =   435, 78, 37, 11, 15, 9, 2

7) Now we add a couple of ranks ; eg: (if you're a Sinner fan ;) )
Code: Select all
RankPerYear      =   435, 78, 37, 11, 15, 9, 2, 1, 1, 1


8) Save and close "Players.ATP_Mod.ini"

9) Create a text "Mod.ini" file inside your Mod folder (be careful to replace the .txt extension with an .ini extension ; its name shouldn't be "Mod.ini.txt") ; eg: "MySuperMod\Mod.ini"

10) Copy this into your Mod.ini :
Code: Select all
[Mod]
DependOn=  XKT

11) Save and close "Mod.ini"

12) To upload your Mod on ModIO read here : topic60-34686.php

13) Launch the game and subscribe to your Mod from Main Menu -> Mod Management -> Your Mod Name
ManuTOO
== Mana Games ==

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

Re: Tutorial : create your 1st player Mod for XKT and publis

Postby RulazoAP » 20 Nov 2024, 18:02

Manutoo

I have a couple of questions. I bought the game a couple of years in steam, but right now i want to focus on the PS5 game to make changes.

Yesterday, I published a Marcelo Rios mod on mod.IO that includes shirts, shoes, face, photos and a modified player.ATP_Mod.ini file (to include on the XKT Patch). In my first try, the outfits and face appeared when you want to modify a player from the training list.
The problem is neither when I imported Rios from the ATP list with my moddified player.ATP_Mod and the photos of Rios for the ScoreBoardsByStef mod worked.

So I think I can resolve this with 2 next questions:

1. When creating the Mod.ini file, wich of the 2 option is the better way when your mod depends on others mod. In this case its depends in XKT and ScoreBoardsByStef. So I dont know wich way I have to write it=

Code: Select all
DependOn=  XKT ; ScoreBoardsByStef


or

Code: Select all
DependOn=  XKT
DependOn=  ScoreBoardsByStef


2 When creating the player.ATP_Mod.ini file with Marcelo Rios Outfit,
I have to import from the player.ATP.ini or the player.ATP_Mod.ini? (both of the XKT mod). In boths apears Marcelo Rios. In my first try my moddified player.ATP_Mod.ini file was like this but it didnt result:

Code: Select all
[Player0054]
#Name         =   Marcelo Rios
OutfitTE4      =   v2 Eb p6 n0 ; Cr s0.1 n"wristband large nike" d2 ; Cl s0.1 b2.25 nRafaAO2022 d2 ; Ht ; G n0 ; Se h6 s1.3 b0.9 nNikeRios ; Sc h5736 i1 s1.15 b1.15 nRafaRGSocks_KINGBARBOZA ; Sk s1.74 b0.8 nRios ; So h168 i1 s0.15 b0.15 nuso19robertson_shortsnadal d1 ; RS nUSOpenYonexWhiteRed ; RH i1 b0.4 ; R h126 i1 s2.45 b0.4 nblade d1 ; Fh p1 n0 ; H p1 n02 ; Si h5748 s1.45 b1.3 nRios1 d1 ; E ; a "Rios-Serve~Rios-FH~Rios-BH~zverev backhand slice~.~09 " ; Gr nFederer f2 ; FhS60 FhO88 FhB6 FhH15 FMh-100 FLs-10 FMs-32 FMo13 FMw18 FJc4 FNh-74 FNl-24 FNw-32 FNt88 FNa34 FNs54 FEc-100 FEo-12 FEw-42 FEs-22 FEh-39 FBl-4 FBj49 FCb35 FCs-4 FCn-47 FFw-7 FFh-76 FJw22 ; Hs 96 100 95


In number 6 of your tutorial, explains that you have tu copy the number of the player and after that what you want to modify (in my case the outfit). Maybe when I included "#Name= Marcelo Rios" between the both things get ir wrong?

or I have to import from player.ATP.ini incluing all the stats from rios and at the end the outfit?.

Thanks for all your work.
RulazoAP
court crocodile
court crocodile
 
Messages: 26
Gaming Since: 26 Apr 2018, 01:44

Re: Tutorial : create your 1st player Mod for XKT and publis

Postby manutoo » 21 Nov 2024, 05:45

RulazoAP,
1) if your Mod depends on several Mods, use a comma to separate their names, eg :
DependOn = XKT, ScoreBoardsByStef

2) Players.ATP_Mod.ini will modify Players.ATP.ini so the OutfitTE4 entry will taken from Players.ATP_Mod.ini ("Players" with an "s").

3) "#Name = Marcelo Rios" doesn't have any influence
ManuTOO
== Mana Games ==

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

Re: Tutorial : create your 1st player Mod for XKT and publis

Postby RulazoAP » 21 Nov 2024, 23:20

Manutoo

The XTC mod, already has a moddified outfit for marcelo rios on its own Players.ATP_Mod.ini file.
What happen then with my Players.ATP_Mod.ini file, it replaces the already moddified outfit on the mod.ini file of xtc?

Thanks again,
RulazoAP
court crocodile
court crocodile
 
Messages: 26
Gaming Since: 26 Apr 2018, 01:44

Re: Tutorial : create your 1st player Mod for XKT and publis

Postby manutoo » 22 Nov 2024, 06:06

Yes, normally, if your Mod depends on XKT, it'll override the values in the XKT's Players.ATP_Mod.ini . (ie: if not, then it's a bug)
ManuTOO
== Mana Games ==

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

Re: Tutorial : create your 1st player Mod for XKT and publis

Postby RulazoAP » 28 Nov 2024, 10:58

Im still having trouble in the game, when I import Marcelo Rios from de ATP list, it opens with the XKT modded outfit. So i have to manually change the shirt, face, etc. Do you know what could happen

This is my Players.ATP_Mod.ini file that i inclue in the mod

Code: Select all
[Player0054]
OutfitTE4      =   v2 Eb b0.3 ; Cr s0.1 d1 ; Cl s0.1 d1 ; Ht ; G n0 ; Se nNikeAirZoomVaporProPhotonDustBlue ; Sc s0.1 nRafaAOSocks ; Sk h6 s1.09 b0.85 ; So nUSOpenNikeMint d1 ; RS nUSOpenWilsonWhiteRed ; RH ; R n"Federer N90" d1 ; Fh s0.15 b0.2 n06 ; H p1 n02 ; Si h5586 s0.8 nfedshirthalle18-robertson d2 ; E p4 ; a "Rios-Serve~Rios-FH~Rios-BH~zverev backhand slice~.~13 " ; Gr nThiem f2 ; FhS59 FhO17 FhB-75 FhH-92 FMh2 FLs44 FMs12 FMo70 FMw3 FJc49 FNh-53 FNl4 FNw-44 FNt21 FNa-21 FNs-48 FEc-41 FEo3 FEw11 FEs-53 FEh-14 FBl-58 FBj-2 FCb-22 FCs-8 FCn-5 FFw-13 FFh-21 FJw-7 ; Hs 100 98 100
RulazoAP
court crocodile
court crocodile
 
Messages: 26
Gaming Since: 26 Apr 2018, 01:44

Re: Tutorial : create your 1st player Mod for XKT and publis

Postby manutoo » 28 Nov 2024, 11:22

I entered that outfit code in my Training Club player and I got that : https://imgur.com/a/5LUo7Nq .

ie: it doesn't look like what you put here : https://mod.io/g/tennis-elbow-4/m/marcelo-rios1 .
ManuTOO
== Mana Games ==

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

Re: Tutorial : create your 1st player Mod for XKT and publis

Postby ramoncete13 » 03 Mar 2025, 11:56

This is nice. Let's say I change their rank per year for 2023 and 2024. Is that like, somewhat written on stone? I mean, no matter what happens, they'll end their year end ranking in that position? Can I surpass them? Or can they surpass each other within some margin? For example, if I set both Alcaraz and Sinner for 1st in 2024, what would happen there? Or, if I set them 1st and 2nd, will that happen no matter what?

Thanks in advance!
ramoncete13
tennis enthusiastic
tennis enthusiastic
 
Messages: 8
Gaming Since: 26 Feb 2025, 10:41
Location: España

Re: Tutorial : create your 1st player Mod for XKT and publis

Postby manutoo » 04 Mar 2025, 06:02

ramoncete13,
the RankPerYear determines the global strength of the player, not his actual ranking ; eg: #1 = 87% in his skills in average. After the simulation is run and the resulting rankings at the end of the year should be close but won't necessarily match the RankPerYear.
ManuTOO
== Mana Games ==

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

Re: Tutorial : create your 1st player Mod for XKT and publis

Postby ramoncete13 » 08 Mar 2025, 22:35

Thanks for the explanation, manutoo! Just one more question (I don't wanna be annoying but I need to know): if I create my own mod and add rankings for Sinner and Alcaraz, will that be reflected on my current World Tour? Or will I have to start a new one? I understood from your last updated changelog for 1.0 that it would be like that, but I still don't know.

Also, is it necessary to upload the mod to mod.io? Or just by having it on my /Mods folder should be enough?
ramoncete13
tennis enthusiastic
tennis enthusiastic
 
Messages: 8
Gaming Since: 26 Feb 2025, 10:41
Location: España

Re: Tutorial : create your 1st player Mod for XKT and publis

Postby manutoo » 09 Mar 2025, 06:37

ramoncete13,
1) No need to start a new career

2) mod.io is to share your mods (or to get your Mod if you're on console) ; if it's only for you and you're on PC, the Mods folder is fine
ManuTOO
== Mana Games ==

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


Return to Modding - TE4

Who is online

Users browsing this forum: ClaudeBot and 0 guests