Cemu icon indicating copy to clipboard operation
Cemu copied to clipboard

Cemu Online Functionality Not Working on Linux, but Working on Windows

Open PaperTobi opened this issue 2 years ago • 7 comments

Description:

Problem: The online functionality of Cemu does not work on Linux, although it runs on Windows. I have made several attempts to resolve the issue, but so far, without success.

Operating System: Linux [Flatpak version]

Expected Behavior: The online functionality should work the same way on Linux as it does on Windows. Online features should be accessible without issues.

Please fix!

PaperTobi avatar Oct 06 '23 05:10 PaperTobi

Are you sure you put your files in the right locations?

amppz avatar Oct 06 '23 05:10 amppz

Yes, I tried it the same way on Linux like I tried it on Windows. Windows accepts the keys in the settings, Linux doesn't

PaperTobi avatar Oct 06 '23 05:10 PaperTobi

Keys??

amppz avatar Oct 06 '23 05:10 amppz

The online files.

PaperTobi avatar Oct 06 '23 05:10 PaperTobi

I just said I already did. I just tried the Windows version with wine, the files get detected. Only the Linux builds version doesn't work.

PaperTobi avatar Oct 06 '23 06:10 PaperTobi

@PaperTobi I'm having the same issue, but with the Cemu AppImage. After using strace to see what files were accessed, I see that Cemu is only looking in ~/.local/share/Cemu for seeprom.bin and otp.bin, not the actual Cemu install dir. Strangely, the mlc01 file lookups DO use the actual Cemu install dir:

newfstatat(AT_FDCWD, "/home/flotwig/.local/share/Cemu/otp.bin", 0x7ffd90faf8f0, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/flotwig/.local/share/Cemu/seeprom.bin", 0x7ffd90faf8f0, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/var/opt/Cemu/mlc01/sys/title/0005001b/10054000/content/ccerts/WIIU_COMMON_1_RSA_KEY.aes", {st_mode=S_IFREG|0644, st_size=1200, ...}, 0) = 0
newfstatat(AT_FDCWD, "/var/opt/Cemu/mlc01/sys/title/0005001b/10054000/content/ccerts/WIIU_COMMON_1_RSA_KEY.aes", {st_mode=S_IFREG|0644, st_size=1200, ...}, 0) = 0
newfstatat(AT_FDCWD, "/var/opt/Cemu/mlc01/sys/title/0005001b/10054000/content/ccerts/WIIU_ACCOUNT_1_RSA_KEY.aes", {st_mode=S_IFREG|0644, st_size=1200, ...}, 0) = 0
newfstatat(AT_FDCWD, "/var/opt/Cemu/mlc01/sys/title/0005001b/10054000/content/ccerts/WIIU_ACCOUNT_1_RSA_KEY.aes", {st_mode=S_IFREG|0644, st_size=1200, ...}, 0) = 0
newfstatat(AT_FDCWD, "/var/opt/Cemu/mlc01/sys/title/0005001b/10054000/content/ccerts/WIIU_OLIVE_1_RSA_KEY.aes", {st_mode=S_IFREG|0644, st_size=1200, ...}, 0) = 0

Looks like a bug here, since it doesn't work as documented in the Online Play docs or the error message ("x.bin missing in Cemu root directory"). As a workaround, put your 2 .bin files in ~/.local/share/Cemu instead of the Cemu root directory.

flotwig avatar Oct 22 '23 15:10 flotwig

I don't think there is a bug, more a confusion where the files go. Which is understandable because the guide and error messages are still mostly Windows specific. Anyway, in Cemu's menu you can now click file -> Open Cemu folder and it should open the directory where otp.bin and seeprom.bin need to be placed.

Exzap avatar Mar 09 '24 02:03 Exzap

@Exzap the bug (maybe just a defect) is that the in-app error message on Linux is incorrect and gives the wrong directory in the resolution instructions

flotwig avatar Mar 09 '24 05:03 flotwig