| Both sides previous revision Previous revision Next revision | Previous revision |
| systems:wiiu [2021/06/04 18:33] – [Cemu] igno2k | systems:wiiu [2024/08/16 14:34] (current) – Add support for Wiimotes batocera-user |
|---|
| ===== Nintendo Wii U ===== | <WRAP group> |
| | <WRAP round box twothirds column> |
| | {{ https://raw.githubusercontent.com/fabricecaruso/es-theme-carbon/master/art/logos/wiiu.svg?nolink&320 }} |
| | |
| | ====== Wii U ====== |
| |
| The Wii U is an eighth-generation console released by Nintendo on November 18, 2012 at $349.99. It has a Tri-Core IBM PowerPC CPU at 1.24 GHz with 2GB of RAM. It has a AMD Radeon GPU. It is the first console by Nintendo to output to high definition (HD) resolutions, such as 720p and 1080p. It includes a tablet-like controller, known as the Wii U GamePad, to provide certain additional gameplay. Notably, it can play all Wii games as well as support the Wii Remote controllers for native Wii U games. | The Wii U is an eighth-generation console released by Nintendo on November 18, 2012 at $349.99. It has a Tri-Core IBM PowerPC CPU at 1.24 GHz with 2GB of RAM. It has a AMD Radeon GPU. It is the first console by Nintendo to output to high definition (HD) resolutions, such as 720p and 1080p. It includes a tablet-like controller, known as the Wii U GamePad, to provide certain additional gameplay. Notably, it can play all Wii games as well as support the Wii Remote controllers for native Wii U games. |
| |
| ^ shortname | ''wiiu'' | | This system scrapes metadata for the "wiiu" group(s) and loads the ''wiiu'' set from the currently selected theme, if available. |
| ^ emulator/core(s) | Cemu | | |
| ^ rom format(s) | ''.wup'' ''.wud'' ''.wux'' ''.rpx'' | | </WRAP> |
| | |
| | <WRAP third column> |
| | {{ https://raw.githubusercontent.com/fabricecaruso/es-theme-carbon/master/art/consoles/wiiu.png?nolink&350 |}} |
| | </WRAP> |
| | </WRAP> |
| | |
| | ==== Quick reference ==== |
| | |
| | * **Emulator:** [[#cemu|Cemu]] |
| | * **Folder:** ''/userdata/roms/wiiu'' |
| | * **Accepted ROM formats:** ''.wup'', ''.wud'', ''.wua'', ''.rpx'', ''.squashfs'' , ''.wux''* |
| | |
| | *''.wux'' removed in v37, but back in v38+ |
| | ===== BIOS ===== |
| | |
| | No Wii U emulator in Batocera needs a BIOS file to run. |
| | |
| | ===== ROMs ===== |
| | |
| | Place your Nintendo Wii U ROMs in ''/userdata/roms/wiiu/''. |
| | |
| | You can use the following ROM formats: |
| | * ''wup'': an installer format for titles to be installed on the Wii U console - not recommended. |
| | * ''wud'': a single file, which is a direct physical game dump, this format requires an accurate ''keys.txt'' file. |
| | * ''wux'': single-file compressed versions of ''.wud'' dumps, this format requires an accurate ''keys.txt'' file. |
| | * ''wua'': single-file compressed file, it's a file that contains both base, update and dlcs game content. (Supported since Cemu version 1.27) |
| | * ''Loadiine'': a directory structure with multiple files and folders, usually shared as an archive. You must unpack the archive and place the containing folder in the ROMs directory. This format is a decrypted version of ''.wud'' dumps. Batocera will use the ''[game].rpx'' binary file in the ''/code/'' directory structure of the Loadiine unarchived ROM to launch the game. |
| | |
| | How to [[:disk_image_compression#wua|compress files to .wua]] format. |
| | ==== keys.txt ==== |
| | |
| | You need a text file named ''keys.txt''. This file needs to go in the ''/userdata/bios/cemu/'' folder. If you have a pop-up window telling you "Error in keys.txt line XX", it might be because your ''keys.txt'' file is not correctly located in ''/userdata/bios/cemu/''. |
| | |
| | This ''keys.txt'' is a plain text file containing several lines, one for the common Wii U key, plus one for each game you want to support. ''#'' is used for comments. |
| | |
| | <WRAP center round info> |
| | Google is your friend if you want a Wii U ''keys.txt'' pre-filled with many games. Check out the [[https://wiki.cemu.info/wiki/Obtaining_Keys_for_Keys.txt|Cemu wiki]] for more information. |
| | </WRAP> |
| | |
| | ==== DLCs & Updates ==== |
| | |
| | Some games need an update to be playable via Cemu or maybe you want to install available DLCs for a game. |
| | |
| | You can install them easily with ''cemu-config''. First make sure that you connected an [[:store_games_on_a_second_usb_sata_drive|external drive]] or a [[:store_games_on_a_nas|network share]] with the installation files or copied them to the [[:add_games_bios|Batocera share]]. |
| | |
| | * select ''File'' -> ''Install game update or DLC'' |
| | * select the ''meta.xml'' in the meta folder of the update or DLC |
| | * wait for the installation process |
| | |
| | <WRAP center round info> |
| | The installed DLC and game version will be shown in the game list of the ''cemu-config'' application. The installation files are stored in ''/userdata/saves/cemu/drive_c/cemu/usr/<titleid>''. Your original rom file or folder will never be touched. |
| | </WRAP> |
| |
| ===== Emulators ===== | ===== Emulators ===== |
| ==== Cemu ==== | ==== Cemu ==== |
| |
| [[http://cemu.info/|Cemu]] is a closed-source Wii U emulator created in October 2015 and is regularly updated every 2 to 5 weeks. It can launch or play a lot of commercial games, 10% of tested titles are perfect and 35% are, at least, playable which sums to 45% of total tested titles, with varying degrees of glitches for the imperfect ones. Check out the up-to-date official [[http://compat.cemu.info|compatibility list]] for more information. | [[http://cemu.info/|Cemu]] is a free and open-source Wii U emulator created in October 2015. Though still under development, it is able to run the majority of commercial games smoothly, 15% of tested titles are perfect and 38% are, at least, playable which sums to 45% of total tested titles, with varying degrees of glitches for the imperfect ones. Check out the up-to-date official [[http://compat.cemu.info|compatibility list]] for more information. |
| | |
| | === Cemu configuration === |
| |
| As the emulator is distributed as a precompiled binary for Windows Batocera runs Cemu through [[https://www.winehq.org/|Wine]] like [[systems:windows|Windows games]]. This has no impact on compatibility and is well tested. | Standardized features available to all cores of this emulator: ''wiiu.videomode'' |
| |
| === Configuration === | ^ ES setting name ''batocera.conf_key'' ^ Description => ES option ''key_value'' ^ |
| | ^ Settings that apply to all cores of this emulator || |
| | | **GRAPHICS BACKEND ''wiiu.gfxbackend''** | Choose your graphics rendering\\ => OpenGL ''OpenGL'', Vulkan ''Vulkan''. | |
| | | **ASYNC SHADER ''wiiu.async''** | Speedup shader compilation (Vulkan only)\\ => Off ''0'', On ''1''. | |
| | | **RUMBLE ''wiiu.rumble''** | To use vibration on games with Rumble mode\\ => Off ''0'', On ''1''. | |
| | | **CONTROLLER COMBINATION ''wiiu.controller_combination''** | Use Pro Controller if the game asks for Shake\\ => GamePad + 4 Pro Controller ''0'', GamePad + 4 Sideway Wiimote ''1'', 5 Pro Controller ''2'', 5 Sideway Wiimote ''3''. | |
| | | **AUDIO CHANNELS ''cemu_audio_channels''** | Choose the audio output type.\\ => Stereo (Default)''1'',Surround''2'' | |
| | | **AUDIO OUTPUT ''cemu_audio_config''** | Fix screen tearing.\\ => Set in Config - choose if no audio output''false'',Batocera sets first audio device (Default)''true'' | |
| | | **VSYNC ''cemu_vsync''** | Fix screen tearing.\\ => Off (Default)''0'',Double buffering''1'', Triple buffering''2'' | |
| | | **UPSCALE FILTER ''cemu_upscale''** | Choose upscaling method.\\ => Bilinear (Default)''0'', Bicubic''1'', Hermite''2'', Nearest Neighbour''3'' | |
| | | **DOWNSCALE FILTER ''cemu_downscale''** | Choose downscaling method.\\ => Bilinear (Default)''0'', Bicubic''1'', Hermite''2'', Nearest Neighbour''3'' | |
| | | **ASPECT RATIO ''cemu_aspect''** | Change the output resolution ratio.\\ => Keep Aspect Ration (Default) ''0'', Stretch ''1'' | |
| | | **ENABLE MOUSE ''cemu_touchpad''** | Enable mouse input to simulate touchscreen.\\ => Disabled (Default) ''false'', Enabled ''true'' | |
| | | **ENABLE PERFORMANCE OVERLAY ''cemu_overlay''** | Enable Cemu's performance overlay.\\ => Disabled (Default) ''false'', Enabled ''true'' | |
| | | **ENABLE NOTIFICATIONS ''cemu_notifications''** | Enable notifications of cache, controller events etc.\\ => Disabled (Default) ''false'', Enabled ''true'' | |
| | | **ENABLE GAMEPAD VIEW ''cemu_gamepad''** | Enable gamepad view for games that have interaction across two screens. Use Hotkey+R2 to switch screens.\\ => Disabled (Default) ''false'', Enabled ''true'' | |
| |
| <WRAP info> | <WRAP center round info> |
| Cemu offers a lot of custom configuration options. You can set most of them within the ''cemu-config'' application which you can reach via the [[:emulationstation#file_manager_and_applications_menu|Batocera applications menu]]. | Cemu offers a lot of custom configuration options. You can set most of them within the ''cemu-config'' application which you can reach via the [[:emulationstation_overview#file_manager_and_applications_menu|Batocera applications menu]]. |
| </WRAP> | </WRAP> |
| |
| == Graphic options == | === Graphic options === |
| |
| Cemu works best with Vulkan drivers if your GPU can support it. | Cemu works best with Vulkan drivers if your GPU can support it. |
| |
| To download and use the community graphic packs follow these steps in ''cemu-config'': | To download and use the community graphic packs follow these steps in ''cemu-config'': |
| * right-click a game and select ''Edit graphic packs'' | * Right-click a game and select ''Edit graphic packs'' |
| * select ''Download latest community graphic packs'' //You need to be connected to the internet.// | * Select ''Download latest community graphic packs'' //You need to be connected to the internet.// |
| * choose and enable the graphic packs / mods / cheats etc. that you want | * Choose and enable the graphic packs / mods / cheats etc. that you want |
| * press ''ALT+F4'' to exit the window | * Press ''[Alt]'' + ''[F4]'' to exit the window |
| |
| The [[https://wiki.cemu.info/wiki/Main_Page|Cemu Wiki]] offers tons of well documented guides and optimizations for specific games - just use the search function on that wiki to find your desired game guide. | The [[https://wiki.cemu.info/wiki/Main_Page|Cemu Wiki]] offers tons of well documented guides and optimizations for specific games - just use the search function on that wiki to find your desired game guide. |
| |
| == Shader caches == | === Shader caches === |
| |
| When your game is loaded, check for its ID on the title bar in front of "SaveDir:" and note it down. The directory where transferable shader caches are stored is ''\userdata\system\configs\cemu\shaderCache''. | When your game is loaded, check for its ID on the title bar in front of "SaveDir:" and note it down. The directory where transferable shader caches are stored is ''\userdata\system\configs\cemu\shaderCache''. |
| They're generated the first time you play through a game and at that time cause noticeable stuttering. You can download a complete cache from places like [[https://www.reddit.com/r/Cemucaches/comments/7bv7el/complete_shader_cache_collection_1110c_v2/|here]] and rename them to match your game version's ID to spare yourself most of that unpleasant experience. Just keep in mind that shader caches from versions older than 1.8.0 are incompatible with later versions of Cemu. | They're generated the first time you play through a game and at that time cause noticeable stuttering. You can download a complete cache from places like [[https://www.reddit.com/r/Cemucaches/comments/7bv7el/complete_shader_cache_collection_1110c_v2/|here]] and rename them to match your game version's ID to spare yourself most of that unpleasant experience. Just keep in mind that shader caches from versions older than 1.8.0 are incompatible with later versions of Cemu. |
| |
| == Custom per game settings == | === Custom per game settings === |
| |
| Some games require custom game profile settings (often to use the ''CPU mode "single-core recompiler'' instead of auto). | Some games require custom game profile settings (often to use the ''CPU mode "single-core recompiler'' instead of auto). |
| Again the [[https://wiki.cemu.info/wiki/Main_Page|Cemu Wiki]] offers tons of well documented guides and optimizations for specific games - just use the search function on that wiki to find your desired game guide. | Again the [[https://wiki.cemu.info/wiki/Main_Page|Cemu Wiki]] offers tons of well documented guides and optimizations for specific games - just use the search function on that wiki to find your desired game guide. |
| |
| <WRAP important> | <WRAP center round important> |
| Your changes are stored **temporary** in the folder ''/usr/cemu/gameProfiles''. | Your changes are stored **temporary** in the folder ''/usr/cemu/gameProfiles''. |
| To save the change **permanently** in the Linux overlay (after reboot) it is currently necessary to enter the command ''batocera-save-overlay'' via the terminal. | To save the change **permanently** in the Linux overlay (after reboot) it is currently necessary to enter the command ''batocera-save-overlay'' via the terminal. |
| </WRAP> | </WRAP> |
| |
| ===== ROMs ===== | ===== Controls ===== |
| |
| Place your Nintendo Wii U ROMs in ''/userdata/roms/wiiu/''. | Here are the default Wii U's controls shown on a [[:configure_a_controller|Batocera Retropad]]: |
| |
| You can use the following ROM formats: | {{ https://raw.githubusercontent.com/batocera-linux/batocera-controller-overlays/master/solid-4k/wiiu.png }} |
| * ''wup'': an installer format for titles to be installed on the Wii U console - not recommended. | |
| * ''wud'': a single file, which is a direct physical game dump, this format requires an accurate ''keys.txt'' file. | |
| * ''wux'': single-file compressed versions of ''.wud'' dumps, this format requires an accurate ''keys.txt'' file. | |
| * ''Loadiine'': a directory structure with multiple files and folders, usually shared as an archive. You must unpack the archive and place the containing folder in the ROMs directory. This format is a decrypted version of ''.wud'' dumps. Batocera will use the ''[game].rpx'' binary file in the ''/code/'' directory structure of the Loadiine unarchived ROM to launch the game. | |
| | |
| ==== keys.txt ==== | |
| | |
| You need a text file named ''keys.txt''. This file needs to go in the ''/userdata/bios/cemu/'' folder. If you have a pop-up window telling you "Error in keys.txt line XX", it might be because your ''keys.txt'' file is not correctly located in ''/userdata/bios/cemu/''. | |
| | |
| This ''keys.txt'' is a plain text file containing several lines, one for the common Wii U key, plus one for each game you want to support. ''#'' is used for comments. | |
| | |
| <WRAP info> | |
| Google is your friend if you want a Wii U ''keys.txt'' pre-filled with many games. Check out the [[https://wiki.cemu.info/wiki/Obtaining_Keys_for_Keys.txt|Cemu wiki]] for more information. | |
| </WRAP> | |
| | |
| ==== DLCs & Updates ==== | |
| |
| Some games need an update to be playable via Cemu or maybe you want to install available DLCs for a game. | |
| |
| You can install them easily with ''cemu-config''. First make sure that you connected an [[:store_games_on_a_second_usb_sata_drive|external drive]] or a [[:store_games_on_a_nas|network share]] with the installation files or copied them to the [[:add_games|Batocera share]]. | |
| |
| * select ''File'' -> ''Install game update or DLC'' | |
| * select the ''meta.xml'' in the meta folder of the update or DLC | |
| * wait for the installation process | |
| |
| <WRAP info> | |
| The installed DLC and game version will be shown in the game list of the ''cemu-config'' application. The installation files are stored in ''/userdata/saves/cemu/drive_c/cemu/usr/<titleid>''. Your original rom file or folder will never be touched. | |
| </WRAP> | |
| |
| ===== Controls ===== | |
| |
| {{ :systems:wiiu_pro_controller.jpg?nolink|}} | |
| If you are using a XBOX One Controller the mapping to the Wii U (Pro) Gamepad is really easy. The most buttons are as expected, only the following are different: | If you are using a XBOX One Controller the mapping to the Wii U (Pro) Gamepad is really easy. The most buttons are as expected, only the following are different: |
| |
| | XBOX Guide | Home | | | XBOX Guide | Home | |
| |
| | Here's a picture of a physical Wii U Pro controller to help illustrate: |
| |
| | {{ :systems:wiiu_pro_controller.jpg?nolink |}} |
| |
| ==== Gamepad view ==== | ==== Gamepad view ==== |
| |
| The default Wii U Gamepad offers an integrated touchscreen. You can access the gamepad view by press and hold the **TAB** key on your keyboard. | The Wii U Gamepad offers an integrated touchscreen. You can access the Gamepad view by pressing and holding the ''[Tab]'' key on your keyboard. Clicking somewhere with the mouse simulates a touch on this screen. |
| With your ''mouse'' + ''left mouse button'' you can simulate pressing the touchscreen. | |
| |
| ==== Gamepad motion control ==== | ==== Gamepad motion control ==== |
| |
| Some games require the motion control function of the gamepad (e.g. Splatoon forces you to use motion control in the tutorial if you start the game for the first time) | Some games require the motion control function of the Gamepad (e.g. Splatoon forces you to use motion control in the tutorial if you start the game for the first time) |
| |
| Cemu emulates motion control via ''mouse gesture'' + ''right mouse button'' | Cemu emulates motion control via ''mouse gesture'' + ''right mouse button'' |
| |
| FIXME add wiimote support | ==== Wiimote support ==== |
| | Since v41, Wiimotes may be used as controllers in Cemu. To do so, pair a Wiimote and make sure the **MODE** in **WIIMOTE GUN SETTINGS** is set to **JOYSTICK** (not **GUN**). Both models Wiimote (RVL-003) and Wiimote incl. MotionPlus (RVL-036) are supported. |
| | |
| | Extensions may be used as far as Cemu supports them. |
| | Reported as working in Cemu 2.0-81: |
| | * RVL-003 with Nunchuk or MotionPlus or both |
| | Reported as not working in Cemu 2.0-81 (see [[https://github.com/batocera-linux/batocera.linux/pull/12291|PR #12291]] for details): |
| | * RVL-003 with Classic Controller (broken button mapping) |
| | * RVL-003 with Classic Controller Pro (not recognized) |
| | * RVL-036 with any extension (unstable connection) |
| |
| ===== Troubleshooting ===== | ===== Troubleshooting ===== |
| |
| ==== Migration v30 to v31 ==== | ==== Migration from v35 to v36 ==== |
| |
| After you make upgrade of batocera in v31 you need to move your backups. | Batocera uses the Windows build of Cemu up to v35 and the Linux build from v36. |
| | |
| | The directory layout of these builds is incompatible to each other. It was reported that Cemu in v36 does not properly start with the v35 configuration in place. Thus, the configuration must be moved before Cemu is started for the first time after migration: |
| | |
| | * ''%%mv /userdata/system/configs/cemu/ /userdata/system/configs/cemu-wine/%%'' |
| | |
| | If you'd like to keep your existing data, copy it to the new location: |
| | |
| | * Save states: ''%%cp -a /userdata/saves/cemu/drive_c/cemu/ /userdata/saves/wiiu/%%'' |
| | * Graphic packs: ''%%cp -a /userdata/system/configs/cemu-wine/graphicPacks/ /userdata/saves/wiiu/graphicPacks/%%'' |
| | * Shader cache: ''%%cp -a /userdata/system/configs/cemu-wine/shaderCache/ /userdata/system/cache/cemu/shaderCache/%%'' |
| | |
| | After verifying that everything works as expected, and if you're sure that the old data of v35 is not required anymore, you can remove the files: |
| | |
| | * ''%%rm -r /userdata/system/configs/cemu-wine/ /userdata/saves/cemu/%%'' |
| | |
| | If you'd like to go back from v36 to v35 instead, you have to undo the move: |
| | |
| | * ''%%mv /userdata/system/configs/cemu/ /userdata/system/configs/cemu-linux/%%'' |
| | * ''%%mv /userdata/system/configs/cemu-wine/ /userdata/system/configs/cemu/%%'' |
| | |
| | ==== Migration from v30 to v31 ==== |
| | |
| | After you make upgrade of Batocera in **v31** you need to move your backups. |
| |
| * ''%%mkdir -p /userdata/saves/cemu/drive_c/cemu%%'' | * ''%%mkdir -p /userdata/saves/cemu/drive_c/cemu%%'' |
| * ''%%cp -a /userdata/saves/cemu/sys /userdata/saves/cemu/drive_c/cemu%%'' | * ''%%cp -a /userdata/saves/cemu/sys /userdata/saves/cemu/drive_c/cemu%%'' |
| * ''%%cp -a /userdata/saves/cemu/usr /userdata/saves/cemu/drive_c/cemu%%'' | * ''%%cp -a /userdata/saves/cemu/usr /userdata/saves/cemu/drive_c/cemu%%'' |
| | |
| | |
| | ==== Further troubleshooting ==== |
| | |
| | For further troubleshooting, refer to the [[:support|generic support pages]]. |
| |