The nwc24errgen tool is used to assist in the implementation of error processing for applications that use WiiConnect24. This tool can generate several error states related to message boxes.
Change to the $REVOLUTION_EXT_ROOT/RVL/bin/tools directory and run the ndrun script with the nwc24errgen[D].elf file as an argument.
Operations can be performed using either the Wii Remote or the Nintendo GameCube controller.
| Confirm | A Button |
| Cancel | B Button |
| Move Cursor | +Control Pad - Up/Down/Left/Right |
| Return to the Wii Menu | HOME (START/PAUSE) |
Initializes the outbox.
If the inbox is corrupted, this will also initialize the inbox.
Initializes the inbox.
If the outbox is corrupted, this will also initialize the outbox.
Puts the outbox into a corrupted state.
If the application runs the NWC24OpenLib function in this state, NWC24_ERR_BROKEN will be returned and the function will fail.
Puts the inbox into a corrupted state.
If the application runs the NWC24OpenLib function in this state, NWC24_ERR_BROKEN will be returned and the function will fail.
Fills the outbox completely.
If, in this state, the application runs the NWC24Check function with NWC24_USE_MESSAAGES as an argument, NWC24_ERR_FULL will be returned.
The packed-in messages have special settings that cause them to remain unsent even if time has elapsed. Initialize the outbox to return it to its original state. (Any messages present in the outbox before this command was run will be sent as usual.)
Stores a single message with corrupted content in the inbox.
It is possible to specify the message type (either MSGTYPE_WII_APP or MSGTYPE_WII_APP_HIDDEN) and the application ID for the message.
If an application attempts to load the message created here, the NWC24ReadMsg* functions will return an error and fail.
2008/12/11 Added description related to specifying the message type.
2008/05/01 Initial version.