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,650
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,477
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,477
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
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub: