琵琶行论坛

 找回密码
 注册
每日签到论坛FTP使用教学领取红包(开放!)论坛FTP搜索引擎
查看: 22123|回复: 18

WiimoteHook (18.06.16) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...

[复制链接]

该用户从未签到

发表于 2017-10-19 04:11:57 | 显示全部楼层 |阅读模式
本帖最后由 lo585983 于 2018-7-9 20:43 编辑

Official release thread


                               
登录/注册后可看大图


WiimoteHook is software for the Nintendo Wii Remote that has native support for MotionPlus-based motion, the Nunchuk, Rumble, Mouse emulation from Gyroscope data, and XInput output. It can be used in a standalone fashion as an XInput, DS4 or mouse emulation layer but when combined with Cemuhook it provides 6-axes based motion on Cemu games from gyroscope and accelerometer data to the emulated GamePad.

When driving a vanilla Wii Remote without MotionPlus hardware, the software retains basic 3-axes motion via Accelerometer data, which can be useful on games that use it as a "Wii Wheel", like Mario Kart 8.

Various additional options are provided by the software like multiple and custom orientations, DS4 hardware emulation, Rumble custom settings, multiple Wiimotes, and more.


                               
登录/注册后可看大图


How to use it / Requirements:

Step 1: Get the latest WiimoteHook zip from the end of this post and extract the full folder to a location including its subfolders. To extract the folder if you don't have a third-party tool for the job, just right click the .zip and select "Extract All.." or copy & paste the folder to another location after you open the .zip with explorer.

Step 2: Install the emulated gamepads driver included in the WiimoteHook folder by running InstallEmulatedGamepadsDriver(run as admin).bat (right click->run as admin). This is not strictly required but it allows WiimoteHook to produce the Rumble effect and a convenient XInput device for Cemu's Input menu. The feature called "Also use for buttons/axes" of Cemuhook is also supported alternatively. Win 7 machines also need for the XInput feature(ignore these URLs for Win8, 8.1 or 10): the xbox360 driver, and this security update. An alternative manual method to install that driver is posted here (on Win10, this method might require Anniversary Update or newer).

Step 3: Run WiimoteHook.exe to automatically pair with or connect to a Wiimote, deal with its incoming data and launch the motion server and xinput output. Let it run in the background. In case it is required, a .NET 4.5.2 installation link is included in the zip. When WiimoteHook first runs, and provided the controller is properly paired and connected to windows, the Wiimote should be detected by the application (next pic).


                               
登录/注册后可看大图


Note: When WiimoteHook first runs and if it doesn't detect a device it will offer to automatically pair Wiimotes with Windows by pressing "B" and then pressing the red button on the Wiimotes (next pic); this needs standard Bluetooth support (if you're in the market for an adapter, special ones aren't required; a generic CSR 4.0 works well); If the pairing process fails (possibly because of an unsupported bluetooth stack) you can manually pair the device with standard windows tools.  In order to manually pair the device on Windows 10 and avoid the PIN question you might need to “Add” it as a device in “Devices and Printers” and click Next when asked for a Pin, without entering a pin. While Windows 7 or older installations can pair with the new Remote Plus devices, they require the Toshiba bluetooth stack to properly communicate with them.

Note: DolphinBar also works if set to mode 4 and since it always exposes 4 devices, it's normal for the software to detect bogus ones at launch before a real one is detected. If a DolphinBar doesn't work at first, it's reported reconnecting it to another USB port helps.  


                               
登录/注册后可看大图


Step 4: Optionally, configure the application with the settings editor (or leave it at the defaults for a start). Various niche options not described in this thread are in the .config file; the config editor can open with "S" from the console.


                               
登录/注册后可看大图


The software also features a tray icon which can be used to open the configuration, toggle the visibility of the console and exit the application (double-clicking it also toggles the visibility of the console).


                               
登录/注册后可看大图


Step 5: Test motion with PadTest found here (next pic). To do that use the Port set for WiimoteHook (26760 by default), click “Start”, then double-click a detected controller . To test Rumble and XInput support run XInputTest found here. If you had used another motion server in the past that had a custom remote IP in cemuhook's ini you will need to either edit that setting or remove it.


                               
登录/注册后可看大图


Note 1: The Orientation for motion can be changed by pressing "O"/"M" in the console or permanently in the settings editor. Preset orientations include Aiming (default), WiiWheel, Upright, Classic and there's also Manual which depends on the config. To similarly change the orientation of the D-pad buttons press "D" or edit the default in the settings editor.

Note 2: MotionPlus hardware is autocalibrated a few seconds after launch and also manually with "C". The Remote should be on a standstill during calibration. Also a motion client (Cemu or Padtest) expects the remote to be physically at the orientation preferred when they start (pressing "A" on the Remote itself resets the view on Padtest).

Step 6: Have Cemuhook in Cemu.exe’s directory. Use the latest version from here. This step is not strictly required for all features, but it allows Cemu to receive motion data and non-XInput button data.

Step 7: Launch Cemu.exe, select a motion source now detected in the Options->Gamepad motion source menu (next pic). If you elect to not use XInput's binds, you can select “Also use for buttons/axes” (you can reconfigure buttons for that feature in the settings editor). "By Slot" or "By MAC" only affects behavior if there are multiple remotes; by selecting a remote by MAC it will be remembered as the motion source regardless of order of detection (Cemu and Cemuhook currently only support one motion source).


                               
登录/注册后可看大图


Step 8: Choose GamePad as controller 1, and also select "Controller #" under XInput and set up the buttons (or leave them be if you use the "Also use for buttons/axes" feature).

Note: Cemu 1.11.5 onwards added emulated wiimotes but for some games it's mainly for booting and not playing them yet, and Cemuhook does not support motion servers for it.


                               
登录/注册后可看大图


Note: Shaking a Nunchuk or a Remote corresponds to certain buttons. This behavior can be configured or removed in the settings editor.

Step 9: Load a game

Caveats/Notes:

1) Bluetooth pairing can be ..an adventure on Windows. WiimoteHook now has a built-in pairing method but if that fails (possibly because of an unsupported bluetooth stack) you can try standard windows tools for pairing and in some cases physically reconnecting an adapter, rebooting or removing a pairing might help. While Windows 7 or older installations can pair with the new Remote Plus devices, they require the Toshiba bluetooth stack to properly communicate with them; Windows 10's default method asks for a pin, but you can avoid that problem by "adding" it in "devices and printers" and click next when asked for a pin without entering one.

2) DolphinBar works on mode 4 + it's normal to always return 4 devices and few of them to be detected as bogus + reconnecting it to another usb port often helps.

3) Linux is partly supported now that we've added raw Bluetooth HID support in Wine (originally inspired for this software). Details/Instructions are here.

Known bugs or limitations:

1. Cemu 1.11.5 onwards includes emulated wiimotes in input settings but for some games it's mainly for booting and not playing them yet, and Cemuhook does not support motion for it.

2. Multiple Wiimotes are supported, however motion only works for the first Cemu GamePad chosen as the first controller (this is a Cemu and Cemuhook limitation).

3. Static MotionPlus calibration data are not fully reverse engineered. If your MotionPlus gets inverted axes you can switch that with the settings editor.

Changelog:

up to 20180616/080042/beta:
Configuration editor, tray icon, and hide/show the console featuresMouse emulation from MotionPlus gyroscope data
up to 20180601/150417/alpha:
Attempt to better distinguish old VS new MotionPlus hardware based on static calibration data
Considerably better connectivity related to status reports
Better logging in .log.txt

up to 20180311/153427/alpha:
Attempt to a fix for base calibration data and a logging feature
Wine-Linux supportBug fix towards smoother connections, migration to x86 and a printing fixNow any IP is possible for the motion server in the .config for easier access to it from remote computers or via a virtual machine on linux.
Rumbling should work properly again for multiple wiimotes and the text of console should no longer be garbled for multiple wiimotesXInput/DS4 output improvements
WiimoteHook now supports Shaking
The nunchuk should no longer be unable to provide an accelerometer-based motion source if set that way in the .config
DolphinBar should no longer crash with its invalid extra devices, multiple wiimotes should be supported by default, and handling of invalid devices should be better in general.
As a bonus consequence, Pressing O or D in console should no longer crash the application when using a DolphinBar


up to 20180119/174337/alpha:
The discrete MotionPlus extension should now work properly at Nunchuk passthrough mode.
Attempt to support MotionPlus on 0x0306 ID devices betterSolution related to MAC address being returned from the Wiimote but in an invalid formatEmulated analog stick with MotionPlus data (disabled by default, optional setting in the .config)
The true cause of the recent crashes has been identified and fixed

up to 20171201/114212/alpha:
MotionPlus Support. In addition, the new Remote Plus devices no longer require the Toshiba stack
The Analog Stick of some Nunchuks now works again

up to 20171120/064127/alpha:
Better DS4 emulation support (with it, rumble works on software/games that directly support a DS4, use the XInput device for rumble on Cemu. The DS4 device is disabled by default; it can be enabled in the .config)
The Analog Stick of the Nunchuk is now correctly calibrated
Automatic pairing of Wiimotes
Better multi-Wiimote support (motion only works on the first Cemu GamePad (it's a Cemu and Cemuhook limitation)
Nunchuk support (and Hot-plugging Extension support)
Rumble max time bug fixed and its defaults changed
Native XInput support
Rumble code (PWM)
Wacky Analog Stick emulation with IR camera; it's disabled by default.

0.1alpha:
Initial release - "Wii Wheel for Mario Kart 8 edition":
Basic accelerometer and buttons support.
Mainly useful for Mario Kart 8

Crowdfunding:

If you use this software consider a contribution; further crowdfunding/donation info and options are included in a relevant .txt file in the .zip.

Downloads:

https://forum.cemu.info/showthread.php/140

文件名称:WiimoteHook_0.1alpha.zip
文件大小:1.00 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=8067

文件名称:WiimoteHook_20171021_044041_alpha.zip
文件大小:1.00 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=8145

文件名称:WiimoteHook_20171022_095320_alpha.zip
文件大小:1.00 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=8253

文件名称:WiimoteHook_20171026_131720_alpha.zip
文件大小:1.74 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=8362

文件名称:WiimoteHook_20171028_150019_alpha.zip
文件大小:1.74 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=8449

文件名称:WiimoteHook_20171029_084147_alpha.zip
文件大小:1.74 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=8547

文件名称:WiimoteHook_20171102_210502_alpha.zip
文件大小:1.74 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=8628

文件名称:WiimoteHook_20171104_123957_alpha.zip
文件大小:1.74 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=8694

文件名称:WiimoteHook_20171107_004518_alpha.zip
文件大小:1.86 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=8772

文件名称:WiimoteHook_20171110_011509_alpha.zip
文件大小:2.08 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=8917

文件名称:WiimoteHook_20171117_114829_alpha.zip
文件大小:2.08 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=9267

文件名称:WiimoteHook_20171120_064127_alpha.zip
文件大小:2.08 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=9406

文件名称:WiimoteHook_20171204_223823_alpha.zip
文件大小:2.08 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=9940

文件名称:WiimoteHook_20171215_062824_alpha.zip
文件大小:2.08 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=10465

文件名称:WiimoteHook_20180110_092330_alpha.zip
文件大小:2.08 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=11372

文件名称:WiimoteHook_20180123_051138_alpha.zip
文件大小:2.08 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=11781

文件名称:WiimoteHook_20180124_100714_alpha.zip
文件大小:2.08 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=11891

文件名称:WiimoteHook_20180126_063944_alpha.zip
文件大小:2.08 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=11957

文件名称:WiimoteHook_20180616_080042_beta.zip
文件大小:2.09 M
文件地址:http://f.ppxclub.com/plugin.php?id=phpdisk_mini:view&file_id=13427





该用户从未签到

 楼主| 发表于 2017-10-21 13:16:35 | 显示全部楼层
WiimoteHook (17.10.21) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2017-10-25 04:59:51 | 显示全部楼层
WiimoteHook (17.10.22) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2017-10-27 07:28:22 | 显示全部楼层
WiimoteHook (17.10.26) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2017-10-29 07:21:45 | 显示全部楼层
WiimoteHook (17.10.28) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2017-10-31 11:36:47 | 显示全部楼层
WiimoteHook (17.10.29) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2017-11-3 06:24:56 | 显示全部楼层
WiimoteHook (17.11.02) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2017-11-5 01:10:33 | 显示全部楼层
WiimoteHook (17.11.04) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2017-11-8 05:34:16 | 显示全部楼层
WiimoteHook (17.11.07) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2017-11-11 03:06:01 | 显示全部楼层
WiimoteHook (17.11.10) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2017-11-18 08:06:27 | 显示全部楼层
WiimoteHook (17.11.17) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2017-11-23 02:15:07 | 显示全部楼层
WiimoteHook (17.11.20) (Wiimote Cemu support, Wii Wheel for Mario Kart 8 edit...
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|琵琶行论坛 ( 赣ICP备12000882号 )

GMT+8, 2021-11-28 03:39 , Processed in 0.030104 second(s), 9 queries , Gzip On, MemCached On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表