This is an old revision of the document!


Wii

You have two choices to use controllers for playing WII on Batocera.

  • Wiimote: Use original Wiimote controllers with a DolphinBar, mandatory for all games that use movement sensors …
  • Gamepad: Use standard gamepads with analog stick for games that can originally be played with Wii Classic Controller and GC Controller.

A DolphinBar is a wireless sensor that can connect your Wii remote controller to your PC by Bluetooth. It's easier to use than an extra Bluetooth dongle for pairing, and it include the IR signal to make your Wii mote working fine. It also include a cursor anti-shake function when you emulate a mouse for Arcade shooting games.

The best one is the Mayflash Bar. Because they approached the Dolphin team and works with them, they were able to fix the bug that was preventing the DolphinBar from connecting with Dolphin. They also release some firmware update to improve the DolphinBar.

Due to problems of the IR LEDs burning out from staying on too long, the v5 firmware released in late 2015 turns off the DolphinBar's IR LED lights when they are not needed, such as when no Wiimotes are connected or when the DolphinBar is in a mode where the pointer cannot be used. But unlike the old problematic sensor bars that turned off after a set time, the DolphinBar knows when the wiimote is being used, so it presents no problems. To anyone who hasn't updated their DolphinBars to a version with this feature, we definitely recommend that they do so.

It's really easy:

  • Connect your DolphinBar in USB to your computer
  • Press the right button to choose MODE 4, the Wii specific mode
  • Press the left button to launch pairing
  • Press the buttons 1 and 2 on your Wiimote
  • The bar led stop to flash and on the Wiimote led 1 is now fixed

Repeat for each Wiimote the same things and you are ready to play, nothing more to do.

Bonus Mode 3

If you use the DolphinBar in MODE 3, it allows you to use a Wiimote, Wiimote + Nunchuk, or a Wii Classic Controller as a normal GameCube gamepad that you can configure in Batocera like any other. Mode 3 will work with all other emulators and can save you if you don't have any other controller. But, the Wiimote, Wiimote + Nunchuk, and Classic Controller have all different button assignments, even for things that seem obvious like the Dpad. If you plug or unplug a different device, you'll have to make adjustments to your controller configuration stored in Batocera because they have all the same name HJZ Mayflash Wiimote PC Adapter.

If you don't have any Wiimote and want to use a classic controller, it's possible but you will be limited to games already made for Wii Classic Controller and GC Controller.

Begin by edit in SSH your batocera.conf file in /userdata/system/

batocera.conf
  ## wiimotes
  ## real wiimotes must not be paired with batocera.linux system so that they can work with the wii emulator
  ## set emulatedwiimotes to 1 to emulate wiimotes with standard pads
  #wii.emulatedwiimotes=auto

And remove the # at the line start. Now you controllers will be recognised like a Wiimote to play games, but if you try one like New Super Mario Bros you will be stuck when it will ask you to shake your pad to fly with your hat.

Below is the default key mapping for Dolphin/Wii games. This is as if you are using a Wiimote in vertical orientation.

Key Wii Function Key Wii Function Key Wii Function Key Wii Function
x Buttons/2yButtons/1 a Buttons/BbButtons/A
l1/pageup Buttons/-l2/pagedownButtons/+ selectButtons/Home start
joystick1up IR/Upjoystick1leftIR/Left joystick1down IR/Downjoystick1rightIR/Right
joystick2up Tilt/Forwardjoystick2leftTilt/Left joystick2down Tilt/Downjoystick2rightTilt/Right

But playing with your gamepad in vertical orientation is really crappy …

Pre-built modifications have been baked into the configuration utility in order to support various games and remote orientation. In order to use these modifications you need to rename the ROM file to include the following

  • .side. - Enables the Wiimote to operate as a sideways wiimote. The following changes to the default configuration are enabled:
Key Wii Function Key Wii Function Key Wii Function Key Wii Function
x Buttons/ByButtons/A a Buttons/1bButtons/2
  • emulators/wii.1584497593.txt.gz
  • Last modified: 13 months ago
  • by darknior