cemu-project / Cemu

Cemu - Wii U emulator
https://cemu.info
Mozilla Public License 2.0
7.1k stars 552 forks source link

Online play with pretendo not working on the Linux flatpak #1311

Open randomoOCoder opened 2 weeks ago

randomoOCoder commented 2 weeks ago

Current Behavior

The emulator does not connect to the pretendo servers for online play on Linux. This issue is mentioned on cemu.cfw.guide. However, unlike what is mentioned on that site, running cemu through wine still has the same problem. The issue only affects the windows build run through wine and does not happen natively on windows.

Expected Behavior

The emulator connects to pretendo allowing you to play online, at least on the windows version through wine and preferably on the native linux build.

Steps to Reproduce

Download any version of cemu (windows or linux) and run it on linux, setup online functionalities, and try to play an online game.

System Info (Optional)

OS: Linux mint 22 (Wilma)

Emulation Settings (Optional)

No response

Logs (Optional)

No response

SuperDuperNova47 commented 2 weeks ago

I also have this issue but for me its only the native linux version from flathub, i have cemu running on proton for only splatoon. Have you tired adding the cemu exe to steam and running it there?

jn64 commented 2 weeks ago

Please provide errors/logs from latest Linux build. See #1189 for an example of a good report.

That 3rd-party guide has not seen any real updates for 2 years.

capitalistspz commented 2 weeks ago

Current Behavior

The emulator does not connect to the pretendo servers for online play on Linux. This issue is mentioned on cemu.cfw.guide. However, unlike what is mentioned on that site, running cemu through wine still has the same problem. The issue only affects the windows build run through wine and does not happen natively on windows.

Expected Behavior

The emulator connects to pretendo allowing you to play online, at least on the windows version through wine and preferably on the native linux build.

Steps to Reproduce

Download any version of cemu (windows or linux) and run it on linux, setup online functionalities, and try to play an online game.

System Info (Optional)

OS: Linux mint 22 (Wilma)

Emulation Settings (Optional)

No response

Logs (Optional)

No response

Are you sure your files are in the right locations? You also didn't specify which version(s) you tried running. When you open Cemu, and click File -> Open Cemu folder, that directory is the one in which your otp.bin and seeprom.bin need to be stored.

Also, last I tested (2.0-91 iirc), using Pretendo to play online works on the native Linux build. I was able to play Splatoon online for multiple hours.

randomoOCoder commented 2 weeks ago

OK, I retried dumping the online files and it worked on both the appimage and the windows version through proton on the latest release (2.1) (I must have made an error when testing it last time). However, the issue still persists on the flatpak (on version 2.1 as well). I even tried deleting the mlc01 folder as well as the otp.bin and seeprom.bin files and then recreating them but it didn't work (even though it worked for the appimage). I made sure to put the files in the correct place (~/.var/app/info.cemu.Cemu/data/Cemu for the .bin files) and then merged the mlc01 folders (at ~/.var/app/info.cemu.Cemu/data/Cemu/mlc01).

Edit: After testing the flatpak on mario maker I get the error code 106-0526 followed by an infinite loading screen (It works fine on the appimage).

Logs (flatpak version 2.1 on splatoon) (replaced my name by "user" in file paths)

[17:46:31.904] ------- Init Cemu 2.1 ------- [17:46:31.904] Init Wii U memory space (base: 0x000074f9d8000000) [17:46:31.904] mlc01 path: /home/user/.var/app/info.cemu.Cemu/data/Cemu/mlc01 [17:46:31.904] CPU: 12th Gen Intel(R) Core(TM) i7-12700F [17:46:31.904] RAM: 31903MB [17:46:31.904] Platform: Linux (Flatpak) [17:46:31.904] Used CPU extensions: SSSE3, SSE4.1, AVX, AVX2, LZCNT, MOVBE, BMI2, AES-NI, INVARIANT-TSC [17:46:45.588] Mounting title 0005000010176a00 [17:46:45.588] Base: /home/user/Games/Roms/Wii U/games/Splatoon [Folder] [17:46:45.588] Update: /home/user/Games/Roms/Wii U/updates/Splatoon [Folder] [17:46:45.588] DLC: Not present [17:46:45.604] COS: System fonts found. Generated shareddata (26609KB) [17:46:45.609] Recompiler initialized [17:46:45.783] ------- Init Vulkan graphics backend ------- [17:46:45.808] Vulkan instance version: 1.3 [17:46:45.828] Using GPU: NVIDIA GeForce RTX 3060 [17:46:45.828] Driver version: 535.183.01 [17:46:45.828] VulkanLimits: UBAlignment 64 nonCoherentAtomSize 64 [17:46:45.854] Using available debug function: vkCreateDebugUtilsMessengerEXT() [17:46:45.854] Vulkan device memory info: [17:46:45.854] Heap 0 - Size 12288MB Flags 0x00000001 [17:46:45.854] Heap 1 - Size 23927MB Flags 0x00000000 [17:46:45.854] Memory 0 - HeapIndex 1 Flags 0x00000000 [17:46:45.854] Memory 1 - HeapIndex 0 Flags 0x00000001 [17:46:45.854] Memory 2 - HeapIndex 1 Flags 0x00000006 [17:46:45.854] Memory 3 - HeapIndex 1 Flags 0x0000000e [17:46:45.854] Memory 4 - HeapIndex 0 Flags 0x00000007 [17:46:45.960] ------- Loaded title ------- [17:46:45.960] TitleId: 00050000-10176a00 [17:46:45.960] TitleVersion: v288 [17:46:45.960] TitleRegion: EU [17:46:45.960] Save path: /home/user/.var/app/info.cemu.Cemu/data/Cemu/mlc01/usr/save/00050000/10176A00/user/ (not present) [17:46:45.960] Shader cache file: shaderCache/transferable/0005000010176a00.bin [17:46:45.960] gameprofile path: (not present) [17:46:45.960] RPX hash (updated): 9dbcf237 [17:46:45.960] RPX hash (base): 8d354cea [17:46:45.965] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0003 [17:46:45.965] nsyshid::BackendLibusb: device not on whitelist: 046d:c08b [17:46:45.965] nsyshid::BackendLibusb: device not on whitelist: 046d:c33c [17:46:45.965] nsyshid::BackendLibusb: device not on whitelist: 05e3:0608 [17:46:45.965] nsyshid::BackendLibusb: device not on whitelist: 0b05:19af [17:46:45.965] nsyshid::BackendLibusb: device not on whitelist: 057e:2009 [17:46:45.965] nsyshid::BackendLibusb: device not on whitelist: 0bda:b812 [17:46:45.965] nsyshid::BackendLibusb: device not on whitelist: 13d3:3548 [17:46:45.965] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0002 [17:46:46.004] Loaded module 'gambit' with checksum 0x659c782e [17:46:46.004] RPL link time: 39ms [17:46:46.030] HLE scan time: 26ms [17:46:46.030] ------- Active settings ------- [17:46:46.030] CPU-Mode: Multi-core recompiler [17:46:46.030] Load shared libraries: true [17:46:46.030] Use precompiled shaders: auto [17:46:46.030] Full sync at GX2DrawDone: true [17:46:46.030] Strict shader mul: true [17:46:46.030] Async compile: true [17:46:46.030] Console language: 1 [17:46:46.217] ------- Activate graphic packs ------- [17:46:46.217] ------- Init Audio backend ------- [17:46:46.217] DirectSound: not supported [17:46:46.217] XAudio 2.8: not supported [17:46:46.217] XAudio 2.7: not supported [17:46:46.217] Cubeb: available [17:46:46.217] ------- Init Audio input backend ------- [17:46:46.217] Cubeb: available [17:46:46.217] ------- Run title ------- [17:46:47.418] IOSU_ACT: using account DevCuber in first slot [17:46:50.674] IOSU_FPD: Resolved IP for hostname 116.202.98.9, 116.202.98.9 [17:46:50.674] IOSU_FPD: Created friend server session [17:46:50.674] NEX: Attempt async friend service login

Logs (flatpak version 2.1 on mario maker) (replaced my name by "user" in file paths)

[19:39:25.642] ------- Init Cemu 2.1 ------- [19:39:25.643] Init Wii U memory space (base: 0x00007b8bd8000000) [19:39:25.643] mlc01 path: /home/user/.var/app/info.cemu.Cemu/data/Cemu/mlc01 [19:39:25.643] CPU: 12th Gen Intel(R) Core(TM) i7-12700F [19:39:25.643] RAM: 31903MB [19:39:25.643] Platform: Linux (Flatpak) [19:39:25.643] Used CPU extensions: SSSE3, SSE4.1, AVX, AVX2, LZCNT, MOVBE, BMI2, AES-NI, INVARIANT-TSC [19:39:28.038] Mounting title 000500001018dd00 [19:39:28.038] Base: /home/user/Games/Roms/Wii U/games/Super Mario Maker [Folder] [19:39:28.038] Update: /home/user/Games/Roms/Wii U/updates/Super Mario Maker [Folder] [19:39:28.038] DLC: Not present [19:39:28.065] COS: System fonts found. Generated shareddata (26609KB) [19:39:28.075] Recompiler initialized [19:39:28.249] ------- Init Vulkan graphics backend ------- [19:39:28.280] Vulkan instance version: 1.3 [19:39:28.300] Using GPU: NVIDIA GeForce RTX 3060 [19:39:28.300] Driver version: 535.183.01 [19:39:28.300] VulkanLimits: UBAlignment 64 nonCoherentAtomSize 64 [19:39:28.322] Using available debug function: vkCreateDebugUtilsMessengerEXT() [19:39:28.322] Vulkan device memory info: [19:39:28.322] Heap 0 - Size 12288MB Flags 0x00000001 [19:39:28.322] Heap 1 - Size 23927MB Flags 0x00000000 [19:39:28.322] Memory 0 - HeapIndex 1 Flags 0x00000000 [19:39:28.322] Memory 1 - HeapIndex 0 Flags 0x00000001 [19:39:28.322] Memory 2 - HeapIndex 1 Flags 0x00000006 [19:39:28.322] Memory 3 - HeapIndex 1 Flags 0x0000000e [19:39:28.322] Memory 4 - HeapIndex 0 Flags 0x00000007 [19:39:28.431] ------- Loaded title ------- [19:39:28.431] TitleId: 00050000-1018dd00 [19:39:28.431] TitleVersion: v272 [19:39:28.431] TitleRegion: EU [19:39:28.431] Save path: /home/user/.var/app/info.cemu.Cemu/data/Cemu/mlc01/usr/save/00050000/1018DD00/user/ (not present) [19:39:28.431] Shader cache file: shaderCache/transferable/000500001018dd00.bin [19:39:28.431] gameprofile path: (not present) [19:39:28.431] RPX hash (updated): 9f644cc7 [19:39:28.431] RPX hash (base): 44fc5929 [19:39:28.434] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0003 [19:39:28.434] nsyshid::BackendLibusb: device not on whitelist: 046d:c08b [19:39:28.434] nsyshid::BackendLibusb: device not on whitelist: 057e:2009 [19:39:28.434] nsyshid::BackendLibusb: device not on whitelist: 046d:c33c [19:39:28.434] nsyshid::BackendLibusb: device not on whitelist: 05e3:0608 [19:39:28.434] nsyshid::BackendLibusb: device not on whitelist: 0b05:19af [19:39:28.434] nsyshid::BackendLibusb: device not on whitelist: 0bda:b720 [19:39:28.434] nsyshid::BackendLibusb: device not on whitelist: 0bda:b812 [19:39:28.434] nsyshid::BackendLibusb: device not on whitelist: 13d3:3548 [19:39:28.434] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0002 [19:39:28.486] Loaded module 'block' with checksum 0xf110487f [19:39:28.486] Loaded module 'nn_olv2' with checksum 0x402b2215 [19:39:28.486] RPL link time: 52ms [19:39:28.511] HLE scan time: 25ms [19:39:28.511] ------- Active settings ------- [19:39:28.511] CPU-Mode: Multi-core recompiler [19:39:28.511] Load shared libraries: true [19:39:28.511] Use precompiled shaders: auto [19:39:28.511] Full sync at GX2DrawDone: true [19:39:28.511] Strict shader mul: true [19:39:28.511] Async compile: true [19:39:28.512] Console language: 1 [19:39:28.640] ------- Activate graphic packs ------- [19:39:28.640] ------- Init Audio backend ------- [19:39:28.640] DirectSound: not supported [19:39:28.640] XAudio 2.8: not supported [19:39:28.640] XAudio 2.7: not supported [19:39:28.640] Cubeb: available [19:39:28.640] ------- Init Audio input backend ------- [19:39:28.640] Cubeb: available [19:39:28.640] ------- Run title ------- [19:39:28.771] IOSU_ACT: using account DevCuber in first slot