Do Not Change Created File Size [Required]; Handling Corrupted Files [Recommended]; Handling Corrupted Wii System Memory [Recommended]; Saving Data During The Shutdown Process [Recommended] - Nintendo Wii Programming Manuallines

Hide thumbs Also See for Wii:
Table of Contents

Advertisement

Wii Programming Guidelines
Anticipating that users may want to organize the contents stored in the Wii system memory
themselves, the function OSReturnToMenu resets the system and brings up a screen used to edit the
contents of the Wii system memory. Consider implementation of specifications where the user is
notified when there are not enough resources, but where he or she can go to the screen for editing
Wii system memory. If this type of processing is not embedded in software, display the following type
of message on the screen.
"To edit the contents of Wii system memory, use the Data Management Screen on the Wii console."
For details on displayed messages and available options, see the Wii Message List.

8.12 Do Not Change Created File Size [Required]

In general, do not change the size of a file once it has been created. If you do, the application may
not be able to proceed due to insufficient memory caused by the size of a file having been increased
while the application is running. Be sure to create files that are large enough to begin with.
Please contact Nintendo in the case of applications that are impractical unless the file size is variable.

8.13 Handling Corrupted Files [Recommended]

If a NAND function returns the result code NAND_RESULT_ECC_CRIT or
NAND_RESULT_AUTHENTICATION, or if the size of the save file differs from the size expected by
the application program, display a message indicating that data has been corrupted and that the file
cannot be used. Allow the user to delete the old files and to create new ones.
See the Wii Message List for messages to display and options to present to the user.

8.14 Handling Corrupted Wii System Memory [Recommended]

Be sure to display a message like the following if NAND_RESULT_CORRUPT is returned as the result
code for a NAND function.
"The Wii system memory has been corrupted. Refer to the Wii Operations Manual for further
instructions."

8.15 Saving Data During the Shutdown Process [Recommended]

If it is detected that the Power Button has been pressed, applications must quickly begin shutdown
processing. If application data needs to be saved in Wii system memory during shutdown, make sure
that saving can be completed within one second.
RVL-06-0132-001-I
Released: October 11, 2006
44
© 2006 Nintendo
CONFIDENTIAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents