Page 1 of 1

Help Patch Maxou showing new courts

PostPosted: 02 Jul 2018, 03:56
by S4NS3
Hello! I've install patch maxou 2016.
When I trying to install new courts it work, but logo and text to select match always show Roland Garros.

I have added the values in TourATP.ini CustomCourt87 = 96

Also the customcourt87 and 87s (ico) .tga
I have added in lang_english.txt the name of this CustomCourt87 = ATP Sao Paulo 2018

The game does not detect the image and the text, it works, but it show with the logo and the text of Roland Garros, if I add another CustomCourt88 I have the same problem.

Does anyone know what happens?

Re: Help Patch Maxou showing new courts

PostPosted: 03 Jul 2018, 07:18
by S4NS3
I already have an answer to my question, more than anything to leave it in conditions when I select another court and identify it, I knew it was silly there is no more to search for text strings with a program like notepad ++ and take a look at the scripts that the game launches to show the images, then add a logo with some small touches in photoshop and work ...

Here is the result ...

Court 87 Laver Cup Prague 2017

Court 88 ATP Sao Paulo 2018

Both with the corresponding text ... already in time to create logos and add new ones.

:cheers:

Re: Help Patch Maxou showing new courts

PostPosted: 09 Jul 2018, 00:52
by wilddog79
S4NS3 wrote:I already have an answer to my question, more than anything to leave it in conditions when I select another court and identify it, I knew it was silly there is no more to search for text strings with a program like notepad ++ and take a look at the scripts that the game launches to show the images, then add a logo with some small touches in photoshop and work ...

Here is the result ...

Court 87 Laver Cup Prague 2017

Court 88 ATP Sao Paulo 2018

Both with the corresponding text ... already in time to create logos and add new ones.

:cheers:


I have the same problem that you had implementing the logos of each tournament, what happen that i don't understood your explanation with the solution, because i added all what you mention before, the part that i don't understood is about notepad ++, could you detail that last part please?
Thanks.

Re: Help Patch Maxou showing new courts

PostPosted: 09 Jul 2018, 16:33
by S4NS3
wilddog79 wrote:
I have the same problem that you had implementing the logos of each tournament, what happen that i don't understood your explanation with the solution, because i added all what you mention before, the part that i don't understood is about notepad ++, could you detail that last part please?
Thanks.


Hi wilddog79!

so that the game detects the new logos you have to add the script with the route of the new court and indicate the ID number XX..

Open global.def

for example i'm going to add CustomCourt88 = ID 97

The script to add will be..

Code: Select all
item Court97
{
   HelpText CustomCourt88 !ShowIfUnselectable
   Image Ico/CustomCourt88 IcoS IcoS

}


This showing your "logo image" CustomCourt88.tga

add too..

Code: Select all
item CourtS97
{
   HelpText CustomCourt88 !ShowIfUnselectable
   Image Ico/CustomCourt88s IcoS IcoS
   Invisible
}


This show CustomCourt88s.tga (your image)

:wink:

Re: Help Patch Maxou showing new courts

PostPosted: 09 Jul 2018, 18:33
by wilddog79
Hi S4NS3,
Then if we add these code lines it would be enough to watch ingame the new tournanent logos or it would be something else to do?

Other point, editing the global.def file, do i must to use a specific editor that you recommend me?, i ask you something because i have never edited this kind of file extension.

Anyway thank you for your help.

Re: Help Patch Maxou showing new courts

PostPosted: 09 Jul 2018, 20:10
by S4NS3
wilddog79 wrote:Hi S4NS3,
Then if we add these code lines it would be enough to watch ingame the new tournanent logos or it would be something else to do?


Yes, each court has a different identifier (ID), adding those lines and modifying how it was described in the first post. Edit in global.def to display differents logos.

wilddog79 wrote:Other point, editing the global.def file, do i must to use a specific editor that you recommend me?, i ask you something because i have never edited this kind of file extension.

Anyway thank you for your help.


There are many editors (Notepadd ++ is free) it supports many file extensions, search for text strings, numerical counter for lines, multitude of functions ....... I don't think you need anything else.

:wink:

Re: Help Patch Maxou showing new courts

PostPosted: 10 Jul 2018, 14:27
by wilddog79
S4NS3, I tested and all worked perfect for me, the logos is ok.

Thank you for your help.

Note: I'm creating logos and courts of challengers, then i will post some of them for who is interested.

Re: Help Patch Maxou showing new courts

PostPosted: 23 Jul 2018, 14:40
by wilddog79
Does it exist any tool to adjust the lines when we create a new court or somebody have in mind create this kind of tool?

I make this question because i have been creating some new courts to customize some customcourts, but it has been very very complicated having to enter and go out of the game to adjust the lines, sometimes i haven't could adjust these lines, having to modify the properties of image, i mean width and height, and even with this i couldn't line.

Note: If it doesn't exist this kind of tool for the moment, then it would be cool that somebody can create it.