• This is a reminder of 3 IMPORTANT RULES:

    1- External self-promotion websites or apps are NOT allowed here, like Discord/Twitter/Patreon/etc.

    2- Do NOT post in other languages. English-only.

    3- Crack/Warez/Piracy talk is NOT allowed.

    Breaking any of the above rules will result in your messages being deleted and you will be banned upon repetition.

    Please, stop by this thread SoccerGaming Forum Rules And Guidelines and make sure you read and understand our policies.

    Thank you!

Compdata leagues and playoffs

shone90

Senior Squad
I’m going to start building a website/resource tomorrow if anybody is finding this interesting and wants to contribute. I’m thinking a big database full of guides/instructions and assets so people can find things easily without searching around so much
Great Idea, i can share there some Tutorials and tips regarding Fifa graphics, making Kits in photoshop, etc...
 

Apollo404

Club Supporter
Can you check the following and let me know the outcome of each test.

1)Test 1st season starting with a 2nd division team - see if it appears

2)Test 1st season starting with 3rd division and see if it appears.

3) Test running through into second season. In the seconds season check that the leagues all have the correct number of teams.

I’m unavailable tonight so there is no rush on this. Backup the files you have any try having a play around with things if you want. It’s a long learning exercise but you might discover some things whilst you are doing it.

I’m going to start building a website/resource tomorrow if anybody is finding this interesting and wants to contribute. I’m thinking a big database full of guides/instructions and assets so people can find things easily without searching around so much
So i tried, and with a 2nd division it works.
With a 3rd, i don't see the playoff in my list and in my matchs BUT it works (idk why)
I explain my screens :

1) 1st season in 2nd division, i can see the tournament "Barrages Ligue 2"
2) At the end of the season, the 3rd division club won so he should go in 2nd division and it worked !
3) 1st season in 3rd division, i can't see the tournament "Barrages Ligue 2"
4) CS Sedan finished 3rd so it should play playoffs but i saw nothing
2nd season i saw that Sedan won the playoffs and went into 2nd division


So the problem should be in schedule_forcecomp of the 3rd division but the line is present at the right area :/
 

Attachments

  • S1 League 2.png
    S1 League 2.png
    164.7 KB · Views: 108
  • n2.png
    n2.png
    286.5 KB · Views: 116
  • 3rd division S1.png
    3rd division S1.png
    180.2 KB · Views: 112
  • sedan 3e.png
    sedan 3e.png
    60.2 KB · Views: 116

Apollo404

Club Supporter
UP :
When i start a season with a 3rd division and i change to go in a 2nd division club, i don't see the playoff competition ! But the next season i see it. So i tried to return in a 3rd division club in 2nd season after seing the playoff system and i see the playoffs ahahah that's too weird
 

Rizzaldio

Youth Team
I’ll check the same things on mine tomorrow. It might be because you still have them under a different nation in compdata? Unless you already moved them
 

Apollo404

Club Supporter
I’ll check the same things on mine tomorrow. It might be because you still have them under a different nation in compdata? Unless you already moved them
Everything is in 840 (Line in compobj for France) that's weird, anyway that's a little problem, you already did insane work man !!
 

joshua3231

Youth Team
can you help me with my mod? Expand the leagues to 24 teams (Spanish, English, Italian, Germany, France, Holland, Portugal...) but the career mode doesn't start! Until now I didn't care about it because I only played tournaments, but now I would like to play a race! do you know the reason? thank you
 

Apollo404

Club Supporter
I’ll check the same things on mine tomorrow. It might be because you still have them under a different nation in compdata? Unless you already moved them
Hi man, thanks for everything you made for me. I had a question, when i launch a career with a 5th division and i open the Youth Academy my game crashes. Do you know why ?
 

Rizzaldio

Youth Team
Hi man, thanks for everything you made for me. I had a question, when i launch a career with a 5th division and i open the Youth Academy my game crashes. Do you know why ?
Oh wow not sure of the top of my head. At a guess something in the database is where it would pull it from. I'll take a look when I have time
 

Apollo404

Club Supporter
Oh wow not sure of the top of my head. At a guess something in the database is where it would pull it from. I'll take a look when I have time
It's ok bro, i just restarted the game and it worked (i didn't changed anything ahah) so that's okay :)
I just had a question, do you know how i can add more teams in national cup ? Because at the start we just have 2 leagues in France so only 40 teams plays for the cup, do you know how to add the 3rd, 4th, 5th and 6th div teams ? (else i'll swap UK cup with FR cup to have 4 divs)
 

Rizzaldio

Youth Team
Yes, I’m going to be doing a similar thing for my English patch tonight or tomorrow. I have a few teams to complete first but I’ll add a tutorial as I do it. It’s a bit more complicated but should be fine
 

Rizzaldio

Youth Team
Sorry about the delay guys - Took me a little longer than planned to get where I needed to. I can confirm I will be writing up this tutorial for you tonight
 

Rizzaldio

Youth Team
OK Tutorial….

I suggest we do this all in stages as it is one of the more complicated things to try and do in compdata…

A few things to note
- There is a maximum number of teams allowed in a tournament (128). If you need more than this I usually create another tournament which acts as a preliminary/qualifying tournament to the main tournament. I can show you how to do this later on.



I am going to use the FA Cup tournament in England for my example. I have added another league at Level 5 with 24 teams in it. You should be able to follow the instructions and apply it based on the league and tournament you are adding.



I am going to do this in stages and test it as I go….

Remember this is complicated and there will no doubt be problems along the way until you totally understand what you are doing
 

Rizzaldio

Youth Team
Step 1
Add your new league to the tasks table.
- Add a new line above the current fill task to add your new league teams to the setup stage:


422​
startFillFromLeagueInOrder
424​
61​
0​
0​
422​
startFillFromLeagueInOrder
437​
60​
0​
0​
422​
startFillFromLeagueInOrder
481​
14​
0​
0​
422​
startFillFromLeagueInOrder
481​
13​
0​
0​

becomes


422​
startFillFromLeagueInOrder
424​
2208​
0​
0​
422​
startFillFromLeagueInOrder
424​
61​
0​
0​
422​
startFillFromLeagueInOrder
437​
60​
0​
0​
422​
startFillFromLeagueInOrder
481​
14​
0​
0​
422​
startFillFromLeagueInOrder
481​
13​
0​
0​


The first column is the compobj reference. The second column means at the start of the tournament. The third column shows the setup stage I want to push the new teams into and the fourth column is the leagueid from the database where the teams should be pulled from (mine is 2208).

One thing to note – I’ve removed replays from the first round for my tournament, otherwise this tutorial gets even more complicated. The French league doesn’t have them so you shouldn’t have to deal with this.

Ok so step 1 is done. Import the compdata and test the career mode works. The FA Cup (or your tournament should appear as usual and work). You should see all your new teams appear in the first round.
 

Rizzaldio

Youth Team
Step 2
At the moment all we have done is push our new teams into the tournament and they will just replace some of the teams from the other leagues that were there previously. What we need to do now is create some more slots in the setup where we have pushed the teams to so it will randomise either our new teams or the ones who were there before.

Go to the standings table and find the setup stage where the teams enter (mine is 424).

There are currently 24 slots here (0-23). I want to add space for my new league so I am going to increase it to 48(0-47).

So this:

424​
0​
424​
1​
424​
2​
424​
3​
424​
4​
424​
5​
424​
6​
424​
7​
424​
8​
424​
9​
424​
10​
424​
11​
424​
12​
424​
13​
424​
14​
424​
15​
424​
16​
424​
17​
424​
18​
424​
19​
424​
20​
424​
21​
424​
22​
424​
23​
Becomes This:

424​
0​
424​
1​
424​
2​
424​
3​
424​
4​
424​
5​
424​
6​
424​
7​
424​
8​
424​
9​
424​
10​
424​
11​
424​
12​
424​
13​
424​
14​
424​
15​
424​
16​
424​
17​
424​
18​
424​
19​
424​
20​
424​
21​
424​
22​
424​
23​
424​
24​
424​
25​
424​
26​
424​
27​
424​
28​
424​
29​
424​
30​
424​
31​
424​
32​
424​
33​
424​
34​
424​
35​
424​
36​
424​
37​
424​
38​
424​
39​
424​
40​
424​
41​
424​
42​
424​
43​
424​
44​
424​
45​
424​
46​
424​
47​


Now save it, import the compdata again and test career mode.
 

Rizzaldio

Youth Team
Step 3
Now comes the complicated bit….

We are adding 24 teams into the tournament so we need more knockout games in Round 1 and more teams to enter at team 1 so we can cut them down to the expected amount for the next round.

Round 2 in my cup has 20 games so it is expecting 40 teams to enter the round 2 draw.

I already know that Round 2 has teams from England Level 3(24 teams) and England Level 4(24 teams). 48 in total. I can also see that round 1 has 8 games so these 8 games are being used to eliminate 8 teams before Round 2. I am adding 24 new teams so I need to get rid of 32 teams now instead of 8. So I need the first round to have 32 games and 64 teams.

The first thing I need to do is change a line in the tasks table:

422​
startFillFromLeagueInOrder
424​
2208​
0​
0​
422​
startFillFromLeagueInOrder
424​
61​
0​
0​
422​
startFillFromLeagueInOrder
437​
60​
0​
0​


I am changing the bottom line here so that the teams from leagueid 60 (Level 3) go into the Round 1 draw along with the other teams.

422​
startFillFromLeagueInOrder
424​
2208​
0​
0​
422​
startFillFromLeagueInOrder
424​
61​
0​
0​
422​
startFillFromLeagueInOrder
424​
60​
0​
0​


This is because the first 2 leagues (2208 has 24 teams) and (61 has 24 teams) is only 48. I need 64 teams so I need those to come from leagueid 60.

I also need to change the standings table so that it has 72 slots (0-71) so the 3 leagues can fill them all.

In the standings there is also a standings table for the draw stage (mine is 426). I am going to increase this so that it also has 64 slots (0-63).

We now need to go to the advancement stage and move the teams from the setup stage into the first round draw or directly into the second round:

I am adding rows to move the top 64 teams from 424 (setup stage) into 426 (first round draw)

Example:


424​
29​
426​
29​
424​
30​
426​
30​
424​
31​
426​
31​
All the way down to 64 to fill all the slots!



We should now save the compdata files and re-test. Only test that the FA Cup shows and the teams appear. You should now notice the first round has teams from the other leagues in as well as yours.
 

Rizzaldio

Youth Team
Step 4
The next step is to increase the number of games in the first round so all teams enter and we can eliminate the number of teams that we want to.

So I need 32 games in the first round rather than 8. I go to the compobj table and I add the extra games like this:

435​
5​
G8
427​
436​
5​
G9
427​
437​
5​
G10
427​
438​
5​
G11
427​
All the way down to G32 (game 32).

Go to settings table and you need to add the extra game lines:

433​
num_games
1​
434​
num_games
1​
435​
num_games
1​
436​
num_games
1​
437​
num_games
1​
For all games that we added to compobj



We need to increase the number of games in the schedule so go to schedule table…

Mine currently has this:

427​
313​
1​
1​
1​
1945​
427​
314​
1​
4​
10​
1500​
427​
315​
1​
0​
2​
1600​


Change it to one line so all games are played on the same day and time and increase the number of games so that all 32 games can be played:

427​
314​
1​
32​
32​
1500​


Go to standings table and you need to add a standing 0 and 1 for each of the new games like this:

435​
0​
435​
1​


We also need to advance the teams from the draw into these new games. To do this go to the advancement table.

I am removing the lines that currently start with the draw (mine is 426).







I am now inserting 64 new lines. The first column for the new 64 lines should be my compobj ref for the draw stage (426). The second column is the slot number 1-64 for my slots in the draw.

I need to add to the third column the compobj reference for the game number they are put into:

The fourth column is the position in the match (1 or 2 / home or away).

Mine now looks like this:

426​
1​
428​
1​
426​
2​
428​
2​
426​
3​
429​
1​
426​
4​
429​
2​
426​
5​
430​
1​
426​
6​
430​
2​
426​
7​
431​
1​
426​
8​
431​
2​
426​
9​
432​
1​
426​
10​
432​
2​
426​
11​
433​
1​
426​
12​
433​
2​
426​
13​
434​
1​
426​
14​
434​
2​
426​
15​
435​
1​
426​
16​
435​
2​
…and so on



Now we save, import the compdata and test again!

We are only testing round 1 for now. You should see the tournament appear and have more games now.
 

Rizzaldio

Youth Team
Step 5
Ok so we are now past the worst of it and nearly there!

We need to advance the teams who win their first round games to the second round so go to advancement.

I have added these lines:

428​
1​
461​
1​
429​
1​
461​
2​
430​
1​
461​
3​
…and so on


The first column is the game reference in the compobj file. The second column is 1 (which means the winner / 1st place in that stage). The third column is the second round draw that I am advancing the team to. The fourth column is the slot in the draw that the team goes into.

Remember we also needed to advance 8 teams who didn’t enter the first round straight into the second round draw. So I have also added:

424​
65​
461​
33​
424​
66​
461​
34​
424​
67​
461​
35​
424​
68​
461​
36​
424​
69​
461​
37​
424​
70​
461​
38​
424​
71​
461​
39​
424​
72​
461​
40​


The first column is the setup stage where my teams entered. The second column showing 65-72 are the slots that I didn’t use to push into the first round draw and are still remaining. The third column 461 is the second round draw stage. 33-40 are the remaining slots in that draw that are not filled by the teams advancing from the first round.

That’s all there is to this step so rebuild the compdata and re-test!

That should be it!
 

Apollo404

Club Supporter
Step 4
The next step is to increase the number of games in the first round so all teams enter and we can eliminate the number of teams that we want to.

So I need 32 games in the first round rather than 8. I go to the compobj table and I add the extra games like this:

435​
5​
G8
427​
436​
5​
G9
427​
437​
5​
G10
427​
438​
5​
G11
427​
All the way down to G32 (game 32).

Go to settings table and you need to add the extra game lines:

433​
num_games
1​
434​
num_games
1​
435​
num_games
1​
436​
num_games
1​
437​
num_games
1​
For all games that we added to compobj



We need to increase the number of games in the schedule so go to schedule table…

Mine currently has this:

427​
313​
1​
1​
1​
1945​
427​
314​
1​
4​
10​
1500​
427​
315​
1​
0​
2​
1600​


Change it to one line so all games are played on the same day and time and increase the number of games so that all 32 games can be played:

427​
314​
1​
32​
32​
1500​


Go to standings table and you need to add a standing 0 and 1 for each of the new games like this:

435​
0​
435​
1​


We also need to advance the teams from the draw into these new games. To do this go to the advancement table.

I am removing the lines that currently start with the draw (mine is 426).







I am now inserting 64 new lines. The first column for the new 64 lines should be my compobj ref for the draw stage (426). The second column is the slot number 1-64 for my slots in the draw.

I need to add to the third column the compobj reference for the game number they are put into:

The fourth column is the position in the match (1 or 2 / home or away).

Mine now looks like this:

426​
1​
428​
1​
426​
2​
428​
2​
426​
3​
429​
1​
426​
4​
429​
2​
426​
5​
430​
1​
426​
6​
430​
2​
426​
7​
431​
1​
426​
8​
431​
2​
426​
9​
432​
1​
426​
10​
432​
2​
426​
11​
433​
1​
426​
12​
433​
2​
426​
13​
434​
1​
426​
14​
434​
2​
426​
15​
435​
1​
426​
16​
435​
2​
…and so on



Now we save, import the compdata and test again!

We are only testing round 1 for now. You should see the tournament appear and have more games now.
Hi, i'm at this step but if i had more lines for more games, these lines are already used in the next games ?
Like for example you're adding 436,5,G9,427 but line 436 is already "436,4,S3R,FCE_Round_1_Replay,422", so what do you do ? Do you just go through and it works or you need to shift every line of the compobj after ? (and if yes, it's very long ?)
 


Top