Debug to sd card as log.txt

Discussion in 'Wii - Hacking' started by scooby74029, Nov 25, 2010.

Nov 25, 2010
  1. scooby74029
    OP

    Member scooby74029 "fake coder"

    Joined:
    May 7, 2010
    Messages:
    1,174
    Location:
    oklahoma, USA
    Country:
    United States
    Hello guys

    I was wondering if i can send debug info to the sd card in stead of to the computer because i have not been able to get a usb gecko

    if someone knows if this is possible i would appreciate the help getting everything setup

    thanks for any help
     
  2. scooby74029
    OP

    Member scooby74029 "fake coder"

    Joined:
    May 7, 2010
    Messages:
    1,174
    Location:
    oklahoma, USA
    Country:
    United States
    looking for any help at all with this

    i am trying to modding sneek to add "the goods" cover viewing to the game selection menu
     
  3. megazig

    Member megazig SU

    Joined:
    Oct 25, 2008
    Messages:
    467
    Country:
    United States
    since sneek has sd capabilities for the nand, you can use that with normal file opening to write to a file there. just do the same as you would reading/writing other files
     
  4. scooby74029
    OP

    Member scooby74029 "fake coder"

    Joined:
    May 7, 2010
    Messages:
    1,174
    Location:
    oklahoma, USA
    Country:
    United States
    megazig

    please get me started and tell me where to start at to make sneek do debug to sd

    thanks if you decide to help
     
  5. giantpune

    Member giantpune GBAtemp Addict

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    youre going to want to add a ioctl for it. since only the fs module actually writes to the "nand". so, create the file there and send all the dbgprintf() from the other modules to it.

    to create the file, look at how the di module creates its config file. for the ioctl, look at how the es/di modules determines if sneek or uneek is running.
     
  6. scooby74029
    OP

    Member scooby74029 "fake coder"

    Joined:
    May 7, 2010
    Messages:
    1,174
    Location:
    oklahoma, USA
    Country:
    United States
    ok i know this is a stupid noob question but how do i turn debugging on in sneek?
     
  7. megazig

    Member megazig SU

    Joined:
    Oct 25, 2008
    Messages:
    467
    Country:
    United States
    on the FAQ it says to add the -v or -s options, I think, to either IOSKPatch or ELFins.

    more details are there, but that's somthing to go off. you can also run both apps with no options to find what they do
     
  8. scooby74029
    OP

    Member scooby74029 "fake coder"

    Joined:
    May 7, 2010
    Messages:
    1,174
    Location:
    oklahoma, USA
    Country:
    United States
    Thanks megazig you are always a great help
     

Share This Page