Software for managing a FoG-Tournament

General discussion forum for anything related to Field of Glory Ancients & Medieval.

Moderators: hammy, philqw78, terrys, Slitherine Core, Field of Glory Design, Field of Glory Moderators

KillingZoe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 65
Joined: Thu Aug 21, 2008 4:10 pm
Contact:

Software for managing a FoG-Tournament

Post by KillingZoe »

Hi,
we had a little fog tournament in Potsdam in January. For that occasion I have written a software tool to do the managing of the tournament.
Recently I did some additional work an it. Just in case there are other people who may find it usefull, i decided to place it online for download:

New version 1.2.0.1:
http://www.komicon.de/fog-turnierverwaltung/

Features:
Userinterface in German and English
Manage players
Create rounds by random, swiss system, historical or manually
Calculating the game score using the official FOG scoring system
Calculation the charts (maybe not the best fitting word?) for each round
Printing of all lists and tables
Save and load the tournaments
Handling of tournaments with off number of players
Handling of several tournaments at a time

System requirements: Windows XP SP2 with .net-Framework 2.0
Last edited by KillingZoe on Sat Aug 13, 2011 7:59 am, edited 10 times in total.
philqw78
Chief of Staff - Elite Maus
Chief of Staff - Elite Maus
Posts: 8840
Joined: Tue Feb 06, 2007 11:31 am
Location: Manchester

Post by philqw78 »

You may have missed asking the question. But yes it is out there. PM Hammy or Terry Shaw I think would be best. I think they are the main protagonists. Though I may be wrong
KillingZoe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 65
Joined: Thu Aug 21, 2008 4:10 pm
Contact:

Post by KillingZoe »

Some bug in the message - now it's there.
But thanks for the info :-)
hammy
Field of Glory Team
Field of Glory Team
Posts: 5440
Joined: Tue Aug 22, 2006 2:11 pm
Location: Stockport
Contact:

Post by hammy »

I will take a look at it.

Does the software understand things like keeping club members apart for the first few rounds and making sure that family members can't play each other?

There are a whole stack of 'rules' that people like to add to the draw just to make the whole experience nicer. Travelling a long way to a tournament then playing a club mate in the last round when neither of you can win is never fun.
KillingZoe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 65
Joined: Thu Aug 21, 2008 4:10 pm
Contact:

Post by KillingZoe »

hammy wrote:Does the software understand things like keeping club members apart for the first few rounds and making sure that family members can't play each other?
Yes. You can define a pool of players that won't have to play against each other. This works with the random drawing as well as with the swiss system.
In addition, you can always change the games in a round by hand after you generated the round.
robertthebruce
Field of Glory Moderator
Field of Glory Moderator
Posts: 505
Joined: Mon Feb 12, 2007 8:24 pm
Location: Granada, Spain.

Post by robertthebruce »

We have finding a lot of problems with the excell file that JD passed me, it´s possible to translate the program into Spanish?



David
KillingZoe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 65
Joined: Thu Aug 21, 2008 4:10 pm
Contact:

Post by KillingZoe »

robertthebruce wrote:it´s possible to translate the program into Spanish?
Yes, the software is build to make further translations possible. That means, you could do the translation yourself. (I can't, since I don't speek spanish.)

It's done like this:

Download the software and extract the zip-file.
In the foulder there is a file named "translation.fml" - this is the XML-File (basicly just a text file) that contains all the translations.

You open this file with a simple text editor and add you own translation:

1.) Find a language you understand and copy the complete section including the <Sprache>-Tag:

Code: Select all

<Sprache Name="English">
		<!--Titel -->
		<S1>FOG Tournament Manager</S1>
                 ...
</Sprache>
2.) Paste this section beneth the last language section, but within the <FOG-Sprachen> environment.

Code: Select all

<FOG-Sprachen>
<Sprache Name="Deutsch">		
		<!--Titel -->
		<S1>FOG-Turnierverwaltung</S1>
                ...
</Sprache>

<Sprache Name="English">
		<!--Titel -->
		<S1>FOG Tournament Manager</S1>
                 ...
</Sprache>

<Sprache Name="English">
		<!--Titel -->
		<S1>FOG Tournament Manager</S1>
                 ...
</Sprache>

</FOG-Sprachen>
3.) In the copy-pasted section, Exchange the Name of language with the name of the lanuage you are doing the translation for:

Code: Select all

<FOG-Sprachen>
<Sprache Name="Deutsch">		
                ...
</Sprache>

<Sprache Name="English">
                 ...
</Sprache>

<Sprache Name="Espanol">
		<!--Titel -->
		<S1>FOG Tournament Manager</S1>
                 ...
</Sprache>

</FOG-Sprachen>
4.) Translate all the Strings in the <S>-Tags, but don't change the Tag itself.
Also don't touch the <!-- --> section, these are comments that help you to recognize the part of the application you are doing the translation for.

Code: Select all

<FOG-Sprachen>
...

<Sprache Name="Espanol">
		<!--Titel -->
		<S1>Your translation of "FOG Tournament Manager"</S1>
		<!-- Menue -->
		<S101>Your translation of "Tournament"</S101>
                 ...
</Sprache>

</FOG-Sprachen>
In some of the entries there is a //. This is the signal for a new line. Use it where it best fits.


5.) Save the file and restart the software. You should now get your own language as an additional choise in the language selection menue. Once you have choosen this, the printing is also done in your language (if you translated the coresponding string).

In case of problems just let me know by private message or by email: thomas [at] komicon.de

If someone really does a translation - in which language ever - I would like you to send me the edited translation.fml file, so that I could include it in the download.
jdm
Slitherine
Slitherine
Posts: 1139
Joined: Mon Apr 04, 2005 10:41 am

Post by jdm »

This could be a great resource

I have asked some of the BHGS guys to have a look. Lets get some feedback and see if this can become the standard :-)

Best Regards

JDM
nikgaukroger
Field of Glory Moderator
Field of Glory Moderator
Posts: 10287
Joined: Tue Aug 22, 2006 9:30 am
Location: LarryWorld

Post by nikgaukroger »

KillingZoe wrote:
hammy wrote:Does the software understand things like keeping club members apart for the first few rounds and making sure that family members can't play each other?
Yes. You can define a pool of players that won't have to play against each other. This works with the random drawing as well as with the swiss system.
In addition, you can always change the games in a round by hand after you generated the round.

As far as I can see the program lets you set "pools" that then apply for the whole competition. What we tend to do, in BHGS-land, is say that fellow club members cannot play each other for X of the Y rounds which ranges between 1 out of 4 to 4 out of 6. An ability to set a variable number of such rounds may be a nice feature.

Additionally it may be nice that once the comp has reached the point where club members can play each other if there are a number of players on the same score that the program still avoids same club match ups if at all possible. Probably best to have such a feature as optional as whether it is desired can depend on your view of how "pure" a draw should be.
Nik Gaukroger

"Never ask a man if he comes from Yorkshire. If he does, he will tell you.
If he does not, why humiliate him?" - Canon Sydney Smith

nikgaukroger@blueyonder.co.uk
robertthebruce
Field of Glory Moderator
Field of Glory Moderator
Posts: 505
Joined: Mon Feb 12, 2007 8:24 pm
Location: Granada, Spain.

Post by robertthebruce »

I have triying to translate the file, but in not appear in the main program, can you help me?, I can pass you the translation for make a new translation file with spanish option.


Regards

David
Last edited by robertthebruce on Fri Mar 06, 2009 4:07 pm, edited 1 time in total.
KillingZoe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 65
Joined: Thu Aug 21, 2008 4:10 pm
Contact:

Post by KillingZoe »

robertthebruce wrote:I hava triying to translate the file, but in not appear in the main program, can you help me?
It's probably only a minor syntax error in your translation file.
Sure, send me your translations. You can find my EMail-Address in the readme.pdf.
KillingZoe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 65
Joined: Thu Aug 21, 2008 4:10 pm
Contact:

Post by KillingZoe »

nikgaukroger wrote:As far as I can see the program lets you set "pools" that then apply for the whole competition. What we tend to do, in BHGS-land, is say that fellow club members cannot play each other for X of the Y rounds which ranges between 1 out of 4 to 4 out of 6. An ability to set a variable number of such rounds may be a nice feature.
Well, this is perfectly possible.
You can choose each round wether to use a pool or not.

"Menu: Create round -> Swiss System" will give you a new round generated without using the pool, while
"Menu: Create round -> Swiss System using pool" will generate a new round by using a pool.

You can also redefine the pool for each round.
nikgaukroger wrote:Additionally it may be nice that once the comp has reached the point where club members can play each other if there are a number of players on the same score that the program still avoids same club match ups if at all possible. Probably best to have such a feature as optional as whether it is desired can depend on your view of how "pure" a draw should be.
This sounds not too easy to be implemented. I will take it on my list with further ideas, but can't promise that it will be implemented soon or at all. (I'm doing it in my spare time, so things won't move to quick, I'm affraid.)
Meanwhile you have allways the option to change rounds by hand after the software did the draw.
KillingZoe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 65
Joined: Thu Aug 21, 2008 4:10 pm
Contact:

Post by KillingZoe »

I built a new version. The software is now suporting multiple pools (not only one).
For the new download link, see the original post.
Scrumpy
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1423
Joined: Sat Nov 10, 2007 7:27 pm
Location: NoVa

Post by Scrumpy »

I have to ask, who is Zoe & what has she done to annoy you so much ?
KillingZoe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 65
Joined: Thu Aug 21, 2008 4:10 pm
Contact:

Post by KillingZoe »

Scrumpy wrote:I have to ask, who is Zoe & what has she done to annoy you so much ?
Lol - don't ask, its a dark dark dark secret ;-)
stenic
Sergeant First Class - Elite Panzer IIIL
Sergeant First Class - Elite Panzer IIIL
Posts: 437
Joined: Mon Feb 04, 2008 7:24 pm
Location: Cheltenham, Glos, UK

Post by stenic »

KillingZoe wrote:I built a new version. The software is now suporting multiple pools (not only one).
For the new download link, see the original post.
Nice tool. I had a quick play and it will do the job very well. I like that you didn't have to set the number of rounds and could just keep adding them until it tells you that more rounds cannot be added due to every one having played each other, in effect catering for a league system!!

At first go it's not clear that the Attrition value entered for a round is meant to be the points lost by that player (in the English version anyway), so it may be worth mentioning in the Readme file. It does become clear once it calculates the scores.

I did find you could put in more Attrition Points lost than BGs in the army list but the software seemed to cater for this by just ignoring the value given and defaulting to the army broken position of Attrition points lost = army BGs.

Steve P
KillingZoe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 65
Joined: Thu Aug 21, 2008 4:10 pm
Contact:

Post by KillingZoe »

stenic wrote:At first go it's not clear that the Attrition value entered for a round is meant to be the points lost by that player (in the English version anyway), so it may be worth mentioning in the Readme file. It does become clear once it calculates the scores.
Thanks for the hint. I will include it in the readme.
stenic wrote:I did find you could put in more Attrition Points lost than BGs in the army list but the software seemed to cater for this by just ignoring the value given and defaulting to the army broken position of Attrition points lost = army BGs.
Yes, that's exactly what happens. I had to deal with such a situation somehow, and this seemed to be the most convenient way.

Thomas
Ghaznavid
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 800
Joined: Wed Aug 29, 2007 1:44 am
Location: Germany

Post by Ghaznavid »

Although, theoretically, you could lose all your BGs and your camp. Very unlikely to ever crop up though.
Karsten


~ We are not surrounded, we are merely in a target rich environment. ~
KillingZoe
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 65
Joined: Thu Aug 21, 2008 4:10 pm
Contact:

Post by KillingZoe »

Ghaznavid wrote:Although, theoretically, you could lose all your BGs and your camp. Very unlikely to ever crop up though.
Correct, but for calculating the score it is still the same as having just lost as much attrition points as who had battlegroups in the army.
JimmyThePict
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 40
Joined: Thu May 03, 2007 8:53 am
Location: Pictland

Post by JimmyThePict »

Good piece of software.

Unfortunately, it does not handles uneven numbers of players very well, the last uneven numbered player gets 0pts and stays in last position unless someone else gets 0 points in the round.

I have worked around this by adding a dummy player called 'Bye' to the draw and fix that game to get 25 points (giving 'Bye' 0 points so that the in the next round the lowest scoring player gets the bye), then manually go back through the rounds at the end of the competition to adjust all players that played 'Bye' to be the average of the scores vs real opponents. Would be nice if the software did this automatically. :)

Cheers Aye

Jimmy the Pict
Post Reply

Return to “Field of Glory : Ancient & Medieval Era 3000 BC-1500 AD : General Discussion”