WiiRd forum

Wii & Gamecube Hacking => WiiRD Remote Debugger => Topic started by: WhoDares on October 28, 2008, 03:11:41 PM

Title: WiiRD library?
Post by: WhoDares on October 28, 2008, 03:11:41 PM
How easy would it be to add the WiiRD into homebrew apps? Is there a library to do it?

I saw a USBGecko library, but that didn't seem to have anything WiiRD specific.

Cheers,
  WhoDares
Title: Re: WiiRD library?
Post by: Link on October 28, 2008, 03:40:26 PM
WiiRd is no library.. WiiRd is an application using the USB Gecko library!
Title: Re: WiiRD library?
Post by: WhoDares on October 28, 2008, 04:09:52 PM
Sorry bad wording. How could I get WiiRD to connect to my homebrew app via the USBGecko, such that I can pause it, poke the memory, take screenshots etc.?

Cheers
Title: Re: WiiRD library?
Post by: hetoan2 on October 28, 2008, 08:36:01 PM
geckoOS
Title: Re: WiiRD library?
Post by: WhoDares on October 29, 2008, 07:14:47 PM
I can see in the code somewhere to upload DOLs/ELFs but two things-

1. What tool do I use to upload? WiiRD has an upload feature, but I think that's just for sending a chunk of memory. WiiLoad?

2. The code has a switch on the mode varaible. Modes 1 and 2 (DOL and ELF) are handled, but there are no cases for 3 and 4 (DOL/ELF Debug). Does this mean that the WiiRD debug interface hasn't been added for the DOL/ELF loader yet?

Regards,
  WD
Title: Re: WiiRD library?
Post by: OblivionGun on October 31, 2008, 01:20:55 AM
No asking/posting for warez.
Admin please close and ban.



loljk
Title: Re: WiiRD library?
Post by: Link on October 31, 2008, 10:18:37 AM
it's no warez..

basically if you want an application which can be debugged by WiiRd: download the gecko OS sources.. you'll see the file kenobiwii.s - this is the assembly code of the Wii debugger... use that code in your application - make sure it's executed every frame.. and it should work!

for the DOL/ELF.. I am not sure whether it was released.. you're correct the upload feature of WiiRd is for memory sending.

However: you can try sending your DOL/ELF file using GeckoLoad.. however.. auto-adding a debugger.. no idea whether this works!
Title: Re: WiiRD library?
Post by: WhoDares on November 01, 2008, 10:58:35 AM
@OblivionGun: WTF are you talking about? Homebrew == My code. Read the thread first before posting

@Link: Thanks for the information, I'll give it a play!