C# USB Gecko Handler Question - Upload Cheats?

Started by Hamster35000vr, March 23, 2010, 10:45:57 PM

Previous topic - Next topic

Hamster35000vr

first of all, many thanks to link for making this handler.  i was searching for the longest time until i found this.  now it's a breeze.

anyway, how to you upload cheats?  i see that the ExecuteCheats function doesn't take any arguments.  anyone know how to solve this?  do i need to use the Upload function?  if so, how?

thanks in advance ;).
Yes, the same Hamster who made all those codes in the World Of Volder. :D

Owner of the Mario Kart Wii Code Generator.

dcx2

You should look at gecko dotNET.  It can show you how to send cheats to the USB Gecko.  I don't see ExecuteCheats being used anywhere, though.  It uses USBGecko.SendCheats(Stream inputStream).

Click the link in my sig and you'll go to the gecko dotNET thread.  In it, you will find a link to the source code.  The source is not quite up to date, but if all you want to do is see how to send cheats to the USB gecko it should do.  Look at MainForm.cs for the method GCTSndButton_Click.

Link

ExecuteCheats essentially reloads all codes and sets them back into regular mode.. Some codes (like C2 codes) are normally just executed once and then they are active.. running ExecuteCheats should reset the code handler to base mode.. though I wouldn't bet on it working, kenobi and me implemented the command in 2008, used it once or twice and it might be broken by now ^^

Hamster35000vr

#3
thank you guys!  i'll do some more research into geckoDOTNET or whatever ;D.

EDIT: *boom* i see the sendCheats function!  you guys are the best.  i feel like a dummy now ;D.

oh, one more thing, how do i turn off everything?  as in all hacks?
Yes, the same Hamster who made all those codes in the World Of Volder. :D

Owner of the Mario Kart Wii Code Generator.

dcx2

If you're using Visual Studio, you can open up the MainForm in designer and switch to the GCT tab.  Double click the button that's supposed to disable cheats and you can follow along with the code.   ;D

Do you have a goal in mind, or are you just poking around source code for fun?

Hamster35000vr

nay, i have a goal in mind.  it may come in the Mario Kart Wii Code Generator v.18.
Yes, the same Hamster who made all those codes in the World Of Volder. :D

Owner of the Mario Kart Wii Code Generator.