libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.39k stars 1.84k forks source link

[Lakka] info files structure #525

Closed kivutar closed 10 years ago

kivutar commented 10 years ago

Hello, i'm writting an rgui context driver called lakka. It will look like this http://www.youtube.com/watch?v=3O953RQOZTw

For now, I'm using the core_info struct to list the cores and display them as joypad icons. However, I would need a way to generate more than one icon for cores emulating more than one system.

For exemple, Genesis GX Plus in my menu would become 4 icons in my menu, one for each system.

Here is a proposal for a new .info format:

display_name = "Sega MS/GG/MD/CD (Genesis Plus GX)"
authors = "Charles McDonald|Eke-Eke"
supported_extensions = "md|smd|gen|sms|gg|sg|bin|cue|ios"
corename = "Genesis Plus GX"
manufacturer = "Sega"
systemname = "Sega 8/16bit (Various)"
license = "Non-commercial"
permissions = ""

[Mastersystem]
supported_extensions = "sms"
system_icon = "%mediadir%/mastersystem.png"
rom_icon = "%mediadir%/mastersystem-cartidge.png"
firmware1_desc = "bios_E.sms (MasterSystem EU BIOS)"
firmware1_path = "%sysdir%/bios_E.sms"
firmware2_desc = "bios_U.sms (MasterSystem US BIOS)"
firmware2_path = "%sysdir%/bios_U.sms"
firmware3_desc = "bios_J.sms (MasterSystem JP BIOS)"
firmware3_path = "%sysdir%/bios_J.sms"

[Megadrive]
supported_extensions = "smd"
system_icon = "%mediadir%/megadrive.png"
rom_icon = "%mediadir%/megadrive-cartidge.png"

[GameGear]
supported_extensions = "gg"
system_icon = "%mediadir%/gamegear.png"
rom_icon = "%mediadir%/gamegear-cartidge.png"
firmware1_desc = "bios.gg (GameGear BIOS)"
firmware1_path = "%sysdir%/bios.gg"

[SegaCD]
supported_extensions = "bin"
system_icon = "%mediadir%/segacd.png"
rom_icon = "%mediadir%/segacd.png"
firmware1_desc = "bios_CD_E.bin (MegaCD EU BIOS)"
firmware1_path = "%sysdir%/bios_CD_E.bin"
firmware2_desc = "bios_CD_U.bin (SegaCD US BIOS)"
firmware2_path = "%sysdir%/bios_CD_U.bin"
firmware3_desc = "bios_CD_J.bin (MegaCD JP BIOS)"
firmware3_path = "%sysdir%/bios_CD_J.bin"
Themaister commented 10 years ago

RetroArch's config reader is not .ini, it's pure key/value.