Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃幃 Wii U guide (CEMU) #2

Open
n1ckoates opened this issue Mar 7, 2022 · 6 comments
Open

馃幃 Wii U guide (CEMU) #2

n1ckoates opened this issue Mar 7, 2022 · 6 comments
Assignees
Labels
guide New guide or request for one
Projects

Comments

@n1ckoates
Copy link
Owner

No description provided.

@n1ckoates n1ckoates added enhancement New feature or request guide New guide or request for one labels Mar 7, 2022
@n1ckoates n1ckoates self-assigned this Mar 7, 2022
@n1ckoates n1ckoates added this to To do in Guides Mar 7, 2022
@walllable
Copy link

walllable commented Mar 8, 2022

I got this set up! There's a couple notes though.
General notes:

  • If you store your games on your SD card, you'll have to add STEAM_COMPAT_MOUNTS=/run/media/ %command% to the launch options in order to access them in Cemu's file browsers. If you use Steam ROM Manager, this applies even if you have both Cemu and your games on the SD card.

Steam ROM Manager related notes:

  • In the command line arguments, before ${filepath} add Z:. This is required since Cemu will be expecting a Windows-like filepath, as opposed to a Linux filepath.
  • If your ROMs (or Cemu's executable, or anything really) is on the SD card, you'll have to copy the filepaths from Dolphin/your file browser into the respective text box, since SRM's included file browser doesn't seem to have access to the SD card.

To add games (and mount your mlc,) open up Cemu, and go to Options > General Settings at the top. Click "Add" under the "Game Paths" section, click on My Computer, and then click on Z:. From here on it's pretty similar to a regular Linux file layout. If your games are on your SD card, navigate to run\media\, and in here you should see the name that you assigned to your SD card. Click in there, and navigate to where you saved your games. The case is pretty much the same if you want to set a custom MLC directory - Just click on the ... button next to the MLC path textbox, and browse either to where Cemu keeps it if you've downloaded Cemu to your SD card (Z:/run/media/sd_card_name_here/emulators/cemu_1.26.2/mlc01) or to wherever on the SD card you want

Now, here's the directions for setting up Steam ROM Emulator for CEMU. The following only applies to extracted/.rpx files, though I imagine it should be pretty similar for other filetypes. Hopefully these instructions aren't too disjointed. I'm going to be working off of the "Generic" community preset.

  • Scroll down all the way to the bottom, and enable "Show advanced options."
  • Under "Executable" put the path to where Cemu's executable is. In my case, since I have it on my SD card named "Deck," it's /run/media/Deck/emulators/cemu_1.26.2/Cemu.exe
  • Enable "Append arguments to executable" if it's not enabled already
  • Under "Command line arguments," enter -f -g "Z:${filePath}" (-f makes the game fullscreen, -g tells Cemu that this is a path to a game.) We put Z: before ${filepath} since Cemu expects a Windows-like filepath, not a Linux-like filepath.
  • Under "User's glob," put ${title}/*/*@(.rpx|.RPX) so that SRM only parses .rpx files.
  • Under "Local Icons," put ${dir}/../*${/\[.*?\]/g|${title}|}*/meta/iconTex.tga

Once you've tested your parser, gone to the "Preview" section, and added your games to Steam, you should be all set! If you have your games on your SD card, you'll have to add STEAM_COMPAT_MOUNTS=/run/media/ %command% to your launch options in each game, so that Cemu can access them. This is also the case if your MLC is stored on your SD card.

As a final note, here's a copy of my configuration, in case I missed anything.
# Parser type

路路路路Selected: Glob

# Configuration title

路路路路Cemu (RPX)

# Steam category

路路路路${Wii U}

# Executable

路路路路/run/media/Deck/emulators/cemu_1.26.2/Cemu.exe

路路路路[ ]: Follow .lnk to destination (Windows only)

路路路路[x]: Append arguments to executable

# Command line arguments

路路路路-f -g "Z:${filePath}"

# Executable modifier

路路路路"${exePath}"

# ROMs directory

路路路路/run/media/Deck/emulators/cemu_1.26.2/Games/

# Steam directory

路路路路${steamdirglobal}

# "Start In" directory

路路路路

# User accounts

路路路路

路路路路[x]: Skip found accounts with missing data directories

路路路路[x]: Use account credentials

# Image providers

路路路路Selected: SteamGridDB

# User's glob

路路路路${title}/*/*@(.rpx|.RPX)

# User's glob-regex

路路路路null

# Manifests Directory Override

路路路路null

路路路路[ ]: Launch games via Epic for online services

# Galaxy Path Override

路路路路null

路路路路[ ]: Launch games via GOG Galaxy

# Title from custom variable

路路路路

路路路路[ ]: Case-insensitive variables

路路路路[ ]: Skip file if variable was not found

路路路路[ ]: Enable Title from Custom Variable

# Title modifier

路路路路${fuzzyTitle}

# Fuzzy matching

路路路路[x]: Use fuzzy matching

路路路路[x]: Replace diacritic characters

路路路路[x]: Aggressive matching

路路路路[x]: Remove (...) and [...] brackets

# Online image query

路路路路${${fuzzyTitle}}

# Image pool

路路路路${fuzzyTitle}

# Default image

路路路路

# Default tall image

路路路路

# Default hero image

路路路路

# Default logo image

路路路路

# Default icon

路路路路

# Local images

路路路路

# Local tall images

路路路路

# Local hero images

路路路路

# Local logo images

路路路路

# Local icons

路路路路${dir}/../*${/\[.*?\]/g|${title}|}*/meta/iconTex.tga

路路路路[x]: Disable current parser

路路路路[x]: Show advanced options

@n1ckoates
Copy link
Owner Author

n1ckoates commented Mar 8, 2022

Awesome, thanks for the node about SD cards, I'll make sure to add that to the guide. Did CEMU, especially the Vulkan backend, work fine for you under Proton, or did you have to use a fork of Wine?

@walllable
Copy link

walllable commented Mar 8, 2022

It worked just fine for me under Proton. I'll note though, I had to use Proton 7.0-1, not Proton Experimental. I'll also note that BotW didn't run very well (20fps in the starting cave area thing) until I enabled FPS++ and set it to 30 FPS. Then it was pretty much locked to that, in my short experience with the game so far.

Another thing I want to add that isn't really related to Cemu is that you can allow Flatpaks (Which is probably how you'll be installing these emulators) to access the SD card by running flatpak override <package_name_here> --filesystem=/run/media/, and you can find the flatpak's package name by navigating to /home/deck/.var/app/, which is where the files for installed flatpaks are kept. For example, retroarch is org.libretro.RetroArch, RPCS3 is net.rpcs3.RPCS3, etc. Once that's done, you should be able to access the SD card just fine from the flatpak/application in question from its file browser.

@depinav
Copy link

depinav commented Mar 24, 2022

One thing not mentioned here that I needed to do after SRM created the steam shortcuts was check "Force Proton" checkbox for the game shortcuts in steam or else the games wouldn't run. Idk if this is actually necessary or I missed something in the setup, but otherwise I couldn't launch the games from steam.

@n1ckoates n1ckoates removed the enhancement New feature or request label Apr 18, 2022
@n1ckoates
Copy link
Owner Author

One thing not mentioned here that I needed to do after SRM created the steam shortcuts was check "Force Proton" checkbox for the game shortcuts in steam or else the games wouldn't run.

This is expected; CEMU doesn't natively support Linux and has to be run through Proton.

@komali2
Copy link

komali2 commented Jul 28, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guide New guide or request for one
Projects
No open projects
Guides
  
To do
Development

No branches or pull requests

4 participants