					  NMM v0.2a by crediar
-------------------------------------------------------------------------

NMM is a tool which patches all GameCube Memory Card code to access the
front SD card instead.

This obviously only works on a Wii in GC mode.

It is not allowed to resell, rehost, redistribute or include the files of
this tool in any packages!

Changes
-------------------------------------------------------------------------
0.2a:
	-NMM now skips the CARD patches when something is inserted in slot A
    -Rewrote the xNEEK-Installation instructions
	-Added WAD-Installation instrucions
	-Fixed CARDMountAsync
	-Fixed CARDCreate
	-Fixed CARDOpen
	-Fixed CARDGetStat always returning SUCCESS even when entries were
	 empty
	-Fixed a bug in the CARDCreate code which would always create a 512
	 byte file instead of the real size.
	-Fixed a bug that only created a too small stats.bin
	-Added a new pattern for CARDProbeEx (SSBM)
	-Added CARDFastOpen patch and pattern (SSBM)
	-Added CARDGetEncoding patch and pattern (XG3)
	-Added CARDGetMemSize patch and pattern (XG3)

0.1a:
    -This version already did cache the patches though the readme.txt 
	 said it wouldn't
	 

xNEEK-Installation
-------------------------------------------------------------------------
1. Download MIOSv10 from NUS and decrypt it
2. Use FixELF to create the patched MIOS file:
   FixELF 0000000c.app nmm.elf 0000008.app
3. Assure that BC is installed to your virtual NAND
4. Navigate to the BC folder on your NAND
   /title/00000001/00000100/content/
5. Replace the 00000008.app file with the just created patched MIOS file

Note: "00000008.app" is the name of BC when BCv6 is installed, if using
   a different version just replace the larger file!

6a. When using SNEEK or UNEEK without DI, simply insert the game you want 
    to play and start it through the disc channel

6b. With +DI we sadly have to use a workaround, you must install a GC
    game via the DiscEX tool and then select it in the SNEEK menu.
	(This will NOT load the selected game from USB!)


WAD-Installation
-------------------------------------------------------------------------
1. Download MIOSv10 and BCv6 from NUS and decrypt it
2. Use FixELF to create the patched MIOS file:
   FixELF 0000000c.app nmm.elf 0000008.app
3. Replace the 0000008.app file of the BC files
4. Repack the BC contents
5. Use any wad installer to install the wad

Note: NMM can be installed to any IOS slot, you just need a way to load
      that IOS slot.

Unstalltion
-------------------------------------------------------------------------
Simply get a clean BC wad from NUS and install it.


General Info
-------------------------------------------------------------------------

NMM will not apply any patches when something is inserted in slot A!

NMM outputs some log info via USBGecko and also some parts to /nmm.log.

NMM uses a cache system for the patches. After the first launch of a game
any further launches will be much faster.

NMM emulates the memory card in slot A.


FAQ
-------------------------------------------------------------------------

Q: Does this only work with original games?

A: NMM only works with original discs, or anything the drive accepts.
   If you have a drivechip installed a copy will work aswell.

Q: What about a version that uses USB?

A: That's sadly not possible due a hardware limitation.
   Same reason why DIOS-MIOS was discontinued!

Q: Will I be able to manage the virtual GC memory card in the Wii menu?

A: No.

Q: Where is the source?

A: There won't be any source code, sven gave me a license free version
   of his SD/SDHC code.

Q: What about those games that are not working, will they ever work?

A: Usually those games just need a new pattern for some CARD function
   that the current patcher misses.

Q: My Wii suddenly switched itself off?!

A: When a fatal error occurs a debug message is sent via USBGecko and
   NMM shuts the Wii down.

Q: Why did you make this tool? I can get a GC memcard for 5/$/Yen!

A: Soley for the challenge of it, I don't care if anyone uses but I
   know there are at least a few who will use it, so I release it.

Q: Why don't you want others to rehost your tools?

A: The main reason is to prevent that outdated versions stay online,
   another reason is that I don't want to support all those premium
   web hosters, if you upload stuff there you help THEM to make money!
   And why should they earn money from my(your) work?

Game Compatibility
-------------------------------------------------------------------------

Here a short list of games I've tested personally so you can verify that
your setup is working.

I'm sure people will set up a real list somewhere online.

Working:
 Zelda:WW
 Zelda:Four Swords
 Mario Kart Double Dash
 Super Mario Sunshine
 Xtreme G 3 (Hold A to save/load/create)
 Tony Hawk's Pro Skater 4


Not Working:
 Super Smash Bro. Melee (freeze on file creation)
 Eternal Darkness
 F-Zero GX (does work until after the name select)
 Timersplitters 2
 Baldur's Gate: Dark Alliance
 Soulcalibur 2

Credits
-------------------------------------------------------------------------

SD/SDHC code by sven
FATLib by ChaN


Special thanks
-------------------------------------------------------------------------

To all who contributed to WiiRd and Dolphin!

