Dolphin, the GameCube and Wii emulator - Forums

Full Version: [UNOFFICIAL]Dolphin NAND Generator Released!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Quote: or an improved router-MAC-address-based lock system (which means you can no longer bypass bans by using another computer, but requires you to be connected to the Internet, or at least a default gateway with a MAC address).
Quit while you are ahead.

nmaster64

(07-16-2014, 07:03 AM)jimbo1qaz Wrote: [ -> ]I need to know whether I should use the existing registry-based mechanism (already cracked by RachelB) or an improved router-MAC-address-based lock system (which means you can no longer bypass bans by using another computer, but requires you to be connected to the Internet, or at least a default gateway with a MAC address).

Stop.
I've often thought about how nice it would be to play online with Dolphin. Whenever I read threads about how to connect to the old Nintendo network, and now this one about how to connect to Wiimm's network, it seems like a lot of hassle to go through for something that may or may not work. Even if I was able to connect to Wiimmfi today, it sounds likely that I would be blocked in the near future. Why try to force our way onto a network that doesn't want us? Wouldn't it be better to set up a server specifically for Dolphin? One that doesn't require any NAND generating or unbanning software, that anyone running Dolphin could use just by selecting the option in the game? I would happily donate to such a project.
(07-16-2014, 02:06 PM)artantaaa Wrote: [ -> ]I've often thought about how nice it would be to play online with Dolphin. Whenever I read threads about how to connect to the old Nintendo network, and now this one about how to connect to Wiimm's network, it seems like a lot of hassle to go through for something that may or may not work. Even if I was able to connect to Wiimmfi today, it sounds likely that I would be blocked in the near future. Why try to force our way onto a network that doesn't want us? Wouldn't it be better to set up a server specifically for Dolphin? One that doesn't require any NAND generating or unbanning software, that anyone running Dolphin could use just by selecting the option in the game? I would happily donate to such a project.
You don't need to generate a nand, just a different id. Dolphin will, by default, use the same ID for everyone. So obviously that ID is going to be banned from any server quite quickly. it's not that the network doesn't want us, it's that the default id is sooner or later going to be used by cheaters, and get banned.
So running your UnbanMii program will let me connect to Wiimmfi? And Wiimm is okay with it? I guess I'll give it a try.

Running:
g++ UnbanMii.cpp

Gives me:
In file included from stdafx.h:8:0,
from UnbanMii.cpp:1:
targetver.h:8:23: fatal error: SDKDDKVer.h: No such file or directory
compilation terminated.

I guess it's Windows only. Any idea if it will work in Wine?

If I end up having to use Windows to make UnbanMii work, will I be able to transfer the new id to Dolphin on my Linux installation?
It probably works in wine. It shouldn't take more than a few minutes to port to linux though. Basically just delete the windows specific stuff. Something like this maybe? http://pastie.org/private/fmjmhhxvjt5jdmwkn5vg
That's great that it will work in Linux. Thanks so much for modifying it. It still wouldn't compile, but maybe I just need to get the latest version of g++.

I tried the new version:
Code:
g++ UnbanMii.cpp

And got:
Code:
In file included from /usr/include/c++/4.7/random:35:0,
                 from UnbanMii.cpp:3:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
In file included from UnbanMii.cpp:5:0:
UnbanMii.h:3:9: error: ‘uint8_t’ does not name a type
UnbanMii.h:4:9: error: ‘uint16_t’ does not name a type
UnbanMii.h:5:9: error: ‘uint32_t’ does not name a type
UnbanMii.h:6:9: error: ‘uint64_t’ does not name a type
UnbanMii.h:26:2: error: ‘u32’ does not name a type
UnbanMii.h:27:2: error: ‘u32’ does not name a type
UnbanMii.h:28:2: error: ‘u64’ does not name a type
UnbanMii.h:29:2: error: ‘u32’ does not name a type
UnbanMii.h:30:2: error: ‘u32’ does not name a type
UnbanMii.h:35:2: error: ‘u8’ does not name a type
UnbanMii.h:36:2: error: ‘u32’ does not name a type
UnbanMii.h:37:2: error: ‘u32’ does not name a type
UnbanMii.cpp:7:1: error: ‘u32’ does not name a type
UnbanMii.cpp: In function ‘int _tmain(int, char**)’:
UnbanMii.cpp:50:69: error: no matching function for call to ‘std::basic_fstream<char>::open(std::string&, std::_Ios_Openmode)’
UnbanMii.cpp:50:69: note: candidate is:
In file included from UnbanMii.cpp:2:0:
/usr/include/c++/4.7/fstream:871:7: note: void std::basic_fstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
/usr/include/c++/4.7/fstream:871:7: note:   no known conversion for argument 1 from ‘std::string {aka std::basic_string<char>}’ to ‘const char*’
UnbanMii.cpp:53:19: error: ‘srand’ was not declared in this scope
UnbanMii.cpp:59:3: error: ‘u8’ was not declared in this scope
UnbanMii.cpp:59:7: error: ‘id’ was not declared in this scope
UnbanMii.cpp:59:16: error: expected primary-expression before ‘)’ token
UnbanMii.cpp:59:25: error: ‘struct nwc24_config_t’ has no member named ‘nwc24_id’
UnbanMii.cpp:61:15: error: ‘rand’ was not declared in this scope
UnbanMii.cpp:62:10: error: ‘struct nwc24_config_t’ has no member named ‘checksum’
UnbanMii.cpp:62:56: error: ‘CalculateNwc24ConfigChecksum’ was not declared in this scope

Tried with the -std=c++11 option:
Code:
g++ -std=c++11 UnbanMii.cpp

and got:
Code:
UnbanMii.cpp: In function ‘u32 CalculateNwc24ConfigChecksum(nwc24_config_t)’:
UnbanMii.cpp:14:34: error: ‘_byteswap_ulong’ was not declared in this scope
Change it to __builtin_bswap32 should do.
You mean like this?

Code:
u32 CalculateNwc24ConfigChecksum(nwc24_config_t config)
    {
        u32* ptr = (u32*)&config;
        u32 sum = 0;
        int i;
        for (i=0; i<0xFF; i++)
        {
            sum += _builtin_bswap32 (*ptr++);
        }
        return sum;
    }

That gives me:

Code:
UnbanMii.cpp: In function ‘u32 CalculateNwc24ConfigChecksum(nwc24_config_t)’:
UnbanMii.cpp:14:35: error: ‘_builtin_bswap32’ was not declared in this scope
Two underscores.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14