CNTInitHandleTitle to return CNT_RESULT_UNKNOWN.setnparentalcontrol so that the ESRB_ONLINE and p flags cannot be set.CNTSeekDir and CNTRewindDir to operate abnormally.CNTFastOpen to operate abnormally.setncountrycode with setcountrycodeCNTReadWithOffset and the CNT_READ_BACKWARD_COMPATIBLE macro for backward compatibilityCNTReadresetcode always return 0 at OSRestartmakeWad -m option open to the public.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.
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."
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.
A shared content file for Wii bitmap fonts has been added to the package.
A shared content file for the Strap Usage Screen has been added to the package.
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.
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.
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.
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.
CNTSeekDir and CNTRewindDir to operate abnormally.
CNTSeekDir and CNTRewindDir did not work properly with NAND applications.
This problem has been resolved.
CNTFastOpen to operate abnormally.
Files could not be opened using CNTFastOpen.
This problem has been resolved.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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);
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.
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.
Support for MEM2 size simulations has been added to NAND applications For details, see the MEM2 size simulation section in the manual.
Support for debugging in CodeWarrior has been added to NAND applications. For details, read the section about debugging with CodeWarrior in the manual.
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.
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.
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.
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);
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.
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.
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.
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.
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.
- 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).
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.
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.
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.
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);
The progressive output was breaking up when a NAND application started in progressive output mode.
This problem has been resolved.
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.
When an application was started from N Menu, it would sometimes not start up and the system would hang.
This problem has been resolved.
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.
The hash creation algorithm used with makeWad create a WAD file that could not be imported.
This problem has been resolved.
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.
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.
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.
Corrected the CNTRead Function Reference page for NADK 1.0, which was missing the offset argument.
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);
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);
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.
In cases where a program included interrupt processing, there was a problem where application startup might be unstable.
This problem has been resolved.
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.
NADK Version 1.0 is the first SDK to support NAND application development.
Nintendo Technical Support Center
CONFIDENTIAL