Using WiiMotes (and classic controllers) on Windows

After the latest lan-party with some friends, where we played a lot of Rocket League, it dawned on me that this game (and numerous others) is probably a lot easier to play with a game controller instead of the mouse/keyboard combination. And as I have the WiiMote and the Wii Classic Controller lying around, I thought I’d have a go at getting these to work on Windows (as opposed to buying something new).

640px-Wii-Classic-Controller-White

Wii Classic Controller

Windows does recognize the WiiMote as some weird bluetooth device, but not as a functional controller. Some digging turned up HID Wiimote driver, the Bachelor Thesis project of Julian Löhr.
For the installation instructions, please see the site of Julian – they’re pretty detailed and tell you everything you need to know.

As for mapping the output of the driver to something games understand, you’ll need yet another tool: x360ce. This translates whatever output you get from a driver, and makes the game/program in question think there’s an Xbox360 controller attached. For details on how x360ce works, check the github site.

x360ce

x360ce main controller mapping screen

One final remark: to make things properly work, make sure you uncheck “Passthrough” in the advanced tab, otherwise it just doesn’t work. And copy the files of x360ce in the game’s binary directory, so that all the necessary libraries will be found.

Updating Boot Camp to 2.1

For a reason not to be mentioned here, I needed to install Windows XP (legal license) on my Macbook. Easily done, Boot Camp Assistant, install windows, install drivers, the works.

Then I wanted to update to Boot Camp 2.1, to be able to update windows to SP3.

Big nono. Didn’t want to install. Update constantly failed, no matter what.

After some googling, I ran across this post on the MacRumors Forums, which basically says that to install it, you need to open up your registry editor (start -> run -> regedit.exe), do a search for “Boot Camp Services” and locate the key which reads “Language”. Modify it, and change the Decimal value to 1033 (hex 409).

Restart the installer after this, and it’ll install. Go figure.

Strange problems with windows 2k3…

I’m wondering if anyone out there can help me with this one…

On one server, running Windows server 2003 R2 Enterprise x64 Edition, service pack 1, I’m encountering this problem:

The machine often grinds to a halt, responding very slowly, and the event log is filled with:

Application log:

Event Type: Warning
Event Source: PerfOS
Event Category: None
Event ID: 2012
Date: 9/04/2008
Time: 7:41:53
User: N/A
Computer: XXX
Description:
Unable to get system process information from system. The status code
returned is in the first DWORD in the Data section.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: a1 00 00 c0 ¡..À

System log:

Event Type: Error
Event Source: Application Popup
Event Category: None
Event ID: 333
Date: 16/04/2008
Time: 10:36:36
User: N/A
Computer: XXX
Description:
An I/O operation initiated by the Registry failed unrecoverably. The
Registry could not read in, or write out, or flush, one of the files that
contain the system’s image of the Registry.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 00 00 00 00 01 00 6c 00 ……l.
0008: 00 00 00 00 4d 01 00 c0 ….M..À
0010: 00 00 00 00 4d 01 00 c0 ….M..À
0018: 00 00 00 00 00 00 00 00 ……..
0020: 00 00 00 00 00 00 00 00 ……..

The only thing this machine is running is Platform Symphony, GRID computing software. This setup is identical on 4 other machines, which don’t show any problems.

After numerous googles I still haven’t found a reason or a solution. I’ve tried:

  • reinstalling machine – problem comes back (it’s not clear before or after installing the GRID software…
  • increasing pagefile size
  • checked main drive
  • tried UHCleaner – doesn’t seem to work on 64bit
  • checked registry settings – all are identical

Svchost hogging yer cpu

In case you’re using Windows (or Microsoft) Update, you’ll probably have noticed that your PC sometimes grinds to a halt after bootup. Checking with task manager usually reveals that svchost.exe is abusing your CPU, pegging it at 100%.

This thread specifies several solutions that you can try, and for me what helped was:

  • installing KB927891
  • installing Windows Update Agent 3.0 (x86 / x64)
  • cleaning of the SoftwareDistribution folder:
    1. Open a command prompt
    2. net stop wuauserv
    3. Rename Windows\SoftwareDistribution folder to SoftwareDistribution.old
    4. net start wuauserv
    5. Reboot

Doing the combination of these fixes (in this order) finally made svchost behave like it should. Look in the thread for more possible fixes ;)

September in Spain

On tuestday, 20 september I took the plane (yes, I gave it back ;p) once again to spain, to visit Diana :) :)

After a pretty boring flight (but good inflight menu) landing there, taking the cab to the appartment and having a mjummy good home-made pizza (even home-made dough!!), I helped reinstalling Diana’s laptop – new, faster and bigger harddisk. The Windows installer was a bit of a bitch, so we continued on with linux, which was on pretty soon. Putting it to download all the packages for Debian and then to sleep… (bed waterbed-effect without water! :P)

The next day we packed up soonish and drove with Mum off to Rascafria, a little village to the north of Madrid, for the remainder of the week. It was a bit of a boring drive there, and then ofcourse finding the way in the village itself. It’s really a cute and pitoresque village, and it felt like going back a few deccenia in time :P
The house itself was a modern house, nicely built and roomy, with a nice bathroom and kitchen – which is important!
After unpacking all the stuff from the car we took a little stroll into the village, which has a has-been waterstream and so, did a little bit of necessary grocery shopping and then went back to the house, having dinner (pisto with eggs), watching some tv and bed!

On thursday we drove off to Segovia, further up north in Spain. It has a well-kept Roman Aquaduct, and lots of old beautiful buildings. We first got lost in the city centre with the car, finally got out (damn smalls streets!) and parked around 10-mins walk from the centre. Unfortunately it’s a pretty touristic city, but it’s nice nonetheless ;)
For lunch there we had the typical Segovian dish: Cochinillo Asado (Roast Pig), which is made in a coal oven until it’s so tender you can cut it with an eating plate! (which they did, and then trew the plate on the ground so you could see it was a stupid plain old porcelain plate). Verrrrrrry good. As soup we had Sopa Castellana (Castillian soup), which is a sort of broth, with lots of old bread, pieces of meat, olive oil, garlic and egg. Heavy, but good soup.

After lunch we walked around in the city more, looking at the Cathedral and the churches. After that we went back to the car, and drove home – happy and tired ;p Dinner that eve was home-made croquetas! Mjummy!

The next day was a quiet day at home, legs tired and all.. Just watched some tv, read some, overall restful day. We baked an orange cake too, which is like *droooooool* mjummmmmmmmmm….Dinner was stew with baked potatoes, good!

On saturday we went off to Buitrago, to see the Midieval Fair there. Unfortunately I wasn’t feeling too well, and it was too crowded to find a place to eat, so we bought some stuff and went back home. Lunch consisted of meat with pan con aceite (olive-oil bread). Quiet day too, overal. In the eve we had more croquetas, cheese and the bread. After watching some tv we went to bed.

Sunday we had to go back to Madrid, pack up everything in my own suitcase and leave back for Belgium in the early eve. The stays are always too short… but I’m going back next month!

Jan

(ps: pics can be found here)