Skip to content

Latest commit

 

History

History
90 lines (77 loc) · 4.28 KB

README.md

File metadata and controls

90 lines (77 loc) · 4.28 KB

fakemote

A Wii cIOS module that fakes Wiimotes from the input of Cronus devices

Features

Supported USB devices

Device Name Vendor Name Vendor ID Product ID
PlayStation 3 Controller Sony Corp. 054c 0268
DualShock 4 [CUH-ZCT1x] Sony Corp. 054c 05c4
DualShock 4 [CUH-ZCT2x] Sony Corp. 054c 09cc
  • DS3 and DS4 support includes LEDs, rumble, and the accelerometer
  • DS4's touchpad is used to emulate the Wiimote IR Camera pointer
  • Both controllers emulate a Wiimote with the Nunchuk and Classic Controller extensions connected. Press L1+L3 to switch between them
  • Three IR pointer emulation modes: direct (touchpad, only for DS4), analog axis relative (move the pointer with the right analog) and analog axis absolute (the pointer is moved proportionally to the right analog starting from the center). Press R1+R3 to switch between them

Installation

  1. Download d2x cIOS Installer for regular Wii/d2x cIOS Installer for vWii and extract it to the SD card
  2. Copy FAKEMOTE.app to the d2x cIOS Installer directory that contains the modules of the cIOS version you want to install. For example, for d2x-v10-beta52 copy FAKEMOTE.app to sd:/apps/d2x-cIOS-Installer-Wii/v10/beta52/d2x-v10-beta52
  3. Open d2x cIOS Installer's ciosmaps.xml (located at sd:/apps/d2x-cIOS-Installer-Wii/ciosmaps.xml) and do the following:
    1. Locate the line containing the base IOS version you want to install. It starts with <base ios=. For base IOS 57:
      <base ios="57" version="5918" contentscount="26" modulescount="7">
    2. Increase modulescount and contentscount by 1. For base IOS 57:
      <base ios="57" version="5918" contentscount="27" modulescount="8">
    3. Add a <content> entry for FAKEMOTEafter the last <content module>. For base IOS 57:
      <content id="0x24" module="FAKEMOTE" tmdmoduleid="-1"/>
  4. Run d2x cIOS Installer and install the cIOS

Usage

  • You can install Priiloader and change the IOS slot to use when running System Menu and disc games:
  • You can configure your USB loader to specify the IOS slot to use when running the loader and/or games

Notes

  • This has only been tested with base IOS 57 and 58
  • Use base IOS 58 to have compatibility with both USB ports
  • This is still in beta-stage, therefore it might not work as expected

Compilation

1) Install devkitARM
  • Download and install devkitARM
    • Make sure to install the devkitarm-cmake package when using pacman
2) Install stripios
  1. Download stripios's source code from Leseratte's d2xl cIOS
  2. Compile it:
    g++ main.cpp -o stripios
  3. Install it:
    cp stripios $DEVKITPRO/tools/bin
3) Build FAKEMOTE.app
  1. mkdir build && cd build
  2. Configure it with CMake. Two options:
     a. arm-none-eabi-cmake ..
     b. cmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=$DEVKITPRO/cmake/devkitARM.cmake ..
  3. make (or ninja if configured with -G Ninja)
  4. FAKEMOTE.app will be generated

I recommend passing -DCMAKE_COLOR_DIAGNOSTICS:BOOL=TRUE, especially when using Ninja.

Credits

Disclaimer

THIS APPLICATION COMES WITH NO WARRANTY AT ALL, NEITHER EXPRESSED NOR IMPLIED.
NO ONE BUT YOURSELF IS RESPONSIBLE FOR ANY DAMAGE TO YOUR WII CONSOLE BECAUSE OF A IMPROPER USAGE OF THIS SOFTWARE.