Bygfoot 1.9.0 :: Brazil League XML

General discussions about the game, e.g. game strategy.
Post Reply
Oki
Posts: 77
Joined: Wed Mar 30, 2005 12:50 pm
Location: São Paulo/SP-Brazil
Contact:

Bygfoot 1.9.0 :: Brazil League XML

Post by Oki »

Hi,

I'm from Brazil, and i'd like to make the Team list for brazilian teams. In version 1.9 the structure have modified so, my question is "What i need to edit to make team files for brazil league?"

[]'s
Celso Goya
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

thanks for your offer. i didn't expect to receive one so soon, so i didn't write a country/league editing tutorial yet. i promise to do it today, though.

gyözö
Press any key to continue or any other key to quit.
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

see this post describing how to make a new country file. i didn't make the cup definitions howto yet, but i'll do it soon.

gyözö
Press any key to continue or any other key to quit.
Oki
Posts: 77
Joined: Wed Mar 30, 2005 12:50 pm
Location: São Paulo/SP-Brazil
Contact:

Post by Oki »

Thanks for your help, i'll try to make some files for Brazilian Leagues, and if i t works i'll send you. :-)

[]'s
Celso Goya
atd
Posts: 243
Joined: Sat Jan 22, 2005 11:44 am
Location: Belgium
Contact:

Post by atd »

I'll make the belgian file too
attack is the best way to defend ~~ Arne Deprez
-----------------
"De omnis Belgae fortissimi sunt."(Of all these, the Belgians are the bravest.) ~~ Julius Caesar
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

great :-D i hope the new system will work out well. you can of course mail me or post here (maybe rather in the code discussions forum) if you have questions or problems.

gyözö
Press any key to continue or any other key to quit.
Oki
Posts: 77
Joined: Wed Mar 30, 2005 12:50 pm
Location: São Paulo/SP-Brazil
Contact:

Championship XML Files

Post by Oki »

Hi,

I'm writing the XML Files for 1.9, but i don't know how can i make the promotion for next league.

e.g: On Brazilian league the eight better teams on the season play and the top two teams advance to next league.

e.g 2:
away/home
winner 1: team 1 x team 8
winner 2: team 2 x team 7
winner 3: team 3 x team 6
winner 4: team 4 x team 5

away/home
winner 1: winner1 x winner 4
winner 2: winner2 x winner 3

away/home
winner1 x winner 2

The last two team advance. I found on HOW-TO:
So, the tags available for cup rounds are:
- home_away
- replay
- neutral
- round_robin_number_of_groups
- round_robin_number_of_advance
- round_robin_number_of_best_advance
My question is "One of this tags could solve the problem?". In all england examples we don't have this kind of case.

[]'s
Celso Goya
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Re: Championship XML Files

Post by gyboth »

Oki wrote:Hi,

I'm writing the XML Files for 1.9, but i don't know how can i make the promotion for next league.

e.g: On Brazilian league the eight better teams on the season play and the top two teams advance to next league.
this sounds like promotion games. you make a league without prom_rel_elements for promotion, only a promotion game element. you have to write the cup format for the promotion games, something like

Code: Select all

<cup>
  <name>Promotion Games</name>
  <short_name>Prom. Gam.</short_name>
  <symbol>flag_br.png</symbol>
  <sid>brazil_prom_games</sid>
  <type>national</type>

  <cup_rounds>
    <cup_round>
      <home_away>1</home_away>
    </cup_round>
    <cup_round>
      <home_away>1</home_away>
    </cup_round>
    <cup_round>
      <home_away>1</home_away>
    </cup_round>
  </cup_rounds>

  <choose_teams>
    <choose_team>
      <number_of_teams>8</number_of_teams>
      <start_idx>1</start_idx>
      <end_idx>8</end_idx>
    </choose_team>
  </choose_teams>

</cup>
there are two problems: 1. you can't tell the program that the last two teams advance, only the winner advances 2. cup pairings are written randomly, not 1 - 8, 2 - 6 etc.

i'm going to have to introduce tags for these issues, i guess.

gyözö
Press any key to continue or any other key to quit.
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

i've added a tag <prom_games_number_of_advance> to the <prom_games> structure, so you can specify now that the two teams from the final of the promotion games advance (see also the howto file.

gyözö
Press any key to continue or any other key to quit.
mom2pp
Posts: 193
Joined: Sat Jan 29, 2005 5:47 pm
Location: Scotland

Post by mom2pp »

i would do the scotland league
its just that i dont know how to get the CVS for the 1.9 version
could you please tell me how to get it
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

mom2pp wrote:i would do the scotland league
its just that i dont know how to get the CVS for the 1.9 version
could you please tell me how to get it
use the update script bygfoot-update, it's menu-driven and should be fairly easy to use. it's shipped with the official Bygfoot packages but you can get the latest version also here (you might have to do a chmod a+x bygfoot-update after downloading it).

gyözö
Press any key to continue or any other key to quit.
Oki
Posts: 77
Joined: Wed Mar 30, 2005 12:50 pm
Location: São Paulo/SP-Brazil
Contact:

Good news

Post by Oki »

Gyözö,
I'll download the latest version, and i'll try to update my xml files, using this new issue.
i've added a tag <prom_games_number_of_advance> to the <prom_games> structure, so you can specify now that the two teams from the final of the promotion games advance (see also the howto file.
Well, this is the most speedy correction i've seemed on a software, hehehe, thanks for correction. The secondary divisions from Brazilian Teams thanks you! :-)

[]'s
Celso Goya
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Re: Good news

Post by gyboth »

Oki wrote:Well, this is the most speedy correction i've seemed on a software, hehehe, thanks for correction. The secondary divisions from Brazilian Teams thanks you! :-)
don't be too cheerful, the new tag doesn't mean anything regarding the game internals, because season ending stuff isn't implemented yet ;-) i just added the possibility to use that tag, the consequences of a league using that kind of promotion will have to get implemented later :-P

gyözö
Press any key to continue or any other key to quit.
Post Reply