Author Topic: speaking of Wii hacking...  (Read 6435 times)

Offline afreak

  • Area codes I have had numbers to: 604. 780, 778, 403, 250, 206, 360, 643
  • Elite Cactus Squad
  • Cactus Zombie
  • *****
  • Posts: 367
  • 1337 13V3L: +44/-36
  • Also known as "Alberta"
Re: speaking of Wii hacking...
« Reply #15 on: February 23, 2007, 06:37:42 AM »
Makes me glad to own a Mac. :)

Offline trevelyn

  • Administrator
  • Elite Cactus Squad
  • Ninja Phone Loser
  • *****
  • Posts: 1687
  • 1337 13V3L: +183/-22
  • He likes cans and taking pictures in cans!
    • WeakNet Labs
Re: speaking of Wii hacking...
« Reply #16 on: February 23, 2007, 12:18:28 PM »
splynt0r: just buy a $15 bluetooth dongle, download WiinRemote, and follow my directions to make a Sensor bar. (im making a cool ass lookin one for people who wanna play using a PC, with a regular monitor. but same things apply, DO IT!!1 (it just wont be all white and sexy looking ;) )

Offline splynt0r

  • PLA Corporate Drone
  • *****
  • Posts: 415
  • 1337 13V3L: +19/-10
  • Rip. Sample. Mash. Share
Re: speaking of Wii hacking...
« Reply #17 on: February 23, 2007, 04:06:22 PM »
Yeah I would do but I'm a proud Ubuntu user and DarwiinRemote doesn't exist for Linux (or I can't find it again)...

Offline M-26-7

  • Skinniest Member of the PLA
  • PLA Junkie
  • *****
  • Posts: 811
  • 1337 13V3L: +40/-61
Re: speaking of Wii hacking...
« Reply #18 on: February 23, 2007, 07:07:40 PM »
I'm more of a kubuntu man myself, although I have both.

Offline trevelyn

  • Administrator
  • Elite Cactus Squad
  • Ninja Phone Loser
  • *****
  • Posts: 1687
  • 1337 13V3L: +183/-22
  • He likes cans and taking pictures in cans!
    • WeakNet Labs
Re: speaking of Wii hacking...
« Reply #19 on: March 24, 2007, 12:12:55 PM »
 :) damn this was hard..

Ubuntu is cool and all, but getting the right dependencies from (working) repositories, is sometimes a pain in the ass.
here goes how to use your Wii Remote with your MacBook running Ubuntu 2.6.17 kernel.

first step make sure you have a built in bluetooth adapter (Apple might have ripped you off! My own mediocre attempt at humor has been highly amusing to myself.!)

Quote
root@Bell-Mobile:~#hcitool dev
should see something like this:
Quote
Devices:
        hci0    00:17:F2:AA:F7:68
trevelyn@Bell-Mobile:~$

Now if you don't see it, you may need to get bluez tools with apt-get, but EVERY ubuntu-kubuntu install i have done has automatically found and configured the bluetooth adapter.

now download the cwiid (wiimote app) from here:
Quote
trevelyn@Bell-Mobile:~$mkdir /wiimote
trevelyn@Bell-Mobile:~$cd /wiimote
trevelyn@Bell-Mobile:~$wget http://abstrakraft.org/cwiid/downloads/cwiid-0.5.02.tgz

now unzip it!
Quote
trevelyn@Bell-Mobile:~$tar vzxf cwiid-0.5.02.tgz
now, if you ./configure you might see some errors, like you need <dep0>,
then run
Quote
trevelyn@Bell-Mobile:~$apt-get install <dep0>
then, run  ./configure again and you will see that you need yet another
dependency <dep1> this one also was gettable from my list of repositories (see below)
Quote
trevelyn@Bell-Mobile:~$apt-get install <dep1>
note please change the <stuff here> with the actual package name, i.e. if it says you need h0h0.no
then do ((trevelyn@Bell-Mobile:~$apt-get install h0h0.no)) okie?

then the last one, this one was a pain in the ass to find i had to google like 5 strings in quotes dumped by the configure script to actually find it, it will finally end and say:
Quote
No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
that's assinine, you need a set of lib files that you dont even know what they are??
heres how i got it (FINALLY)
Quote
root@Bell-Mobile:~#apt-get install libgtk2.0-dev
then:
Quote
root@Bell-Mobile:~#apt-get install libgtk1.2-dev
then run the configure script with:
Quote
root@Bell-Mobile:~#./configure
then make and make install:
Quote
root@Bell-Mobile:~#make
Quote
root@Bell-Mobile:~#make install
then it's over.. you did it! sike, there will be a cool error once you actually figure out wtf the actual program is called in your usr/bin/ directory!  The program is called wmgui btw
Quote
root@Bell-Mobile:~#wmgui
wmgui: error while loading shared libraries: libwiimote.so.0: cannot open shared object file: No such file or directory
wow wtf does THAT mean?? well you have to make a symbolic link with "ln" like this:
Quote
root@Bell-Mobile:~# ln -s /usr/local/lib/libwiimote.so.0.1 /usr/lib/libwiimote.so.0
then Poof! it works. open an xterm and do:
Quote
root@Bell-Mobile:~# wmgui

Hope this helps someone somewhere in the inet. :) - trev

list of depositories:

Quote


root@Bell-Mobile:/home/trevelyn# cat /etc/apt/sources.list

deb http://us.archive.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ edgy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ edgy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
 deb http://us.archive.ubuntu.com/ubuntu/ edgy universe
 deb-src http://us.archive.ubuntu.com/ubuntu/ edgy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
 deb http://us.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
 deb-src http://us.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu edgy-security main restricted
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted
 deb http://security.ubuntu.com/ubuntu edgy-security universe
 deb-src http://security.ubuntu.com/ubuntu edgy-security universe
deb http://javadesktop.org/lg3d/debian stable contrib
deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

deb http://ubuntu-backports.mirrormax.net breezy-extras main restricted universe multiverse

#deb http://packages.freecontrib.org/ubuntu/plf breezy free non-free
#deb-src http://packages.freecontrib.org/ubuntu/plf breezy free non-free
deb http://archive.ubuntu.com/ubuntu/ edgy universe multiverse
deb http://bluez.sourceforge.net/download/debian/ ./
root@Bell-Mobile:/home/trevelyn#

pics:
here's me with the application opened up:

go to file and "connect" then press 1+2 simultaneously and click okay
as the wii remote LED's blink:

here's me pressing the "up" button notice the change in colour:

click on "settings" and "acc" then you will see the movement sensors
feeding data via bluetooth to your laptop :)

Then if you create a handy dandy $3USD IR sensor bar from my last post:
http://zombie.el.cx/bbs/index.php?topic=9.0
then you can use The IR to move around the screen. Mine was upstairs
in my computer room atm, so i just pointed it at the lights above me:


Next tutorial: keymapping the wiimote with linux to play ZSNES games :)
Quote
root@Bell-Mobile:~#apt-get install zsnes

Offline splynt0r

  • PLA Corporate Drone
  • *****
  • Posts: 415
  • 1337 13V3L: +19/-10
  • Rip. Sample. Mash. Share
Re: speaking of Wii hacking...
« Reply #20 on: March 24, 2007, 12:18:15 PM »
Ahh, Well that has me screwed at step two, I don't have a bluetooth adapter xD

Offline trevelyn

  • Administrator
  • Elite Cactus Squad
  • Ninja Phone Loser
  • *****
  • Posts: 1687
  • 1337 13V3L: +183/-22
  • He likes cans and taking pictures in cans!
    • WeakNet Labs
Re: speaking of Wii hacking...
« Reply #21 on: March 24, 2007, 02:13:16 PM »
gosh, i love Ubuntu! :D

Offline Sidepocket

  • Phone Phreaker Newbs Pwn
  • PLA South American Ambassador
  • *****
  • Posts: 536
  • 1337 13V3L: +33/-22
    • http://sidepocket_pro.livejournal.com/
Re: speaking of Wii hacking...
« Reply #22 on: March 26, 2007, 07:42:16 AM »
<a href="http://www.youtube.com/v/g8epujddQTc&rel=1" target="_blank">http://www.youtube.com/v/g8epujddQTc&rel=1</a>

There's a start.  ;D

Offline trevelyn

  • Administrator
  • Elite Cactus Squad
  • Ninja Phone Loser
  • *****
  • Posts: 1687
  • 1337 13V3L: +183/-22
  • He likes cans and taking pictures in cans!
    • WeakNet Labs
Re: speaking of Wii hacking...
« Reply #23 on: March 27, 2007, 07:19:01 AM »
that's too crazy, i wouldnt do that! :S