If your config look like this:
GAMES_ITEMS = [ ('Tux Racer', '/etc/freevo/games/ppracer', *<-- This
should be a dir*
('GENERIC', '/usr/games/ppracer', '', '', [ 'ppracer' ]
)),* <-File extension*
('Sudoku', '/etc/freevo/games/ksudoku', *<--This should
be a dir*
('GENERIC', '/usr/games/ksudoku', '', '', [ 'sudoku' ]
))* <-File extension*
]
You should have two other files called:
/etc/freevo/games/ppracer/ppracer.ppracer
/etc/freevo/games/ksudoku/ksodoku.sudoku
The reason you do this is because the name inside the square brackets
has to be the extension of the file your calling, i.e 'something.ppracer'
From the wiki:
Add in var GAMES_ITEMS :
GAMES_ITEMS = [ ('Tux Racer', '/etc/freevo/games/*tuxracer*',
('GENERIC', '/usr/games/tuxracer', '', '', [ '*tux*' ] )) ]
Create file /etc/freevo/games/tuxracer/tuxracer.tux
# mkdir /etc/freevo/games
# mkdir /etc/freevo/games/*tuxracer *
# > /etc/freevo/games/tuxracer/tuxracer.*tux*
Pirlouwi wrote:
Hello,
i just tried to setup some games in freevo.
So for my first try, I just looked in the freevo-users list and got
this configuration excerpt:
GAMES_ITEMS = [ ('Tux Racer', '/etc/freevo/games/ppracer',
('GENERIC', '/usr/games/ppracer', '', '', [ 'ppracer'
] )),
('Sudoku', '/etc/freevo/games/ksudoku',
('GENERIC', '/usr/games/ksudoku', '', '', [ 'sudoku' ] ))
]
so I copy/paste it simply into my local config after having installed
ppracer and ksudoku via apt-get.
The result (in freevo) was:
"Ce répertoire est vide" (directory empty in english).
No game is launched. What did I wrong?
NB: these two games work well outside of freevo.
LOUIS
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users