Redirect BBA to USB Gecko?

Discuss one of the most feature filled GameCube applications here :)
Post Reply
biolizard89
Posts: 23
Joined: Mon Apr 18, 2011 2:43 am

Redirect BBA to USB Gecko?

Post by biolizard89 » Sat May 07, 2011 11:37 pm

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?
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Redirect BBA to USB Gecko?

Post by emu_kidid » Sun May 08, 2011 1:09 am

Not really possible without a lot of work - if Swiss was a 10 man job sure though :)
Image
sumas
Posts: 70
Joined: Thu Feb 17, 2011 8:29 pm
Location: Germany

Re: Redirect BBA to USB Gecko?

Post by sumas » Sun May 08, 2011 10:16 am

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???
User avatar
infact
Posts: 346
Joined: Tue Mar 29, 2011 4:35 am
Location: Germany

Re: Redirect BBA to USB Gecko?

Post by infact » Sun May 08, 2011 10:53 am

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.
infact
Image Image
User avatar
liquitt
Posts: 1810
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland

Re: Redirect BBA to USB Gecko?

Post by liquitt » Sun May 08, 2011 4:26 pm

sounds like a huge project...since work has to be done on the PC and the GC...but i like it :)
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
sumas
Posts: 70
Joined: Thu Feb 17, 2011 8:29 pm
Location: Germany

Re: Redirect BBA to USB Gecko?

Post by sumas » Mon May 09, 2011 8:35 am

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???
User avatar
emu_kidid
Site Admin
Posts: 4927
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Redirect BBA to USB Gecko?

Post by emu_kidid » Mon May 09, 2011 8:58 am

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!
Image
User avatar
infact
Posts: 346
Joined: Tue Mar 29, 2011 4:35 am
Location: Germany

Re: Redirect BBA to USB Gecko?

Post by infact » Mon May 09, 2011 11:46 am

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:
infact
Image Image
Post Reply