XWii

Download

XWii 2.8

by Nick W. on May.02, 2009, under Download

This is the first and only release on the new XWii site, so I’m attaching the entire changelog to date.  You can download the XWii source tarball below.  I’m trying to find the time to learn to make .deb packages, but it may be a while.  There are out-of-date packages at GetDeb.

Download: XWii 2.8 Source Tarball (XWii_2.8_source.tar.gz)

How to Build:
cd
make
./start_xwii.py

You must install the following libraries on Ubuntu Jaunty (9.04) in order to compile:

  • libbluetooth-dev
  • libxtst-dev

As well as the SDL/OpenGL libs to get wiiuse to compile.

Changelog:

Version 2.8

# Added ability to treat wii remote tilting as keyboard events with the
following tags:

# [tilt_left]
# [tilt_right]
# [tilt_forward]
# [tilt_back]

Example usage:
[tilt_left]KEYBOARD a[/tilt_left]

Version 2.7

# Fixed XWii so that on startup (not just after a disconnect) it will search
endlessly for a wiimote until it finds one to connect to (used to give up
after 5 seconds).

Version 2.6

# Patched the makefile a couple of times from the 2.5 (my thanks to Joao Pinto
who maintains the XWii package on GetDeb.net for pointing out my errors).

# Fixed a problem where flick events and accelerometer events weren’t working
after a reconnect.

# Fixed a problem where the LED state wasn’t being set back to what was in the
config file after a reconnect.

Version 2.5

# Updated the whole of XWii to use the newest version of wiiuse (0.12) under
the hood.  In particular, the Guitar Hero 3 controller now uses the GH3
specific wiiuse api rather than that Classic Controller handshake hack that it
was using before.

# The above means there are new tags for specifying functionality of the Guitar
Hero 3 Controller controls:

[green][/green] - green fret button
[red][/red] - red fret button
[yellow][/yellow] - yellow fret button
[blue][/blue] - blue fret button
[orange][/orange] - orange fret button
[gtr_plus][/gtr_plus] - guitar plus button
[gtr_minus][/gtr_minus] - guitar minus button
[gtr_stick_up][/gtr_stick_up] - Guitar joystick up
[gtr_stick_down][/gtr_stick_down] - Guitar joystick down
[gtr_stick_left][/gtr_stick_left] - Guitar joystick left
[gtr_stick_right][/gtr_stick_right] - Guitar joystick right
[whammy][/whammy] - Triggered by pressing on the whammy bar

# The bug preventing me from accurately determining what kind of expansion was
plugged in has been resolved so the tags [use_nunchuk] and [use_classic] are
no longer needed (but don’t do anything if they’re still around).

# xwii is now “daemonized”.  If you start xwii with a given profile,
you can now power off the wii remote (by holding the power button) and it will
xwii will not exit, but instead do continuous 5 second searches for a new
connection.  This way, you can start watching a movie using the wii remote as
a remote control, power off the wii remote with the power button then just
reconnect by holding 1 + 2 if you decide you need to pause and pour a coke ;)

Version 2.2.1

# Added a quick and dirty work around for a bug of unknown origin affecting some
systems where, when using the nunchuk, every possible event on the classic
controller was constantly being triggered.  This caused massive (around 10
second) delay on wiimote input.

# The above work around required me to add two new profile tags:
[use_classic]1[/use_classic] # tells XWii to process classic controller
# input

[use_nunchuk]1[/use_nunchuk] # tells XWii to process nunchuk input

I have updated the default profiles in the distribution that use the
classic controller and nunchuk to have these tags, but you will have
to update your own user-created profiles manually.

If a profile doesn’t have the [use_nunchuk] tag set to 1 (for instance),
nunchuk input will not be processed even if some [nc_*] tags are present.

I know this is a bit hackish, this is a work around only.  Its purpose is to
make XWii usable until I have time to do a full port of the XWii base code to
a wiiuse 0.12 backend (which has API functions that should enable me to
determine definitively which expansion is plugged in and eliminate the need for
these new tags).

Version 2.2

# Added support for multi-key keyboard events, example:

[a]KEYBOARD q w[/a]    # presses q and w on the keyboard simultaneously

# Added support for switching on the LEDs with the following tags:

[led1]1[/led1]
[led2]1[/led2]
[led3]1[/led3]
[led4]1[/led4]

Version 2.1

# Added nunchuk support with the following new tags:

nc_stick_up
nc_stick_down
nc_stick_left
nc_stick_right
nc_c
nc_z
nc_flick

# I have been playing Zelda: Ocarina of Time in mupen64 using similar controls
to Twilight Princess on the Wii, using the included nunchuk_n64.xwii profile.

Version 2.0.1

# Added support for the wiiguitar into the wiiuse source code (not in the version
from wiiuse.net at time of writing).

# Added wiiuse source code to distribution archive.  To get Frets on Fire going
with a Wii Guitar is now as simple as:

make
./xwii profiles/guitar.xwii

and then start the game.

# Also, this means that 64bit users don’t have to manually copy their wiiuse.so
and wiiuse.o

Still to Come:
# Nunchuk support
# Better profile switching

Version 2.0

Ported the code base from libcwiid to libwiiuse (wiiuse.net).  My thanks go out to Para for creating this great library.  Wiiuse interprets wiimote input (the hard work), XWii just translates the results from wiiuse into X11 keyboard and mouse events (the easy work).  Para truly deserves most of the credit for the XWii that exists today.

10 Comments more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...