2010-08-14, 03:30
As much as I hate to say it, I think a file mode might start as a branch that could then be merged once the bugs are worked out.
Do sources.xml like this:
And do consoles.xml (maybe config.xml?) like this:
As I said, I think that it simplifies things a lot until someone designs scrapers for this. I'm not sure what level of integration this can have with XBMC, but it would be nice if I could replace Pictures with Emulation. I'm also pretty sure that this could be designed without databases involved - simplifying installation.
Edit:
And yes, I think this could all be done in XBMC settings. I think it would be minimal, and I think that if I had any sort of aptitude towards python (or programming in general) I'd try and do it as a weekend hack. Maybe it could start as something with hand edited xml files first with a configuration editor added later.
Do sources.xml like this:
Code:
<emulation>
<default>NES Roms</default>
<source>
<name>SNES Roms</name>
<path>/home/username/roms/snes/</path>
<type>snes</type>
</source>
<source>
<name>NES Roms</name>
<path>/home/username/roms/nes/</path>
<path>/home/username/roms/fds/</path>
<type>nes</type>
</source>
</emulation>
Code:
<Consoles>
<Console>
<consoleName>snes</consoleName>
<emulatorCmd>zsnes -m "%ROM%"</emulatorCmd>
<useEmuSolo>True</useEmuSolo>
<escapeCommand>True</escapeCommand>
<filetype>*.zip</filetype>
<filetype>*.smc</filetype>
</Console>
<Console>
<consoleName>nes</consoleName>
<emulatorCmd>mednafen -fs 1 "%ROM%"</emulatorCmd>
<useEmuSolo>True</useEmuSolo>
<escapeCommand>True</escapeCommand>
<filetype>*.zip</filetype>
<filetype>*.nes</filetype>
</Console>
</Consoles>
As I said, I think that it simplifies things a lot until someone designs scrapers for this. I'm not sure what level of integration this can have with XBMC, but it would be nice if I could replace Pictures with Emulation. I'm also pretty sure that this could be designed without databases involved - simplifying installation.
Edit:
And yes, I think this could all be done in XBMC settings. I think it would be minimal, and I think that if I had any sort of aptitude towards python (or programming in general) I'd try and do it as a weekend hack. Maybe it could start as something with hand edited xml files first with a configuration editor added later.