CEMU: Difference between revisions

From Zenith
Jump to navigation Jump to search
Content added Content deleted
m (update link)
m (FIX LINK)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Tool|name=CEMU|logo=CEMUIcon.png|description=A Wii U emulator.|developers=Exzap, Petergov|os=Windows x64|codelanguage=C++|website=https://cemu.info/|downloads=https://cemu.info/#download}}
{{Tool|name=CEMU|logo=CEMUIcon.png|description=A Wii U emulator.|developers=[https://github.com/Exzap Exzap] / [https://github.com/cemu-project cemu-project]|os=Windows x64, Linux x64|codelanguage=C / C++|license=Mozilla Public License 2.0|source=[https://github.com/cemu-project/Cemu cemu-project/Cemu (GitHub)]|website=https://cemu.info/|downloads=https://cemu.info/#download}}


CEMU is a closed-source Wii U emulator for Windows that allows users to play the console's titles on a desktop PC.
CEMU is a Wii U emulator that allows users to play the console's titles on a desktop PC. It was initially closed source, but became open source in late 2022.

'''<big>Important Notice:</big>''' <big>This page is now updated for Cemu 2.0 and should not be referenced for Cemu 1.x versions.</big>


==Setting up CEMU==
==Setting up CEMU==
Line 7: Line 9:
===Requirements===
===Requirements===
* Windows 7 64-bit or above
* Windows 7 64-bit or above
* OpenGL 4.5+ or Vulkan 1.2+
*Minimum 4GB of RAM
*Minimum 8GB of RAM
*[https://aka.ms/vs/16/release/vc_redist.x64.exe Microsoft Visual C++ 2017 x64]
*[https://aka.ms/vs/16/release/vc_redist.x64.exe Microsoft Visual C++ 2017 x64]


Line 13: Line 16:


====Download====
====Download====
#Download the latest version of CEMU [https://cemu.info/#download here]. Also optionally grab CEMUHook from [https://cemuhook.sshnuke.net/#Downloads here] as well for some extra optimizations and features.
#Download the latest version of CEMU [https://cemu.info/#download here].
#Extract the CEMU archive to a folder such as your desktop, and if downloaded, move the CEMUHook archive inside the CEMU folder that was just created, and extract the contents into the root of the CEMU folder. You may now delete the CEMUHook archive.
#Extract the CEMU archive to a folder such as your desktop.


====Setup====
====Setup====
#Run the <code>Cemu.exe</code> file and a '''Getting started''' window should pop up.
#Run the <code>Cemu.exe</code> file and a '''Getting started''' window should pop up.
# Optionally set your <code>mlc01</code> path and your game path to a location of your choice (be warned this folder can grow to several GBs in size), and click <code>Download community graphic packs</code>.
# Optionally set your <code>mlc01</code> path and your game path to a location of your choice (be warned this folder can grow to several GBs in size), and click '''Download community graphic packs'''.
#In the next window, make sure to enable '''Automatically check for updates''' to keep your CEMU always updated. Click '''Close'''.
#In the next window, make sure to enable '''Automatically check for updates''' to keep your CEMU always updated. Click '''Close'''.
#If you installed CEMUHook and it loaded successfully, a button that says '''Download now''' should appear at the bottom of the window along with text that says '''You are missing 4 out of 4 shared fonts'''. Make sure to click the '''Download now''' button to get the fonts. ''(Those who did not install CEMUHook don't need to worry about this, as NSMBU does not use any of the shared fonts)''
#Go to '''Options''' > '''Input Settings''' and configure your input device(s) and keybinds.
#Go to '''Options''' > '''Input Settings''' and configure your input device(s) and keybinds.


====Game Installation====
====Game Installation====


* '''MLC Method''' - The simpler method recommended to the average user
* '''MLC Method'''
#At the top bar, click '''File''' > '''Install game title, update or DLC''', navigate to your New Super Mario Bros. U dump folder, and select the <code>./meta/meta.xml</code> file.
#At the top bar, click '''File''' > '''Install game title, update or DLC''', navigate to your game's dump folder, and select the <code>[[Filesystem/meta|./meta/meta.xml]]</code> file.
#If you have update or DLC folders, repeat the step above for each of them.
#If you have update or DLC folders, repeat the step above for each of them.


* '''Game Paths Method''' - A slightly more advanced method which may interest users with disk space constraints or using [[Custom Code|custom code]], <u>this method is REQUIRED</u> for the latter.
* '''Game Paths Method''' - ''This method is <u>required</u> for using [[Custom Code|custom code]].''


# At the top bar, click '''Options''' > '''General settings''', then on the '''Game Paths''' section at the bottom, click <code>Add</code>, then navigate to and select the folder <u>containing</u> your New Super Mario Bros. U dump folder.
# At the top bar, click '''Options''' > '''General settings''', then on the '''Game Paths''' section at the bottom, click <code>Add</code>, then navigate to and select the folder <u>containing</u> your game dumps folders.
# Your update and DLC folders should simply be placed next to their respective game's folders in the game paths and Cemu will automatically find and apply them.
# If you have an update folder, manually <u>merge</u> it on top of the base game folder through File Explorer, selecting "Replace files on destination" when prompted. This will make CEMU display the game in red on the game list, simply ignore it.
# If you have a DLC folder, install it using the '''MLC Method'''.


====Optimization====
====Optimization====
# Go to '''Options''' > '''General settings''' and navigate to the '''Graphics''' tab. Inside this tab, change the '''Graphics API''' to '''Vulkan (experimental)'''. If you have any issues with Vulkan, you can change to '''OpenGL'''. Set the '''Graphics Device''' to your fastest GPU that you have installed on your computer. If you get screen tearing, change the '''VSync''' option to '''Double buffering'''. Set '''Upscale filter''' and '''Downscale filter''' both to '''Bilinear''', and set '''Fullscreen scaling''' to '''Keep aspect ratio'''.
# Go to '''Options''' > '''General settings''' and navigate to the '''Graphics''' tab. Inside this tab, set the '''Graphics API''' to '''Vulkan'''. If you have any issues with Vulkan or it doesn't show up, you can use to '''OpenGL'''.
# Check that the '''Graphics Device''' is correctly set to your primary GPU. If you get screen tearing, change the '''VSync''' option to '''Double buffering'''.
#Switch to the '''Audio''' tab. Here, change the API to '''XAudio2'''. If the audio is choppy, increase the latency to 60ms. Under '''Gamepad''', change '''Device''' to '''Primary Sound Driver''', and increase the volume to 50%. You may now close this window.
#Click on the '''Debug''' tab and under '''Experimental''', enable '''Async compile (Vulkan)'''. Change the '''MM Timer Accuracy''' to 1ms. Finally, make sure to enable '''Use Cemuhook H264'''.
#If you really need extra performance, enable '''Async shader compile''', but know this will come at a cost of visual glitches during gameplay.


====Crash Fixes====
====Crash Fixes====


* '''<u>Game crashes when pressing 2 / A on the titlescreen:</u>''' (Caused by: Missing Mii files)
* '''<u>Game crashes when pressing 2 / A on the titlescreen:</u>''' (Caused by: Missing Mii files)
** '''Fix Method 1.''' This method simply uses a graphic pack as a workaround.
** '''Fix Method 1.''' This method simply uses a graphic pack as a workaround. First make sure you have the latest updated graphic packs by going to the graphic packs menu and select <code>Download latest community graphic packs</code>. Then find <code>New Super Mario Bros. U</code>, and under <code>Workarounds</code>, select <code>Crash Fix</code>. (<u>'''WARNING:'''</u> This crash fix method is <u>NOT</u> compatible with any form of [[Custom Code|custom code]], if you are using code hacks and are affected by this crash, you MUST use the alternative method below)
**# First make sure you have the latest updated graphic packs by going to the graphic packs menu and select '''Download latest community graphic packs'''.
** '''Fix Method 2.''' As an alternative, more permanent method, simply download [https://bun.filedit.ch/kaFmMwqPlMHHYyjasbUm.zip these files] and place them at <code>cemu/mlc01/sys/title/0005001b/10056000/content/</code>. '''NOTE:''' On newer versions of cemu some of those folders may need to be created.
**# Find '''New Super Mario Bros. U''', and under '''Workarounds''', select '''Crash Fix'''.
**# <u>'''''WARNING:'''''</u> This crash fix method is <u>NOT</u> compatible with any form of [[Custom Code|custom code]], if you are using code hacks and are affected by this crash, you MUST use the alternative method below.
** '''Fix Method 2.''' As an alternative, more permanent method, simply download [https://mega.nz/file/iJpUXK4S#dANURYz4YBF2rgi7xnfl8yN-GXZ4YWc2uHUs-t_y4gA these files] and place them at <code>/mlc01/sys/title/0005001b/10056000/content/</code>.
*** '''NOTE:''' On some versions of Cemu, the folders may have to be created manually.


====Graphic Packs====
====Graphic Packs====
#To enable graphic packs, right-click on '''New Super Mario Bros. U''' in the game list, and go to <code>Edit graphic packs</code>.
#To enable graphic packs, right-click on '''New Super Mario Bros. U''' in the game list, and go to <code>Edit graphic packs</code>.
#If your PC is capable enough, you may want to improve the graphics of the game. If this is the case, enable '''Fancy FX''', and optionally '''Resolution'''. You can increase the resolution to a size of your choice, but be aware that resolutions above <code>2560x1440</code> heavily decrease performance.
#If your PC is capable enough, you may want to improve the graphics of the game. If this is the case, enable '''Fancy FX''', and optionally '''Resolution'''. You can increase the resolution to a size of your choice, but be aware that resolutions above <code>2560x1440</code> heavily decrease performance.

==== Shader Caches ====
Shader caches are legally shareable and can be downloaded in complete form for a variety of games including NSMBU at [https://chriztr.github.io/cemu_shader_and_pipeline_caches/ the unofficial Cemu shader caches database].

Downloading a complete shader cache will prevent shader compilation stuttering, at the cost of the game taking longer to boot in order to load the cache.
[[Category:Tools]]
[[Category:Tools]]

Latest revision as of 10:35, 3 September 2023

CEMU
thumb
thumb
Description A Wii U emulator.
Developers Exzap / cemu-project
Operating System Windows x64, Linux x64
Written in C / C++
License Mozilla Public License 2.0
Source cemu-project/Cemu (GitHub)
Website https://cemu.info/
Downloads https://cemu.info/#download


CEMU is a Wii U emulator that allows users to play the console's titles on a desktop PC. It was initially closed source, but became open source in late 2022.

Important Notice: This page is now updated for Cemu 2.0 and should not be referenced for Cemu 1.x versions.

Setting up CEMU[edit | edit source]

Requirements[edit | edit source]

Steps[edit | edit source]

Download[edit | edit source]

  1. Download the latest version of CEMU here.
  2. Extract the CEMU archive to a folder such as your desktop.

Setup[edit | edit source]

  1. Run the Cemu.exe file and a Getting started window should pop up.
  2. Optionally set your mlc01 path and your game path to a location of your choice (be warned this folder can grow to several GBs in size), and click Download community graphic packs.
  3. In the next window, make sure to enable Automatically check for updates to keep your CEMU always updated. Click Close.
  4. Go to Options > Input Settings and configure your input device(s) and keybinds.

Game Installation[edit | edit source]

  • MLC Method
  1. At the top bar, click File > Install game title, update or DLC, navigate to your game's dump folder, and select the ./meta/meta.xml file.
  2. If you have update or DLC folders, repeat the step above for each of them.
  • Game Paths Method - This method is required for using custom code.
  1. At the top bar, click Options > General settings, then on the Game Paths section at the bottom, click Add, then navigate to and select the folder containing your game dumps folders.
  2. Your update and DLC folders should simply be placed next to their respective game's folders in the game paths and Cemu will automatically find and apply them.

Optimization[edit | edit source]

  1. Go to Options > General settings and navigate to the Graphics tab. Inside this tab, set the Graphics API to Vulkan. If you have any issues with Vulkan or it doesn't show up, you can use to OpenGL.
  2. Check that the Graphics Device is correctly set to your primary GPU. If you get screen tearing, change the VSync option to Double buffering.
  3. If you really need extra performance, enable Async shader compile, but know this will come at a cost of visual glitches during gameplay.

Crash Fixes[edit | edit source]

  • Game crashes when pressing 2 / A on the titlescreen: (Caused by: Missing Mii files)
    • Fix Method 1. This method simply uses a graphic pack as a workaround.
      1. First make sure you have the latest updated graphic packs by going to the graphic packs menu and select Download latest community graphic packs.
      2. Find New Super Mario Bros. U, and under Workarounds, select Crash Fix.
      3. WARNING: This crash fix method is NOT compatible with any form of custom code, if you are using code hacks and are affected by this crash, you MUST use the alternative method below.
    • Fix Method 2. As an alternative, more permanent method, simply download these files and place them at /mlc01/sys/title/0005001b/10056000/content/.
      • NOTE: On some versions of Cemu, the folders may have to be created manually.

Graphic Packs[edit | edit source]

  1. To enable graphic packs, right-click on New Super Mario Bros. U in the game list, and go to Edit graphic packs.
  2. If your PC is capable enough, you may want to improve the graphics of the game. If this is the case, enable Fancy FX, and optionally Resolution. You can increase the resolution to a size of your choice, but be aware that resolutions above 2560x1440 heavily decrease performance.

Shader Caches[edit | edit source]

Shader caches are legally shareable and can be downloaded in complete form for a variety of games including NSMBU at the unofficial Cemu shader caches database.

Downloading a complete shader cache will prevent shader compilation stuttering, at the cost of the game taking longer to boot in order to load the cache.