Emulator Issues #5153
closedAdd IOS passthrough for Wii USB devices.
Added by parlane almost 13 years ago. Updated almost 9 years ago.
0%
Description
Dolphin needs to support pass through for using real wii usb devices. This affects a lot of games. I am at the moment unsure how this can be achieved correctly.
Here are a few:
RFID Platform - Skylanders: Spyro's Adventure (working on this causes activision to send a frivilous C&D [http://brandonw.net/skylanders/activision.pdf])
Microphone - Boogie
Dancemat - Dance Dance Revolution: Hottest Party 1 & 2
Wiispeak - Quite a few games
This issue will serve as the main issue for all issues concerning using the real Wii USB peripherals with Dolphin.
Updated by parlane almost 13 years ago
Issue 5079 has been merged into this issue.
Updated by parlane almost 13 years ago
Issue 4919 has been merged into this issue.
Updated by SandraV92301 almost 13 years ago
source code for skylanders portal of power emulator
Updated by parlane almost 13 years ago
Obviously we can't use that code or spec, and I have to do the work myself with regards to Skylanders. As Activision has claimed under the DMCA that the work brandon did was not "ok". I will do the work in NZ for figuring out how to get the portal working on Dolphin.
Updated by SandraV92301 almost 13 years ago
the emulator For The Portal Of Power itself was not the reason he got a DMCA Notice He Got That Notice Because He Also Hacked A Way For All Skylanders figures To Be Playable
Updated by parlane almost 13 years ago
"highly confidential encryption code" is referenced in the C&D. "unauthorised" decryption is referenced too. Which has nothing to do with faking characters, they are talking about the mere fact that he released details on how to decrypt the data.
Updated by parlane almost 13 years ago
- Status changed from New to Work started
Started on /dev/usb/hid work.
Updated by MofoMan2000 almost 13 years ago
Don't forget Rock Band's instrument controllers.
Updated by sepp256 almost 13 years ago
parlane: I saw your work on the Wii-HID branch. Can you give some instructions for testing it out? I have Wii RB2 drums and a USB mic that I could use to test with.
Updated by peterjdb almost 13 years ago
so what is your current progress on getting skylanders to work?
Updated by parlane almost 13 years ago
It works on Windows. But you have to install the libusb driver specifically for it. I am still working on networking at the same time, so this gets pushed back a bit.
Updated by parlane almost 13 years ago
At the moment for driver install:
Device Driver Installation
•Please use the latest release version.
•The device driver is distributed as a separate package which includes everything to use libusb-win32 for single devices as a normal device driver. The installation of the filter driver is not necessary any more!
•Log in as a user with administrator privileges.
•Download the latest device driver binary package (libusb-win32-device-bin-x.x.x.x.zip or tar.gz).
•Extract it to a temporary directory.
•Use the INFWizard program to generate the INF file (modify the vendor and product IDs, strings etc). Create different inf-files to install different types of devices (devices with different IDs).
You should be able to find the right device in your device manager, once you have created the driver for libusb, go in to device manager, find your portal (can unplug and replug to find differences), right click, update driver, then choose your own which is the one you just created.
This is all temporary, for HID devices anyway. Hoping to port it to real HID lib soon.
Updated by parlane over 12 years ago
I own a WiiSpeak now, which will come after I do HID functionality.
I also today ordered some weird EA Sports Active V2 that has a usb dongle, will be interesting to see what protocol that uses.
Updated by obsidian17 over 12 years ago
Really looking forward to this :) Speaking of the sports active dongle, some guys have bricked theirs by writing random data to it. The common idea is that they somehow clobbered data on the eeprom, maybe the physical address or whatnot.
Updated by sebastien.aubry31 about 12 years ago
As Skylanders Giants is not to be released on PC (what a pity!), I really hope to see it work with Dolphin!
Updated by parlane about 12 years ago
So A little update since March. I moved HID devices to use the HIDAPI, which I have had to customize to work with how the Wii talks to HID devices. (It likes to use the control interrupt instead of normal interrupt endpoints)
I have the Spyro portal working on Windows 7, plug and play! As in, no drivers needed.
Lots of fixes to do for the wii-HID branch though.
Need to remove hardcoded descriptors as currently only spyro works. And then linux + mac support.
Updated by mbc07 about 12 years ago
what is the correct branch? wii-usb or wii-HID2?
Updated by latestlinux almost 12 years ago
parlane,
Just a quick word of encouragement: you Dolphin developers ROCK, in all my years of development I've never seen an emulator of this quality (save maybe Zsnes)! Know that your work is not in vain. Excellent job on this branch (just finished looking through the code diffs as I'm typing). Keep up the good work, and I'm happy to help test, especially on Linux (but have Mac and Windows 7 and XP environments here as well). I have a behemouth machine (Nvidia 670 SLI w/ 32GB ram - not an Athlon II like that other dude's post) here and I'm using the PC version of the portal (#84157790).
Is the wii-usb git-branch going to get merged back into mainline soon? What catalyst does the maintainer need before doing so?
Updated by JoMaAb almost 12 years ago
parlane,
if i buy the original skylander game an portal, could i use then with dolphin installing libusb?. What do i changes in infwizard?
Updated by parlane almost 12 years ago
I would not recommend it currently as I don't want you to buy something based on an unfinished modification to Dolphin.
Also libusb doesn't need to eb installed for Windows, as it comes prepackaged with Dolphin.
Updated by dcquence almost 12 years ago
Is 818 the last compile of wii-USB or was this merged back into the main?
Updated by parlane almost 12 years ago
Not in master yet, still quite a bit to do :)
Updated by parlane almost 12 years ago
Do we have any Mac users here with Skylanders?
Updated by jalpcremer almost 12 years ago
Yes, me too (Mac + Skylanders, that is).
Updated by 17waldth over 11 years ago
I have been looking around everywhere for an answer.. I played skylanders on my friend wii and want to play it on dolphin... I got the game on dolphin and the portal of power but the port doesn't work..Please help. Thanks
Updated by 17waldth over 11 years ago
By the way Im on a windows 8 laptop if that makes a difference.
Updated by fintremai over 11 years ago
PLEASE I wanted to know where you are with this project I would like very much to play sckylanders Giants on win 7, thanks for your work
Updated by ericmparham over 11 years ago
Found the unpublished wii-usb branch. Looks like good work, thanks! Was this ever merged into another branch, such as the wii-network branch or the master branch?
In the following testing on my Win7 x64 box w/ i5 processor, 8GB, and Intel HD4000 graphics, I tried at least one usb portal-of-power for each (and up to 4 portals, including 1. pc wired usb, 2. wii wireless usb, 3. iMobile Bluetooth, and 4. 3DS wired usb):
dolphin-wii-usb-3.5-144-x64 Can't find the Portal of Power
dolphin-wii-usb-3.5-158-x64 BackPatch: no support for operand size 1 => crash
dolphin-wii-usb-3.5-159-x86 Hangs on Nintendo screen
Dolphin-wii-usb-3.5-159-x64 BackPatch: no support for operand size 1 => crash
Dolphin-win-x86-v3.5-367 Can't find the Portal of Power
Dolphin-win-x64-v3.5-367 Can't find the Portal of Power
Dolphin-wii-network-3.5-1382-x64 Black screen after Nintendo screen
Dolphin-master-3.5-1625-x64 Can't find the Portal of Power
Dolphin-master-3.5-1627-x64 Can't find the Portal of Power
Then noticed Spyro Portal was HID in Device Manager, so I used zadig_v2.0.1.160 to install USB driver from libusbk over HID driver for Spyro Portal.
dolphin-wii-usb-3.5-144-x64 Can't find the Portal of Power
dolphin-wii-usb-3.5-159-x86 Hangs on Nintendo screen
dolphin-wii-usb-3.5-158-x64 BackPatch: no support for operand size 1 => crash
Dolphin-master-3.5-1627-x64 Can't find the Portal of Power
Then used zadig to install USB driver from WinUSB instead.
dolphin-wii-usb-3.5-144-x64 Can't find the Portal of Power
Dolphin-wii-usb-3.5-159-x64 BackPatch: no support for operand size 1 => crash
Dolphin-master-3.5-1627-x64 Can't find the Portal of Power
Updated by skidau over 11 years ago
WinUSB driver with Dolphin-wii-usb-3.5-159-x64 should work (it worked for me, but it is slow at ~75% speed on i7-2600k 4.5ghz). I have a Wii wireless portal. Make sure your iso is dumped properly.
The MD5 of my PAL Skylanders Giants Wii ISO is:
b7aa37ff2f30fa04fc2c3161864b4f05
CRC32:
ac82ad16
Updated by ericmparham over 11 years ago
Thanks! I've got the USA NTSC version, although I wasn't able to dump it from my own disk. The MD5 infohash is a good match, though.
I've got 4 usb ports on my computer, so I installed different drivers for each and tested the 144-x64 and 159-x64 builds on each of the 4 port/driver combos (1. original HID, 2. libusbk, 3. libusb32, and 4. WinUSB), all with the same results as above. That is, Backpatch errors on the 159 build and can't find portal on the 144 build. Any ideas what to check next? Sounds like the 159 version should work if I could figure out the Backpatch errors...
Updated by skidau over 11 years ago
Try unplugging as many usb devices from your PC as you can.
Updated by parlane over 11 years ago
Yea there is a bug where if your pc has a certain type of usb device it adds bad data to the device list. Ill fix it this week and get it merged to master.
Updated by ericmparham over 11 years ago
Thanks again, but no luck. Tried the Wii wireless portal with same results. No other USB devices plugged in, and I temporarily disabled all clearly non-critical USBs in Device Manager. FWIW, the exact error message that I'm getting from Dolphin-wii-usb-3.5-159-x64 is:
BackPatch: no support for operand size 1
Error encountered accessing emulated address a0000000,
Culprit instruction:
movzx eax, byte ptr ds:[rbx+rcx]
at 0x1311fdee
Yikes, looks like assembly language...
Updated by ericmparham over 11 years ago
Oh, missed your post parlane. Thanks very much!
Updated by parlane over 11 years ago
It is, it causes an overflow in the Wii PPC being emulated. sorry.
Updated by delroth over 11 years ago
- Milestone changed from 4.0 to Current
@parlane: status of this issue for 4.0?
Updated by CPSTjim about 11 years ago
Activision released a PC/Mac version of Skylanders: Spyro's Adventure which included a wireless Portal of Power with a dongle. Is it possible to just pull out, or reverse engineer their own USB driver? The Spyro's Portal works fine in Giants, so this might be the easy(er) answer. Another possibility is that Activision released Skylanders: Battlegrounds for IOS which includes a Bluetooth Portal. Might the Bluetooth Portal be easier to support than a USB Portal? Especially as IOS has direct roots in OSX.
While I'm not a Dev or programmer, I do own a 2010 Mac Mini that I use as my media server and both Spyro's and Giants (Will have Swap Force next month too.) for the Wii, so I am more than willing to play test things. Daddy wants his living room TV back!
Updated by pauldacheez about 11 years ago
IOS on the Wii != iOS on your iPhone. They're in no way related. And the Wii USB portals are already working in Dolphin - parlane and comex just need to finish up their work and merge it into master (hopefully before 4.0's released).
Besides, the point is to allow you to plug in any Wii USB device, not just the various Skylanders portals. Dolphin's a GC/Wii emulator, not a Skylanders emulator.
Updated by delroth about 11 years ago
- Milestone changed from Next to Current
4.0 was released, moving Milestone-Next to Milestone-Current.
Updated by SRoth96 about 11 years ago
I need help. I had skylanders working properly on my old AMD Phenom II X4 based system. I have replaced it with an Intel Haswell based system, and now I can't get Dolphin to detect the portal.
It's a clean install of Windows 7 SP1 64-bit. I'm using Dolphin [wii-usb] 3.5-159. I used zadig to install the libusbk driver, and device manager says it's working properly. When I start any Skylanders game, everything works flawlessly until I press (A) at the title screen. That's when the game says "cannot detect the portal of power". There is no Dolphin error. I wish it was just a backpatch error because then I would know I just have to unplug something (just like my old PC).
Please help. I really don't want to wait for the next milestone after 4.0.
Plus I think I would probably have this same problem even if it was in the master branch.
Updated by skidau about 11 years ago
SRoth96, it wasn't clear from your comment whether you tried Dolphin 4.0 or just [wii-usb] 3.5-159. If not, please try the portal with Dolphin 4.0.
Updated by SRoth96 about 11 years ago
I tried WinUSB on both versions; same problem.
Don't know if this helps, usb id is 1430 0150.
Updated by parlane about 11 years ago
Make a new issue with all your specifics please. And follow the template as much as possible.
Updated by MofoMan2000 almost 11 years ago
I'm not exactly sure how USB passthrough works on VirtualBox, but they have it. You shouldn't have to code anything specific, just let people plug USB devices into their computer and allow them to tell the emulator it should be considered as connected to the emulated Wii.
Updated by mbc07 almost 11 years ago
Wii USB has already been merged to master... It has been merged to wii-network and then wii-network was merged to master
Updated by delroth over 10 years ago
@parlane: status of this issue? Can it be closed?
Updated by parlane over 10 years ago
It's not done. comex got most of the way but got bored I guess and had lost his Spyro dongle :(
Updated by SRoth96 over 10 years ago
Not done? what's left then? It would be really helpful if I could tell dolphin what device to use for the portal because it does not see it on my new PC. (Worked on my old one which was to slow to run wii games)
Updated by jdcpent over 10 years ago
Has the portal and slowdown problem been fixed or worked around for skylanders giants to work with dolphin. I have been able to get it to work using the newest 4.0 release and changing hid to winusb but it lags so bad that it is unplayable. Any new results for this ??
Updated by delroth over 10 years ago
- Milestone changed from Current to Next
Moving to next milestone since these issues are not critical to a new release.
If you feel strongly about this issue and want it to block the next Dolphin release, please assign yourself as owner and re-add Milestone-Current.
Updated by JMC4789 over 9 years ago
Issue 8802 has been merged into this issue.
Updated by JMC4789 over 9 years ago
Issue 6279 has been merged into this issue.
Updated by JMC4789 over 9 years ago
Issue 6701 has been merged into this issue.
Updated by JosJuice almost 9 years ago
- Has duplicate Emulator Issues #9199: Jenny McCarthy's Your Shape Featuring Self Acclaimed Health Genius Jenny McCarthy - Camera Add-on Not Supported added
Updated by JosJuice almost 9 years ago
- Status changed from Work started to Fixed
USB passthrough is supported, but not for microphones (issue 5079) and some other devices (issue 9199). https://dolphin-emu.org/blog/2016/01/26/wii-usb-hid-support/
Updated by JosJuice almost 9 years ago
- Has duplicate deleted (Emulator Issues #9199: Jenny McCarthy's Your Shape Featuring Self Acclaimed Health Genius Jenny McCarthy - Camera Add-on Not Supported)
Updated by JosJuice almost 9 years ago
- Has duplicate deleted (Emulator Issues #5079: USB microphone support)
Updated by JosJuice almost 9 years ago
- Has duplicate deleted (Emulator Issues #6701: USB Microphone (Just Dance 2014 freezes))
Updated by JosJuice almost 9 years ago
- Has duplicate deleted (Emulator Issues #8802: Mic not being detected on guitar hero's)