Nintendo Wii

PACMAN FOR CONSOLE ON WII-LINUX

Wii-Linux on Wiibrew.org

First PoC console game with wiimote support on Wii-Linux

The Pacman for Console game was created by Dr. Mike in 2006.

I simply spend some time adding wiimote support for the game.

Pacman for Console with no wiimote support can be downloaded Here.

PACMAN FOR CONSOLE WIIMOTE SUPPORT PATCH

***Note - wiiuse must be installed***

Download Pacman for Console Here

Download pacmanws-patch Here

Extract Pacman for Console in a folder (pacman-1.2)

Patch game with PATCH command (patch -p0 < pacmanws-patch)

skibur@blue:~/Desktop/New Folder$ ls -l

total 12

drwxr-xr-x 3 skibur users 4096 2006-12-13 23:02 pacman-1.2/

-rw-r--r-- 1 skibur users 6542 2008-08-08 11:13 pacmanws-patch

skibur@blue:~/Desktop/New Folder$ patch -p0 < pacmanws-patch

patching file pacman-1.2/ChangeLog

patching file pacman-1.2/Makefile

patching file pacman-1.2/README

patching file pacman-1.2/pacman.c

skibur@blue:~/Desktop/New Folder

TO MAKE IT WORK ON WII-LINUX

http://forum.wiibrew.org/

I only added wiimote support for Pacman for Console game.

I first installed ncurses, bluetooth, gcc, and make. Of course,

also their dependencies as well.

binutils_2.17-3_powerpc.deb

cpp_4.1.1-15_powerpc.deb

cpp-4.1_4.1.1-21_powerpc.deb

gcc_4.1.1-15_powerpc.deb

gcc-4.1_4.1.1-21_powerpc.deb

gcc-4.1-base_4.1.1-21_powerpc.deb

libbluetooth2_3.7-1_powerpc.deb

libbluetooth2-dev_3.7-1_powerpc.deb

libc6_2.3.6.ds1-13etch5_powerpc.deb

libc6-dev_2.3.6.ds1-13etch5_powerpc.deb

libgcc1_4.1.1-21_powerpc.deb

libncurses5_5.5-5_powerpc.deb

libncurses5-dev_5.5-5_powerpc.deb

libssp0_4.1.1-21_powerpc.deb

linux-kernel-headers_2.6.18-7_powerpc.deb

make_3.81-2_powerpc.deb

(Note: I might have installed apps that aren't needed.

I installed them manually. No network adapter.)

I got the latest wiiuse and only compiled/installed wiiuse

and not the examples. I modified the Makefile file.

I then added wiimote support to the pacman game, compiled/installed.

I wanted to show the first console game using the Wiimote on Wii-Linux. :D

NINTENDO WII - HOMEBREW

A dirty way to get started

Instructions are for Linux only

  1. Create an empty folder called devkitPro

  2. Download the lastest DevkitPPC here

  3. Unpack DevkitPPC (make sure it is in its own folder called devkitPPC)

  4. Dowload the lastest Libogc here

  5. Unpack Libogc (make sure it is in its own folder called libogc)

  6. Move folders devkitPPC and libogc into devkitPro

Structure should look like below:

devkitPro

|-- devkitPPC

| |-- base_rules

| |-- bin

| |-- gamecube_rules

| |-- include

| |-- info

| |-- lib

| |-- libexec

| |-- man

| |-- mn10200

| |-- powerpc-gekko

| |-- share

| `-- wii_rules

`-- libogc

|-- include

|-- lib

`-- libogc_license.txt

You have just finished creating the Nintendo Wii Homebrew Devkit

Use the following example to export the devkit to your environment

skibur@blue:~/Desktop$ export DEVKITPRO=/home/skibur/Desktop/devkitPro

skibur@blue:~/Desktop$ export DEVKITPPC=/$DEVKITPRO/devkitPPC

Notice that my devkit is in Desktop folder

***NOTE***

When you restart your computer, you must re-export your devkitPro

If you want it to export on boot, just add the commands on /home/user/.bashrc

If done correctly, you should be able to compile the wii examples from here using the make command in your terminal.

Enjoy

Any questions? Look at my contact page