Access NintendoWiFi.org Server
#1
Access NintendoWiFi.org Server

This code will allow you to connect to the NintendoWiFi.org server.

ISO/WBFS Usage: Code works on any USB Loader.
Disc Usage: Code does NOT work on Wii Launcher. However it does work on classic Gecko OS HBC app.

Region-Free
C0000000 0000000D
3D208000 61291888
89290000 2F890000
4CBE0020 3D20005F
3D408000 3D002E6E
3CE02E6F 6129F3FC
614A3000 61086574
60E77267 7D2903A6
812A0000 7F894000
40BE0008 90EA0000
394A0001 4200FFEC
3D208000 39400001
61291888 99490000
4E800020 00000000
C0000000 0000001D
3C004E80 60000020
900F0000 3D208000
3D00817F 61292FFF
6108FFEF 480000BC
89690001 2F8B0068
40BE00AC 89690002
2F8B0074 40BE00A0
89690003 2F8B0074
40BE0094 89690004
2F8B0070 40BE0088
89690005 2F8B0073
40BE007C 89690006
2F8B003A 40BE0070
89690007 2F8B002F
40BE0064 89690008
2F8B002F 40BE0058
89690009 2F8B0000
419E004C 7D2A4B78
39600000 48000008
396B0001 8CEA0001
2F870000 409EFFF4
38CBFFFD 38E90005
39400000 39290006
7CC903A6 48000010
7CC950AE 7CC751AE
394A0001 4200FFF4
7C005A14 7C090378
38090001 7F804040
409DFF40 4E800020
F0000000 00000000

Code creator(s): Star, Fix94
Reply
#2
For those interested, my code was made in C++ and extracted from the compiled ELF file via IDA.

// C++ Source
Code:
__attribute__((noinline))
void replaceNetToOrg()
{
    unsigned char *p_ucharDoOnceCheck = (unsigned char*) 0x80001888;
    
    if ((*p_ucharDoOnceCheck) == 0x0)
    {
        unsigned int *p_uintCurrentOffset = (unsigned int*) 0x80003000;
        const unsigned int *p_uintMem80End = (unsigned int*) 0x817FFFF0;
        const unsigned int uintNet = 0x2E6E6574;
        const unsigned int uintOrg = 0x2E6F7267;
        
        for (; p_uintCurrentOffset < p_uintMem80End; p_uintCurrentOffset++)
        {
            if ((*p_uintCurrentOffset) == uintNet)
            {
                *p_uintCurrentOffset = uintOrg;
            }
        }
        *p_ucharDoOnceCheck = 0x1;
    }
}

// IDA Disassembly
Code:
# =============== S U B R O U T I N E =======================================

.globl replaceNetToOrg
replaceNetToOrg:
lis       r9, -0x8000 # 0x80001888
ori       r9, r9, 0x1888 # 0x80001888
lbz       r9, 0(r9)

cmpwi     cr7, r9, 0
bnelr+    cr7

lis       r9, 0x5F # 0x5FF3FC
lis       r10, -0x8000 # 0x80003000
lis       r8, 0x2E6E # 0x2E6E6574
lis       r7, 0x2E6F # 0x2E6F7267

ori       r9, r9, 0xF3FC # 0x5FF3FC
ori       r10, r10, 0x3000 # 0x80003000
ori       r8, r8, 0x6574 # 0x2E6E6574
ori       r7, r7, 0x7267 # 0x2E6F7267

mtspr     CTR, r9

loc_800059E8:
lwz       r9, 0(r10)
cmpw      cr7, r9, r8
bne+      cr7, loc_800059F8

stw       r7, 0(r10)

loc_800059F8:
addi      r10, r10, 1
bdnz+     loc_800059E8

lis       r9, -0x8000 # 0x80001888
li        r10, 1
ori       r9, r9, 0x1888 # 0x80001888
stb       r10, 0(r9)
blr
# End of function replaceNetToOrg
Reply
#3
One question.
Will it be possible to modify this code so that it can connect to other servers, like Wiimmfi?
Reply
#4
Nope. However, somebody who is skilled in C++ can write their own code from scratch for that.
Reply
#5
Ok, I hope Star or FIX94 will make a customization version of this code.
Reply
#6
That's not happening. Star is done with MKW coding. Fix94 had nothing to do with the domain name changer code. I just added his No SSL with this so I wouldn't need to link the thread. You need Fix's No SSL no matter what, hence why its combined with star's code.
Reply
#7
(09-08-2018, 02:20 AM)zak Wrote: That's not happening. Star is done with MKW coding. Fix94 had nothing to do with the domain name changer code. I just added his No SSL with this so I wouldn't need to link the thread. You need Fix's No SSL no matter what, hence why its combined with star's code.

Wait. Why is Star done with MKW coding?
Reply
#8
(09-08-2018, 05:27 AM)420 Matt Wrote:
(09-08-2018, 02:20 AM)zak Wrote: That's not happening. Star is done with MKW coding. Fix94 had nothing to do with the domain name changer code. I just added his No SSL with this so I wouldn't need to link the thread. You need Fix's No SSL no matter what, hence why its combined with star's code.

Wait. Why is Star done with MKW coding?

College.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)