From e218763500156f01427b5574c54c770e9fe4b0fd Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Wed, 18 Mar 2026 10:57:00 +0100 Subject: [PATCH] feat: add emulator logos to profiles and site --- emulators/bsnes.yml | 1 + emulators/cemu.yml | 1 + emulators/citra.yml | 1 + emulators/dolphin.yml | 1 + emulators/dosbox_pure.yml | 1 + emulators/duckstation.yml | 1 + emulators/fbneo.yml | 1 + emulators/flycast.yml | 1 + emulators/hatari.yml | 1 + emulators/hbmame.yml | 1 + emulators/mame2003_plus.yml | 1 + emulators/mame2010.yml | 1 + emulators/mame2016.yml | 1 + emulators/melonds.yml | 1 + emulators/mesen.yml | 1 + emulators/mgba.yml | 1 + emulators/nestopia.yml | 1 + emulators/pcsx2.yml | 1 + emulators/ppsspp.yml | 1 + emulators/rpcs3.yml | 1 + emulators/scummvm.yml | 1 + emulators/snes9x.yml | 1 + emulators/vice.yml | 1 + emulators/vita3k.yml | 1 + emulators/xemu.yml | 1 + scripts/generate_site.py | 5 ++++- 26 files changed, 29 insertions(+), 1 deletion(-) diff --git a/emulators/bsnes.yml b/emulators/bsnes.yml index 8c86f2e8..64ea86a5 100644 --- a/emulators/bsnes.yml +++ b/emulators/bsnes.yml @@ -1,6 +1,7 @@ emulator: bsnes type: libretro source: "https://github.com/libretro/bsnes-libretro" +logo: "https://raw.githubusercontent.com/bsnes-emu/bsnes/master/bsnes/target-bsnes/resource/bsnes.svg" profiled_date: "2026-03-18" core_version: "115" display_name: "Nintendo - SNES / SFC (bsnes)" diff --git a/emulators/cemu.yml b/emulators/cemu.yml index cd5a7f24..54a1aa0d 100644 --- a/emulators/cemu.yml +++ b/emulators/cemu.yml @@ -1,6 +1,7 @@ emulator: Cemu type: standalone source: "https://github.com/cemu-project/Cemu" +logo: "https://raw.githubusercontent.com/cemu-project/Cemu/main/dist/linux/info.cemu.Cemu.png" profiled_date: "2026-03-18" core_version: "2.6" display_name: "Cemu (Wii U)" diff --git a/emulators/citra.yml b/emulators/citra.yml index 4de7db2b..13b4bc72 100644 --- a/emulators/citra.yml +++ b/emulators/citra.yml @@ -1,6 +1,7 @@ emulator: Citra / Lime3DS / Azahar type: standalone + libretro source: "https://github.com/azahar-emu/azahar" +logo: "https://raw.githubusercontent.com/wheremyfoodat/citra/master/dist/citra.svg" profiled_date: "2026-03-18" core_version: "Git" display_name: "Nintendo - 3DS (Citra)" diff --git a/emulators/dolphin.yml b/emulators/dolphin.yml index 7e86697f..b93ac5c7 100644 --- a/emulators/dolphin.yml +++ b/emulators/dolphin.yml @@ -1,6 +1,7 @@ emulator: Dolphin type: standalone + libretro source: "https://github.com/dolphin-emu/dolphin" +logo: "https://raw.githubusercontent.com/dolphin-emu/dolphin/master/Data/dolphin-emu.svg" profiled_date: "2026-03-18" core_version: "Git" display_name: "Nintendo - GameCube / Wii (Dolphin)" diff --git a/emulators/dosbox_pure.yml b/emulators/dosbox_pure.yml index 48041238..9a4c148c 100644 --- a/emulators/dosbox_pure.yml +++ b/emulators/dosbox_pure.yml @@ -1,6 +1,7 @@ emulator: DOSBox Pure type: libretro source: "https://github.com/libretro/dosbox-pure" +logo: "https://raw.githubusercontent.com/schellingb/dosbox-pure/main/images/logo.png" profiled_date: "2026-03-18" core_version: "0.9.9" display_name: "DOS (DOSBox-Pure)" diff --git a/emulators/duckstation.yml b/emulators/duckstation.yml index d10ec8a6..3c0b1544 100644 --- a/emulators/duckstation.yml +++ b/emulators/duckstation.yml @@ -1,6 +1,7 @@ emulator: DuckStation type: standalone source: "https://github.com/stenzek/duckstation" +logo: "https://raw.githubusercontent.com/stenzek/duckstation/master/data/resources/images/duck.png" profiled_date: "2026-03-18" core_version: "v0.1" display_name: "Sony - PlayStation (DuckStation)" diff --git a/emulators/fbneo.yml b/emulators/fbneo.yml index 606369c4..cb47e737 100644 --- a/emulators/fbneo.yml +++ b/emulators/fbneo.yml @@ -1,6 +1,7 @@ emulator: FinalBurn Neo type: libretro source: "https://github.com/libretro/FBNeo" +logo: "https://raw.githubusercontent.com/finalburnneo/FBNeo/master/projectfiles/xcode/Emulator/Assets.xcassets/AppIcon.appiconset/icon_512.png" profiled_date: "2026-03-18" core_version: "v1.0.0.03" display_name: "Arcade (FinalBurn Neo)" diff --git a/emulators/flycast.yml b/emulators/flycast.yml index be1a8dc2..25141578 100644 --- a/emulators/flycast.yml +++ b/emulators/flycast.yml @@ -1,6 +1,7 @@ emulator: Flycast type: standalone + libretro source: "https://github.com/flyinghead/flycast" +logo: "https://raw.githubusercontent.com/flyinghead/flycast/master/shell/linux/flycast.png" profiled_date: "2026-03-18" core_version: "Git" display_name: "Sega - Dreamcast/Naomi (Flycast)" diff --git a/emulators/hatari.yml b/emulators/hatari.yml index 81f2af48..893bed3d 100644 --- a/emulators/hatari.yml +++ b/emulators/hatari.yml @@ -1,6 +1,7 @@ emulator: Hatari type: libretro source: "https://github.com/libretro/hatari" +logo: "https://raw.githubusercontent.com/hatari/hatari/main/share/icons/hicolor/scalable/apps/hatari.svg" profiled_date: "2026-03-18" core_version: "1.8" display_name: "Atari - ST/STE/TT/Falcon (Hatari)" diff --git a/emulators/hbmame.yml b/emulators/hbmame.yml index 9292bf58..43c4acc3 100644 --- a/emulators/hbmame.yml +++ b/emulators/hbmame.yml @@ -1,6 +1,7 @@ emulator: HBMAME (Homebrew MAME) type: libretro source: "https://github.com/libretro/hbmame-libretro" +logo: "https://raw.githubusercontent.com/mamedev/mame/master/docs/source/images/MAMElogo.svg" profiled_date: "2026-03-18" core_version: "Git" display_name: "Arcade (HBMAME)" diff --git a/emulators/mame2003_plus.yml b/emulators/mame2003_plus.yml index c01ebdb1..b721873a 100644 --- a/emulators/mame2003_plus.yml +++ b/emulators/mame2003_plus.yml @@ -1,6 +1,7 @@ emulator: MAME 2003-Plus type: libretro source: "https://github.com/libretro/mame2003-plus-libretro" +logo: "https://raw.githubusercontent.com/mamedev/mame/master/docs/source/images/MAMElogo.svg" profiled_date: "2026-03-18" core_version: "2003-Plus" display_name: "Arcade (MAME 2003-Plus)" diff --git a/emulators/mame2010.yml b/emulators/mame2010.yml index 1765971c..1a36facc 100644 --- a/emulators/mame2010.yml +++ b/emulators/mame2010.yml @@ -1,6 +1,7 @@ emulator: MAME 2010 type: libretro source: "https://github.com/libretro/mame2010-libretro" +logo: "https://raw.githubusercontent.com/mamedev/mame/master/docs/source/images/MAMElogo.svg" profiled_date: "2026-03-18" core_version: "0.139" display_name: "Arcade (MAME 2010)" diff --git a/emulators/mame2016.yml b/emulators/mame2016.yml index fd8c9034..d0f51d26 100644 --- a/emulators/mame2016.yml +++ b/emulators/mame2016.yml @@ -1,6 +1,7 @@ emulator: MAME 2016 type: libretro source: "https://github.com/libretro/mame2016-libretro" +logo: "https://raw.githubusercontent.com/mamedev/mame/master/docs/source/images/MAMElogo.svg" profiled_date: "2026-03-18" core_version: "0.174" display_name: "Arcade (MAME 2016)" diff --git a/emulators/melonds.yml b/emulators/melonds.yml index 7adf39a2..88bf23e8 100644 --- a/emulators/melonds.yml +++ b/emulators/melonds.yml @@ -1,6 +1,7 @@ emulator: MelonDS type: standalone + libretro source: "https://github.com/melonDS-emu/melonDS" +logo: "https://raw.githubusercontent.com/melonDS-emu/melonDS/master/res/melon.svg" profiled_date: "2026-03-18" core_version: "Git" display_name: "Nintendo - DS (melonDS)" diff --git a/emulators/mesen.yml b/emulators/mesen.yml index 99420889..3aa573c1 100644 --- a/emulators/mesen.yml +++ b/emulators/mesen.yml @@ -1,6 +1,7 @@ emulator: Mesen type: libretro source: "https://github.com/libretro/Mesen" +logo: "https://raw.githubusercontent.com/SourMesen/Mesen2/master/UI/Assets/Mesen.svg" profiled_date: "2026-03-18" core_version: "0.9.9" display_name: "Nintendo - NES / Famicom (Mesen)" diff --git a/emulators/mgba.yml b/emulators/mgba.yml index 87b8b1ff..a811dd3c 100644 --- a/emulators/mgba.yml +++ b/emulators/mgba.yml @@ -1,6 +1,7 @@ emulator: mGBA type: libretro source: "https://github.com/libretro/mgba" +logo: "https://raw.githubusercontent.com/mgba-emu/mgba/master/res/mgba-256.png" profiled_date: "2026-03-18" core_version: "0.10-dev" display_name: "Nintendo - Game Boy Advance (mGBA)" diff --git a/emulators/nestopia.yml b/emulators/nestopia.yml index 2b1330ad..9ee24787 100644 --- a/emulators/nestopia.yml +++ b/emulators/nestopia.yml @@ -1,6 +1,7 @@ emulator: Nestopia UE type: libretro source: "https://github.com/libretro/nestopia" +logo: "https://raw.githubusercontent.com/0ldsk00l/nestopia/master/icons/svg/nestopia.svg" profiled_date: "2026-03-18" core_version: "1.53.1" display_name: "Nintendo - NES / Famicom (Nestopia)" diff --git a/emulators/pcsx2.yml b/emulators/pcsx2.yml index bd28b95e..0981a1a0 100644 --- a/emulators/pcsx2.yml +++ b/emulators/pcsx2.yml @@ -5,6 +5,7 @@ emulator: PCSX2 type: standalone source: "https://github.com/PCSX2/pcsx2" +logo: "https://raw.githubusercontent.com/PCSX2/pcsx2/master/pcsx2-qt/resources/icons/PCSX2logo.svg" profiled_date: "2026-03-18" core_version: "Git" display_name: "Sony - PlayStation 2 (LRPS2)" diff --git a/emulators/ppsspp.yml b/emulators/ppsspp.yml index db042fda..8c9b9858 100644 --- a/emulators/ppsspp.yml +++ b/emulators/ppsspp.yml @@ -5,6 +5,7 @@ emulator: PPSSPP type: standalone source: "https://github.com/hrydgard/ppsspp" +logo: "https://raw.githubusercontent.com/hrydgard/ppsspp/master/icons/icon-512.svg" profiled_date: "2026-03-18" core_version: "Git" display_name: "Sony - PlayStation Portable (PPSSPP)" diff --git a/emulators/rpcs3.yml b/emulators/rpcs3.yml index 85965a2c..19015146 100644 --- a/emulators/rpcs3.yml +++ b/emulators/rpcs3.yml @@ -5,6 +5,7 @@ emulator: RPCS3 type: standalone source: "https://github.com/RPCS3/rpcs3" +logo: "https://raw.githubusercontent.com/RPCS3/rpcs3/master/rpcs3/rpcs3.svg" profiled_date: "2026-03-18" core_version: "0.0.35" display_name: "RPCS3 (PS3)" diff --git a/emulators/scummvm.yml b/emulators/scummvm.yml index 101339a7..ba7df8ab 100644 --- a/emulators/scummvm.yml +++ b/emulators/scummvm.yml @@ -1,6 +1,7 @@ emulator: ScummVM type: libretro source: "https://github.com/libretro/scummvm" +logo: "https://raw.githubusercontent.com/scummvm/scummvm/master/icons/scummvm.svg" profiled_date: "2026-03-18" core_version: "2.8.0git" display_name: "ScummVM" diff --git a/emulators/snes9x.yml b/emulators/snes9x.yml index 7c7a4892..c330f859 100644 --- a/emulators/snes9x.yml +++ b/emulators/snes9x.yml @@ -1,6 +1,7 @@ emulator: snes9x type: libretro source: "https://github.com/libretro/snes9x" +logo: "https://raw.githubusercontent.com/snes9xgit/snes9x/master/gtk/data/snes9x.svg" profiled_date: "2026-03-18" core_version: "1.61" display_name: "Nintendo - SNES / SFC (Snes9x)" diff --git a/emulators/vice.yml b/emulators/vice.yml index dfd85738..78674565 100644 --- a/emulators/vice.yml +++ b/emulators/vice.yml @@ -12,6 +12,7 @@ cores: - vice_xcbm5x0 - vice_xscpu64 source: "https://github.com/libretro/vice-libretro" +logo: "https://raw.githubusercontent.com/VICE-Team/svn-mirror/main/vice/data/common/vice-logo-black.svg" profiled_date: "2026-03-18" core_version: "3.9" display_name: "Commodore - C64 (VICE x64, fast)" diff --git a/emulators/vita3k.yml b/emulators/vita3k.yml index e10000dc..8e93186f 100644 --- a/emulators/vita3k.yml +++ b/emulators/vita3k.yml @@ -5,6 +5,7 @@ emulator: Vita3K type: standalone source: "https://github.com/Vita3K/Vita3K" +logo: "https://raw.githubusercontent.com/Vita3K/Vita3K/master/data/image/icon.png" profiled_date: "2026-03-18" core_version: "0.2.1" display_name: "Vita3K (PS Vita)" diff --git a/emulators/xemu.yml b/emulators/xemu.yml index 56b5379f..b01a2313 100644 --- a/emulators/xemu.yml +++ b/emulators/xemu.yml @@ -1,6 +1,7 @@ emulator: Xemu type: standalone source: "https://github.com/xemu-project/xemu" +logo: "https://raw.githubusercontent.com/xemu-project/xemu/master/data/xemu_64x64.png" profiled_date: "2026-03-18" core_version: "0.8.x" display_name: "xemu (Xbox)" diff --git a/scripts/generate_site.py b/scripts/generate_site.py index bb7f3f72..d74a4a20 100644 --- a/scripts/generate_site.py +++ b/scripts/generate_site.py @@ -410,10 +410,13 @@ def generate_emulator_page(name: str, profile: dict, db: dict, cores = profile.get("cores", [name]) files = profile.get("files", []) + logo_url = profile.get("logo", "") + logo_md = f"![{emu_name}]({logo_url}){{ width=48 align=right }}\n\n" if logo_url else "" + lines = [ f"# {emu_name} - {SITE_NAME}", "", - f"| | |", + logo_md + f"| | |", f"|---|---|", f"| Type | {emu_type} |", ]