Hacking [Release]NTR CFW 3.2 with experimental Real-Time Save feature.

  • Thread starter Thread starter cell9
  • Start date Start date
  • Views Views 774,051
  • Replies Replies 2,443
  • Likes Likes 65
Status
Not open for further replies.
The screen flashes green when booting the game but nthing happens. This is after I deleted LayerdFS

--------------------- MERGED ---------------------------

Before Editing:
Code:
#include "global.h"

#define WRITEU8(addr, data) *(vu8*)(addr) = data
#define WRITEU16(addr, data) *(vu16*)(addr) = data
#define WRITEU32(addr, data) *(vu32*)(addr) = data

u32 threadStack[0x1000];
Handle fsUserHandle;
FS_archive sdmcArchive;

u32 plgGetIoBase(u32 IoType);
#define IO_BASE_PAD        1
#define IO_BASE_LCD        2
#define IO_BASE_PDC        3
#define IO_BASE_GSPHEAP        4

u32 IoBasePad = 0xFFFD4000;

u32 getKey() {
    return (*(vu32*)(IoBasePad) ^ 0xFFF) & 0xFFF;
}

void waitKeyUp() {
    while (getKey() != 0) {
        svc_sleepThread(100000000);
    }
}

u32 cheatEnabled = 1;
int isNewNtr = 0;

void gamePluginEntry() {
    u32 ret, key;
    INIT_SHARED_FUNC(plgGetIoBase, 8);
    // wait for game starts up (5 seconds)
    svc_sleepThread(5000000000);

    if (((NS_CONFIG*)(NS_CONFIGURE_ADDR))->sharedFunc[8]) {
        isNewNtr = 1;
    } else {
        isNewNtr = 0;
    }
   
    if (isNewNtr) {
        IoBasePad = plgGetIoBase(IO_BASE_PAD);
    }
    while (1) {
        svc_sleepThread(100000000);
       
        key = getKey();
        if (key == BUTTON_SE) {
            // toggle cheats when SELECT button pressed
            cheatEnabled = !cheatEnabled;
            // wait until key is up
            waitKeyUp();
        }
        if (cheatEnabled) {
            // freeze hearts
            WRITEU16(0x168b6044 , 0x5050);
            // freeze rupees
            WRITEU16(0x168b5fa8 , 9999);
        }

    }
}

After Edit:
Code:
#include "global.h"

#define WRITEU8(addr, data) *(vu8*)(addr) = data
#define WRITEU16(addr, data) *(vu16*)(addr) = data
#define WRITEU32(addr, data) *(vu32*)(addr) = data

u32 threadStack[0x1000];
Handle fsUserHandle;
FS_archive sdmcArchive;

u32 plgGetIoBase(u32 IoType);
#define IO_BASE_PAD        1
#define IO_BASE_LCD        2
#define IO_BASE_PDC        3
#define IO_BASE_GSPHEAP        4

u32 IoBasePad = 0xFFFD4000;

u32 getKey() {
    return (*(vu32*)(IoBasePad) ^ 0xFFF) & 0xFFF;
}

void waitKeyUp() {
    while (getKey() != 0) {
        svc_sleepThread(100000000);
    }
}

u32 cheatEnabled = 1;
int isNewNtr = 0;

void gamePluginEntry() {
    u32 ret, key;
    INIT_SHARED_FUNC(plgGetIoBase, 8);
    // wait for game starts up (5 seconds)
    svc_sleepThread(5000000000);

    if (((NS_CONFIG*)(NS_CONFIGURE_ADDR))->sharedFunc[8]) {
        isNewNtr = 1;
    } else {
        isNewNtr = 0;
    }
   
    if (isNewNtr) {
        IoBasePad = plgGetIoBase(IO_BASE_PAD);
    }
    while (1) {
        svc_sleepThread(100000000);
       
        key = getKey();
        if (key == BUTTON_SE) {
            // toggle cheats when SELECT button pressed
            cheatEnabled = !cheatEnabled;
            // wait until key is up
            waitKeyUp();
        }
        if (cheatEnabled) {
            // 999 Gold Bars
            WRITEU16(0x00A14AD8 , 0x270F);
        }

    }
}

--------------------- MERGED ---------------------------

If anyone knows the answer plz help me I feel like a noob right now.
 
Shouldn't have to remove it no. There is no cheat "menu" with NTR last i checked though. They're either automatic or triggered by button combo's depending on how the plugin was made to work.
For MH4U, form that chinese site, the plugin is a menu of sort. You have select the cheat you want active, then you press the button combo.
It from NTR menu to game plugin
 
I'm not able to download bootNTR.cia because the link on GitHub causes a "cannot establish connection" error on all of my browsers. Is there anywhere else I can get the latest version of the .cia?
 
I'm not able to download bootNTR.cia because the link on GitHub causes a "cannot establish connection" error on all of my browsers. Is there anywhere else I can get the latest version of the .cia?

That COULD be an anti-virus problem. You could try exceptioning the site or disabling your A/V temporarily and try to download again. Some browsers also have built in protections to keep you from doing what you want...er...keeping you safe.
 
  • Like
Reactions: NekoMichi
That COULD be an anti-virus problem. You could try exceptioning the site or disabling your A/V temporarily and try to download again. Some browsers also have built in protections to keep you from doing what you want...er...keeping you safe.
I don't have antivirus installed. For some reason, changing my DNS to 8.8.8.8 fixed it.
 
Is there a tutorial on how to make cheats? There is a project i'm working on and I need to know how to make cheats.
 
Even worse if it came out standing up
The baby or the o3dsxl? :rofl2:
Wait, so NTR works on o3DS now? Why did I read otherwise?
NTR 1.x was old3DS only, NTR 2.x was new3DS only, NTR 3.x is both.

@cell9 - is it possible to extract the addresses and values of cheats from the .plg file? :)
Looking to port some NTR codes to GateShark, eh? Me too. The plugins on that Spanish site have been edited and translated, so they may have some tools that will allow you to RE a compiled plugin.

Any plan for LayeredFS on Sm4sh and O3DS?
I don't think this is possible because Smash 4 runs in EMM.
 
  • Like
Reactions: cearp
I was on 9.5 emunand but now that I updated it i can't use ntr cfw to adjust clock speed to enchance the performance. Is there any other way to adjust clock speed ?
 
I was on 9.5 emunand but now that I updated it i can't use ntr cfw to adjust clock speed to enchance the performance. Is there any other way to adjust clock speed ?
oh i didn't think about this...
is it only the clock speed that is broken? does any of ntr work on 10.3?
i want to use ntr for some ntr only cheats that were made, and try to port them to gw...
 
oh i didn't think about this...
is it only the clock speed that is broken? does any of ntr work on 10.3?
i want to use ntr for some ntr only cheats that were made, and try to port them to gw...

ntr cfw 3.0 doesnt work at all
 
  • Like
Reactions: cearp
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum