Ok, here is the correct syntax :
('Visual Boy Advance',
'/usr/local/freevo/testfiles/Vba/roms/',
('GENERIC', '/usr/local/vba/VisualBoyAdvance', ' ',
'/usr/lcoal/testfiles/Vba/roms/', [ 'gba' ] )),
('Playstation Emulation',
'/usr/local/freevo/testfiles/Psx',
('GENERIC', '/usr/local/psx/epsxe', '', '', [ 'bin' ] ))]
Regards, Sylvain
>
> DIR_GAMES = [ ('MAME', '/usr/local/freevo/testfiles/Mame/roms',
> ('MAME', '/usr/bin/xmame.SDL', '-fullscreen -scale 3
> -modenumber 6',
> '', None)),
> ('Visual Boy Advance',
> '/usr/local/freevo/testfiles/Vba/roms/',
> ('GENERIC', '/usr/local/vba/VisualBoyAdvance', ' ',
> '/usr/lcoal/testfiles/Vba/roms/', '.gba')),
> ('Playstation Emulation',
> '/usr/local/freevo/testfiles/Psx',
> ('GENERIC', '/usr/local/psx/epsxe', '', '', '.bin' ))]
>
>
> Thanks for any help,
>
> /Peter
>
> -----Ursprungligt meddelande-----
> Fr�n: Michael Ruelle
> Till: [EMAIL PROTECTED]
> Skickat: 2003-09-28 20:58
> �mne: Re: [Freevo-users] DIR_GAMES problems continued
>
> please post you DIR_GAMES.
>
> I will look at it
>
> but ideally it should be
>
> DIR_GAMES = [('name in menu','directory',( ... generic stuff ... )) ]
>
> I think you are missing the parens around the third entry and thus not
> passing the test.
>
> --
> Mike Ruelle
> [EMAIL PROTECTED]
> http://world.std.com/~mruelle/
>
> On Sun, 2003-09-28 at 12:04, Peter Svensson wrote:
>> OK. I have to admit that I finally managed to get the MAME stuff to
> work,
>> due to (I must shamefully admit) a typo :-X
>>
>> However, I seem to be uanble to get my two other emulators to work.
> They are
>> a GBA emulator and a PSX emulator ('GENERIC').
>>
>> Either I get a crash, due to having None instead of '' in one of the
> three
>> last DIR_GAMES argument, or I receive a "please update DIR_GAMES in
>> local_conf.py" followed by a "This directory is empty.
>>
>> I have tracked down the message to this part of ../games/__init__.py;
>>
>>
>> if not hasattr(parent, 'add_args') or type(parent.add_args) is not
>> types.TupleType:
>> pop = PopupBox(text="please update DIR_GAMES in
> local_conf.py")
>> pop.show()
>> time.sleep(2)
>> pop.destroy()
>> return []
>>
>>
>> Now I'm wondering how I can persuade the game system that the parent
> has
>> 'add_args' (Whatever that means in this context), of that is indeeed
> of a
>> 'TupleType'.
>>
>>
>> I could comment it out, but I'd like to know if possible.
>>
>> Thanks!
>>
>> /Peter
>>
>>
>>
>> -------------------------------------------------------
>> This sf.net email is sponsored by:ThinkGeek
>> Welcome to geek heaven.
>> http://thinkgeek.com/sf
>> _______________________________________________
>> Freevo-users mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users