Frequently asked questions

General

- Where can I find help about pysycache ?
- Can I add a theme to pysycache ?
- Can I delete a theme from pysycache ?
- How share my photos or my theme ?
- I want to contribute to pysycache, how can I do ?

Activity "move the mouse"

- How can I add a personnal theme at the "move the mouse" activity ?
- How translate the ABCBook theme ?
- How translate the number theme ?

Activity "click of the mouse"

- How add a personnal theme at the activity "click of the mouse" ?

Activité "utilisation des boutons"

- How add a personnal theme at the activity "use of the buttons"

Where can I find help about pysycache ?
In the directory `doc` you will find :
- these FAQ
- the rules of the different activities
- somes pictures files for help you in the creation of your own themes

Can I add a theme to pysycache ?
Of course !
You can add a theme on your town, the childs of a classroom, your pet, your familly member !
Remember to Pensez toujour à faire partager votre thème en l'annonçant sur les forums.

Can I delete a theme from pysycache ?
Of course!
You can delete a theme that doesn't please to you !

You have just to delete it's directory located in :
- `theme-move` : for the "move of the mouse" activity
- `theme-click` : for the "click" activity
- `theme-buttons` : for the "use of buttons" activity

How share my photos or my theme ?
Some forums have been installed. You can contact me by mail.

I want to contribute to pysycache, how can I do ?
Any help (picture, photography, idea) is welcome (I have a lot of ideas of themes) !
You can help me in the translation of help files.
For help me, you can write me by mail.

How can I add a personnal theme at the "move the mouse" activity ?

- go in the `themes-move` directory
- create a sub-directory (for example mytheme)
- copy (or create) in this sub-directory a file named logo.png. You can use the file masque-button-theme.png located in the directory `doc/pysycache`. This picture will identify your theme at children. The size of the picture must be of 85 pixels width and 84 for height.
- copy in this sub-directory :
  - the pictures to uncover. They must have a size of 702 pixels width and 527 of height. You can use the file masque-image-clair.png located in the directory `doc/pysycache`.
  The extension of theses files must be '.jpeg'
  - sounds that will be played when the picture will be totally uncovered
- create a sub-directory cache
- copy in this sub-directory :
  - the caches of the pictures that children must find. They must have a size of 702 pixels of width and 527 of height. You can use the file masque-image-fonce.png located in the directory `doc/pysycache`.
  - sounds that will be played when the cache appears at the screen
- go back in the directory of your theme and create the file of the association between the caches and the pictures :
  This file must have the same name of your picture and the extension .dfg (for example, for a picture named mypicture000.jpeg, the definition file will be mypicture000.dfg)
  In this file, add a line by available cache
  it contents :
  - the name of the cache to use
  - a comma
  - the sound that will be played when cache will appears (if no sound have to be played, leave empty)

      b.jpeg,b.ogg
      cache-avion.jpeg,b.ogg

  Pysycache will choise randomly one on these lines.
- create the files `credits.txt` and `copyright.txt`

How translate the ABCBook theme ?
For translate this theme, you just have to modify the association between the file and it's cache (*.dfg) :

For this picture, a french user will read "Ananas" and will have

    a.jpeg,a.ogg
    cache-avion.jpeg,a.ogg

For this picture, an english user will read "Pineapple" and will have

    p.jpeg,p.ogg
    cache-avion.jpeg,p.ogg

How translate the number theme ?
In order to translate this theme, you just have to translate the file with texts (OpenOffice format) and to export the picture in .jpeg

How add a personnal theme at the activity "click of the mouse" ?

- go in the directory `themes-click` of PySyCache.
- create a sub-directory (for example montheme)
- copy (or create) in this sub-directory a file named logo.png. You can use the file masque-button-theme.png located in the directory `doc/pysycache`. This picture will identify your theme at children. The size of the picture must be of 85 pixels width and 84 for height.
- copy in this sub-directory :
  - the background picture
  - the pictures to be found.
    I advice you a size of approximately 450 x 450. For make the borders, I use Gimp and the Script-Fu/Shades/Bordures floues and Coins arrondis .
    The name of theses pictures isn't important, but their extension must be .png
  - the miniatures of theses pictures that you can create from the models xxxx-off.png and xxxx-on.png located in the `doc/pysycache` directory.
    Theses miniatures must have the same name that the main picture but with `-on` and `-off` additionned
- create in the directory of your theme the file of picture placement. The name of the file isn't important, but it must have the .dfg extension
  In this file, add one line for the background picture and 6 lines by photographie to take
  it contents ;
  - the name of the photography file
  - a line
  - the position (from the left border) of the background photography)
  - a line
  - the position (from the top border) of the background photography)
  - a line
  - the radius that define the area that will autorize the snapshot

      1001.png-184-184-40
      1002.png-450-250-40
      1003.png-530-180-40
      1009.png-380-50-40
      1012.png-214-452-40
      1013.png-590-360-40

  Pysycache will randomly choice one of the *.dfg files.
- create the files `credits.txt` and `copyright.txt`

How add a personnal theme at the activity "use of the buttons" ?

Proceed as :
- go in the directory `themes-buttons` of PySyCache.
- create a sub-directory (for example montheme)
- copy (or create) in this sub-directory a file named logo.png. You can use the file masque-button-theme.png located in the directory `doc/pysycache`. This picture will identify your theme at children. The size of the picture must be of 85 pixels width and 84 for height.
- copy in this sub-directory :
  - the background picture
  - pictures for the two items that should move to left and right. (Theses pictures must have a size of 96 x 96 pixels)
    The name of these pictures is not important, but their extension must be .png
- create in your theme directory the file of description of the items. The name of this file isn't important, but it must have the .dfg extension

  The file is structured like this :
  - the name of the background file
  - the left top corner of the movement area of items
  - the right botton corner of the movement area of items
  - the coordonates of the target area of left items
  - the coordonates of the target area of right items
  - the file with the picture of the left item , a line, the maximum number of this item (pysycache will randomize the exact number)
  - the file with the picture of the right item , a line, the maximum number of this item (pysycache will randomize the exact number)
  - the left limit that will make unvisible the item
  - the right limit that will make unvisible the item

      fond02.bmp
      178-20
      550-513
      17-366-177-513
      551-207-657-338
      01.png-4
      02.png-6
      30
      650

      fond02.bmp
      A-B
      C-D
      I-J-K-L      (K = A - 1)
      V-W-X-Y      (V = C + 1)
      01.png-4
      02.png-6
      Q
      R

  Pysycache will randomly choice one of theses *.dfg files.
- create the files `credits.txt` and `copyright.txt`

Last update : February 2006