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

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
yes, it's possible but require a different handler/exploit.
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.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
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.
 

golden45

Well-Known Member
Member
Joined
Jun 23, 2015
Messages
108
Trophies
0
Age
124
XP
473
Country
France
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.
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.
 

golden45

Well-Known Member
Member
Joined
Jun 23, 2015
Messages
108
Trophies
0
Age
124
XP
473
Country
France
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.
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)
 
  • Like
Reactions: MarioBrosThe

MarioBrosThe

Well-Known Member
OP
Member
Joined
Dec 31, 2014
Messages
153
Trophies
0
Age
33
Location
California
XP
189
Country
United States
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)
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
 

BullyWiiPlaza

Nintendo Hacking <3
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,467
Country
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,

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
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.
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
 

BullyWiiPlaza

Nintendo Hacking <3
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,467
Country
Germany
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.
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 :)
 

Attachments

  • examples.rar
    25.5 KB · Views: 204
Last edited by BullyWiiPlaza,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Cool didn't know they ported cuphead on vita