In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

/shared2

From WiiBrew
Jump to navigation Jump to search
/shared2
TypeDirectory
OwnerIOS
Group ID0

/shared2 is a general purpose directory used as a shared savefile-like space, much like how /shared1 holds shared title contents. It was probably created later in the Wii's development, since some shared files are instead in the System Menu's savefile (/title/00000001/00000002/data).

The NAND SDK library seems to deny access to /shared2 through the main OpenFile, although a separate function (OpenFilePrivileged) exists without this restriction, and due to the lack of memory protection in Revolution OS, OpenFilePrivileged can be freely called.

A quick (and incomplete) overview of the containing folders:

  • /menu/FaceLib/RFL_DB.dat - this is the database-file where Mii's are stored
  • /sys/net/dhcp.dat - This file contains IP-addresses used by the Wii when connecting to the internet
  • /sys/NANDBOOTINFO - This file keeps state about what title was most recently launched by the System Menu.
  • /expired - contains something like a PlayTime-limit? (Reference: OSPlayTime.c - PlayTime: %d seconds left [found in mariokart-channel])
  • /test2/dvderror.dat - This file keeps track of disc drive errors
  • /test2/nanderr.log - This file presumably keeps track of NAND errors
  • /ec - State kept by the Wii Store (EC = "Electronic Commerce", probably)
  • /succession - contains shop.log and transfer.id, both presumably have something to do with the shop channel.
  • /menu - Public state managed by the system menu