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
systems:wii [2022/09/22 02:51] – clarity on when to pair wiimote, update quick reference atarisystems:wii [2024/08/06 06:18] (current) – [Native Wiimote using native Bluetooth] make it more obvious that we are not emulating the controls and are using them natively atari
Line 30: Line 30:
 ===== BIOS ===== ===== BIOS =====
  
-No Nintendo Wii emulator in Batocera needs a BIOS file to run.+The libretro version of Dolphin requires its NAND to be stored in ''bios/dolphin-emu/Sys''
 + 
 +The standalone version will generate the needed files on first launch.
  
 ===== ROMs ===== ===== ROMs =====
Line 76: Line 78:
 ^ Settings specific to ''wii'' | ^ Settings specific to ''wii'' |
 | **EMULATE WIIMOTE ''wii.emulatedwiimotes''** | Use your gamepad like a vertical Wiimote in game\\ => Off ''0'', On ''1''. | | **EMULATE WIIMOTE ''wii.emulatedwiimotes''** | Use your gamepad like a vertical Wiimote in game\\ => Off ''0'', On ''1''. |
-| **CUSTOMIZE WIIMOTE & GAMEPAD ''wii.controller_mode''** | Emulate a Wiimote Sideway with L2 for Shake and Nunchuk on R-stick\\ => Off ''disabled'', Classic Controller ''cc'', Wiimote Sideway ''side'', Wiimote Sideway + Swing ''is'', Wiimote Sideway + Tilt ''it'', Wiimote Sideway + Nunchuk ''in''. |+| **CUSTOMIZE WIIMOTE & GAMEPAD ''wii.controller_mode''** | Emulate a Wiimote Sideway with L2 for Shake and Nunchuk on R-stick.\\ => Off ''disabled'', Classic Controller ''cc'', Wiimote Sideway ''side'', Wiimote Sideway + Swing ''is'', Wiimote Sideway + Tilt ''it'', Wiimote Sideway + Nunchuk ''in''. [[systems:wii:wiimoteprofiles|More details on its own page.]] | 
 +| **SHOW LIGHT GUN CROSSHAIRS ''wii.dolphin-lightgun-hide-crosshair''** | Show a crosshair for the Wiimote's emulated IR sensor.\\ => Off ''0'', On ''1''. |
  
 ==== RetroArch ==== ==== RetroArch ====
Line 84: Line 87:
 === libretro: Dolphin === === libretro: Dolphin ===
  
-There's nothing here to configure. Use RetroArch's Quick Menu for now.+Standardized features for this core: ''wii.autosave''
  
 +^ ES setting name ''batocera.conf_key'' ^ Description => ES option ''key_value'' ^
 +^ Settings that apply to all systems this core supports ||
 +| **RENDERING RESOLUTION ''global.wii_resolution''** | Enhancement. Increase the rendering resolution. Makes 3D objects clearer.\\ => 1x native (640x528) ''x1 (640 x 528)'', 2x 720p (1280x1056) ''x2 (1280 x 1056)'', 3x 1080p (1920x1584) ''x3 (1920 x 1584)'', 4x 1440p (2560x2112) ''x4 (2560 x 2112)'', 5x (3200x2640) ''x5 (3200 x 2640)'', 6x 4K (3840x3168) ''x6 (3840 x 3168)''. |
 +| **LANGUAGE ''global.wii_language''** | Wii NAND's language setting.\\ => English ''English'', French ''French'', German ''German'', Spanish ''Spanish'', Italian ''Italian'', Dutch ''Dutch'', Japanese ''Japanese'', Simplified Chinese ''Simplified Chinese'', Traditional Chinese ''Traditional Chinese'', Korean ''Korean''. |
 +| **WIDESCREEN HACK (GLITCHY) ''global.wii_widescreen_hack''** | Enhancement. Only works with a 16/9 ratio and bezels disabled.\\ => Off ''disabled'', On ''enabled''. |
 +| **UBERSHADERS ''global.wii_shader_mode''** | May not work well on all hardware. Hybrid is preferred, where supported.\\ => No Ubershaders ''sync'', Exclusive Ubershaders ''sync UberShaders'', Hybrid Ubershaders ''a-sync UberShaders'', Skip Drawing ''a-sync Skip Rendering''. |
 +| **ANISOTROPIC FILTERING ''global.wii_anisotropic''** | Improves clarity of distant textures.\\ => Off ''1x'', 2x ''2x'', 4x ''4x'', 8x ''8x'', 16x ''16x''. |
 +^ Settings specific to wii ||
 +| **WII TV MODE ''wii.wii_widescreen''** | Wii NAND's aspect ratio setting. Most games support both ratios natively.\\ => 16:9 ''enabled'', 4:3 ''disabled''. |
 +| **CONTROLLER 1 TYPE ''wii.controller1_wii''** | Emulate a Wiimote Sideway with L2 for Shake and Nunchuk on R-stick.\\ => WiiMote ''1'', WiiMote Sideways ''513'', WiiMote + Nunchuk ''769'', WiiMote + Classic Controller ''1025'', WiiMote + Classic Controller Pro ''1281'', Real Wiimote ''1536'', GameCube Controller ''1281''. |
 +| **CONTROLLER 2 TYPE ''wii.controller2_wii''** | Emulate a Wiimote Sideway with L2 for Shake and Nunchuk on R-stick.\\ => WiiMote ''1'', WiiMote Sideways ''513'', WiiMote + Nunchuk ''769'', WiiMote + Classic Controller ''1025'', WiiMote + Classic Controller Pro ''1281'', Real Wiimote ''1536'', GameCube Controller ''1281''. |
 +| **CONTROLLER 3 TYPE ''wii.controller3_wii''** | Emulate a Wiimote Sideway with L2 for Shake and Nunchuk on R-stick.\\ => WiiMote ''1'', WiiMote Sideways ''513'', WiiMote + Nunchuk ''769'', WiiMote + Classic Controller ''1025'', WiiMote + Classic Controller Pro ''1281'', Real Wiimote ''1536'', GameCube Controller ''1281''. |
 +| **CONTROLLER 4 TYPE ''wii.controller4_wii''** | Emulate a Wiimote Sideway with L2 for Shake and Nunchuk on R-stick.\\ => WiiMote ''1'', WiiMote Sideways ''513'', WiiMote + Nunchuk ''769'', WiiMote + Classic Controller ''1025'', WiiMote + Classic Controller Pro ''1281'', Real Wiimote ''1536'', GameCube Controller ''1281''. |
 +
 +Further options can be adjusted in RetroArch's Quick Menu ( ''[HOTKEY]'' + {{:wiki:south.png?nolink&20|South button (B SNES)}} in-game).
 ===== Controllers for the Wii ===== ===== Controllers for the Wii =====
  
Line 98: Line 116:
 ==== Native Wiimote using native Bluetooth ==== ==== Native Wiimote using native Bluetooth ====
  
-This is the default configurationNo action needed. When Dolphin is launched, put the Wiimote into pair mode and it will pair.+{{:emulators:wiibar.jpg?250|USB-powered IR LED bar.}} 
 + 
 +We can use the Wiimote as if though it were connected to an original Wii, just instead of the Wii it'the emulated Wii running inside of BatoceraTo do this, the Wiimote must **not** be paired to Batocera while in the EmulationStation menu, only after launching a Wii game using the Dolphin emulator. When Dolphin is launched, put the Wiimote into pair mode and it will pair. That's it. Use the IR bar as you would a normal Wii, place it either at the top or bottom of the TV screen and point at it for the on-screen Wiimote cursor.
  
 This will work for as long as the Bluetooth dongle itself supports communicating with the Wiimote. This will work for as long as the Bluetooth dongle itself supports communicating with the Wiimote.
Line 105: Line 125:
  
 <WRAP center round important> <WRAP center round important>
-This method cannot be used simultaneously with pairing the Wiimote in EmulationStation (the main menu).+This method cannot be used simultaneously with pairing the Wiimote in EmulationStation (the main menu), as that will use the ordinary method of attempting to map the current controller to an emulated GameCube controller (by default)/Wiimote instead of the native interface.
  
 (FIXME unless you choose the "gamepad" option for the wiimote gun settings? Needs confirmation) (FIXME unless you choose the "gamepad" option for the wiimote gun settings? Needs confirmation)
 +
 +It is possible to sync the Wiimote to ES and then to re-sync again after opening Dolphin by using the temporary sync mode (hold ''[1]'' and ''[2]'' on the Wiimote) so it only remembers for that session if you intend on using the Wiimote to play systems other than Wii as well.
 </WRAP> </WRAP>
  
Line 166: Line 188:
 You can now use Bluetooth passthrough with Dolphin after launching the game from Batocera! You can now use Bluetooth passthrough with Dolphin after launching the game from Batocera!
  
-==== Emulated Wiimote/Classic controller with a gamepad ==== +<WRAP center round tip
- +Wiimote profiles can be [[systems:wii:wiimoteprofiles|manually set via Batocera configs]]however it is recommended to just [[:remapping_controls_per_emulator#wii|use Dolphin's sophisticated remapping tools]] and use a custom pad profile instead.
-If you don't have any **Wiimote** controllers 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. +
- +
-<WRAP center round todo+
-There has to be a way to set this option from ES. If notI should code it in.+
 </WRAP> </WRAP>
  
-You can turn this option on by going to advanced system settings for the Nintendo Wii > Emulate Wiimote to "On". You can also manually edit your ''batocera.conf'' file in ''/userdata/system/'' (or ''system'' in the SHARE NFS network drive) and turn on ''wii.emulatedwiimotes=1'' like so: +==== Use of the Skylanders portal with Dolphin'passthrough ====
- +
-<code xml> +
-  ## 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=+
-</code> +
- +
-Removing the ''#'' at the line start will 'uncomment' the line. +
- +
-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 ^ +
-|x| Buttons/2|y|Buttons/1 |a| Buttons/B|b|Buttons/A | +
-|l1/pageup| Buttons/-|l2/pagedown|Buttons/+ |select|Buttons/Home |start| | +
-|joystick1up| IR/Up|joystick1left|IR/Left |joystick1down| IR/Down|joystick1right|IR/Right | +
-|joystick2up| Tilt/Forward|joystick2left|Tilt/Left |joystick2down| Tilt/Down|joystick2right|Tilt/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 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 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 ^ +
-|x| Buttons/B|y|Buttons/A |a| Buttons/1|b|Buttons/2 | +
- +
-  * **.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 ^ +
-|x| Buttons/X|y|Buttons/Y |a| Buttons/A|b|Buttons/B | +
-|select| Buttons/-|start|Buttons/+ |l1/pageup| Triggers/L|r1/pagedown|Triggers/R | +
-|l2| Buttons/ZL|r2|Buttons/ZR ||||| +
-|up| Classic/D-Pad/Up|down|Classic/D-Pad/Down|left|Classic/D-Pad/Left|right|Classic/D-Pad/Right| +
-|joystick1up|Classic/Left Stick/Up|joystick1down|Classic/Left Stick/Left|joystick2up|Classic/Right Stick/Up|joystick2left|Classic/Right Stick/Left| +
- +
-  * **.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: +
- +
-^ 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** - Create an additional CFG file placed in the same directory as the ROM itself to be able to custom configure the controls. The file name needs to be named the same as the ROM with ''.cfg'' added to the end. +
- +
-Available Batocera Retropad controls: +
-  * 'a' +
-  * 'b' +
-  * 'x' +
-  * 'y' +
-  * 'pageup' +
-  * 'pagedown' +
-  * 'l2' +
-  * 'r2' +
-  * 'select' +
-  * 'start' +
-  * 'up' +
-  * 'down' +
-  * 'left' +
-  * 'right' +
-  * 'joystick1up' +
-  * 'joystick1down' +
-  * 'joystick1left' +
-  * 'joystick1right' +
-  * 'joystick2up' +
-  * 'joystick2down' +
-  * 'joystick2left' +
-  * 'joystick2right' +
- +
-Functions are laid out in the ''[<Controller>/]<Input type>/<Input value>'' syntax. If no controller is specified, the Wiimote is assumed. Available functions: +
-^ Controller ^ Button input type ^ Motion input type ^ Stick input type ^ IMU input type ^ +
-| %%'Wiimote/<Buttons|D-Pad|IR|Tilt|Swing>'%% | 'Buttons/A' | 'IR/Up' | 'Main Stick/Up' | 'IMUGyroscope/Pitch Up' | +
-| %%'Nunchuck/<Buttons|Stick>'%% | 'Buttons/B' | 'IR/Down' | 'Main Stick/Down' | 'IMUGyroscope/Pitch Down' | +
-| %%'Classic/<Buttons|Left Stick|Right Stick>'%% | 'Buttons/1' | 'IR/Left' | 'Main Stick/Left' | 'IMUGyroscope/Roll Left' | +
-| | 'Buttons/2' | 'IR/Right' | 'Main Stick/Right' | 'IMUGyroscope/Roll Right' | +
-| | 'Buttons/-' | 'Tilt/Forward' | 'Left Stick/Up' | 'IMUGyroscope/Yaw Left' | +
-| | 'Buttons/+' | 'Tilt/FIXME' | 'Left Stick/Down' | 'IMUGyroscope/Yaw Right' | +
-| | 'Buttons/Home' | 'Tilt/Left' | 'Left Stick/Left' | 'IMUIR/Recenter'+
-| | 'D-Pad/Up' | 'Tilt/Right' | 'Left Stick/Right' | 'IMUAccelerometer/Left'+
-| | 'D-Pad/Down' | 'Swing/Up' | 'Right Stick/Up' | 'IMUAccelerometer/Right'+
-| | 'D-Pad/Left' | 'Swing/Down' | 'Right Stick/Down' | 'IMUAccelerometer/Forward'+
-| | 'D-Pad/Right' | 'Swing/Left' | 'Right Stick/Left' | 'IMUAccelerometer/Backward'+
-| | 'Buttons/Hotkey' | 'Swing/Right' | 'Right Stick/Right' | 'IMUAccelerometer/Up'+
-| | 'Buttons/C' | 'Shake/X' | 'Stick/Up' | 'IMUAccelerometer/Down'+
-| | 'Buttons/Z' | 'Shake/Y' | 'Stick/Down' | | +
-| | | 'Shake/Z' | 'Stick/Left' | | +
-| | | | 'Stick/Right' | | +
- +
-More syntax can be found on [[https://wiki.dolphin-emu.org/index.php?title=GameINI_(Controller_Settings)|Dolphin wiki's controller INI page]].+
  
-For example, to create a custom controller profile for ''New Super Mario Bros.iso'' in ''/userdata/roms/wii'', the following file should be placed in ''/userdata/roms/wii'':+Navigate to ''[F1]'' **File manager** -> **Applications** -> **dolphin-emuconfig**
  
-<code xml| New Super Mario Bros.iso.cfg> +Once Dolphin is opened, navigate to **Options** -> **Configuration** -> **Wii** and then add the portal to the **Whitelisted USB Passthrough Devices**.
-'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.+
  
-==== Classic Controller compatible games list ====+=== Batocera v35 and below ===
  
-The following Wii games are compatible with the Classic Controller, and you can play them with this patch.+Batocera v35 and below requires a new udev rule to be intsalled to function correctly. Save this file to ''/userdata/rules.d/51-gcadapter.rules'':
  
-<code+<file 51-gcadapter.rules
-Blast Works: Build Trade Destroy +SUBSYSTEM=="usb"ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1430", ATTRS{idProduct}=="0150", MODE="0666" 
-Bleach: Versus Crusade +</file>
-Call of Duty: Black Ops +
-Call of Duty: Modern Warfare 3 +
-Castlevania Judgment +
-Dokapon Kingdom +
-Dragon Ball Z: Budokai Tenkaichi 2 +
-Dragon Ball Z: Budokai Tenkaichi 3 +
-Fifa 09 +
-Fifa 10 +
-Fifa 15 +
-Final Fantasy Crystal Chronicles: Echoes of Time +
-Fire Emblem: Radiant Dawn +
-Geometry Wars Galaxies +
-G.I. Joe: The Rise of Cobra +
-Grim Adventures of Billy & MandyThe +
-Guilty Gear XX Accent Core +
-Harvest Moon: Tree of Tranquility +
-Kirby's Dream Collection +
-Mario Kart Wii +
-MLB Power Pros +
-MLB Power Pros 2008 +
-Mortal Kombat: Armageddon +
-Monster Hunter Tri +
-Muramasa: The Demon Blade +
-MySims Racing +
-Naruto: Clash of Ninja Revolution 1 +
-Naruto Shippuden: Clash of Ninja Revolution 3 +
-Naruto Shippuuden Gekitou! Ninja Taisen EX +
-Naruto Shippuuden Gekitou! Ninja Taisen EX2 +
-Naruto Shippuuden Gekitou! Ninja Taisen EX3 +
-Need for Speed: Undercover +
-Newer Super Mario Bros Wii [HACK] +
-NHL 2k10 +
-NiGHTS: Journey of Dreams +
-No More Heroes 2 +
-Opoona +
-Pro Evolution Soccer 2009 +
-Rampage: Total Destruction +
-Resident Evil Archives: Resident Evil +
-Resident Evil 4 Wii Edition +
-Rune Factory Frontier +
-Samurai Shodown Anthology +
-Sengoku Basara: Samurai Heroes +
-SNK Arcade Classics Vol. 1 +
-Sonic Colors +
-Sonic Unleashed +
-SpongeBob's Truth or Square +
-Super Mario Kart Wii +
-Super Smash Bros. Brawl +
-Taiko No Tatsujin +
-Tatsunoko vs. Capcom: Cross Generation of Heroes +
-Teenage Mutant Ninja Turtles: Smash-Up +
-Tetris Party Deluxe +
-The Last Story +
-TNA Impact +
-Ultimate Shooting Collection +
-WWE SmackDown vs. Raw 2010 +
-Victorious Boxers Revolution +
-Virtual Console Games +
-Pro Evolution Soccer 2010 ??????? +
-Xenoblade Chronicles +
-Zhu Zhu Pets: Featuring the Wild Bunch +
-</code>+
  
 ==== Emulated GameCube controller with a gamepad ==== ==== Emulated GameCube controller with a gamepad ====
  • systems/wii.1663815075.txt.gz
  • Last modified: 4 years ago
  • by atari