Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
emulators:wii [2020/04/14 20:12]
ordovice [Configuring Gamepad]
emulators:wii [2021/01/21 18:29]
lbrpdx
Line 3: Line 3:
 ==== Controllers for Dolphin ==== ==== Controllers for Dolphin ====
  
-You have two choices to use controllers for playing WII on Batocera.+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 ...+  * **Wiimote**: Use original Wiimote controllers with a **DolphinBar**, mandatory for most 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.   * **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.+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 includes the IR signal to make your Wii mote work. It also includes an anti-shake function when you emulate a mouse for Arcade shooting games.
  
 {{ :emulators:dolphinbar-box.jpg |}} {{ :emulators:dolphinbar-box.jpg |}}
  
-The best one is the [[http://www.mayflash.com/Products/NINTENDOWiiU/W010.html|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**. +The best one is the [[http://www.mayflash.com/Products/NINTENDOWiiU/W010.html|Mayflash Bar]]. Because they approached the Dolphin team and work 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**. 
  
  
Line 27: Line 27:
 It's really easy: It's really easy:
  
-  * Connect your **DolphinBar** in USB to your computer+  * Connect your **DolphinBar** with USB to your computer
   * Press the right button to choose **MODE 4**, the Wii specific mode   * Press the right button to choose **MODE 4**, the Wii specific mode
   * Press the left button to launch pairing   * Press the left button to launch pairing
Line 37: Line 37:
 === Bonus Mode 3 === === 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. +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 pad. 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**. 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**.
  
Line 43: Line 43:
 ===== Configuring Gamepad ===== ===== Configuring Gamepad =====
  
-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.+If you don't have any **Wiimote** and want to use a regular 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/''+Start with editing your ''batocera.conf'' file in ''/userdata/system/'' (or ''system'' in the SHARE NFS network drive)
  
 <code xml| batocera.conf> <code xml| batocera.conf>
Line 51: Line 51:
   ## real wiimotes must not be paired with batocera.linux system so that they can work with the wii emulator   ## 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   ## set emulatedwiimotes to 1 to emulate wiimotes with standard pads
-  #wii.emulatedwiimotes=auto+  #wii.emulatedwiimotes=1
 </code> </code>
  
-And remove the ''#'' at the line start+And remove the ''#'' at the line start (''#'' is the comment marker).
-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**.  +Now your controllers will be recognized like **Wiimotes** 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. See further down for more information. 
 + 
 +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 ^ ^ Key ^ Wii Function ^ Key ^ Wii Function ^ Key ^ Wii Function ^ Key ^ Wii Function ^
Line 65: Line 66:
 |joystick2up| Tilt/Forward|joystick2left|Tilt/Left |joystick2down| Tilt/Down|joystick2right|Tilt/Right | |joystick2up| Tilt/Forward|joystick2left|Tilt/Left |joystick2down| Tilt/Down|joystick2right|Tilt/Right |
  
-But playing with your gamepad in vertical orientation is really crappy ...+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+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 one of the following extensions in the filename, as described below. You need to change the ROM filename, like for example ''New Super Mario Bros.side.iso''.
  
-  * **.side.** - Enables the Wiimote to operate as a **sideways wiimote**. The following changes to the default configuration are enabled:+  * **.side.** - Enables the controller 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 ^ ^ Key ^ Wii Function ^ Key ^ Wii Function ^ Key ^ Wii Function ^ Key ^ Wii Function ^
 |x| Buttons/B|y|Buttons/A |a| Buttons/1|b|Buttons/2 | |x| Buttons/B|y|Buttons/A |a| Buttons/1|b|Buttons/2 |
  
-  * **.cc.** - Enables the Wiimote to operate as a **classic controller**. The game must support the classic controller.  The following changes to the default configuration are enabled:+  * **.cc.** - Enables the controller to operate as a **classic controller**. The game must support the classic controller. The following changes to the default configuration are enabled:
  
 ^ Key ^ Wii Function ^ Key ^ Wii Function ^ Key ^ Wii Function ^ Key ^ Wii Function ^ ^ Key ^ Wii Function ^ Key ^ Wii Function ^ Key ^ Wii Function ^ Key ^ Wii Function ^
Line 83: Line 84:
 |joystick1up|Classic/Left Stick/Up|joystick1down|Classic/Left Stick/Left|joystick2up|Classic/Right Stick/Up|joystick2left|Classic/Right Stick/Left| |joystick1up|Classic/Left Stick/Up|joystick1down|Classic/Left Stick/Left|joystick2up|Classic/Right Stick/Up|joystick2left|Classic/Right Stick/Left|
  
-  * **.lr.** - Enables the Wiimote to operate with the left joystick representing the function represented by and the right joystick functioning as represented by r.  The options are as follows: +  * **.XX.** - Enables the controller to operate with the left joystick representing the function represented by first character and the right joystick functioning as represented by the second.  The options are as follows:
-  ^ i - infrared ^ s - swing ^ t - tilt ^ n - nunchuk +
-   +
-  +
  
-NEW : From the **5.26+ (beta 14/04/2020)** you can now **SHAKE** in game with **L2** Key, for exemple to play New Super Mario World.+^ Code ^ Function ^Description ^ 
 +|i| infrared|Infrared Options.  In this option, the selected joystick will act as if you were moving the infrared around| 
 +|s| swing|In this option, the selected joystick will act as if you were swinging it in the direction you're pushing the joystick| 
 +|t| tilt|In this option, the selected joystick will act as if you were tilting it in the direction you're pushing the joystick| 
 +|n| nunchuk|In this option, the selected joystick will act as the joystick on the nunchuk and l2 = C and r2 = Z| 
 +  
 +  * **Custom** - Additional configuration available on a per-game basis, mapping any of the possible keys to the keymappings in Dolphin. The file name needs to be named the same as the ROM with .cfg added to the end.  For example, to modify ''New Super Mario Bros.iso'', a configuration file could look as follows: 
 + 
 +<code xml| New Super Mario Bros.iso.cfg> 
 +'r2':'Shake/Z' 
 +'pageup':'Tilt/Left' 
 +'pagedown':'Tilt/Right' 
 +'select':'Buttons/-' 
 +'start':'Buttons/+' 
 +</code> 
 +  
 +**NEW:** From the **5.26+ (beta 14/04/2020)** you can now **SHAKE** in game with **L2** Key, for example to play New Super Mario World while using **.side.** Wiimote orientation.
  
 ==== Games list ==== ==== Games list ====
  • emulators/wii.txt
  • Last modified: 6 days ago
  • by gammelstulle