Page 1 of 1

Redirect BBA to USB Gecko?

Posted: Sat May 07, 2011 11:37 pm
by biolizard89
Since there is talk about redirecting GCN memcard access routines in GCN games to a file on an SD Gecko, I was wondering if there was any possibility that something similar could be done to redirect BBA usage in games to a USB Gecko, with a corresponding PC app that implements a virtual network adapter. This would be highly useful for playing LAN games or PSO on a Wii, or a GCN without a BBA.

Any idea if Swiss could implement this in the future?

Re: Redirect BBA to USB Gecko?

Posted: Sun May 08, 2011 1:09 am
by emu_kidid
Not really possible without a lot of work - if Swiss was a 10 man job sure though :)

Re: Redirect BBA to USB Gecko?

Posted: Sun May 08, 2011 10:16 am
by sumas
Is there any documentation how it works?

In other words where can i read how swiss and the ide exi works?

A long time ago i found a pic on the web where you could see a ethernet adapter was plugged in a mem card port ( will try to find it ^^)

Maybe will this also be possible with the gameboy player???

Re: Redirect BBA to USB Gecko?

Posted: Sun May 08, 2011 10:53 am
by infact
You can theoretically exchange all exi devices, because they share the same bus.
You just have to access the right channel.

Code: Select all

channel  device   freq Description
0 	 	0 	 	4 	Memory Card (Slot A)
1  		0 	 	4 	Memory Card (Slot B)
0  		2 	 	# 	Serial Port 1
0  		2 	 	5 	Ethernet Adapter (SP1)
0 	 	0 	 	# 	USBGecko (Slot A)
1  		0 	 	# 	USBGecko (Slot B)
0  		2 	 	# 	VUA (SP1)
The gameboy player is not an exi device.

You can start reading yagcd and browse the source code of the libogc functions, swiss and other applications, that access and modify exi devices.

Re: Redirect BBA to USB Gecko?

Posted: Sun May 08, 2011 4:26 pm
by liquitt
sounds like a huge project...since work has to be done on the PC and the GC...but i like it :)

Re: Redirect BBA to USB Gecko?

Posted: Mon May 09, 2011 8:35 am
by sumas
OK

I found the pic

http://nintendo-scene.com/827

Its plugged in in the controller port.

If i understand you, it may be possible to build a mem bba adapter if i can rewrite the channel number.

channel device freq Description
0 0 4 Memory Card (Slot A)
1 0 4 Memory Card (Slot B)
0 2 # Serial Port 1
0 0 5 Ethernet Adapter (SP1)

The only diffrentc between the ethernet and mem card a is the freq and the device number.
Freq, i couldn“t change so it would be changed the device number ?!?

Or im completly wrong???

Re: Redirect BBA to USB Gecko?

Posted: Mon May 09, 2011 8:58 am
by emu_kidid
You could do this for example:

1. Get a Wii
2. Wire a BBA to be in Memcard Slot B (If it uses 12V on the GC serial port, grab that from somewhere else cause the memcard ports don't have 12V)
3. Patch PSO with l33t haxx to use the BBA in Slot B
4. Profit!

But you're asking to redirect the BBA to USBGecko? That'd require a few things:
1. Fake a BBA enough (through patching out calls for status to it and responses - lots of work!)
2. Capture the packet it's trying to send to the faked "BBA"
3. Send it to PC via USBGecko
4. The Software on PC would need to make the USBGecko act like a virtual LAN card (I have no idea how to even begin such a thing).

To put it simply, if you're trying to achieve the latter, I can't help at all.

EDIT: Oh and the thing in that picture in the controller port was never made, it was just an idea - but it would need it's own software - and to do it via the SI bus would be a nightmare!

Re: Redirect BBA to USB Gecko?

Posted: Mon May 09, 2011 11:46 am
by infact
emu_kidid wrote:You could do this for example:
3. Patch PSO with l33t haxx to use the BBA in Slot B
nice one :lol: