Looking for USB Gecko client source code

Post Reply
User avatar
CosmoCortney
Posts: 90
Joined: Sun Nov 11, 2012 9:09 pm
Location: under your bed
Contact:

Looking for USB Gecko client source code

Post by CosmoCortney » Fri Sep 20, 2024 1:40 pm

Hi there,

I've been working on a multi-platform cheat search utility that supports several emulators. Now I'd like to add support for real consoles via USB and TCP. First I'd like to start by adding support for the USB Gecko. But sadly I don't know where to find the source code WiiRd uses to communicate with the console. Does anyone know where I can find it?

Thanks
Also known as Lawn Meower
User avatar
webhdx
Posts: 115
Joined: Sun Jul 03, 2011 10:40 am

Re: Looking for USB Gecko client source code

Post by webhdx » Fri Sep 20, 2024 3:19 pm

I haven't seen WiiRD source code but Gecko dotNet is available on GitHub: https://github.com/MasterofGalaxies/geckowii I believe Gecko dotNet was an alternative/successor to WiiRD. The protocol is also described on WiiBrew Wiki: https://wiibrew.org/wiki/USB_Gecko . I still make and sell USB Gecko clones if you need one for testing.
User avatar
CosmoCortney
Posts: 90
Joined: Sun Nov 11, 2012 9:09 pm
Location: under your bed
Contact:

Re: Looking for USB Gecko client source code

Post by CosmoCortney » Fri Sep 20, 2024 6:49 pm

Thanks,
the reason I was looking for the WiiRd code is that I need the source in C++. I still have an OG USB Gecko :)
However, seems like all I need is this FTDI driver and to load functions from the ftdi dll like it's done here: https://github.com/MasterofGalaxies/gec ... libftdi.cs
This should not be too much of a problem ^^
Also known as Lawn Meower
User avatar
webhdx
Posts: 115
Joined: Sun Jul 03, 2011 10:40 am

Re: Looking for USB Gecko client source code

Post by webhdx » Sat Sep 21, 2024 10:51 am

Since FT245RL in USB Gecko is just a UART bridge I highly recommend using generic serial driver instead of FTDI. There is a problem with all these PC apps that they were written with FTDI driver and it prevents us from moving USB Gecko hardware away from FTDI. I was working on an RP2040 port just to realize the PC software won't be compatible.
User avatar
CosmoCortney
Posts: 90
Joined: Sun Nov 11, 2012 9:09 pm
Location: under your bed
Contact:

Re: Looking for USB Gecko client source code

Post by CosmoCortney » Sun Sep 22, 2024 12:53 pm

Do you have a link to these drivers and perhaps a suitable vcpkg package? Been trying to get the FTDI stuff working but cmake is giving me a hard time with that
Also known as Lawn Meower
Post Reply