How to play Wii game with a real wiimote on Ubuntu?

Source: Internet
Author: User

This is a handwritten log that I wrote when I used the Wii over the past few days. I hope to give you some reference for playing the Wii game on Ubuntu:

* How to play Wii game with a real wiimote on Ubuntu?

** First, you need a Bluetooth adapter. Buy one.

** Second, you should install some packages.

* ** STEP 0 install some package:

Libblustm2( libblustmth3)

Bluez-utils

Original-awk

Bison

Flex

Libbluetooth2-dev (libbluttooth-Dev)

Autoconf

Mouseemu

Libgtk2.0-Dev

Wminput

Wmgui

Lswm

Libwiimote-0.4

Libwiimote-Dev

Now you can connect your wiimote with PC by bluetooth. In terminal, type: lswm

Then press 1 + 2 on your wiimote, the Bluetooth address will appear in terminal.

That means your wiimote has been connected with your PC.

The wmgui will shou you a few message about the wiimote and nunchuk.

* ** Step 1 install doldolphin

* *** Step 1.0 install the dependencies:

Subversion

Cmake

G ++

Wx2.8-headers

Libwxbase2.8-Dev

Libwxgtk2.8-Dev

Libgtk2.0-Dev

NVIDIA-Cg-Toolkit

Libbluetooth-Dev (optional, for real wiimotes)

Libxrandroid-Dev (optional, for switching desktop resolution in fullscreen mode)

Libxext-Dev

Libreadline-Dev

Libasound-Dev (optional, for ALSA sound backend)

Libpulse-Dev (optional, for pulseaudio sound backend)

Libao-Dev (optional, for Ao sound backend)

Libopenal-Dev (optional, for openal sound backend)

Libavcodec-Dev (optional, for dumping frames in AVI format)

Libavformat-Dev (optional, for dumping frames in AVI format)

Libswscale-Dev (optional, for dumping frames in AVI format)

Libglew1.5-Dev (optional, if not found will be built statically)

The liblzo2-dev (optional, if not found will be built statically)

Libsdl1.2-Dev (optional, if not found will be built statically)

Libsoil-Dev (optional, if not found will be built statically)

Libsfml-Dev (optional, if not found will be built statically)
* *** Step 1.1 install doldolphin

On my PC, only the version 4883 can recognizes the real wiimote.

SVN checkout http://dolphin-emu.googlecode.com/svn/trunk/-r 4883 doldolphin-EMU-read-only

CD doldolphin-EMU-read-only (while the r4883 doesn't have cmakelists.txt file, there is a sconstruct file. So you can use scons instead of cmake .)

Scons flavor = release

After building, then you can start doldolphin which maybe in the "binary" directory.

** Now you can play Wii game with doldolphin. Have fun!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.