cemu-project / Cemu

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

Pretendo online does not function for Linux on the latest build #1189

Open Lapisor opened 2 months ago

Lapisor commented 2 months ago

Current Behavior

Hi there! Trying to connect to Pretendo on the latest version Cemu 2.0-79 on Linux, but it returns the error:

[17:56:05.791] HTTP request received response 403 but expected 200 [17:56:05.791] Failed request /oauth20/access_token/generate [17:56:05.791] ACT_GetNexToken(): Failed to retrieve OAuth token

The game is left hanging indefinitely on an ingame connecting screen. I have seen multiple people experiencing this issue throughout the Pretendo and Cemu discord servers. One thing to note: this is only an issue on 2.0-79, the Linux build of 2.0-78 works just fine online.

Expected Behavior

The games should be able to work fine on Pretendo servers just like the last build and the current Windows build

Steps to Reproduce

Attempt to connect to any game online on Pretendo using the latest build of Cemu on Linux

System Info (Optional)

OS: Arch-linux

Emulation Settings (Optional)

No response

Logs (Optional)

[17:55:47.567] ------- Init Cemu 2.0.518 (experimental) ------- [17:55:47.567] Init Wii U memory space (base: 0x000073f7a0000000) [17:55:47.567] mlc01 path: /home/lapis/I have see/mlc01 [17:55:47.567] CPU: AMD Ryzen 5 5600X 6-Core Processor
[17:55:47.567] RAM: 32019MB [17:55:47.567] Platform: Linux [17:55:47.567] Used CPU extensions: SSSE3, SSE4.1, AVX, AVX2, LZCNT, MOVBE, BMI2, AES-NI, INVARIANT-TSC [17:56:03.492] Mounting title 000500001010ed00 [17:56:03.492] Base: /home/lapis/I have see/mlc01/usr/title/00050000/1010ed00 [Folder] [17:56:03.492] Update: /home/lapis/I have see/mlc01/usr/title/0005000e/1010ed00 [Folder] [17:56:03.492] DLC: Not present [17:56:03.494] Shared font CafeCn.ttf is not present [17:56:03.498] Recompiler initialized [17:56:03.668] ------- Init Vulkan graphics backend ------- [17:56:03.684] Vulkan instance version: 1.3 [17:56:03.697] Using GPU: NVIDIA GeForce RTX 4070 [17:56:03.697] Driver version: 550.67 [17:56:03.697] VulkanLimits: UBAlignment 64 nonCoherentAtomSize 64 [17:56:03.738] Using available debug function: vkCreateDebugUtilsMessengerEXT() [17:56:03.738] Vulkan device memory info: [17:56:03.738] Heap 0 - Size 12282MB Flags 0x00000001 [17:56:03.738] Heap 1 - Size 24014MB Flags 0x00000000 [17:56:03.738] Heap 2 - Size 246MB Flags 0x00000001 [17:56:03.738] Memory 0 - HeapIndex 1 Flags 0x00000000 [17:56:03.738] Memory 1 - HeapIndex 0 Flags 0x00000001 [17:56:03.738] Memory 2 - HeapIndex 1 Flags 0x00000006 [17:56:03.738] Memory 3 - HeapIndex 1 Flags 0x0000000e [17:56:03.738] Memory 4 - HeapIndex 2 Flags 0x00000007 [17:56:03.818] ------- Loaded title ------- [17:56:03.818] TitleId: 00050000-1010ed00 [17:56:03.818] TitleVersion: v81 [17:56:03.818] TitleRegion: EU [17:56:03.818] Save path: /home/lapis/I have see/mlc01/usr/save/00050000/1010ED00/user/ (not present) [17:56:03.818] Shader cache file: shaderCache/transferable/000500001010ed00.bin [17:56:03.818] gameprofile path: gameProfiles/default/000500001010ed00.ini [17:56:03.818] RPX hash (updated): cc0c4c33 [17:56:03.818] RPX hash (base): 9708a1d3 [17:56:03.827] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0003 [17:56:03.827] nsyshid::BackendLibusb: device not on whitelist: 3842:2622 [17:56:03.827] nsyshid::BackendLibusb: device not on whitelist: 3302:29b7 [17:56:03.827] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0002 [17:56:03.827] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0003 [17:56:03.827] nsyshid::BackendLibusb: device not on whitelist: 5678:2234 [17:56:03.827] nsyshid::BackendLibusb: device not on whitelist: 09da:3af7 [17:56:03.827] nsyshid::BackendLibusb: device not on whitelist: 05e3:0751 [17:56:03.827] nsyshid::BackendLibusb: device not on whitelist: 152d:a583 [17:56:03.827] nsyshid::BackendLibusb: device not on whitelist: 0489:e0cd [17:56:03.828] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0002 [17:56:03.869] Loaded module 'turbo' with checksum 0x9f0a90b7 [17:56:03.870] Loaded module 'mvplayer' with checksum 0x1e5181e7 [17:56:03.870] RPL link time: 43ms [17:56:03.902] HLE scan time: 32ms [17:56:03.902] ------- Active settings ------- [17:56:03.902] CPU-Mode: Multi-core recompiler [17:56:03.902] Load shared libraries: true [17:56:03.903] Use precompiled shaders: auto [17:56:03.903] Full sync at GX2DrawDone: true [17:56:03.903] Strict shader mul: true [17:56:03.903] Async compile: false [17:56:03.903] Console language: 1 [17:56:04.259] ------- Activate graphic packs ------- [17:56:04.259] ------- Init Audio backend ------- [17:56:04.259] DirectSound: not supported [17:56:04.259] XAudio 2.8: not supported [17:56:04.259] XAudio 2.7: not supported [17:56:04.259] Cubeb: available [17:56:04.259] ------- Init Audio input backend ------- [17:56:04.259] Cubeb: available [17:56:04.259] ------- Run title ------- [17:56:05.076] IOSU_ACT: using account I have see in first slot [17:56:05.084] Loaded module 'mw_shamo' with checksum 0x6778fb86 [17:56:05.085] Loaded module 'mw_shamo_sbc' with checksum 0xa594053c [17:56:05.573] OSGetSharedData() called by game but no shareddata fonts loaded. Use placeholder font [17:56:05.791] HTTP request received response 403 but expected 200 [17:56:05.791] Failed request /oauth20/access_token/generate [17:56:05.791] ACT_GetNexToken(): Failed to retrieve OAuth token

Lekuruu commented 2 months ago

The same issue is present for me as well. I've used a proxy to see what may cause this, and this is what the server responded with:

Sorry! This set of domains is only meant to be accessed by a Wii U or 3DS.
It appears you are attempting to access it via a web browser.
Perhaps you meant: https://pretendo.network/

After that, most games are just stuck loading after the response.

Edit: This only seems to be happening with the flathub release of Cemu for some reason?