Previous Blog Next Blog
Prev/Next Blog
by date

Wii Remote Beta Binary

Wii Remote Beta Binary
Name:Rob Terrell 
Date Posted:Dec 21, 2006
Rating:4.0 out of 5
Public:YES
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Rob Terrell

Blog post
The Wii remote code is getting close... close enough to give you something to play with, at least! I call it "TGWii". Here's my clever icon:



I've packaged up a (mostly stock) TGE binary with starter.fps and the "killer kork" resource. I'm hoping a few people will give it a try and let me know how well it works / what kind of bugs they find. Download the huge binary from here (41 MB, Mac OSX only) if you're interested. Obviously you'll need a Mac with bluetooth support and a Wii remote.

I'm very curious about discovery rates -- how many times you have to press the sync button to get connected. That's something I'd like to improve.


New stuff:

- Rumble support
- Exposed Wiimote functions to TorqueScript (i.e. wiiRumble() )
- Calls TorqueScript handlers on certain Wiimote events (i.e. onWiiDisconnect() )
- Reordering of initialization stuff, to hopefully improve odds of turning on the IR mode (not 100% for me yet)

Notes:

1. Mac only for now. I have started refactoring the code to make it simple to port, but I haven't done any porting work yet.

2. When the app starts, press the red sync button. If the connection is successfully made, the Wiimote will give a short (.2 sec) rumble. If the rumble goes on and on, hit the red sync button again. You can also press the "1" and "2" buttons simultaneously, but sometimes I get better luck with the red button for IR mode.

3. It defaults to tilt sensor mode, so if you don't have an IR bar, you can still give it a try. If you do have an IR bar, press "2" on the remote to turn IR mode on.

4. Press "A" to move forward. Press "B" to fire. "B" maps to mouse1, so you can also use it to click on GUI buttons.

Recent Blog Posts
List:08/09/08 - iPhone games!
04/08/07 - TGWii Code
12/21/06 - Wii Remote Beta Binary
12/18/06 - Wii Remote + IR Sensor Bar
12/15/06 - Wii Remote Control in TGE is Working

Submit ResourceSubmit your own resources!

Aaron e   (Dec 21, 2006 at 02:43 GMT)
Cool. Thank you for posting. Looks like the link has a problem though. Here it is again . . .

stinkbot.com/TGWii.zip

If you need a temporary mirror, let me know.

Matthew Spindle Harris   (Dec 21, 2006 at 03:31 GMT)
Hopefully I am getting a Wiimote tonight and I'll check it out on my Mac Book Pro if the Wiimotes are not sold out.

Thomas "Man of Ice" Lund   (Dec 21, 2006 at 06:24 GMT)
Is this based on one of the bluetooth implementations that are on the Nintento fansites?

Seen a few guys play NFS Carbon and similar with it on windows.
Edited on Dec 21, 2006 06:24 GMT

Matthew Spindle Harris   (Dec 21, 2006 at 08:36 GMT)
I got the wiimote and my tgb app working together. I have to rotate the wiimote left and right to move the cursor left and right I don't have the sensor bar so I can't do pointing like on the Wii. I am piggybacking the wiimote driver program GlovePIE so I didn't really integrate anything into TGB. Looks like there is a market for laptop sensor bars.

ElementC   (Dec 30, 2006 at 19:30 GMT)   Resource Rating: 5
1. Does your mac have bluetooth built-in, or did you have to buy a dongle?
2. Your Sensor bar is pretty cool... is it possible to power it from USB?
3. Has anyone used GlovePIE to control torque win32 games?
4. Will Nintendo sue our butts if we incorporate this feature with a game we make for windoze/linux/mac?

You are the true master...

Regards,
-E/C

You must be a member and be logged in to either append comments or rate this resource.