Skip to content

DolphinSettings

Eric Zhang edited this page Jun 30, 2021 · 3 revisions

Instead of configuring individual mappings manually, you can load the following settings optimized for most UDPWii-capable apps. Last tested on Dolphin 5.0-14344.

Make sure Dolphin is closed, then locate your Dolphin Configs directory. For Windows, it should be %USERPROFILE%\Documents\Dolphin Emulator\Config. Make a copy of the files inside it (since next steps involves overwriting settings). Replace certain files' contents with the snipplets below.

DSUClient.ini - Enables DSU client feature

[Server]
Enabled = True
IPAddress = 127.0.0.1
Entries = UDPWiiHook:127.0.0.1:26760;

WiimoteNew.ini - Control mapping

[Wiimote1]
Device = DSUClient/0/UDPWiiHook
Buttons/A = Circle
Buttons/B = Cross
Buttons/1 = Triangle
Buttons/2 = Square
Buttons/- = `L3`
Buttons/+ = `R3`
Buttons/Home = Options
D-Pad/Up = `Pad N`
D-Pad/Down = `Pad S`
D-Pad/Left = `Pad W`
D-Pad/Right = `Pad E`
Source = 1
IMUAccelerometer/Up = `Accel Up`
IMUAccelerometer/Down = `Accel Down`
IMUAccelerometer/Left = `Accel Left`
IMUAccelerometer/Right = `Accel Right`
IMUAccelerometer/Forward = `Accel Forward`
IMUAccelerometer/Backward = `Accel Backward`
IMUGyroscope/Pitch Up = `Gyro Pitch Up`
IMUGyroscope/Pitch Down = `Gyro Pitch Down`
IMUGyroscope/Roll Left = `Gyro Roll Left`
IMUGyroscope/Roll Right = `Gyro Roll Right`
IMUGyroscope/Yaw Left = `Gyro Yaw Left`
IMUGyroscope/Yaw Right = `Gyro Yaw Right`
IR/Up = `Touch Y+`
IR/Down = `Touch Y-`
IR/Left = `Touch X-`
IR/Right = `Touch X+`
IMUIR/Enabled = False

These are the settings for slot 1. If you need more Wiimotes, paste the whole section again and change the numberings accordingly:

[Wiimote1]
Device = DSUClient/0/UDPWiiHook
# ...

[Wiimote2]
Device = DSUClient/1/UDPWiiHook
# ...

[Wiimote3]
Device = DSUClient/2/UDPWiiHook
# ...

[Wiimote4]
Device = DSUClient/3/UDPWiiHook
# ...

Alternate config (Classic Controller emulation)

By utilizing the otherwise unused button "SK" ("Share" on DSU side) as a toggle switch, we can turn a sideways Wiimote into a Classic Controller and enjoy some Virtual Console games. Note that you need UDPMote v1.1.2+ for this to work, and since the inputs are incomplete, sticks and trigger buttons are not emulated.

[Wiimote1]
Device = DSUClient/0/UDPWiiHook
Buttons/A = Circle & !$ModeCC
Buttons/B = Cross & !$ModeCC
Buttons/1 = Triangle & !$ModeCC
Buttons/2 = Square & !$ModeCC
Buttons/- = `L3` & !$ModeCC
Buttons/+ = `R3` & !$ModeCC
Buttons/Home = Options & !$ModeCC
D-Pad/Up = `Pad N` & !$ModeCC
D-Pad/Down = `Pad S` & !$ModeCC
D-Pad/Left = `Pad W` & !$ModeCC
D-Pad/Right = `Pad E` & !$ModeCC
Source = 1
IMUAccelerometer/Up = `Accel Up`
IMUAccelerometer/Down = `Accel Down`
IMUAccelerometer/Left = `Accel Left`
IMUAccelerometer/Right = `Accel Right`
IMUAccelerometer/Forward = `Accel Forward`
IMUAccelerometer/Backward = `Accel Backward`
IMUGyroscope/Pitch Up = `Gyro Pitch Up`
IMUGyroscope/Pitch Down = `Gyro Pitch Down`
IMUGyroscope/Roll Left = `Gyro Roll Left`
IMUGyroscope/Roll Right = `Gyro Roll Right`
IMUGyroscope/Yaw Left = `Gyro Yaw Left`
IMUGyroscope/Yaw Right = `Gyro Yaw Right`
IR/Up = `Touch Y+`
IR/Down = `Touch Y-`
IR/Left = `Touch X-`
IR/Right = `Touch X+`
IMUIR/Enabled = False
Extension = if(($ModeCC = toggle(Share)), 2, 0)
Classic/D-Pad/Up = `Pad E` & $ModeCC
Classic/D-Pad/Down = `Pad W` & $ModeCC
Classic/D-Pad/Left = `Pad N` & $ModeCC
Classic/D-Pad/Right = `Pad S` & $ModeCC
Classic/Buttons/A = Circle & $ModeCC
Classic/Buttons/B = Cross & $ModeCC
Classic/Buttons/X = Triangle & $ModeCC
Classic/Buttons/Y = Square & $ModeCC
Classic/Buttons/- = `L3` & $ModeCC
Classic/Buttons/+ = `R3` & $ModeCC
Classic/Buttons/Home = Options & $ModeCC