Mathias Weber wrote:
> I got a first version of the games plugin working. Maybe someone with
> more knowledge about Freevo 2.0 takes a look at it and tels me what i
> should improve.

Please send the code as tgz of the games directory + a patch of all
non games files.

> I didn't write it as a MediaItem since i saw know way this would
> fit. 

That is ok.

> There are two different game plugins at the moment the emulator
> plugin, this should work for most of the emulators (i have only tested
> with zsnes, but since it just calls an emulator with the parameters it
> should work with others). The second plugin is for PcGames with this
> it is possible to run usual games.

Maybe use them as base class and inherit special plugins like snes
From them.

> What i would like to add would be a plugin for the scummvm, it will
> not work with the emulator plugin, since the scummvm does not needs
> one rom file. But this should be easily possible with the current
> structure.

scummvm would be great. Maybe inherit it from PcGames.

> What i think isn't done very well is the EmulatorMenuItem
> (emulator.py) since this is almost the same as MediaMenu but i
> couldn't get MediaMenu to do what i wanted, so i copied it and changed
> it a bit.

I think it is better not to use MediaMenu. I would prefer a plugin
like your EmulatorMenuItem that loads the specific plugins and each
with dirs. Example:

SNES plugin to play snes games and a plugin for scumm.

games.activate = 50
games.plugins.snes.activate = 10
games.plugins.snes.path[0] = '/path/to/dir1'
games.plugins.snes.path[1] = '/path/to/dir1'
games.plugins.scumm.activate = 10
games.plugins.scumm.path[0] = '/path/to/scumm/games'


Dischi

-- 
There are very few problems that cannot be solved by orders ending with
'or die.' - Alistair J.R. Young

Attachment: pgpaQIloCe1Rv.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to