WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Extracting Miis
Goto page Previous  1, 2
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck
View previous topic :: View next topic  
Author Message
WDML



Joined: 15 Dec 2006
Posts: 6

Digg It
PostPosted: Sat Dec 16, 2006 11:34 pm    Post subject:

CarlKenner wrote:
Cool ! Can you tell me what change you needed to make for that? GlovePIE users would be very grateful.


Looks like you may have figured it out, but here's what changed in 0.9.1.

When using the Microsoft stack, it seems that HID_SetOutputReport works, but HID_GetInputReport always returns garbage (without reporting that it failed). To get around this in 0.9.0, WDML used SetOutputReport to send reports to the Wiimote and used ReadFile (on a handle wrapped around the HID device) to read from the Wiimote. Some non-MS stacks don't seem to support SetOutputReport however, so in 0.9.1, SetOutputReport is called and if it fails, WriteFile is used instead to attempt send the report.

It would be nice to know why exactly this support is missing in different stacks, but I haven't seen much of any info along those lines.
Back to top
View user's profile Send private message
CarlKenner
Site Admin


Joined: 29 Nov 2006
Posts: 614

Digg It
PostPosted: Sun Dec 17, 2006 7:39 am    Post subject:

HidD_SetOutputReport returns success on BlueSoleil, but doesn't work. So MiiTransfer 0.90 and 0.91 won't work on BlueSoleil. Also HidD_SetOutputReport doesn't exist before Windows XP.

Reading the serial number of the Wiimote on BlueSoleil will reboot the computer, so don't try it without user confirmation.

GlovePIE assumes it is running on BlueSoleil, and uses the WriteFile method, unless the user manually chooses the Bluetooth Fix menu which makes it try SetOutputReport (if it exists) and if that fails then uses WriteFile. The Bluetooth Fix menu stops it working on BlueSoleil.

I think HidD_GetInputReport is designed to request a specific report and you need to fill in the report number first. I haven't tried it.

Does WriteFile fail on MS? or does it succeed and then not work?
Back to top
View user's profile Send private message Send e-mail
WDML



Joined: 15 Dec 2006
Posts: 6

Digg It
PostPosted: Thu Dec 28, 2006 9:42 pm    Post subject:

I just installed bluesoleil to see what's going wrong, but MiiTransfer 0.9.1 works fine. It does print a garbled string for the device name, but reading and writing still work as normal, and reading the device serial isn't causing a BSODs (though it did when I tried running an HID sample application that reads the serial).

Are there still problems with bluesoleil? The version I tried is the downloadable trial version, not the bundled version. Could it be coming down to the BT hardware that is used with bluesoleil?
Back to top
View user's profile Send private message
WDML



Joined: 15 Dec 2006
Posts: 6

Digg It
PostPosted: Thu Dec 28, 2006 9:49 pm    Post subject:

I take that back, I had forgotten that the version of MiiTransfer I have locally is not 0.9.1, but a more recent version modified to only work on Bluesoleil. Well, it does that, but it doesn't work on the MS stack anymore.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group