This is an old revision of the document!
Table of Contents
Here are some tips to customize your pyDarts installation :
Launch a game directly without having to pass through menus
v1.0+ : example, to launch a Ho_One with your two players, “Mickael” and “Boris”, directly from command line, just create a shortcut with these command line parameters :
pydarts --localplayers=mickael,boris --gametype=local --selectedgame=Ho_One
Customize game options (without hacking the code)
Example, if most of time, you prefer to play Ho_One starting from 501 instead of 301, and that, most of time, you play it in 20 rounds instead of 10, “double in” enabled, just write in your pydarts.cfg :
[Ho_One] startingat:501 max_round:30 double_in:True split_bull:False etc...
And that's it ! Every time you create a game it will suggest these options instead of pydarts' default ones.
Do without dart board buttons
v1.0+ : Starting with pyDarts v1.0, you can use keyboard to pass to next player, to give up game or to use backup turn. Respectively, use “space bar”, “escape” and “b” key to perform these actions.
Toggle full screen to windowed
v1.0+ : in all menus and in-game, use “f” key of double-click to toggle full screen to windowed and the other way around !
Use another colorset
v0.9+ : if the default colorset do not suit to your taste, you may be interested by switching the colorset by another one. To do that, use the command line parameter –colorset=color_set_name instead of the default colorset, which is the clear one (–colorset=clear). You can add your own colorset by modifying the “include/ColorSets.py” file and adding your own.
the syntax of this file is python and can break your software !
If you want your colorset to be included to the project, feel free to send it to the developpers via discussion channels
Use custom sounds or images
v0.7+ : you can replace pyDarts sounds and images by your own, without having to replace original files ! To do that, create a folder called “sounds” or “images” in your $HOME/.pydarts folder. Put here your images with the same name than the original files, they will be used in place of the embedded ones
Use a custom sound for your player
v0.7+ : you can have a custom sound playing when it is your turn to play ! To do that, create a folder called “sounds” or “images” in your $HOME/.pydarts folder. Put here your sound with the same name than the player name, using the OGG VORBIS sound format and with the extension “.ogg”, it will be used in place of the classic sound !
