Question: Will it ever be possible to run Cafiine and TCP Gecko at the same time?

Discussion in 'Wii U - Hacking & Backup Loaders' started by MarioBrosThe, Sep 20, 2015.

  1. MarioBrosThe
    OP

    MarioBrosThe GBAtemp Regular

    Member
    152
    40
    Dec 31, 2014
    United States
    Sacramento, California
    Just wondering.
     
  2. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,586
    8,925
    Oct 27, 2002
    France
    Engine room, learning
    yes, it's possible but require a different handler/exploit.
     
  3. MarioBrosThe
    OP

    MarioBrosThe GBAtemp Regular

    Member
    152
    40
    Dec 31, 2014
    United States
    Sacramento, California
    Oh okay, thanks for the info!
     
  4. NWPlayer123

    NWPlayer123 GBAtemp Addict

    Member
    2,632
    6,233
    Feb 17, 2012
    United States
    The Everfree Forest
    Have you actually managed to get it working? I tried a few days ago, the farthest back you can go without overwriting is 0xA11DCC00 with Cafiine, if I try to place TCPGecko after that, I can't connect, and if I put TCPGecko first then Cafiine will crash the system, so there's not enough room for me to put both of them in there.
     
  5. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    18,586
    8,925
    Oct 27, 2002
    France
    Engine room, learning
    no, I haven't tried.
    I've only read your old messages where you said it could be done by moving the location of TCPGecko.
    I didn't know it didn't have enough room for both.
     
  6. golden45

    golden45 GBAtemp Regular

    Member
    108
    397
    Jun 23, 2015
    France
    On 5.3.2 I'm using 0x011dd000 for pygecko, and 0x011e0000 for cafiine, and it's working. I don't remember if I made other changes.
     
  7. MarioBrosThe
    OP

    MarioBrosThe GBAtemp Regular

    Member
    152
    40
    Dec 31, 2014
    United States
    Sacramento, California
    How exactly would you go about doing this? I don't really know what to do, and I don't know what to exactly do with those values.
     
  8. golden45

    golden45 GBAtemp Regular

    Member
    108
    397
    Jun 23, 2015
    France
    Those values are the addresses in memory where the code of cafiine and pygecko is copied (the codehandler part).
    The memory range 0x01xxxxxx (from 0x01000000 to 0x01800000) is used by the wiiu libraries, the idea is to copy the code of cafiine and pygecko inside this range where there is no code.
    If you are able to compile cafiine and pygecko, you can modify those values (look inside installer/loader.c and codehandler/codehandler532.ld)
     
    MarioBrosThe likes this.
  9. MarioBrosThe
    OP

    MarioBrosThe GBAtemp Regular

    Member
    152
    40
    Dec 31, 2014
    United States
    Sacramento, California
    Rip I didn't compile my own Cafiine, I use wj44's stuff for exploits, simply because I had a lot of trouble compiling my own cafiine. Thanks for the info though, I appreciate it! :D
     
  10. BullyWiiPlaza

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,773
    1,441
    Aug 2, 2014
    Germany
    Does this website support pyGecko and Cafiine concurrently? If yes, how? It's not quite clear to me according to the hyperlink labels.
     
  11. BullyWiiPlaza

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,773
    1,441
    Aug 2, 2014
    Germany
    Bump, sorry but is there any foolproof way to run pyGecko and Cafiine at the same time? I'm on firmware 5.3.2. I didn't really find any good post on this except for the "do it yourself" part which I don't like to do. I also didn't find existing downloads or websites that offer this. Thanks in advance.
     
    Last edited by BullyWiiPlaza, Feb 14, 2016
  12. NWPlayer123

    NWPlayer123 GBAtemp Addict

    Member
    2,632
    6,233
    Feb 17, 2012
    United States
    The Everfree Forest
    I tried at one point, but it was doing weird stuff with the area we were putting it in (0x011DCC00/DD000), dunno if there wasn't enough space for both codehandlers or what
     
  13. BullyWiiPlaza

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,773
    1,441
    Aug 2, 2014
    Germany
    I did those changes myself now. I ran the kernel exploit followed by pyGecko installer and Cafiine. Cafiine said "No ksploit" since pyGecko modified address 0xA0000000 (?) which Cafiine doesn't expect. I then removed the check on Cafiine and pyGecko and recompiled them. Cafiine didn't seem to get recompiled but pyGecko did so I changed the execution order to: kernel -> cafiine -> pyGecko. When I ran pyGecko, it froze on "Trying to install TCPGecko..." so not happy. How do you get both to run? Changing the installation address is not enough apparently :(
    Code:
        /* Where to install the cafiine handler. */
        #define INSTALL_ADDR        ((void *)0x011e0000)
        #define KERN_ADDRESS_TBL    0xffea9e4c
    #elif VER == 532
        #include "cafiine532.h"
    Code:
    #elif VER == 532
        #include "codehandler532.h"
        #define INSTALL_ADDR  0x011dd000
        #define MAIN_JMP_ADDR 0x0101C55C
    I attached the installer sources for both. I'm on firmware 5.3.2 by the way. Thanks for any hints :)
     

    Attached Files:

    Last edited by BullyWiiPlaza, Feb 27, 2016
  14. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    588
    Nov 3, 2015
    France
    Stack Pointer
    Did someone found how to make it work on 5.5.1 ?
     
  15. BullyWiiPlaza

    BullyWiiPlaza Nintendo Hacking <3

    Member
    1,773
    1,441
    Aug 2, 2014
    Germany
    It wasn't even released in a compatible way for 5.3.2 so...
     
  16. NexoCube

    NexoCube stop using piracy :(

    Member
    1,184
    588
    Nov 3, 2015
    France
    Stack Pointer
    Mmmh, i'm trying with different adress but the most of the time : BO2 Crash or Cafiine crash