feat: add emulator logos to profiles and site

This commit is contained in:
Abdessamad Derraz
2026-03-18 10:57:00 +01:00
parent 6885681c65
commit e218763500
26 changed files with 29 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
emulator: bsnes emulator: bsnes
type: libretro type: libretro
source: "https://github.com/libretro/bsnes-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" profiled_date: "2026-03-18"
core_version: "115" core_version: "115"
display_name: "Nintendo - SNES / SFC (bsnes)" display_name: "Nintendo - SNES / SFC (bsnes)"

View File

@@ -1,6 +1,7 @@
emulator: Cemu emulator: Cemu
type: standalone type: standalone
source: "https://github.com/cemu-project/Cemu" 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" profiled_date: "2026-03-18"
core_version: "2.6" core_version: "2.6"
display_name: "Cemu (Wii U)" display_name: "Cemu (Wii U)"

View File

@@ -1,6 +1,7 @@
emulator: Citra / Lime3DS / Azahar emulator: Citra / Lime3DS / Azahar
type: standalone + libretro type: standalone + libretro
source: "https://github.com/azahar-emu/azahar" source: "https://github.com/azahar-emu/azahar"
logo: "https://raw.githubusercontent.com/wheremyfoodat/citra/master/dist/citra.svg"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "Git" core_version: "Git"
display_name: "Nintendo - 3DS (Citra)" display_name: "Nintendo - 3DS (Citra)"

View File

@@ -1,6 +1,7 @@
emulator: Dolphin emulator: Dolphin
type: standalone + libretro type: standalone + libretro
source: "https://github.com/dolphin-emu/dolphin" 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" profiled_date: "2026-03-18"
core_version: "Git" core_version: "Git"
display_name: "Nintendo - GameCube / Wii (Dolphin)" display_name: "Nintendo - GameCube / Wii (Dolphin)"

View File

@@ -1,6 +1,7 @@
emulator: DOSBox Pure emulator: DOSBox Pure
type: libretro type: libretro
source: "https://github.com/libretro/dosbox-pure" source: "https://github.com/libretro/dosbox-pure"
logo: "https://raw.githubusercontent.com/schellingb/dosbox-pure/main/images/logo.png"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "0.9.9" core_version: "0.9.9"
display_name: "DOS (DOSBox-Pure)" display_name: "DOS (DOSBox-Pure)"

View File

@@ -1,6 +1,7 @@
emulator: DuckStation emulator: DuckStation
type: standalone type: standalone
source: "https://github.com/stenzek/duckstation" source: "https://github.com/stenzek/duckstation"
logo: "https://raw.githubusercontent.com/stenzek/duckstation/master/data/resources/images/duck.png"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "v0.1" core_version: "v0.1"
display_name: "Sony - PlayStation (DuckStation)" display_name: "Sony - PlayStation (DuckStation)"

View File

@@ -1,6 +1,7 @@
emulator: FinalBurn Neo emulator: FinalBurn Neo
type: libretro type: libretro
source: "https://github.com/libretro/FBNeo" 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" profiled_date: "2026-03-18"
core_version: "v1.0.0.03" core_version: "v1.0.0.03"
display_name: "Arcade (FinalBurn Neo)" display_name: "Arcade (FinalBurn Neo)"

View File

@@ -1,6 +1,7 @@
emulator: Flycast emulator: Flycast
type: standalone + libretro type: standalone + libretro
source: "https://github.com/flyinghead/flycast" source: "https://github.com/flyinghead/flycast"
logo: "https://raw.githubusercontent.com/flyinghead/flycast/master/shell/linux/flycast.png"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "Git" core_version: "Git"
display_name: "Sega - Dreamcast/Naomi (Flycast)" display_name: "Sega - Dreamcast/Naomi (Flycast)"

View File

@@ -1,6 +1,7 @@
emulator: Hatari emulator: Hatari
type: libretro type: libretro
source: "https://github.com/libretro/hatari" 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" profiled_date: "2026-03-18"
core_version: "1.8" core_version: "1.8"
display_name: "Atari - ST/STE/TT/Falcon (Hatari)" display_name: "Atari - ST/STE/TT/Falcon (Hatari)"

View File

@@ -1,6 +1,7 @@
emulator: HBMAME (Homebrew MAME) emulator: HBMAME (Homebrew MAME)
type: libretro type: libretro
source: "https://github.com/libretro/hbmame-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" profiled_date: "2026-03-18"
core_version: "Git" core_version: "Git"
display_name: "Arcade (HBMAME)" display_name: "Arcade (HBMAME)"

View File

@@ -1,6 +1,7 @@
emulator: MAME 2003-Plus emulator: MAME 2003-Plus
type: libretro type: libretro
source: "https://github.com/libretro/mame2003-plus-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" profiled_date: "2026-03-18"
core_version: "2003-Plus" core_version: "2003-Plus"
display_name: "Arcade (MAME 2003-Plus)" display_name: "Arcade (MAME 2003-Plus)"

View File

@@ -1,6 +1,7 @@
emulator: MAME 2010 emulator: MAME 2010
type: libretro type: libretro
source: "https://github.com/libretro/mame2010-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" profiled_date: "2026-03-18"
core_version: "0.139" core_version: "0.139"
display_name: "Arcade (MAME 2010)" display_name: "Arcade (MAME 2010)"

View File

@@ -1,6 +1,7 @@
emulator: MAME 2016 emulator: MAME 2016
type: libretro type: libretro
source: "https://github.com/libretro/mame2016-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" profiled_date: "2026-03-18"
core_version: "0.174" core_version: "0.174"
display_name: "Arcade (MAME 2016)" display_name: "Arcade (MAME 2016)"

View File

@@ -1,6 +1,7 @@
emulator: MelonDS emulator: MelonDS
type: standalone + libretro type: standalone + libretro
source: "https://github.com/melonDS-emu/melonDS" source: "https://github.com/melonDS-emu/melonDS"
logo: "https://raw.githubusercontent.com/melonDS-emu/melonDS/master/res/melon.svg"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "Git" core_version: "Git"
display_name: "Nintendo - DS (melonDS)" display_name: "Nintendo - DS (melonDS)"

View File

@@ -1,6 +1,7 @@
emulator: Mesen emulator: Mesen
type: libretro type: libretro
source: "https://github.com/libretro/Mesen" source: "https://github.com/libretro/Mesen"
logo: "https://raw.githubusercontent.com/SourMesen/Mesen2/master/UI/Assets/Mesen.svg"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "0.9.9" core_version: "0.9.9"
display_name: "Nintendo - NES / Famicom (Mesen)" display_name: "Nintendo - NES / Famicom (Mesen)"

View File

@@ -1,6 +1,7 @@
emulator: mGBA emulator: mGBA
type: libretro type: libretro
source: "https://github.com/libretro/mgba" source: "https://github.com/libretro/mgba"
logo: "https://raw.githubusercontent.com/mgba-emu/mgba/master/res/mgba-256.png"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "0.10-dev" core_version: "0.10-dev"
display_name: "Nintendo - Game Boy Advance (mGBA)" display_name: "Nintendo - Game Boy Advance (mGBA)"

View File

@@ -1,6 +1,7 @@
emulator: Nestopia UE emulator: Nestopia UE
type: libretro type: libretro
source: "https://github.com/libretro/nestopia" source: "https://github.com/libretro/nestopia"
logo: "https://raw.githubusercontent.com/0ldsk00l/nestopia/master/icons/svg/nestopia.svg"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "1.53.1" core_version: "1.53.1"
display_name: "Nintendo - NES / Famicom (Nestopia)" display_name: "Nintendo - NES / Famicom (Nestopia)"

View File

@@ -5,6 +5,7 @@
emulator: PCSX2 emulator: PCSX2
type: standalone type: standalone
source: "https://github.com/PCSX2/pcsx2" 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" profiled_date: "2026-03-18"
core_version: "Git" core_version: "Git"
display_name: "Sony - PlayStation 2 (LRPS2)" display_name: "Sony - PlayStation 2 (LRPS2)"

View File

@@ -5,6 +5,7 @@
emulator: PPSSPP emulator: PPSSPP
type: standalone type: standalone
source: "https://github.com/hrydgard/ppsspp" source: "https://github.com/hrydgard/ppsspp"
logo: "https://raw.githubusercontent.com/hrydgard/ppsspp/master/icons/icon-512.svg"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "Git" core_version: "Git"
display_name: "Sony - PlayStation Portable (PPSSPP)" display_name: "Sony - PlayStation Portable (PPSSPP)"

View File

@@ -5,6 +5,7 @@
emulator: RPCS3 emulator: RPCS3
type: standalone type: standalone
source: "https://github.com/RPCS3/rpcs3" source: "https://github.com/RPCS3/rpcs3"
logo: "https://raw.githubusercontent.com/RPCS3/rpcs3/master/rpcs3/rpcs3.svg"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "0.0.35" core_version: "0.0.35"
display_name: "RPCS3 (PS3)" display_name: "RPCS3 (PS3)"

View File

@@ -1,6 +1,7 @@
emulator: ScummVM emulator: ScummVM
type: libretro type: libretro
source: "https://github.com/libretro/scummvm" source: "https://github.com/libretro/scummvm"
logo: "https://raw.githubusercontent.com/scummvm/scummvm/master/icons/scummvm.svg"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "2.8.0git" core_version: "2.8.0git"
display_name: "ScummVM" display_name: "ScummVM"

View File

@@ -1,6 +1,7 @@
emulator: snes9x emulator: snes9x
type: libretro type: libretro
source: "https://github.com/libretro/snes9x" source: "https://github.com/libretro/snes9x"
logo: "https://raw.githubusercontent.com/snes9xgit/snes9x/master/gtk/data/snes9x.svg"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "1.61" core_version: "1.61"
display_name: "Nintendo - SNES / SFC (Snes9x)" display_name: "Nintendo - SNES / SFC (Snes9x)"

View File

@@ -12,6 +12,7 @@ cores:
- vice_xcbm5x0 - vice_xcbm5x0
- vice_xscpu64 - vice_xscpu64
source: "https://github.com/libretro/vice-libretro" 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" profiled_date: "2026-03-18"
core_version: "3.9" core_version: "3.9"
display_name: "Commodore - C64 (VICE x64, fast)" display_name: "Commodore - C64 (VICE x64, fast)"

View File

@@ -5,6 +5,7 @@
emulator: Vita3K emulator: Vita3K
type: standalone type: standalone
source: "https://github.com/Vita3K/Vita3K" source: "https://github.com/Vita3K/Vita3K"
logo: "https://raw.githubusercontent.com/Vita3K/Vita3K/master/data/image/icon.png"
profiled_date: "2026-03-18" profiled_date: "2026-03-18"
core_version: "0.2.1" core_version: "0.2.1"
display_name: "Vita3K (PS Vita)" display_name: "Vita3K (PS Vita)"

View File

@@ -1,6 +1,7 @@
emulator: Xemu emulator: Xemu
type: standalone type: standalone
source: "https://github.com/xemu-project/xemu" 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" profiled_date: "2026-03-18"
core_version: "0.8.x" core_version: "0.8.x"
display_name: "xemu (Xbox)" display_name: "xemu (Xbox)"

View File

@@ -410,10 +410,13 @@ def generate_emulator_page(name: str, profile: dict, db: dict,
cores = profile.get("cores", [name]) cores = profile.get("cores", [name])
files = profile.get("files", []) 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 = [ lines = [
f"# {emu_name} - {SITE_NAME}", f"# {emu_name} - {SITE_NAME}",
"", "",
f"| | |", logo_md + f"| | |",
f"|---|---|", f"|---|---|",
f"| Type | {emu_type} |", f"| Type | {emu_type} |",
] ]