Hacking Giantpune's Wii NAND Tools For Mac OS X

wiisixtyfour

Well-Known Member
OP
Member
Joined
Feb 28, 2011
Messages
102
Trophies
0
Location
CA
Website
wiisixtyfour.webs.com
XP
111
Country
United States
Giantpune has made some very useful tools that allow you to do many things with a BootMii NAND dump. Check out the wiiqt project page here. I have compiled the latest versions of the four of giantpune's NAND tools for use on Mac OS X.
EDIT: In order to run these you need to install the Qt libraries from here: [qt.nokia.com] or install the Qt SDK from here: [qt.nokia.com]

The first tool is "nandBinCheck" which is used to display information about a nand.bin for the Wii. "nandBinCheck" is a Command Line Interface (CLI) program, so there's no fancy GUI. It is able to display information about boot1 & 2, NAND filesystem, permissions, ecc, hmac, SFFS, detect causes of many different types of bricks (opera, 003, unbootable IOS). With this program, you are almost guaranteed that a nand.bin is safe to install on a Wii. Note: You must run nandBinCheck from a Terminal window. You can find Terminal in Launchpad in the Utilities folder.
Get nandBinCheck here.

The next tool is "ohneschwanzenegger". It is a program for creating, formatting, & writing to a nand.bin. It allows you to create a nand.bin on your Mac that you can then install with BootMii or a flash programmer. It accepts WADs or can download titles and full updates from NUS. It is still recommended that you check the contents of a nand.bin before installing it to a Wii.
Get ohneschwanzenegger here.

The third tool is "nandExtract" which can extract some or all files from a nand.bin, as well as examine its contents. You can see all the blocks of the NAND dump as well as info about the boot sector and such.
Get nandExtract here.

The final tool is "punetwiin". It's basically like betwiin which converts a NAND.bin to use on a different Wii. It works slightly different though; It takes a full nand.bin for both done files. It pulls the files and filesystem from the first NAND, and it pulls boot1 and boot2, the keys and the bad block map from the second NAND. When its done, you will have the contents from the filesystem in the first NAND mixed with everything else from the second NAND. The full process should take about 2 minutes. Bad blocks are taken into account, so it should be safer that Betwiin. Anybody using punetwiin is encouraged to verify the content of the output file before installing it. Note: You must run punetwiin from a Terminal window. You can find Terminal in Launchpad in the Utilities folder.
Get punetwiin here.

Of course all credit for these apps goes to giantpune all I did was compile them for Mac OS X.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
did you build the Qt libraries to link statically? and did you use the static libs to link to these binaries? and did you have it build universal mac binaries?

if you didnt built the Qt libraries statically, and use the static libs to build these, then people will need to have, at least, the necessary .so files in the right path. and if you didnt change the .pro file to build a universal binary, then i think it wil only be for the intel or ppc, but not both. I built Qt statically for OSx 1 time and it took about 4 hours to compile, even after you figure out all the right configure switches. And then I had something still missing, so I never did get it to build a universal binary the way i wanted it to.

If you are dynamically linking to the Qt libs, you can run "otool -L /path/to/binary" and it should tell you what libs people will need to be able to use these without having to install the full Qt framework.

Also, I never had a chance to try these out on a big endian machine. everything SHOULD be right, but people using such processors should be extra cautious with these since they are in uncharted waters.
 

wiisixtyfour

Well-Known Member
OP
Member
Joined
Feb 28, 2011
Messages
102
Trophies
0
Location
CA
Website
wiisixtyfour.webs.com
XP
111
Country
United States
I didn't build the Qt libs or change the .pro file. All I did was download the Qt Creator and then compile your apps with it. They work for me, but I haven't really done testing or anything. I really don't know much about Mac nor do I know about coding.
If anyone could try these and see if they work without any libs or external files that would help. If anything else is needed then I'll update the post.
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
the reason they work for you is because you installed all the required libraries. if somebody using a mac without these libraries tries to run them, it will just spit out an error and not start.
 

tueidj

I R Expert
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
That might be relevant if anyone was going to set up a server giving remote access to these tools but otherwise I can't see how it matters.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
    K3Nv2 @ K3Nv2: Tell Kanye I need power