From 73c3d2eb4059cbe37f866f1a94c19c6f23c80126 Mon Sep 17 00:00:00 2001 From: HediSIX <36813028+HediSIX@users.noreply.github.com> Date: Thu, 1 Mar 2018 20:01:19 +0100 Subject: [PATCH] Update GameResolver.cs Hi, I have updated the filetypes for the games rom. I actually had issues with my roms not being recognised. These are based on a mix from https://github.com/RetroPie/RetroPie-Setup/wiki/Supported-Systems and https://docs.libretro.com/ I hope this is more complete and that I did not forgot anything. Thanks. 6 --- GameBrowser/Resolvers/GameResolver.cs | 70 +++++++++++++-------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/GameBrowser/Resolvers/GameResolver.cs b/GameBrowser/Resolvers/GameResolver.cs index 31924f0..41d7666 100644 --- a/GameBrowser/Resolvers/GameResolver.cs +++ b/GameBrowser/Resolvers/GameResolver.cs @@ -134,139 +134,139 @@ private IEnumerable GetExtensions(string consoleType) return new[] { ".iso", ".cue" }; case "Amiga": - return new[] { ".iso", ".adf" }; + return new[] { ".iso", ".adf", ".dms", ".exe", ".adz", ".rp9" }; case "Arcade": return new[] { ".zip" }; case "Atari 2600": - return new[] { ".bin", ".a26" }; + return new[] { ".bin", ".a26", ".gz", ".rom", ".zip", ".7z" }; case "Atari 5200": - return new[] { ".bin", ".a52" }; + return new[] { ".bin", ".a52", ".bas", ".car", ".cas", ".xex", ".atr", ".xfd", ".dcm", ".gz", ".zip" }; case "Atari 7800": - return new[] { ".a78" }; + return new[] { ".a78", ".bin", ".7z", ".zip" }; case "Atari XE": return new[] { ".rom" }; case "Atari Jaguar": - return new[] { ".j64", ".zip" }; + return new[] { ".j64", ".jag", ".rom", ".abs", ".cof", ".bin", ".prg", ".zip" }; case "Atari Jaguar CD": // still need to verify return new[] { ".iso" }; case "Colecovision": - return new[] { ".col", ".rom" }; + return new[] { ".col", ".rom", ".bin", ".zip" }; case "Commodore 64": - return new[] { ".d64", ".g64", ".prg", ".tap", ".t64" }; + return new[] { ".d64", ".g64", ".prg", ".tap", ".t64", ".crt" }; case "Commodore Vic-20": return new[] { ".prg" }; case "Intellivision": - return new[] { ".int", ".rom" }; + return new[] { ".int", ".rom", ".bin" }; case "Xbox": return new[] { ".disc", ".iso" }; case "Xbox 360": - return new[] { ".disc" }; + return new[] { ".disc", ".iso" }; case "Xbox One": - return new[] { ".disc" }; + return new[] { ".disc", ".iso" }; case "Neo Geo": - return new[] { ".zip", ".iso" }; + return new[] { ".zip", ".iso", ".7z" }; case "Nintendo 64": - return new[] { ".z64", ".v64", ".usa", ".jap", ".pal", ".rom", ".n64", ".zip" }; + return new[] { ".z64", ".v64", ".usa", ".jap", ".pal", ".rom", ".n64", ".zip", ".u1", ".bin", ".ndd" }; case "Nintendo DS": - return new[] { ".nds", ".zip" }; + return new[] { ".nds", ".zip", ".bin" }; case "Nintendo": - return new[] { ".nes", ".zip" }; + return new[] { ".nes", ".zip", ".fds", ".fig", ".mgd", ".sfc", ".smc", ".swc", ".7z", ".bin", ".rom", ".unif", ".unf" }; case "Game Boy": - return new[] { ".gb", ".zip" }; + return new[] { ".gb", ".bin", ".rom", ".7z", ".zip" }; case "Game Boy Advance": - return new[] { ".gba", ".zip" }; + return new[] { ".gba", ".agb", ".zip", ".7z" }; case "Game Boy Color": - return new[] { ".gbc", ".zip" }; + return new[] { ".gbc", ".bin", ".rom", ".dmg", ".sgb", ".cgb", ".zip", ".7z" }; case "Gamecube": return new[] { ".iso", ".bin", ".img", ".gcm", ".gcz" }; case "Super Nintendo": - return new[] { ".smc", ".zip", ".fam", ".rom", ".sfc", ".fig" }; + return new[] { ".smc", ".zip", ".fam", ".rom", ".sfc", ".fig", ".swc", ".7z", ".bin", ".mgd", ".bs", ".st", ".bml", ".bsx" }; case "Virtual Boy": - return new[] { ".vb" }; + return new[] { ".vb", ".vboy", ".bin", ".7z", ".zip" }; case "Nintendo Wii": return new[] { ".iso", ".dol", ".ciso", ".wbfs", ".wad", ".gcz" }; case "Nintendo Wii U": - return new[] { ".disc", ".wud" }; + return new[] { ".disc", ".wud", ".wux", ".iso", ".wad", ".rpx" }; case "DOS": - return new[] { ".gbdos", ".disc" }; + return new[] { ".gbdos", ".disc", ".exe", ".com", ".bat" }; case "Windows": return new[] { ".gbwin", ".disc" }; case "Sega 32X": - return new[] { ".iso", ".bin", ".img", ".zip", ".32x" }; + return new[] { ".iso", ".bin", ".img", ".zip", ".32x", ".7z", ".md", ".smd" }; case "Sega CD": return new[] { ".iso", ".bin", ".img" }; case "Dreamcast": - return new[] { ".chd", ".gdi", ".cdi" }; + return new[] { ".chd", ".gdi", ".cdi", ".cue" }; case "Game Gear": - return new[] { ".gg", ".zip" }; + return new[] { ".gg", ".zip", ".sms", ".bin", ".7z" }; case "Sega Genesis": - return new[] { ".smd", ".bin", ".gen", ".zip", ".md" }; + return new[] { ".smd", ".bin", ".gen", ".zip", ".md", ".sg", ".sc", ".7z" }; case "Sega Master System": - return new[] { ".sms", ".sg", ".sc", ".zip" }; + return new[] { ".sms", ".sg", ".sc", ".bin", ".rom", ".zip", ".7z" }; case "Sega Mega Drive": - return new[] { ".smd", ".zip", ".md" }; + return new[] { ".smd", ".bin", ".gen", ".zip", ".md", ".sg", ".sc", ".7z" }; case "Sega Saturn": - return new[] { ".iso", ".bin", ".img" }; + return new[] { ".iso", ".bin", ".img", ".cue", ".mdf", ".chd", ".ccd", ".toc" }; case "Sony Playstation": - return new[] { ".iso", ".cue", ".img", ".ps1", ".pbp" }; + return new[] { ".iso", ".cue", ".img", ".ps1", ".pbp", ".cbn", ".mdf", ".pbp", ".toc", ".z", ".znx" }; case "PS2": - return new[] { ".iso", ".bin" }; + return new[] { ".iso", ".bin", ".img", ".mdf", ".z", ".z2", ".bz2", ".dump", ".cso", ".ima", ".gz" }; case "PS3": - return new[] { ".disc" }; + return new[] { ".disc", ".iso" }; case "PS4": - return new[] { ".disc" }; + return new[] { ".disc", ".iso" }; case "PSP": - return new[] { ".iso", ".cso" }; + return new[] { ".iso", ".cso", ".pbp", ".elf", ".prx" }; case "TurboGrafx 16": - return new[] { ".pce", ".zip" }; + return new[] { ".pce", ".sgx", ".cue", ".ccd", ".chd", ".zip", ".7z" }; case "TurboGrafx CD": return new[] { ".bin", ".iso" }; case "ZX Spectrum": - return new[] { ".z80", ".tap", ".tzx" }; + return new[] { ".sna", ".szx", ".z80", ".tap", ".tzx", ".gz", ".udi", ".mgt", ".img", ".trd", ".scl", ".dsk" }; default: return new string[] { };