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

Status
Not open for further replies.

ElyosOfTheAbyss

Well-Known Member
Member
Joined
Aug 20, 2015
Messages
2,225
Trophies
1
XP
1,861
Country
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.
 

YyAoMmIi

Well-Known Member
Member
Joined
Oct 26, 2015
Messages
688
Trophies
0
Age
30
XP
283
Country
United States
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
 

NekoMichi

Retro Collector
Member
Joined
Jun 4, 2015
Messages
1,441
Trophies
1
Location
Minus World
Website
www.youtube.com
XP
2,441
Country
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?
 

3DSPoet

Well-Known Member
Member
Joined
Dec 9, 2015
Messages
402
Trophies
0
XP
390
Country
United States
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

NekoMichi

Retro Collector
Member
Joined
Jun 4, 2015
Messages
1,441
Trophies
1
Location
Minus World
Website
www.youtube.com
XP
2,441
Country
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.
 

Zidapi

Well-Known Member
Member
Joined
Dec 1, 2002
Messages
3,102
Trophies
3
Age
41
Website
Visit site
XP
2,631
Country
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

kheldar

Well-Known Member
Member
Joined
Jul 4, 2014
Messages
512
Trophies
0
XP
396
Country
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 ?
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,673
Trophies
2
XP
8,099
Country
Tuvalu
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...
 
Status
Not open for further replies.
General chit-chat
Help Users
    SylverReZ @ SylverReZ: @AncientBoi, 10/10 ratings from every gaming outlet. +1