Skip to content

UniversalSuperBox/drc-sim

 
 

Repository files navigation

DRC Sim Server

Running from source directory

Last tested on Fedora 42

Build wpa_supplicant

cd drc-hostap/wpa_supplicant
cp ../conf/wpa_supplicant.config .config
make "-j$(nproc)" EXTRA_CFLAGS='-Wno-format-truncation'

Backend GUI

  1. Install the dependencies (depends.fedora.txt)
  2. Install Pipenv (pipx install pipenv)
  3. pipenv install -e .
  4. sudo "$(pipenv --venv)/bin/drc-sim-backend" --verbose --wpa-supplicant="$(pwd)/drc-hostap/wpa_supplicant/wpa_supplicant" --wpa-cli="$(pwd)/drc-hostap/wpa_supplicant/wpa_cli"

The GUI doesn't have any cleanup functionality, so it won't re-manage your wifi interface when it's done with it. Use nmcli d se <interface name> managed yes to re-enable NetworkManager functionality.

If you're running the GUI in a container, you'll need to give it some help. Use nmcli d se <interface> managed no to unmanage the interface for it.

Credits

drc-sim (original) by memahaxx

  • The original Python codebase

libdrc documentation by memahaxx

  • Gamepad and Wii U software and hardware details

drc-sim-keyboard by justjake

  • The readme that got me set up initially

Additional Software

wpa_supplicant modified by memahaxx

drc_sim_c drc-sim rewritten in C++

netifaces Python network interfaces library

pexpect Python process interaction library

About

Wii U Gamepad Simulator Backend

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 88.1%
  • Shell 11.6%
  • Dockerfile 0.3%