Page 1 of 1

Looking for USB Gecko client source code

Posted: Fri Sep 20, 2024 1:40 pm
by CosmoCortney
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

Re: Looking for USB Gecko client source code

Posted: Fri Sep 20, 2024 3:19 pm
by webhdx
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.

Re: Looking for USB Gecko client source code

Posted: Fri Sep 20, 2024 6:49 pm
by CosmoCortney
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 ^^

Re: Looking for USB Gecko client source code

Posted: Sat Sep 21, 2024 10:51 am
by webhdx
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.

Re: Looking for USB Gecko client source code

Posted: Sun Sep 22, 2024 12:53 pm
by CosmoCortney
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