Country Cup Questions

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

Country Cup Questions

Postby peteypan » 19 Dec 2023, 03:21

Hey everyone

Playing around with the tour.ini to try make a realistic schedule. Does anyone have any experience with trying to have the country cup rounds on different weeks?

e.g - Have the quarter finals on week 15 in 2011 and in week 16 in 2012. I always assumed this wouldn't be possible but I noticed in the latest update there was a bug fix saying that you could? I've tried a fair few different and it seems to work for certain weeks but crashes in others.

Not super important, I can wiggle things around - but thought i'd ask in case somebody has had some success with it :)
peteypan
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 746
Gaming Since: 09 Aug 2010, 16:10

Re: Country Cup Questions

Postby manutoo » 19 Dec 2023, 06:33

Hello,

yes, it should work, but you have to do several extra things.

1) Add this to your Tour.ini, under [WT_Static] :
NbDavisCupRound = 4

So the start of your Tour.ini should look like this :
Code: Select all
[WT_Static]
Sorting      =   0
NbDavisCupRound =   4


2) Add this line for each Country Cup round, in your Tour.ini :
DavisRound = X
Replace X with a number :
1 = 1st round ; 2 = 2nd round ; 3 = semi ; 4 = final.

You'll have to be careful to have only 1 DavisRound for each tournament. You'll get error messages like this in your log if you do (visible from Settings -> Profile -> Show Engine Log ; and search for "Error:") :
Code: Select all
Error: Tournament Emerson Cup on Week 8 should have a DavisRound entry (for section '[Tournament626.000]')
Error: incorrect DavisRound for Emerson Cup on Week 8 and Year 2001 ; it's 0 and it should be 1 (IniIndex = 9 ; Country = US)

The 2nd error message is done at a point where the section name isn't available anymore so I displayed the IniIndex (1st tournament in the Tour.ini = 0) and the Country (you can put different countries for different rounds to easily find the culprit).

3) It's recommended to have 4 rounds per year, or else the game might crash. If you put 3 rounds per year, you'll have to change this line in your TourCategory.ini, under [Category16], from :
QualifNbRound = 3
to :
QualifNbRound = 2
ManuTOO
== Mana Games ==

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

Re: Country Cup Questions

Postby peteypan » 20 Dec 2023, 02:17

Hello :)

Thanks! Tried that all out and it's actually worked great without crashing.

However, when I tried to click on the Gibson Cup draw to see the results - the game will crash every time. Pretty sure I followed all the instructions right.

System.log has this

Error: Davis Cup Rounds should be 0 for Year 2020
Error: Davis Cup Rounds should be 0 for Year 0
Warning: Savefile 'C:/Users/nle74/AppData/LocalLow/Mana Games/Tennis Elbow 4/Profiles/XKT/WTA/WT_Current.Sav' has different TournamentDbCRC for Year 2020 (because of changes in the Tour.ini ?)(16301374645176367478 != 16858571763888091662)
Warning: can't open save file 'C:/Users/nle74/AppData/LocalLow/Mana Games/Tennis Elbow 4/Profiles/XKT/WTA/WT_Current.Sav'
Starting New Game with Rand 0x3773EA80 / 0x249248ED / 0x333332F9 + GameSID = 0xB80C40FE
TotalParseLang 3057 codes = 0.8ms (Alt = 1)
Modded ParseLang : 343 new codes
Found 4 Davis Cup Rounds in Year 0 (Max = 6)
Error: Davis Cup Rounds should be 0 for Year 0
Found 4 Country cup rounds for Women Tour (Max = 7)
Error: Davis Cup Rounds should be 0 for Year 2020
TournamentDb Size for Year 2020 = 1113 KB; CRC = 0xE23A1DDF144BF976
Error: Davis Cup Rounds should be 0 for Year 2020
peteypan
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 746
Gaming Since: 09 Aug 2010, 16:10

Re: Country Cup Questions

Postby manutoo » 20 Dec 2023, 08:38

I just fixed a bug, so right now it cannot work correctly, you'll have to wait for the next update. :fear:
ManuTOO
== Mana Games ==

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

Re: Country Cup Questions

Postby peteypan » 20 Dec 2023, 08:55

Thank you, no problems - I'm just excited that it's going to work :)
peteypan
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 746
Gaming Since: 09 Aug 2010, 16:10


Return to Modding - TE4

Who is online

Users browsing this forum: ClaudeBot and 0 guests