From 586995ea2f608dbc8ec0454a109faa304b60e4e7 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Fri, 23 Oct 2026 15:47:36 +0200 Subject: [PATCH] chore: move cemu to a4462cc Same keys.txt check, its message now also names the .key beside the image. The core writes account_name.txt to name accounts. --- emulators/cemu.yml | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/emulators/cemu.yml b/emulators/cemu.yml index 74ae3bea..d85b1681 100644 --- a/emulators/cemu.yml +++ b/emulators/cemu.yml @@ -5,9 +5,9 @@ source: "https://git.libretro.com/libretro/cemu-libretro" source_mirror: "https://github.com/WizzardSK/cemu-libretro" upstream: "https://github.com/cemu-project/Cemu" logo: "https://raw.githubusercontent.com/cemu-project/Cemu/main/dist/linux/info.cemu.Cemu.png" -profiled_date: "2026-10-04" -source_commit: "4802094a2c15559541b3da3a6b11c2e12ba5d7e8" -upstream_commit: "32e6628a6a9e5255fd0f7e734386a364ff9c106e" +profiled_date: "2026-10-23" +source_commit: "a4462ccc4a010914b9ab929f0643901fa9d85cb9" +upstream_commit: "29f2f1fae4631e2317977debd9eacd55cc28dd7d" core_version: "2.6" display_name: "Nintendo - Wii U (Cemu)" library_name: "Cemu" @@ -20,7 +20,7 @@ data_directories: - ref: cemu-gameprofiles destination: "Cemu/gameProfiles/default" mode: libretro - source_ref: "source src/Cafe/GameProfile/GameProfile.cpp:181-195, source src/libretro/CemuLibretro.cpp:1699-1707" + source_ref: "source src/Cafe/GameProfile/GameProfile.cpp:181-195, source src/libretro/CemuLibretro.cpp:2155-2163" - ref: cemu-graphic-packs installed_on: [retrobat] destination: "Cemu/graphicPacks/downloadedGraphicPacks" @@ -38,7 +38,7 @@ notes: | gameProfiles/default/) comes with the core. The community graphic packs, which standalone downloads, are compiled into it. ref: CMakeLists.txt:4-7, src/CMakeLists.txt:75-90, - .gitlab-ci.yml:110, 116, 139, 400, 421, 426, 434, 464, 550, 569 + .gitlab-ci.yml:123, 129, 152, 414, 435, 440, 448, 478, 564, 583 Path model. Cemu resolves every file through four roots: the user data path (keys.txt, otp.bin, seeprom.bin, cafeLibs/, graphicPacks/, @@ -57,9 +57,9 @@ notes: | directory for the MLC (load_from), and standalone_path: is relative to the Cemu user data directory, which holds the MLC by default (load_from data_dir). The core reports library_name "Cemu" - (src/libretro/CemuLibretro.cpp:3354). - ref: src/libretro/CemuLibretro.cpp:1647-1707, - src/libretro/CemuLibretro.cpp:3264-3272, + (src/libretro/CemuLibretro.cpp:4154). + ref: src/libretro/CemuLibretro.cpp:2103-2163, + src/libretro/CemuLibretro.cpp:4064-4072, src/gui/wxgui/CemuApp.cpp:90-123, src/gui/wxgui/CemuApp.cpp:127-171, src/config/ActiveSettings.cpp:295-321 @@ -73,9 +73,9 @@ notes: | load with a message naming keys.txt when no key matches, so an encrypted disc image does not start without it. .wua archives, .rpx and NUS directories are not encrypted with a disc key and load without the file. - ref: src/Cafe/Filesystem/FST/KeyCache.cpp:64-136, + ref: src/Cafe/Filesystem/FST/KeyCache.cpp:65-137, src/Cafe/Filesystem/FST/FST.cpp:192-246, - src/libretro/CemuLibretro.cpp:4688-4734 + src/libretro/CemuLibretro.cpp:6072-6120 Shared fonts. LoadSharedData runs at every title start and looks for the four fonts of title 0005001b-10042400 in the MLC first, then under @@ -144,9 +144,9 @@ notes: | src/gui/wxgui/DownloadGraphicPacksWindow.cpp:234-238, src/libretro/embed_graphic_packs.cmake:8-54, src/libretro/LibretroGraphicPacks.cpp:30-103, - src/libretro/CemuLibretro.cpp:4883, - src/libretro/CemuLibretro.cpp:2745-2786, - src/libretro/CemuLibretro.cpp:3130-3140, + src/libretro/CemuLibretro.cpp:6333, + src/libretro/CemuLibretro.cpp:3529-3570, + src/libretro/CemuLibretro.cpp:3883-3893, src/Cafe/OS/libs/nn_olv/nn_olv_OfflineDB.cpp:21-31, src/Cafe/OS/libs/nn_olv/nn_olv_OfflineDB.cpp:124-125, src/Cafe/OS/libs/nn_olv/nn_olv_InitializeTypes.cpp:242-248 @@ -159,10 +159,14 @@ notes: | 0005001b-1005c000 of the MLC when absent. The core also creates titles/ under /Cemu and scans it for updates and DLC, which like title.tmd, title.tik and bootSound.btsnd belong to each title's own dump. + The core writes account_name.txt under /Cemu with a + " = " line per account and names the accounts from + it when a title starts. ref: src/main.cpp:117-141, src/config/NetworkSettings.cpp:10-14, src/gui/wxgui/CemuApp.cpp:580-606, - src/libretro/CemuLibretro.cpp:1609-1645, - src/libretro/CemuLibretro.cpp:3289-3295, + src/libretro/CemuLibretro.cpp:2065-2101, + src/libretro/CemuLibretro.cpp:4089-4095, + src/libretro/CemuLibretro.cpp:4887-4899, src/Cafe/HW/Latte/Core/LatteShaderCache.cpp:232 files: @@ -176,7 +180,7 @@ files: or .wux image, with a 16-byte .key beside the image as the last resort. Created with a template when absent. The libretro core refuses to load an encrypted image whose key is not in it. - source_ref: "source src/Cafe/Filesystem/FST/KeyCache.cpp:64-136, upstream src/Cafe/Filesystem/FST/FST.cpp:192-246, source src/libretro/CemuLibretro.cpp:4688-4734" + source_ref: "source src/Cafe/Filesystem/FST/KeyCache.cpp:65-137, upstream src/Cafe/Filesystem/FST/FST.cpp:192-246, source src/libretro/CemuLibretro.cpp:6072-6120" - name: otp.bin path: Cemu/otp.bin @@ -862,7 +866,7 @@ firmware_titles: content: ["language.txt", "country.txt"] required: false note: "Written when absent, by the wx frontend on first run and by the libretro core at init." - source_ref: "upstream src/gui/wxgui/CemuApp.cpp:580-606, source src/libretro/CemuLibretro.cpp:1609-1645" + source_ref: "upstream src/gui/wxgui/CemuApp.cpp:580-606, source src/libretro/CemuLibretro.cpp:2065-2101" mlc_structure: - "mlc01/sys/title/0005001b/10042400/content/"