how do I change the names of the tournaments ?

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

how do I change the names of the tournaments ?

Postby Actarus69 » 13 Apr 2023, 18:09

I always wanted to ask about modding: how do I change the names from TET250 to ATP250? Or French Slam in the Training Club at Roland Garros?

Reading on the forum I realized that I have to use the lang_Italiano.txt file as source and then create a new file with the name lang_Italiano_Mod.txt with only the replacements I want, I put it in ...Mods/MyMod/Text/ but it doesn't work :(
Where am I wrong?

Below is the content of lang_Italiano_Mod.txt:
Code: Select all
//===PlayOptions
Stadium_FrenchSlam   Roland Garros
Stadium_UkSlam      Wimbledon
Stadium_UsSlam      US Open
Stadium_AustralianSlam   Australian Open
Stadium_TET250      ATP250
Stadium_IndoorTET250   Indoor ATP250

//=== Category
TET500      ATP500// 5
TET250      ATP250// 6


Thanks
Italy winner of the 2023 Davis Cup. Thanks guys!
Actarus69
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 91
Gaming Since: 03 Jun 2013, 16:09
Location: Italy

Re: how do I change the names of the tournaments ?

Postby manutoo » 14 Apr 2023, 06:46

Hello,

what you did is correct but it's only for the stadium & category names. The stadium names are used in the Training Club, so if you don't see the changes, then check your engine log (in Settings -> Profile) for parsing errors and whatnot. (search for "warning:" & "error:").

For the tournament names, you have to change them in your Tour.ini .
ManuTOO
== Mana Games ==

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

Re: how do I change the names of the tournaments ?

Postby Actarus69 » 14 Apr 2023, 11:38

Hi Manu,

first of all thank you for creating a new topic with my questions and putting it in the appropriate section.

So, now I'm trying to show only stadium names in Training Club, then I'll think about tournaments later. Unfortunately it doesn't work, and reading the player.log I found it doesn't load a plugin because it doesn't find it (libCSteamworks.so), then it doesn't load this library (libudev.so) and finally these (but I don't know if they are really errors):

Curl error 42: Callback aborted

and

GL_KHR_debug GL_KHR_no_error GL_KHR_parallel_shader_compile

Can you help me? Thank you
Italy winner of the 2023 Davis Cup. Thanks guys!
Actarus69
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 91
Gaming Since: 03 Jun 2013, 16:09
Location: Italy

Re: how do I change the names of the tournaments ?

Postby manutoo » 14 Apr 2023, 12:20

Humm, maybe the game doesn't see the file for some reason (it could be a bug linked to the Linux version) ; are you sure you have located your Mods folder ?

Could you send me a Bug Report and I'll check if the game sees at least your Mod folder. (HowTo => topic5-31732.php )
ManuTOO
== Mana Games ==

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

Re: how do I change the names of the tournaments ?

Postby Actarus69 » 14 Apr 2023, 12:29

I just sent you the report, thanks.

The game sees the Mod folder, in fact I copied the Players.ATP.ini file inside to get the real names of the players. However just before sending you the report I tried to change the names of the slams in Tour.ATP.ini as you told me, and it works there.
Italy winner of the 2023 Davis Cup. Thanks guys!
Actarus69
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 91
Gaming Since: 03 Jun 2013, 16:09
Location: Italy

Re: how do I change the names of the tournaments ?

Postby manutoo » 15 Apr 2023, 09:29

I just got your Bug Report and nothing wrong is reported in the log and your Mod within the Mods folder is indeed detected. However, the Tennis.ini should have been sent and it was not (I got your profile's .ini, though), so it may have something weird going on... :sweat:

I'm afraid I won't be able to tell you what to do. On my PC, I tested with lang_Fançais_Mod.txt and it worked as expected.
ManuTOO
== Mana Games ==

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

Re: how do I change the names of the tournaments ?

Postby Actarus69 » 15 Apr 2023, 11:06

Hi.

Reading your answer I did the following tests:

1) Created a new profile;

2) Loaded the default profile (Tennis.ini);

3) Changed the language in the options, I tried English and then French, and of course I renamed the lang_language_Mod.txt file in both cases

Nothing, it didn't work, it doesn't see the file at all :(

When you say that it works for you in French you obviously mean that you tried it on the Linux version, right? So could it be that my downloaded version is "bugged"? Should I re-download it maybe?
Italy winner of the 2023 Davis Cup. Thanks guys!
Actarus69
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 91
Gaming Since: 03 Jun 2013, 16:09
Location: Italy

Re: how do I change the names of the tournaments ?

Postby manutoo » 15 Apr 2023, 11:48

My PC is Windows... ;)

I don't currently have a Linux machine.

In case your HD files are case sensitive, try with this exact name : "lang_Italiano_Mod.Txt" => capital "T" for "Txt".
ManuTOO
== Mana Games ==

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

Re: how do I change the names of the tournaments ?

Postby Actarus69 » 15 Apr 2023, 12:01

Works!! Thank you!!

Linux is case sensitive, I was sure I tried that too, but now that I remember better I tried changing Mod to mod, forgetting that the suffix ended in txt and not in mod :D
It was that simple :D

Thanks again!
Italy winner of the 2023 Davis Cup. Thanks guys!
Actarus69
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 91
Gaming Since: 03 Jun 2013, 16:09
Location: Italy

Re: how do I change the names of the tournaments ?

Postby manutoo » 16 Apr 2023, 06:03

I did a little clean up for the next update : all extensions will be .ini and .txt (ie: no capital letters anymore), so you will have to rename these files (including the tour .ini files).
ManuTOO
== Mana Games ==

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

Re: how do I change the names of the tournaments ?

Postby Actarus69 » 16 Apr 2023, 11:20

Thanks Manu :)

So, if I understood correctly, I'll have to rename the extensions of the modding files I want to use, namely from .ini to .Ini and from .txt to .Txt.

So if a file doesn't work it's because I didn't rename it, right?
Italy winner of the 2023 Davis Cup. Thanks guys!
Actarus69
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 91
Gaming Since: 03 Jun 2013, 16:09
Location: Italy

Re: how do I change the names of the tournaments ?

Postby manutoo » 17 Apr 2023, 05:57

Right now, you need to have .Ini & .Txt, and after the next update, you'll need .ini & .txt .

I had forgotten a "will" in my previous message : "you have" => "you will have". :sweat:
ManuTOO
== Mana Games ==

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

Re: how do I change the names of the tournaments ?

Postby Actarus69 » 17 Apr 2023, 10:50

Sorry, now I'm a bit confused, and certainly Google Translate doesn't help :(

Well, in the version I'm playing now I have to rename the extension if a file doesn't work, so for example from .ini to .Ini, while from the next update all the extensions will be in lowercase, I understood this.

What I didn't understand is whether from the next update I will have to rename the extensions or not. I understood that I will have to do it, and since they are all lowercase it will be easier for me to identify the one I hadn't renamed. I misunderstood?
Italy winner of the 2023 Davis Cup. Thanks guys!
Actarus69
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 91
Gaming Since: 03 Jun 2013, 16:09
Location: Italy

Re: how do I change the names of the tournaments ?

Postby manutoo » 18 Apr 2023, 05:26

You got it all correctly. :yes:

In other words : if a file doesn't work now or after the next update, change its extension case. :yes:
ManuTOO
== Mana Games ==

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

Re: how do I change the names of the tournaments ?

Postby Actarus69 » 18 Apr 2023, 15:31

Ok :)
Italy winner of the 2023 Davis Cup. Thanks guys!
Actarus69
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 91
Gaming Since: 03 Jun 2013, 16:09
Location: Italy


Return to Modding - TE4

Who is online

Users browsing this forum: ClaudeBot and 1 guest