NADK Release Notes


2008/01/16 NADK Version 2.2 Patch 3 (2008/03/05)
Note 62 (CNT): Fixed a bug that caused CNTInitHandleTitle to return CNT_RESULT_UNKNOWN.
Note 61 (ALL): Changed the shared content file for the Strap Usage Screen.
2008/01/16 NADK Version 2.2 Patch 2 (2008/02/21)
Note 60 (TOOL): Changed setnparentalcontrol so that the ESRB_ONLINE and p flags cannot be set.
Note 59 (ALL): Added a shared content file for Wii bitmap fonts.
Note 58 (ALL): Added a shared content file for the Strap Usage Screen.
Note 57 (ALL): Added a manual and demos for data titles.
2008/01/16 NADK Version 2.2 Patch 1 (2008/01/29)
Note 56 (TOOL): Changed the way non-executable NAND applications are handled by Nmenu.
Note 55 (TOOL): Revised how to calculate the number of content files displayed by Nmenu.
Note 54 (CNT): Resolved a problem with modules created for NADK 2.1 and earlier versions
Note 53 (CNT): Fixed a bug that caused CNTSeekDir and CNTRewindDir to operate abnormally.
Note 52 (CNT): Fixed a bug that caused CNTFastOpen to operate abnormally.
Note 51 (OS): Fixed a bug that prevented the reset code from being configured.
2008/01/16 NADK Version 2.2 (2008/01/16)
Note 50 (TOOL): Integrated setncountrycode with setcountrycode
Note 49 (TOOL): Added a confirmation tool for calling up the online manual
Note 48 (TOOL): Added a check on program size restrictions
Note 47 (CNT): Changed the definition method to reflect changes to internal operations of the CNT API
Note 46 (CNT): Added CNTReadWithOffset and the CNT_READ_BACKWARD_COMPATIBLE macro for backward compatibility
Note 45 (CNT): Changed specifications of CNTRead
Note 44 (OS): Revised specifications that had resetcode always return 0 at OSRestart
Note 43 (ALL): Added support for compressing DOL files
2007/08/08 NADK Version 2.1 (2007/08/08)
Note 42 (TOOL): Discontinued the feature for deleting shared contents.
Note 41 (TOOL): Resolved a problem with Nmenu.
Note 40 (TOOL): Added the option NOEXPORT so that a WAD file is not created at time of build.
Note 39 (MAN): Added descriptions of various settings to the manual.
Note 38 (CNT): Corrected a mistake in the name of the argument in the macro definition for CNTInitHandle.
2007/05/11 NADK Version 2.0 Patch 1 (2007/06/29)
Note 37 (TOOL): Fixed a bug in makeWad.
2007/05/11 NADK Version 2.0 (2007/05/11)
Note 36 (CNT): Revised result codes.
Note 35 (CNT): Removed path length restrictions.
Note 34 (CNT): Added new APIs.
Note 33 (TOOL): Added N Menu support for the Wii Remote.
Note 32 (TOOL): Added support for the deletion of shared contents.
Note 31 (TOOL): Added support for MEM2 size simulation.
Note 30 (TOOL): Added support for debugging using CodeWarrior.
Note 29 (TOOL): Fixed a bug in makeWad.
2006/10/26 NADK Version 1 Patch 1 (2007/04/23)
Note 28 (TOOL): Revised specifications so that PEGI (Finland) can no longer be set.
2006/10/26 NADK Version 1.5 (2006/10/26)
Note 27 (TOOL): Added support in the N Menu for checking country codes and Parental Controls.
Note 26 (CNT): Added APIs related to file access.
2006/10/20 NADK Version 1.4 Patch 1 (2006/10/25)
Note 25 (TOOL): Changes to the way banner data is handled within .wad files and made the makeWad -m option open to the public.
Note 24 (TOOL): Added the -z option to makeWad.
Note 23 (TOOL): Added SD Browser Mode to the N Menu.
2006/10/20 NADK Version 1.4 (2006/10/20)
Note 22 (TOOL): Deleted setWadinfo and added tools for setting new country identifier codes and parental controls.
Note 21 (TOOL): Deleted the makeWad -N option.
Note 20 (TOOL): Changed the way the makeWad -g option is specified.
Note 19 (TOOL): Resolved a problem where garbage was displayed on the screen when starting a NAND application.
Note 18 (MAN): Added a description of shared content.
2006/09/27 NADK Version 1.3 (2006/09/27)
Note 17 (TOOL): Added support for progressive/EURGB60 display in N Menu.
Note 16 (CNT): Added a device shutdown function.
Note 15 (OS): Resolved a problem where progressive output was intermittent at NAND application startup.
2006/09/22 NADK Version 1.2 (2006/09/22)
Note 14 (OS): Changed the way console settings are referenced at startup.
Note 13 (OS): Resolved a problem occurring at startup.
2006/09/20 NADK Version 1.1 (2006/09/20)
Note 12 (TOOL): Changed ID Numbers.
Note 11 (TOOL): Revised makeWad.
Note 10 (TOOL): Added configuration file tools for the country identification code and Parental Controls.
Note 9 (TOOL): Added support for configuration files to makeWad.
Note 8 (TOOL): Changed the specifications of N Menu save data.
Note 7 (MAN): Revised the CNTRead manual.
Note 6 (CNT): Added APIs for directory access.
Note 5 (CNT): Added an API and support for relative paths.
Note 4 (OS): Added support for reset.
Note 3 (OS): Resolved a problem with interrupt processing.
Note 2 (OS): Revised code so that functions that reference console settings now get correct values.
2006/08/15 NADK Version 1.0 (2006/08/15)
Note 1: NADK 1.0 Initial Release

2008/01/16 NADK Version 2.2 Patch 3
(2008/03/05)


Note 62 (CNT): Fixed a bug that caused CNTInitHandleTitle to return CNT_RESULT_UNKNOWN.

There was a problem with CNTInitHandleTitle returning CNT_RESULT_UNKNOWN when using CNTInitHandleTitle on a title that had never been installed before.

This problem has been resolved. CNT_RESULT_INVALID is now returned in the case of titles that do not exist.


Note 61 (ALL): Changed the shared content file for the Strap Usage Screen.

The image format used for the strap usage screen has been changed from bmp to tpl.

Along with this change, a demo for displaying the Strap Usage Screen using a shared content file has been added. For details, see the "Strap Usage Screen Display Demo."


2008/01/16 NADK Version 2.2 Patch 2
(2008/02/21)


Note 60 (TOOL): Changed setnparentalcontrol so that the ESRB_ONLINE and p flags cannot be set.

Changed setnparentalcontrol so you cannot set the ESRB_ONLINE flag or the p flag. Also deleted reference to these flags from the manual. There is no need to set these flags.


Note 59 (ALL): Added a shared content file for Wii bitmap fonts.

A shared content file for Wii bitmap fonts has been added to the package.


Note 58 (ALL): Added a shared content file for the Strap Usage Screen.

A shared content file for the Strap Usage Screen has been added to the package.


Note 57 (ALL): Added a manual and demos for data titles.

Added a manual and demos for the development of data titles that are used for additional data sales, and for the development of applications that use these data titles.

To develop applications that support data titles you also need the ECDK (the E-Commerce Library), which is provided separately.


2008/01/16 NADK Version 2.2 Patch 1
(2008/01/29)


Note 56 (TOOL): Changed the way non-executable NAND applications are handled by Nmenu.

On the Nmenu, only executable applications were shown and could be manipulated. Now, applications lacking some information because it was deleted on the Wii Menu are also displayed as Incomplete applications.


Note 55 (TOOL): Revised how to calculate the number of content files displayed by Nmenu.

Previously, Nmenu and Master Editor used different calculation methods, so a different number of content files were displayed; now, the methods are the same. In addition, the method of display was changed so that now the number of shared content files is also shown.


Note 54 (CNT): Resolved a problem with modules created for NADK 2.1 and earlier versions

RSO and other modules created for NADK 2.1 and earlier versions did not work correctly on NADK 2.2.

This problem has been resolved.


Note 53 (CNT): Fixed a bug that caused CNTSeekDir and CNTRewindDir to operate abnormally.

CNTSeekDir and CNTRewindDir did not work properly with NAND applications.

This problem has been resolved.


Note 52 (CNT): Fixed a bug that caused CNTFastOpen to operate abnormally.

Files could not be opened using CNTFastOpen.

This problem has been resolved.


Note 51 (OS): Fixed a bug that prevented the reset code from being configured.

In accordance with a specification change implemented in NADK 2.2, the Reset code becomes enabled after OSRestart has executed. However, due to a bug, the specified value would not be reflected in this code, and instead would always return 0x80000001.

This problem has been resolved.


2008/01/16 NADK Version 2.2
(2008/01/16)


Note 50 (TOOL): Integrated setncountrycode with setcountrycode

Integrated setncountrycode with setcountrycode. The country code used with NAND applications is set at the same time as that set using setcountrycode.


Note 49 (TOOL): Added a confirmation tool for calling up the online manual

Added a confirmation channel (dummyviewer.wad) for calling up the online manual. This tool is used to confirm the online manual call sequence when offline. This tool is not for checking the manual itself. For details, see [Tools --> dummyviewer] in the NADK manual.


Note 48 (TOOL): Added a check on program size restrictions

To the startup program, added a check to see that the program size does not exceed 9 MB. This program size restriction applies to the size after compression.


Note 47 (CNT): Changed the definition method to reflect changes to internal operations of the CNT API

The definition method has been changed because internal operations have changed when selecting CNT API NAND applications and disc applications.

This change only affects the definition method, not the way in which the CNT API is used.


Note 46 (CNT): Added CNTReadWithOffset and the CNT_READ_BACKWARD_COMPATIBLE macro for backward compatibility

The function CNTReadWithOffset, which retains the same behavior and arguments as in the past, has been newly established for backward compatibility in line with changes to the specifications of CNTRead.

In addition, the macro CNT_READ_BACKWARD_COMPATIBLE for replacing CNTRead with CNTReadWithOffset has been added. Applications created for use with previous versions of NADK can be ported to the new version by defining this macro.


Note 45 (CNT): Changed specifications of CNTRead

Although under previous versions of NADK the access position of a file did not change even after being read with CNTRead; to match the specifications of NANDRead, the access position of the file after being read has been changed so that it is now moved by the amount read. In addition, the parameter offset has also been deleted.


Note 44 (OS): Revised specifications that had resetcode always return 0 at OSRestart

Formerly, 0 was always returned upon OSRestart when running NAND applications even if resetcode was specified, because resetcode was disabled. This specification has been changed. Just as with disc applications, only the lower 29 bits of resetcode are enabled.

This function can be used in conjunction with Revolution SDK 3.1 Patch 3 and later.


Note 43 (ALL): Added support for compressing DOL files

Added support for compressing DOL files. It is possible to embed DOL files compressed using the compression tool ntcompress, included in the Revolution SDK, in a WAD file and then start execution. As the compression methods, both LZ77 compression and LZ77 extended compression are supported. For details, see the NADK manual.

Although compression is carried out even when a WAD file is created automatically at build time, uncompressed DOL files are also supported just as in the past. Compression can be turned off by defining NOCOMPRESS at make time.


2007/08/08 NADK Version 2.1
(2007/08/08)


Note 42 (TOOL): Discontinued the feature for deleting shared contents.

A problem was discovered with the feature for deleting shared contents, so it was discontinued.

As with version 1.5 and earlier, when using NADK do not specify as shared content anything but designated contents. Although the feature for deleting shared contents is included in Version 2.0 of the N Menu, do not use it anymore.


Note 41 (TOOL): Resolved a problem with Nmenu.

The following bugs were fixed in N Menu:

- In SD mode, the process would stop when a directory was opened that included a file with a Japanese-language name.
- The process would stop if an application was deleted after being imported via auto-import.
- Files or directories that have either two or more attributes (such as "read-only" and "archive") or no attributes are not displayed.


Note 40 (TOOL): Added the option NOEXPORT so that a WAD file is not created at time of build.

Up until now, when NANDAPP was defined as an option when making a build, WAD files would be created automatically. Now the NOEXPORT option has been added. With this option, the compile switch stays on and the build only goes as far as creating elf files, so the NAND application's API can be used. For details, read the section about the make option in the manual.


Note 39 (MAN): Added descriptions of various settings to the manual.

Added descriptions to the manual for configuring data such as the game code during WAD file creation.
Added descriptions of various settings required to display and run applications on Wii Menu to the top-level page of the manual. To accommodate this addition, also added the settings for the Example wad File Creation in the makeWad manual.


Note 38 (CNT): Corrected a mistake in the name of the argument in the macro definition for CNTInitHandle.

The name of the argument in the macro definition for CNTInitHandle was different in the API for disc applications and the API for NAND applications. That was corrected.

This change has no effect on the behavior of the applications.


2007/05/11 SDK Version 2.0 Patch 1
(2007/06/29)


Note 37 (TOOL): Fixed a bug in makeWad.

Fixed the following bug: the ROM font to be used was not selected correctly for the consoles of regions other than Japan, North America, or Europe.


2007/05/11 NADK Version 2.0
(2007/05/11)


Note 36 (CNT): Revised result codes.

Revised result codes. Several result codes have been added, combined, and deleted since the last version. Information on result codes may be found in the result code section of the Introduction. Refer to the reference for each function to learn about result codes each function may return.


Note 35 (CNT): Removed path length restrictions.

The 128 characters or less path length restriction has been removed.
However, since increasing the length of a file path will result in an increase in FST size, it is necessary to have enough accommodating FST memory.


Note 34 (CNT): Added New APIs.

The following APIs have been added:

Obtains the current position of the file.
s32 CNTTell(CNTFileInfo* cf);

Gets the FST size.
s32 CNTGetFSTSize(u32 contentIdx, u32* size);


Note 33 (TOOL): Added N Menu support for the Wii Remote.

The N Menu now supports the Wii Remote In order to simplify operations with the Wii Remote, some of the existing methods of operation for the GC controller have been changed. See the manual for details on these operations.


Note 32 (TOOL): Added support for the deletion of shared contents.

There used to not be any way to delete shared contents. Now, by selecting NAND Clean (Application Delete All) from the N Menu, shared contents may be deleted.


Note 31 (TOOL): Added support for MEM2 size simulation.

Support for MEM2 size simulations has been added to NAND applications For details, see the MEM2 size simulation section in the manual.


Note 30 (TOOL): Added support for debugging using CodeWarrior.

Support for debugging in CodeWarrior has been added to NAND applications. For details, read the section about debugging with CodeWarrior in the manual.


Note 29 (TOOL): Fixed a bug in makeWad.

There was a bug in -l option for makeWad that would result in an error if a long argument was passed.

This problem has been resolved.


2006/10/26 NADK Version 1 Patch 1 (2007/04/23)
(2007/04/23)


Note 28 (TOOL): Revised specifications so that PEGI (Finland) can no longer be set.

In January 2007, PEGI (Finland) was eliminated and PEGI (general) became applicable in Finland.

Applying this patch will make it impossible to specify PEGI (Finland). However, to support System Menu 2, the PEGI (Finland) item will remain internally; when PEGI (general) is specified, the same value will be entered automatically.


2006/10/26 NADK Version 1.5
(2006/10/26)


Note 27 (TOOL): Added support in the N Menu for checking country codes and Parental Controls.

Support was added in the N Menu for country codes and Parental Control checks. For more on those settings, see the manual sections on setncountrycode and setnparentalcontrol. For more on the console settings, refer to the DEVKIT menu in the SDK Manual.


Note 26 (CNT): Added APIs related to file access.

The following APIs were added specific to file access.

s32 CNTFastOpen(CNTHandle* handle, s32 entrynum, CNTFileInfo* cf);
s32 CNTConvertPathToEntrynum(CNTHandle* handle, const char* filename);
BOOL CNTEntrynumIsDir(s32 entrynum);


2006/10/20 NADK Version 1.4 Patch 1
(2006/10/25)


Note 25 (TOOL): Changes to the way banner data is handled within .wad files and made the -m option open to the public.

Published the -m option, formerly a hidden option for makeWad used to specify banner data. At the same time, there were changes made to the way banner data is handled within .wad files. See Tools -> makeWad for information on specifying banner data.


Note 24 (TOOL): Added the -z option to makeWad.

Added the -z option to makeWad to display its version. The version is 1.0 for Version 1.4 Patch 1. There are no version numbers for earlier versions of makeWad.


Note 23 (TOOL): Added SD Browser Mode to the N Menu.

The N Menu now supports the importing of .wad files from SD Cards. For more information, see the pages on the N Menu in the manual.


2006/10/20 NADK Version 1.4
(2006/10/20)


Note 22 (TOOL): Deleted setWadinfo and added tools for setting new country identifier codes and parental controls.

Deleted setWadinfo, which had been provided for creating the settings file for country identifier codes and parental control settings.

In its place, added new tools for the country identifier code settings and the parental control information settings. The new tools are named setncountrycode and setnparentalcontrol. For details, see Tools -> setncountrycode and Tools -> setnparentalcontrol in the documentation.


Note 21 (TOOL): Deleted the makeWad -N option.

Because setWadinfo was deleted (as mentioned above), the makeWad -N option was also deleted. The information set by setncountrycode and setnparentalcontrol automatically gets reflected when makeWad executes.


Note 20 (TOOL): Changed the way the makeWad -g option is specified.

- The method for specifying the makeWad -g option has been changed.

Up until now, the -g option was specified as a decimal value. Now it is specified using either hexadecimal or a character string. In either case, the option is specified with a 16-bit value (either hexadecimal digits or two characters).


Note 19 (TOOL): Resolved a problem where garbage was displayed on the screen when starting a NAND application.

When NAND applications were started from the N Menu, there was a problem with junk displaying on the screen after startup.

This problem has been resolved.


Note 18 (MAN): Added a description of shared content.

A section has been added explaining content that is shared among multiple applications. For details, see Introduction -> About shared content in the manual. To learn about the shared content specifications, see Tools -> makeWad.


2006/09/27 NADK Version 1.3
(2006/09/27)


Note 17 (TOOL): Added support for progressive/EURGB60 display in N Menu.

N Menu now supports progressive/EURGB60 output.

The output automatically switches to progressive display when the display is connected with a D-terminal or component cable and the progressive setting of the NDEV system menu is ON.

The output automatically switches to EURGB60 when the NDEV system menu video mode is PAL and the EURGB60 setting is ON.


Note 16 (CNT): Added a device shutdown function.

A function for safe device shutdown during a reset or a shutdown has been added. Call this function when performing a reset or a shutdown.

void CNTShutdown(void);


Note 15 (OS): Resolved a problem where progressive output was intermittent at NAND application startup.

The progressive output was breaking up when a NAND application started in progressive output mode.

This problem has been resolved.


2006/09/22 NADK Version 1.2
(2006/09/22)


Note 14 (OS): Changed the way console settings are referenced at startup.

A change has been made to the way the console settings are referenced. Because of the change, NAND applications may not be able to execute on consoles (including NDEV RVT-R reader) that have not been configured.

Configure the console settings from the NDEV system menu (see /man/en_US/tools/devkitmenu.html in the SDK for details), then push START to save the settings so they are applied on the console.


Note 13 (OS): Resolved a problem occuring at startup.

When an application was started from N Menu, it would sometimes not start up and the system would hang.

This problem has been resolved.


2006/09/20 NADK Version 1.1
(2006/09/20)


Note 12 (TOOL): Changed ID Numbers.

The identifying number for NAND applications was changed. (The number cannot be confirmed from the menu.) This package reflects that change. As a result, if there is a previously created NAND application in NAND and you create and import another NAND application that has the same initial code, you will end up importing what appears to be two copies of the same title. If this occurs, delete both and re-import the new one.


Note 11 (TOOL): Revised makeWad.

The hash creation algorithm used with makeWad create a WAD file that could not be imported.

This problem has been resolved.


Note 10 (TOOL): Added configuration file tools for the country identification code and the Parental Control.

Added a tool for creating a settings file for country codes and parental control. For details, see Tools -> setWadinfo in the documentation.

The details regarding the parental controls are still under development.


Note 9 (TOOL): Added support for configuration files to makeWad.

Modified makeWad so that the -N option can be specified to read the country code and Parental Control settings file and have those settings applied to the .wad file.


Note 8 (TOOL): Changed the specifications of N Menu save data.

Previously, N Menu showed a title with only the save data for Disc Save. Along with a utility for save data operations in the NDEV system menu, the title which showed only the save data is no longer displayed.


Note 7 (MAN): Revised the CNTRead manual.

Corrected the CNTRead Function Reference page for NADK 1.0, which was missing the offset argument.


Note 6 (CNT): Added APIs for directory access.

The following directory-access functions were added as the the new API:

BOOL CNTOpenDir(CNTHandle* handle, const char* dirName, CNTDir* dir);
BOOL CNTReadDir(CNTDir* dir, CNTDirEntry* dirent);
BOOL CNTCloseDir(CNTDir* dir);
u32 CNTTellDir(CNTDir* dir);
void CNTSeekDir(CNTDir* dir, u32 loc);
void CNTRewindDir(CNTDir* dir);


Note 5 (CNT): Added an API and support for relative paths.

The following functions were added as part of the new API: Also added the ability to specify a relative path to open files, etc.

s32 CNTChangeDir(CNTHandle* handle, const char* dirName);
s32 CNTGetCurrentDir(CNTHandle* handle, char* path, u32 maxlen);


Note 4 (OS): Added support for reset.

When OSRestart was executed inside a NAND application, the process would return to the start of N Menu instead of returning to the start of the application. This has been corrected so that the NAND application re-executes. However, this is not reflected in resetcode of OSRestart.

When performing the reset, go through the appropriate shutdown procedure to end all callbacks, then call OSRestart.


Note 3 (OS): Resolved a problem with interrupt processing.

In cases where a program included interrupt processing, there was a problem where application startup might be unstable.

This problem has been resolved.


Note 2 (OS): Revised code so that functions that reference console settings now get correct values.

The functions that referenced the console settings would return incorrect values. For example, the following problems have been reported:

- When the VideoMode of NDEV was set to PAL mode, the VIGetTvFormat() function returned VI_NTSC(0).
- When OSGetTime() was executed, the current time and date was not returned.

This problem has been resolved.


2006/08/15 NADK Version 1.0
(2006/08/15)


Note 1: NADK 1.0 Initial Release

NADK Version 1.0 is the first SDK to support NAND application development.



Nintendo Technical Support Center


CONFIDENTIAL