AssignGpuRight and ReleaseGpuRight functions from public view [SDK]TaskError::GetProperty function.GetStereoCameraCalibrationMatrix* functions [SDK]InitializeNN_USE_MAKECCI [SDK]UnitHeap::GetAlignment [SDK]4MbitVerificationFailed.bin was not returning the expected result [SDK]MakeUniformCommandVS and MakeUniformCommand.zBias when using the RenderState::ShadowMap::MakeTextureCommand function [SDK]RenderState::ShadowMap::zScale [SDK]Vertex::MakeDrawCommand [SDK]gr::Shadow [SDK]SetInternalDriverPrioMode function [SDK]gd::ShaderStage::SetFloatConstantBuffer function regarding registers specified as "Unmanaged" [SDK]gd::Finalize function [SDK]gd::InputLayout shader [SDK]gd::InputLayout [SDK]UnmapVertexBufferResource, UnmapTexture2DResource function in the gd::Resource class [SDK]gd::Resource::Create* functions [SDK]gd::Resource::Helper::GenerateMipMapsCPU function [SDK]gd::TextureStage projection textures [SDK]ptMinFilter when using the gd::TextureStage::SetDefault function [SDK]GetRegisterCount and GetManagedLocation functions in the gd::UniformLocation class [SDK]HostFile::Exists [SDK]SerialChannel::GetWritableSize function [SDK]SetSocketBufferSize function [SDK]calloc/realloc [SDK]ntsd library [SDK]Alarm::TryInitialize function [SDK]StackMemory::TryInitialize function [SDK]DecodeAdpcmData [SDK]Voice::DeleteWaveBuffer function [SDK]Voice::UpdateWaveBuffer function [SDK]AllocVoice data abort would occur if an invalid call to FreeVoice was made [SDK]SaveDataFiler [SDK]UniqueId is not set [SDK]ctr_WaveConverter [SDK]ctr_compress [SDK].makebanner [SDK]UniqueId is used in trial code [SDK]CreateNetwork function [SDK]SetPowerSaveMode function [SDK]GetCoefficientForParallax function [SDK]IsBusyConversion function no longer returns true when Y2R conversion hangs up [SDK]ResultSuccess from the function reference [SDK]nn::ac::Connect would be unintentionally canceled [SystemUpdater]gd sample demos [Sample Demos]shadowZScale [Sample Demos]SetSocketBufferSize [System Updater]PrepareToCloseApplication [SDK]Awake callback from being invoked when the system entered Sleep Mode immediately after a library applet was launched [SystemUpdater]SystemMode dev1 usable, with some restrictions, on test units [SystemUpdater]SendTo function to return non-UDS errors [SystemUpdater]gd::ForceDirty function [SDK]gd::ShaderStage [SDK]GetForbiddenArea function [SDK]1MbitVerificationFailed.bin [SDK]G_ALTASK STOPPED could not be specified in a policy list [System Updater]com_demo1 gave it another master name [Sample Demos]HostFile::Read [SDK]Config tool [SDK]SaveDataFiler [SDK]makecia failure to create CIA [SDK]CancelLibraryApplet function was called [SystemUpdater]DevMenu firmware version [SDK]SaveDataFiler [SDK]applet::ReceiveDeliverArg function [SDK]nn::applet::CTR::ReceiveDeliverArg, which allows the buffer region size to be specified [SDK | SystemUpdater]FragmentLight::MakeDisableCommand [SDK]RenderState::ShadowMap::MakeCommand [SDK]RenderState::StencilTest::maskOp to "0xff" [SDK]RenderState::FBAccess::MakeCommand [SDK]GetAxisRotationMatrix function [SDK]HostFile::Read [SDK]makebanner [SDK]CreateLocalCommunicationId function [SDK | Sample Demos]nn::applet::CTR::ReceiveDeliverArg, which allows the buffer region size to be specified [SDK | System Updater]CreateLocalCommunicationId function [SDK | Sample Demos]AP_TYPE_FREESPOT [SDK | System Updater]version.h [SDK]GetFriendKeyList to return ResultTooLarge [SDK]nngxInitialize [SDK]Finalize [SDK]nn::os::Thread::[Try]StartUsingAutoStack [SDK]EncodeAdpcmData [SDK]biquad filter was used [SDK]nn::snd::Delay and nn::snd::Reverb would be disabled when recovering from sleep or returning from the HOME Menu [SDK]GetHostByName stopped operation [SDK]BossLotcheckTool [SDK]Config tool [SDK]DevMenu [SDK]FriendTestingPartner to be handled as error [SDK]SaveDataSize to RSF files [SDK]WMTestTool [SDK]Send and Receive [SDK]AP_TYPE_FREESPOT [SDK | System Updater]KeepAlive in communication using chunked reception [System Updater]disconnected if Wi-Fi is turned off during UDS initialization [System Updater]ENOTCONN was returned from Send upon reception of RST [System Updater]STATE_CREATING_NETWORK after CreateNetwork failed [System Updater]GetLinkLevel would always return link level 0 [System Updater]Scan when the wireless switch is set to OFF [System Updater]lib_applet [Sample Demos]applet::Enable and others added to sample demos [Sample Demos]ScreenCapture sample [Sample Demos]PrepareToCloseApplication is called from CloseApplication [SDK]TASK_PERMISSION attribute [SDK]GetParallax function [SDK]GetStereoCameraCalibrationMatrix function [SDK]GetStereoCameraCalibrationMatrixEx function [SDK]SetBrightnessSynchronization function [SDK | System Updater]MessageBox class function names [SDK]IsFinishedUncompRL function name to IsFinishedUncomp [SDK]ResultArchiveInvalidated from expanded-save-data error handling [SDK]Vertex::DisableAttr to disable vertex attributes that were enabled with Vertex::EnableAttrAsArray [SDK]glGetTexLevelParameter[if]v function [SDK]nngxAdd3DCommandNoCacheFlush function [SDK]nngxAddCmdlist function [SDK]nngxAddVramDmaCommandNoCacheFlush function [SDK]nngxCmdlistStorage to reduce the number of allocator calls [SDK]nngxCopyCmdlist and nngxClearFillCmdlist [SDK]nngxInitialize to reduce the number of allocator calls [SDK]nn::hio::CTR::SerialChannel::GetReadableSize [SDK]GetLastDateTimePointer function [SDK]nn::midi::CTR::Open function to determine the UIC-MIDI device [SDK]BossLotcheckTool [SDK]Config tool [SDK | System Updater]SaveDataFiler [SDK]makerom [SDK]UdsLocalIdChecker tool to confirm the local communication ID [SDK]GetPackageParameter function [SDK]IsExpectedToCloseApplication and IsExpectedToProcessPowerButton to be true at the same time [System Updater]AwakeCallback is called when the battery is fully discharged during sleep [System Updater]SetBrightnessSynchronization function [SDK | System Updater]FakeClient::StopScan when the wireless switch was OFF [System Updater]Results returned by Login [System Updater]nn::fs::TryDelete* and nn::fs:TryRename* functions [System Updater]nn::fs::TryDeleteDirectory and nn::fs::TryDeleteDirectoryRecursively functions [System Updater]nn::fs::TryDeleteFile to fail for expanded save data files [System Updater]Read functions to timeout after canceling a ChunkedPost [System Updater]KeepAlive communication [System Updater]nn::os::SetDeviceMemory to enable changing the device memory size [SystemUpdater]Config tool [SDK | System Updater]SystemUpdater specifications [System Updater]Result values when ConnectNetwork fails [System Updater]Finalize was executed during communication [System Updater]fs::Finalize in the sample demos [Sample Demos]Stereo demo [Sample Demos]DummyUpdatePartition [Sample Demos]lib_grfw so that the DMPGL display buffer functions are not used [Sample Demos]os::Initialize from the sample demos [Sample Demos]SimplePlayer sample demo [Sample Demos]nn::applet::CTR::GetSleepNotificationState, nn::applet::CTR::ClearSleepNotificationState [SDK]Dump function [SDK]ArchiveFont::InitStreamingConstruct function [SDK]nn::fs::ForceEnableLatencyEmulation function [SDK]nn::fs::GetExtSaveDataFormatInfo function [SDK]nn::fs::GetSaveDataFormatInfo function [SDK]nn::fs::hio and the HOST_IO build option [SDK]RenderState::ShadowMap class [SDK]Shader::MakeOutAttrCommand [SDK]Vertex internal classes (LoadArray, InterleaveInfo, and IndexStream) [SDK]Vertex::LoadArray::DisableAll and Vertex::AttrConstArray::DisableAll for internal use by Vertex::DisableAll to disable vertex attributes and initialize member variables [SDK]One function to Vector2, Vector3, and Vector4 [SDK]Thread::IsAlive [SDK]DlpClient would abort during a download [SDK]CardDevice item to RSF [SDK]SaveDataFiler [SDK]makebanner [SDK]makeciaarchive [SDK]Connect function [System Updater]SleepQueryCallback would not be called even if the system was opened while writing to media [System Updater]Suspend would take a lot of time if there were a large number of files in BOSS storage [System Updater]NsData::GetHeaderInfo would not return [System Updater]PauseAllTasks was executed [System Updater]Activate function would always return IsSleeping when the system was rapidly opened and closed [System Updater]INVALID_LANGUAGE [System Updater]nngxIsStereoVisionAllowed returns true when generating hid::CTR::GyroscopeReader [System Updater]nngxFinalize [System Updater]Cancel directly after starting communication [System Updater]nn::mic::SetAmp and nn::mic::SetLowPassFilter functions [System Updater]event execution [System Updater]INFTIM could not be used to specify a timeout for Poll [System Updater]SystemUpdater specifications [System Updater]ResultInvalidNode error would not be returned even when specifying a node ID not found by the GetNodeInformation function [System Updater]Silhouette demo that performs silhouette rendering using reserved geometry shaders [Sample Demos]glDrawElementsin demos that directly generate 3D commands [Sample Demos]SetReceiving function reference [SDK]FakeClient::StartScan function [SDK | Sample Demos]dmp_FragmentLightSource[i].position and dmp_FragmentLightSource[i].spotDirection [SDK]NN_GX_CMDLIST_GAS_UPDATE to the nngxSetCmdlistParameteri function [SDK]nngxSwapBuffersByAddress function [SDK]glShaderBinary function that would occur under specific conditions [SDK]AllocVoice where NULL would return and then the sound thread would stop [SDK]nn::fs::ResultVerificationFailed [SDK]NetworkDescriptionReader::GetNodeInformationList function were not being NULL-terminated [SDK]FakeClient::StartScan function [SDK | Sample Demos]SimpleServer would not run except in the JP market [Sample Demos]FragmentLightSimpleCmd sample demo [Sample Demos]ProjectionTexture sample [Sample Demos]demo1 save data are used [Sample Demos]ReadTexturePackage2 demo [Sample Demos]nn::cec::MessageBox::CreateMessageBox function that does not specify icon data [SDK]Shader::SetDrawMode function to support GL_TRIANGLE_STRIP and GL_TRIANGLE_FAN when in triangle render mode [SDK]const member function for the gr::Viewport, gr::Scissor, and gr::Shadow classes [SDK]private member variables to protected member variables [SDK]0x85 to the physical address of a cube map's +X plane [SDK][0.0, 1.0] or [-1.0, 1.0] [SDK]Finalize function to call ResetBuffer internally [SDK]Voice object obtained from AllocVoice was sometimes not initialized [SDK]applet::ProcessPowerButton or applet::ProcessHomeButton when there is no sound thread [SDK]CecLotcheckTool [SDK]FriendTool [SDK]CreateNetwork and Scan functions [SDK]CreateNetwork and ConnectNetwork functions [SDK]SendTo argument check to an assert [SDK]SetApplicationDataToBeacon function [SDK]uds::Attach function [SDK]Result value for the uds::DestroyEndpoint function [SDK]demo1-sys [Sample Demos]GraphicsDrawing demo for rendering 2D shapes [Sample Demos]ParticleSystem demo for rendering the results of particle systems using the reserved geometry shader [Sample Demos](2011/06/28)
AssignGpuRight and ReleaseGpuRight functions from public view [SDK]applet::AssignGpuRight and ReleaseGpuRight functions have been removed from the function reference because there is no need to call them from an application.
At present, plans call for leaving behind disclosed header files, but completely hiding these functions in future versions of CTR-SDK.
TaskError::GetProperty function.
TASK_ERROR_CODE will become the standard identifier, so use it from now on.
GetStereoCameraCalibrationMatrix* functions [SDK]GetStereoCameraCalibrationMatrix function and fifth argument of the GetStereoCameraCalibrationMatrixEx function were named in a way that might lead to confusion, so they have been changed from translationByPixel to translationUnit.
Along with this change, a description of these arguments has also been added to the function reference.
OpenMessageBox or CloseMessageBox function was called during execution of the DeleteAllMessages function.
Mutex exclusion was added so that these functions cannot execute simultaneously.
Note, however, that there is still a chance that this problem may also occur when interrupting an application by pressing the HOME Button.
As such, pay careful attention so that no malfunctions arise at this time as the system may receive more data than it is set to handle.
InitializeInitialize.
UncompressBLZ and SecureUncompressBLZ functions have been added for expanding files compressed with LZ backward compression.
nn::dlp::ServerGetClientState function was added to get client download progress.
nn::dsp namespace have been hidden from public view.
RegisterInterruptEventsRecvDataSendDataRecvDataIsReadySendDataIsEmptyReadPipeIfPossibleWriteProcessPipeCheckSemaphoreRequestClearSemaphoreMaskSemaphoreGetSemaphoreSetSemaphoreSleepWakeUpGetHeadphoneStatus
(The nn::snd class includes an API function of the same name. Use that.)
NN_USE_MAKECCI [SDK]
$CTR_SDK/documents/TechnicalNotes/AboutHardwareDifference/AboutHardwareDifference.pdf
UnitHeap::GetAlignment [SDK]
$CTR_SDK/documents/resources/BuiltInFont/BuiltInFont.html
4MbitVerificationFailed.bin was not returning the expected result [SDK]4MbitVerificationFailed.bin is a binary used to issue fs::ResultVerificationFailed when mounting save data. It has been revised and replaced because it has been returning fs::ResultBadFormat since CTR-SDK 2.1.
MakeUniformCommandVS and MakeUniformCommand.MakeUniformCommandVS or MakeUniformCommandVS (used to set four-dimensional vector arrays as uniform) that exceeds the maximum number (24) allowed.
zBias when using the RenderState::ShadowMap::MakeTextureCommand function [SDK]dmp_Texture[0].shadowZBias uniform, when using the RenderState::ShadowMap::MakeTextureCommand function.
RenderState::ShadowMap::zScale [SDK]shadowZScale were discovered to be disabled in hardware. Code was changed so that commands are not issued using this variable.
Vertex::MakeDrawCommand [SDK]Vertex::MakeDrawCommand, there were locations in code where the byte enable [31:8] was not set to zero when writing to register 0x245.
gr::Shadow [SDK]gr::Shadow was deleted. Its planned removal has been mentioned before in the function reference.
Use the RenderState::ShadowMap class from now on for generating render state-related commands.
SetInternalDriverPrioMode function [SDK]nn::gx::CTR::SetInternalDriverPrioMode (and the corresponding C function nngxSetInternalDriverPrioMode).
gd::ShaderStage::SetFloatConstantBuffer function regarding registers specified as "Unmanaged" [SDK]ShaderStage::CreateShaderPipeline function was called by the ShaderStage::SetFloatConstantBuffer function on a register specified as "Unmanaged" when using the geometry shader.
This bug has been fixed.
In addition, a cache flush operation on the texture unit has been added. It is used by both the CopyTextureSubResource and CopyTexture2DResourceLinearToBlock functions.
Note, however, that conventional names have been left behind for compatibility purposes.
Plans call for the removal of old names in a future CTR-SDK update.
Please use the new names from now on.
Conventional -> Revised
gd::Finalize function [SDK]gd:Finalize function.
Initialization was not being performed correctly even if the gd::Initialize function was called after calling the gd::Finalize function. This bug was fixed.
gd::InputLayout shader [SDK]InputLayout is defined as having fewer vertex elements (numElements) than the number of shader bind_symbols.
gd::InputLayout [SDK]InputLayout was added for checking that the slot numbers (m_StreamSlot) in InputElementDescription have been defined in order beginning from 0.
If they are not defined in order, the error ResultInputLayoutInvalidStreamSlots is returned.
UnmapVertexBufferResource, UnmapTexture2DResource function in the gd::Resource class [SDK]Resource::UnmapVertexBufferResource and UnmapTexture2DResource functions.
This bug has been fixed.
gd::Resource::Create* functions [SDK]copyInitialData has been added to the Resource::CreateTexture2DResource, Resource::CreateVertexBufferResource functions.
The default is true.
Now, if false is set, data is directly accessed without copying even if main memory (FCRAM) is specified.
gd::Resource::Helper::GenerateMipMapsCPU function [SDK]Resource::Helper::GenerateMipMapsCPU function was added to support the automatic generation of mipmap data by the CPU.
gd::TextureStage projection textures [SDK]TextureStage::SetTexture2DProjectionForUnit0 function has been newly added to support projection textures.
ptMinFilter when using the gd::TextureStage::SetDefault function [SDK]MIN_FILTER_NEAREST was being used as the default value for the ptMinFilter argument of the gd::TextureStage::SetDefault function. The default value has been changed to MIN_FILTER_LINEAR to match stated specifications.
GetRegisterCount and GetManagedLocation functions in the gd::UniformLocation class [SDK]GetRegisterCount and GetManagedLocation functions of the gd::UniformLocation class have been removed because they are not needed for development.
(Made changes so that a dependency relationship is determined if the register is the same for condition 5, 6, and 7, even if a component is not overlapped.)
Made changes so that a stall due to dependency relationship between registers is determined even if a component is not overlapped.)
DMPGL20_system_API_specification.pdf
nngxFilterBlockImage transfer addresses.
rcp, rsq, exp, and log instructions to "Results of Exceptional Operations."
Added additional information to their references as well.cmp command.
HostFile::Exists [SDK]HostFile::Exists to function the same as HostFile::IsExist.
Do not use HostFile::IsExist as it will be deleted in a future release.
SerialChannel::GetWritableSize function [SDK]hio::SerialChannel::GetWritableSize was smaller than the original value.
SetSocketBufferSize function [SDK]nn::http::Connection::SetSocketBufferSize function was deleted.
calloc/realloc [SDK]nninitStartUp is not replaced, malloc and free could be used by default, but not calloc and realloc.
Specifications were changed so that calloc and realloc can also be used by default.
These functions may be replaced with original implementations just as malloc/free.
ntsd library [SDK]
This library includes MemCpy and MemMove for optimized copying of memory according to the given alignment. It also includes TSPrintf, TSNPrintf, and TVSNPrintf for forming strings using a small stack.
Alarm::TryInitialize function [SDK]TryInitialize function was added to the Alarm class. The function receives whether initialization succeeded or failed as a return value.
StackMemory::TryInitialize function [SDK]TryInitialize function was added to the StackMemory class. The function receives whether initialization succeeded or failed as a return value.
No changes were made to the behavior of these functions during normal use.
DecodeAdpcmData [SDK]const was added to the pInput and param arguments.
Code was also revised so that context information when decode ends is stored in the context argument.
This was actually fixed in CTR-SDK 2.3.4 but was accidentally omitted from the change log.
Voice::DeleteWaveBuffer function [SDK]Voice::DeleteWavebuffer function has been added for deleting buffer information added using the Voice::AppendWaveBuffer function.
Voice::UpdateWaveBuffer function [SDK]Voice::UpdateWavebuffer function has been added for updating the sampleLength and loopFlag parameters included in buffer information added using the Voice::AppendWaveBuffer function.
Use them for referencing arguments from now on.
AllocVoice data abort would occur if an invalid call to FreeVoice was made [SDK]AllocVoice funtion if an invalid voice, such as a dual FreeVoice, was processed.
With this move, the items "CTR Tools" and "Windows Tools" have been added to index.html.
To delete save data, first delete the program using the X Button.
Further revision has been made so that imports are cancelled if there has been no change to the program when an overwrite import is performed.
To use an SD Card, switch to a writable one.
SaveDataFiler [SDK]SaveDataFiler.
The message displayed when file destruction fails was also made easier to understand.
For details, see the function reference.
UniqueId is not set [SDK]UniqueId in the RSF was unspecified, processing would continue as if 0xf7fff had been specified for UniqueId. This has been changed so that an error now results.
Furthermore, 0xff3ff is specified at the end fo sample code as UniqueId in Application.rsf, which serves as the default RSF.
ctr_WaveConverter [SDK]ctr_compress [SDK].makebanner [SDK]
An error message is displayed if a title exceeds a specified string width.makebanner outputs to used to be calculated in terms of a relative path from the directory in which th bsf file was located, specifications have changed so that output is made in terms of a relative path from the current directory.
UniqueId is used in trial code [SDK]UniqueId when using ctr_makerom. This has been eliminated.
GetUserId. Information about the maximum number of people that can be registered on the blocked-user list was added to the function reference for Entry.
CreateNetwork function [SDK]nn::uds::REsultOutOfRange is returned if SubId 0xFF is specified with the CreateNetwork function.
This is due to the fact that SubId 0xFF is used when the Scan function queries all modes.
SetPowerSaveMode function [SDK]SetPowerSaveMode function was deleted from the function reference because although it was listed in the function reference, it could not be used.
There is no plan for continued support of the SetPowerSaveMode function.
GetCoefficientForParallax function [SDK]GetCoefficientForParallax function was disclosed to the public.
This function can be used to speed up calculation of the parallax required when making stereoscopic display of an orthogonal projection.
For details, see AboutULCDLibrary.pdf.
IsBusyConversion function no longer returns true when Y2R conversion hangs up [SDK]GetTransferEven function were no longer signaled if conversion stopped due to problems with Y2R transfer, it did not include the fact that the IsBusyConverion function no longer returns true. This has been added.
ResultSuccess from the function reference [SDK]Result::IsSuccess is used instead of ResultSuccess given in the function reference.
Specify the type of *_LANGUAGE using errorType of the Config parameter. By specifying the language you want displayed using useLanguage, messages inside applets will be displayed in the specified language regardless of the language set under System Settings.
LightingSample demo, you will see a phenomenon where the area the light is shining on will periodically flash.(2011/06/28)
nn::ac::Connect would be unintentionally canceled [SystemUpdater]nn::ac::Connect would be unintentionally canceled in an environment where some APs cannot be used, such as when the system cannot access the Internet during connection processing.
This was actually fixed in CTR-SDK 2.3 but was accidentally omitted from the change log.
The icon database is a database located in system NAND memory that saves the icon of the application started. The icon stored here is displayed in the Activity Log.
Note, however, that once an icon is stored, the icon in the database will not be updated unless the unique ID and version of the application change, even if the application is started with a subsequent change made to the icon.
The icon cache stored the icon data of applications saved on an SD Card for increasing the speed of loading of icon data on the HOME Menu.
Because the icon cache is not overwritten even if a change is made to the icon just as with the icon database, specifications were changed so that the icon can be deleted in order to verify any changes.
However, there is no bug where banner models are not being displayed; therefore, if this symptom occurs, review the banner model in question.
PARTNER-CTR Debugger 2011/05/11 release or later is required to use this feature.
This bug fix has basically no effect on application development.
However, button input remains the same (will not work) as always during the EULA display.
This was actually changed in CTR-SDK 2.2 (SystemUpdater 0.15.3) but was accidentally omitted from the changelog.
Specify the type of *_LANGUAGE using errorType of the Config parameter. By specifying the language you want displayed using useLanguage, messages inside applets will be displayed in the specified language regardless of the language set under System Settings.
Symptoms Treated as Specifications file in the CTR-SDK for details on known issues with System Updater.(2011/06/28)
UncompressBLZ and SecureUncompressBLS functions.
nn::dlp::ServerGetClientState function was added to get client download progress.
With this change, specifications have changed so this function is used with the SimplerServer demo.
Some text during writing was also deleted.
gd sample demos [Sample Demos]
shadowZScale [Sample Demos]shadowZScale has been deleted from source code because it was found to be invalid due to hardware specifications.
There is no problem with setting it as usual.
Voice::DeleteWaveBuffer and Voice::UpdateWaveBuffer functions.
None.
(2011/06/09)
(2011/06/08)
(2011/06/01)
http::Connection::SetSocketBufferSize function, which had few uses.
Now the buffer size remains unchanged even after this function is called, and it always returns nn::ResultSuccess.
(2011/05/27)
Even if this bug occurred, you could break out of the loop by moving outside of the AP's range or pushing the wireless switch off to disable wireless communication.
nn::fs::MountSaveData function from a card-based application.
(This fix is provisional, and simply disables the use of keep-alives via a proxy.
A different fix will be released at a later date to allow the proper use of keep-alives via a proxy.)
(2011/05/24)
boss::Initialize and boss::Finalize.
GetHostByName and GetAddrInfo from properly processing host names that started with a number.
(2011/05/18)
PrepareToCloseApplication [SDK]PrepareToCloseApplication so that it will run properly even if Sleep Mode is not prohibited when it is called.
LightingSample demo, you will see a phenomenon where the area the light is shining on will periodically flash.FontConverter is sometimes not able to convert Windows fonts correctly if the following settings have been made.(2011/05/18)
This fix causes connections to fail more quickly wherever there are a lot of stealth SSIDs.
Awake callback from being invoked when the system entered Sleep Mode immediately after a library applet was launched [System Updater]Awake callback from being invoked upon recovery from Sleep Mode if the system entered Sleep Mode immediately after a library applet was launched.
SystemMode dev1 usable, with some restrictions, on test units [System Updater]SystemMode dev1 usable, with some restrictions, on test units.
These restrictions are as follows.
SystemMode dev1 using the System Updater, the HOME Menu is not imported and will thus not launch even if you change Menu to home menu with the Config tool. To launch the HOME Menu, you must re-apply the System Updater.
Note: Starting with the firmware for CTR-SDK 2.3.2 (System Updater 0.15.7), applications built with CTR-SDK 2.0 – 2.3.1 will no longer be able to run UDS communication properly when running on systems that use this firmware.
SendTo function to return non-UDS errors [System Updater]SendTo function that caused it to return non-UDS errors that were not documented in the Function Reference Manual, depending on when the system was disconnected from the network.
GetConnectionStatus and GetNodeInformation functions to return invalid node information right before or after the DestroyNetwork or DisconnectNetwork functions were called.
(2011/05/11)
CalculateHmacSha1 or CalculateHmacSha256 function as an HMAC key.
This bug was introduced in CTR-SDK 2.1, and was not present in earlier versions.
gd::ForceDirty function [SDK]gd::ForceDirty function would not reissue a command for the primitive to be rendered (e.g., TRIANGLE).
gd::ShaderStage [SDK]
SetShaderPipelineConstantF function is usedShaderPipeline is used consecutively to render two objects
GetForbiddenArea function [SDK]GetForbiddenArea function did not return the correct result when gain was 68 or greater.
Voice::SetPitch.
However, this fix does not guarantee that the high pitch will be reproduced as intended, because increasing the pitch also increases the processing load on the DSP (nearly linearly).
1MbitVerificationFailed.bin [SDK]fs::ResultVerificationFailed when mounting a backup device, because the old one did not return the expected result. The new binary correctly returns fs::ResultVerificationFailed.
This was actually fixed in CTR-SDK 2.0 but was accidentally omitted from the change log.
LightingSample demo, you will see a phenomenon where the area the light is shining on will periodically flash.(2011/05/11)
G_ALTASK STOPPED could not be specified in a policy list [System Updater]G_ALTASK STOPPED could not be specified in a policy list (it would be deemed to be an invalid policy list).
Suspend operation after the system was closed), the cancellation had no effect if BOSS was in the middle of getting a policy list.
This format is not compatible with save data created using previous versions, so a reformat is necessary.
There are no changes to usage or performance.
This change will have no impact on the save data for CTR card applications or download applications created with the CTR-SDK 1.X series.
DevMenu, it would appear on the edge even if there was empty space
Consequently, the notes for checking icon images on the HOME Menu have also changed.
See the Readme of the applet package for details.
nowEntry member and the number of valid nodes in the nodeIdList member of the ConnectionStatus structure obtained from nn::uds::GetConnectionStatus.
0400, but it was FF20. This problem has been fixed.
When this was done, the region name in the language that was set in the system settings was cleared.
(For example, Anguilla for the US region, or Iceland for the EU region.)
Normally, the country name is used for the region name that is set here.
In other words, when nn::cfg::CTR::GetSimpleAddress(pSimpleAddress) was called to obtain region information, pSimpleAddress->regionName[nn::cfg::CTR::GetLanguage()] was an empty string.
(2011/05/11)
com_demo1 gave it another master name [Sample Demos]com_demo1 gave it the display name of another master that was scanned at the same time.
None.
(2011/04/27)
If, while in this sleep state, the nn::applet::CTR::ProcessHomeButton function was called and at the same time the system was closed, the processing would get hung up on an ASSERT check. That problem was fixed by making the transition to the HOME Menu remain locked.
nngxMoveCommandbufferPointer, which had been inadvertently omitted.
HostFile::Read [SDK]HostFile::Read memory would be destroyed. That problem was fixed.
nn::hio::GetEnvironmentVariable will return ResultSuccess even when there is no environment variable.
Config tool [SDK]Config now shows the micro version.
SaveDataFiler [SDK]makecia failure to create CIA [SDK]makecia was a multiple of 4MB, it would fail to create the CIA file. That problem was fixed.
LightingSample demo, you will see a phenomenon where the area the light is shining on will periodically flash.(2011/04/27)
CancelLibraryApplet function was called [System Updater]CancelLibraryApplet function was called. The problem was fixed.
If, while in this sleep state, the nn::applet::CTR::ProcessHomeButton function was called and at the same time the system was closed, the processing would get hung up on an ASSERT check. That problem was fixed by making the transition to the HOME Menu remain locked.
nn::fs::ResultVerificationFailed was generated, the Result returned an error for a region where the error did not occur. That problem was fixed.
DestroyNetwork a disconnect-request packet is sent to all clients and they are immediately disconnected from the network.
At this time, GetConnectionStatus gets DISCARDED_FROM_NETWORK as the reason for disconnection (DisconnectReason).
However, sometimes the disconnect-request packet is not received, and when this is the case the client is disconnected around 1 second after DestroyNetwork is performed.
In this case, the reason for disconnection is CONNECTION_LOST.
However, because of a bug, the reason for disconnection was always returned as CONNECTION_LOST because the master actually was not sending a disconnect-request packet.
This problem was fixed in the following ways, depending on which version of the CTR-SDK to which the application is linked:
The firmware for CTR-SDK 2.2 and CTR-SDK 2.3 is such that the master sends a disconnect-request packet regardless of the CTR-SDK version to which the application is linked, so there is a possibility of connection compatibility problems.
As was the case previously, the master does not send a disconnect-request packet.
The master sends a disconnect-request packet.
Config tool, start an application without going through the startup sequence on the HOME Menu, and then open and close the system, the system will stop and the top and bottom screens will turn black.(2011/04/21)
DevMenu firmware version [SDK]DevMenu showed the wrong micro version. That was corrected.
SaveDataFiler [SDK]SaveDataFiler tool.
LightingSample demo, you will see a phenomenon where the area the light is shining on will periodically flash.(2011/04/21)
MountSaveData function returned a value indicating success. The has been fixed so the correct Result is returned.
This was actually changed in CTR-SDK 2.1 but was accidentally omitted from the change log.
nn::uds::Finalize, in some cases depending on the timing nn::uds::Finalize would not return. That problem was fixed.
Config tool, start an application without going through the startup sequence on the HOME Menu, and then open and close the system, the system will stop and the top and bottom screens will turn black.(2011/04/15)
applet::ReceiveDeliverArg function [SDK]applet::ReceiveDeliverArg function at such times as application jumping was only 386 bytes, or shorter than the actual data size of 768 bytes. The problem was fixed.
nn::applet::CTR::ReceiveDeliverArg, which allows the buffer region size to be specified [SDK | System Updater]nn::applet::CTR::ReceiveDeliverArg function, the buffer region for receiving DeliverArg data was set to a fixed size by NN_APPLET_PARAMETER_BUF_SIZE and NN_APPLET_HMAC_BUF_SIZE. A function with the same name has been added that enables you to specify only the needed size.
FragmentLight::MakeDisableCommand [SDK]FragmentLight::MakeDisableCommand was used to generate commands to disable light sources, the value of register 0x1c6 became "0" in error. This has been corrected to 1.
RenderState function reference about the mode settings for exclusive fragment operations (MODE_GL/GAS_ACC_DMP/SHADOW_DMP) and logical operations/blending.
RenderState::ShadowMap::MakeCommand [SDK]RenderState::ShadowMap::MakeCommand. That problem was fixed.
RenderState::StencilTest::maskOp to "0xff" [SDK]RenderState::StencilTest::maskO was 0. It was changed to "0xff" to match the OpenGL specification.
RenderState::FBAccess::MakeCommand [SDK]RenderState::FBAccess::MakeCommand.
Combiner::Stage::MakeConstantColorCommand, which generates commands only for the constant color of the texture combiner.
Vertex::MakeEnableAttrCommand, the GPU would hang if padding was used for vertex attribute load array elements. That problem was fixed.
GetAxisRotationMatrix function [SDK]GetAxisRotationMatrix, which requires less overhead than the existing function, to the AccelerometerReader class and the GyroscopeReader class.
HostFile::Read [SDK]nn::hio::HostFile::Read was called. The problems have been fixed.
FontConverter files: 3ds_bitmap_font_std.xlor and 3ds_bitmap_font_std.xllt
makebanner [SDK]The change made in
This problem was corrected.
CreateLocalCommunicationId function [SDK | Sample Demos]nn::uds::CreateLocalCommunicationId function generated a local communication ID for development purposes, the unique ID 0xFFFFF was used. Henceforth, please use the unique IDs for game software prototypes (0xFF000 to 0xFF3FF) instead.
When the local communication ID is generated using a game software prototype unique ID (as opposed to using the unique ID 0xFFFFF), the setting for Debug Mode in the Config tool Other Setting will not affect the behavior of the API.
LightingSample demo, you will see a phenomenon where the area the light is shining on will periodically flash.(2011/04/15)
nn::applet::CTR::ReceiveDeliverArg, which allows the buffer region size to be specified [SDK | System Updater]nn::applet::CTR::ReceiveDeliverArg function, the buffer region for receiving DeliverArg data was set to a fixed size by NN_APPLET_PARAMETER_BUF_SIZE and NN_APPLET_HMAC_BUF_SIZE. A function with the same name has been added that enables you to specify only the needed size.
Initialize function. That problem was fixed.
Config tool, start an application without going through the startup sequence on the HOME Menu, and then open and close the system, the system will stop and the top and bottom screens will turn black.(2011/04/15)
CreateLocalCommunicationId function [SDK | Sample Demos]nn::uds::CreateLocalCommunicationId function generated a local communication ID for development purposes, the unique ID 0xFFFFF was used. Henceforth, please use the unique IDs for game software prototypes (0xFF000 to 0xFF3FF) instead.
When the local communication ID is generated using a game software prototype unique ID (as opposed to using the unique ID 0xFFFFF), the setting for Debug Mode in the Config tool Other Setting will not affect the behavior of the API.
None.
(2011/04/12)
When this problem happened, the banner on the HOME Menu would stop rotating in response to microphone input.
The corrected offset value is immediately applied to the suspended application.
The text and layout were changed, and the SLEEP Button was eliminated.
Applications do not need to do anything in response to these changes.
Information about the arguments passed to the application side will be included in the next planned release of the applet specifications.
When this was done, the region name in the language that was set in the system settings was cleared.
(For example, Anguilla for the US region, or Iceland for the EU region.)
In other words, when nn::cfg::CTR::GetSimpleAddress(pSimpleAddress) was called to obtain region information, pSimpleAddress->regionName[nn::cfg::CTR::GetLanguage()] was an empty string.
This was fixed by setting the country name as the region name.
Config tool, start an application without going through the startup sequence on the HOME Menu, and then open and close the system, the system will stop and the top and bottom screens will turn black.(2011/04/08)
AP_TYPE_FREESPOT [SDK | System Updater]AP_TYPE_FREESPOT with AP_TYPE_HOTSPOT.
version.h [SDK]version.h.
NN_VERSION_RVCT_MAJOR: RVCT major versionNN_VERSION_RVCT_MINOR: RVCT minor versionNN_VERSION_RVCT_CC_REV: RVCT compiler revision numberNN_VERSION_RVCT_LD_REV: RVCT linker revision number
GetFriendKeyList to return ResultTooLarge [SDK]GetFriendKeyList function so that it returns ResultTooLarge when the caller tries to retrieve a list that is larger than the number of users that can be registered in a friend list.
gx_MacroTexture.h to specify the format of shadow map textures and gas textures.
PICA_DATA_TEXTURE_FORMAT_SHADOW_UNSIGNED_INT = 0x0PICA_DATA_TEXTURE_FORMAT_GAS_DMP_UNSIGNED_SHORT = 0x0
nngxInitialize [SDK]nngxInitialize function. Some are kept until the nngxFinalize function is called as an administrator, and some are allocated for temporary use.
The order of buffer allocation was rearranged so that the memory freed when the nngxInitialize function terminates will not be in disparate chunks.
nn::hid::EnableSelectButton function to enable retrieval of SELECT Button and nn::hid::DisableSelectButton to disable it again.
Finalize [SDK]Initialize function was still used after the Finalize function.
nn::hio::HostFile::Read function speed when running a program from emulation memory in PARTNER-CTR Debugger.
Programs will not be faster when run from PARTNER-CTR UIC-MIDI.
nn::os::Thread::[Try]StartUsingAutoStack [SDK]nn::os::Thread::[Try]StartUsingAutoStack function.
EncodeAdpcmData [SDK]EncodeAdpcmData function was "None," but it was actually an s32. The value was changed to void.
biquad filter was used [SDK]biquad voice filter caused diffused noise to emanate.
nn::snd::Delay and nn::snd::Reverb would be disabled when recovering from sleep or returning from the HOME Menu [SDK]nn::snd::Delay or nn::snd::Reverb, this would not be reflected in the output. This bug has been fixed.
nn::snd::SetOutputBufferCount function.
GetHostByName stopped operation [SDK]GetHostByName would stop the operation.
ctr_makerom now supports 4 GB cards.
4 GB was added as one of the values that can be specified for the RFS MediaSize.
BossLotcheckTool [SDK]BossLotcheckTool tool to prevent buffer overflow.
Config tool [SDK]Config tool language was set to invalid, but this limitation has been removed and configuration is now possible.
DevMenu [SDK]DevMenu display to indicate the remaining volume of importable media.
FriendTestingPartner to be handled as error [SDK]FriendTestingPartner function to be handled as error.
SaveDataSize to RSF files [SDK]Rom/SaveDataSize to RSF. This item specifies the save data size of a download application.
For details, see the makerom documentation.
WMTestTool [SDK]WMTestTool.
nn::uds::GetChannel function to get the communication channel.
Send and Receive [SDK]SendTo function to return ResultMisalignedAddress if the send buffer passed to it is not 4-byte aligned.
The send data size parameter indicating the size of the send buffer must be rounded up to the nearest multiple of 4.
Changed the Receive and ReceiveFrom functions to return ResultMisalignedAddress if the receive buffer passed to them is not 4-byte aligned.
If the receive buffer size assigned to the argument is not a multiple of 4, the function returns ResultMisalignedSize.
LightingSample demo, you will see a phenomenon where the area the light is shining on will periodically flash.DevMenu may cause a data abort if an SD Card that is not fully inserted is pushed and pulled several times.DevMenu may display two CTR Card items.(2011/04/08)
AP_TYPE_FREESPOT [SDK | System Updater]AP_TYPE_FREESPOT with AP_TYPE_HOTSPOT.
If-Modified-Since at ZoneAP level
When a task executes, the LastModifiedTime is recorded for each ZoneAP it connects to. This function thus enables it to switch the If-Modified-Since time that it notifies to the download server in accordance with the access point it is connected to.
This makes it possible to download at the connected ZoneAP level, retrieving new data and avoiding the re-acquisition of data it has already acquired.
This function is available with services that switch the distribution data at the connected access-point level.
If a task went into resume ready state while running connected to a zone access point, using this function it can later run a task connected to a non-zone access point (e.g., a task running on a home access point), and then resume when connected again to the zone access point.
This makes it possible to receive a data delivery from a particular dedicated zone access point.
The ID of download data (NSA) is recorded. Thus if an NSA that has already been downloaded is delivered, this feature will avoid retrieving the NSA twice.
The IDs of the latest NSAs that were downloaded (up to 50 max) are recorded for each task.
AccelerometerReader or GyroscopeReader functions upon shutdown before calling hid::Finalize.
nn::hio::HostFile::Read function speed when running a program from emulation memory in PARTNER-CTR Debugger.
Programs will not be faster when run from PARTNER-CTR UIC-MIDI.
KeepAlive in communication using chunked reception [System Updater]KeepAlive on a connection that performed chunked reception would result in a response header error.
An application that wants to run BOSS autonomously in the background must release the stop on BOSS by using the nn::ndm::Resume function.
The stop has no effect during sleep or when the execution of nn:: boss::StartImmediate function is specified explicitly.
disconnected if Wi-Fi is turned off during UDS initialization [System Updater]disconnected.
If a fatal wireless error occurred before, the fatal error screen would appear and the system would stop. From this release, the system recovers automatically without stopping.
After automatic recovery, it will appear to the AC, CECD, NDM, and other higher layers that wireless communication mode turned on immediately after turning off.
For this reason, depending on the application's implementation, a message may appear stating that the connection was lost.
At this time, there is no auto recovery from fatal wireless communication errors occurring during background communication in sleep mode, or when using UDS communication.
(Currently, fatal errors will never happen in these cases that are not covered by auto recovery.)
Thread::Start and other functions that initialize threads.
nn::os::Timer function would not be properly freed if Finalize was called before Stop.
Note that CIA file imports via SPI are not conducted unless an option is specified.
(It is only performed when the .spi option is specified for the NAND WRITE and L commands.)
ENOTCONN was returned from Send upon reception of RST [System Updater]ECONNRESET is returned when RST is received while blocking on Send on a TCP socket, but there were other cases in which ENOTCONN was returned.
This bug has been fixed.
See the development menu documentation for details.
CreateNetwork, ConnectNetwork, DestroyNetwork, and DisconnectNetwork were returning an error that is only handled internally by the CTR-SDK (nn::uds::detail::ResultFatalError). The functions were revised to no longer return the error.
STATE_CREATING_NETWORK after CreateNetwork failed [System Updater]CreateNetwork function fails, the state should become STATE_DISCONNECTED, but the state sometimes became STATE_CREATING_NETWORK; this bug has been fixed.
GetLinkLevel would always return link level 0 [System Updater]GetLinkLevel function would always return link level 0.
nn::uds::GetChannel function to get the communication channel.
Scan when the wireless switch is set to OFF [System Updater]Scan function, it should return ResultWirelessOff but was returning ResultInvalidState.
Config tool, start an application without going through the startup sequence on the HOME Menu, and then open and close the system, the system will stop and the top and bottom screens will turn black.(2011/04/08)
lib_applet [Sample Demos]applet[.h|.cpp] added to demo1, demo2, and so forth. has been moved into the $SampleDemos/common directory in the format lib_applet.
applet::Enable and others added to sample demos [Sample Demos]applet::Enable function was added to the sample demos. Starting from the HOME Menu is now also possible.
Some demos have also been revised to use lib_applet and now enable HOME Button and sleep transitions.
The following demos do not support HOME Menu startup.
hiohttpmakebannernewsssltemplate
ScreenCapture sample [Sample Demos]ScreenCapture sample.
There was a problem with the old implementation that caused performance to degrade.
None.
(2011/03/25)
PrepareToCloseApplication is called from CloseApplication [SDK]PrepareToCloseApplication is called from CloseApplication.
nn::applet::ProcessHomeButtonAndWait and nn::applet::ProcessPowerButtonAndWait wrapper functions concerning HOME Menu transition and POWER Menu transition processing.
TASK_PERMISSION attribute [SDK]TASK_PERMISSION attribute of a task to TASK_PERMISSION_IN_PARENTAL_CONTROL so tasks can be run when Internet access is enabled by Parental Controls.
GetParallax function [SDK]GetStereoCameraCalibrationMatrix function [SDK]GetStereoCameraCalibrationData function returns a 3 X 4 matrix to use for two-dimensional geometric conversions.
The z-axis scale should have been 1 but was mistakenly set to 0. This has been fixed.
GetStereoCameraCalibrationMatrixEx function [SDK]GetStereoCameraCalibrationMatrixEx function was added to return a correction matrix that would not lose the edges of the image even for systems that had placement errors near the limit.
SetBrightnessSynchronization function [SDK | System Updater]SetBrightnessSynchronization function to enable a feature that links the stereo camera brightness.
By default, the above link feature is disabled.
MessageBox class function names [SDK]
This can be used to verify StreetPass communication and other operations.nn::cec::CecControl::EnterExclusiveStatenn::cec::CecControl::LeaveExclusiveState
These functions operate only when debug mode is enabled.
Sha1Context::GetHash, or CalculateSha1, and CalculateHmacSha1. This restriction, which also applies to Sha256, is included in the function reference.
IsFinishedUncompRL function name to IsFinishedUncomp [SDK]IsFinishedUncompRL function name was inappropriate, so it has been changed to IsFinishedUncomp.
The old function name is kept for compatibility, but it has been removed from public release.
In conjunction with this, some of the information about the client that can be obtained from the server will change.
Specifically, the DUP client is always in the CLIENT_STATE_JOINED_SESSION (state before child device distribution).
After the DUP completes, transitions to CLIENT_STATE_DOWNLOADING and child device distribution begin.
Finally, nn::dlp::Server::GetClientStatus was removed because the download progress during DUP can be determined. It was replaced with nn::dlp::Server::GetClientState.
The function is nn::dlp::IsChild, which is defined in dlp_Common.h.
Use it when neither nn::dlp::Server nor nn::dlp::FakeClient can be used (i.e., when the Initialize function has not been called).
However, C++ exceptions are disabled by default with the CTR-SDK build system.
When using C++ exceptions, add the CCFLAGS += --rtti --exceptions LDFLAGS += --exceptions specification to the application's OMakefile.
ctr_makecia reference, and Download Application Development Manual.
In OMakefile, specify LIST for the CTR_APPTYPE variable to generate the CCL format.
The CCL format is not currently supported, however, so it cannot be used for debugging or other purposes.
$CTR_SDK/documents/TechnicalNotes/DownloadAppManual.
SHADER_ASFLAGS and SHADER_LDFLAGS as build variables that can be specified as options for the vertex shader assembler and linker, respectively.
It cannot load files nor open directories.
It can be used by calling the nn::fs::MountSdmcWriteOnly function.
- nn::fs::GetRomRequiredMemorySize
- nn::fs::MounrRom
These functions only return successful, so there is no longer any need for error handling by the application.
The return value indicates invalid save data.
In conjunction with this change, a C8804497 error occurs when launching a card application that uses save data if the inserted CTR card does not have on-board backup memory.
ResultArchiveInvalidated from expanded-save-data error handling [SDK]ResultArchiveInvalidated was returned when mounting, creating, deleting, or enumerating expanded save data archives, but a ResultMediaNotFound error is now returned instead.
As a result, error handling for ResultArchiveInvalidated is unnecessary when dealing with expanded save data archives.
However, for expanded save data directory and file operations, ResultArchiveInvalidated must be handled as it had been previously.
Vertex::DisableAttr to disable vertex attributes that were enabled with Vertex::EnableAttrAsArray [SDK]Vertex::EnableAttrAsArray function could only be disabled using Vertex::DisableAll, which was a bug. This has been revised so that attributes can be disabled using Vertex::DisableAttr.
PICA_DATA_TEXTURE_FORMAT_SHADOW_UNSIGNED_INT and PICA_DATA_TEXTURE_FORMAT_GAS_DMP_UNSIGNED_SHORT to the PicaDataTexture0SamplerType enumerated type in order to specify shadow map texture and gas texture formats.
glGetTexLevelParameter[if]v function [SDK]glGetTexLevelParameter[if]v function has been added to the API to get information related to textures that are currently bound.
nngxAdd3DCommandNoCacheFlush function [SDK]nngxAdd3DCommandNoCacheFlush function, which does not flush the cache of the region specified by bufferaddr, has been added for cases when GL_FALSE is added to the copycmd argument of the nngxAdd3DCommand function.
nngxAddCmdlist function [SDK]nngxAddCmdlist function was revised so that a command request to reference external command buffers can be added.
nngxAddVramDmaCommandNoCacheFlush function [SDK]nngxAddVramDmaCommandNoCacheFlush function, which does not flush the cache of the region specified by srcaddr, has been added for the nngxAddVramDmaCommand function.
nngxCmdlistStorage to reduce the number of allocator calls [SDK]nngxCmdlistStorage function.
nngxCopyCmdlist and nngxClearFillCmdlist [SDK]nngxCopyCmdlist or nngxClearFillCmdlist functions.
nngxInitialize to reduce the number of allocator calls [SDK]nngxInitialize function.
Also, optimized the request size.
break command, which is not covered by the specification, cannot be compiled.break command is called immediately before the endloop command.jpb or jpc command is called immediately before a else, endif, endloop, or ret commandjpb or jpc command jumps in an if or loop statement.-preprocess option to support shader assembler preprocessing.
dmp_LightEnv.absLutInput{RR,...}
DMPGL20_system_API_specification.pdf
nngxAddVramDmaCommandNoCacheFlush and nngxAdd3DCommandNoCacheFlush functions
jpb, jpc, and breakc commands
GYROSCOPE_ZERODRIFT_STANDARD of hid::ZeroDriftMode.
The zero-point correction for STANDARD is now stronger.
Nothing has changed for TIGHT and LOOSE.
Revise applications in accordance with the new STANDARD settings.
The previous settings for STANDARD are now more similar to the settings for TIGHT.
nn::hio::CTR::SerialChannel::GetReadableSize [SDK]GetLastDateTimePointer function [SDK]GetLastDateTimePointer function to return a pointer to the Exif date and time information.
$CTR_SDK/include/nn/math/math_Utility.h were omitted from the Function Reference. This oversight has been corrected.
nn::midi::CTR::Open function to determine the UIC-MIDI device [SDK]nn::midi::CTR::Open function is called.
When a UIC-MIDI device is not recognized, nn::midi::ResultUnknownDevice is returned.
The CTR system cannot correctly recognize the UIC-MIDI device when this result is returned. Verify that the UIC-MIDI is inserted in the card slot and then reload the program.
The debugger software specification prior to the PARTNER-CTR 2011/03/09 version does not allow for correct recognition of a reinserted UIC-MIDI device, therefore, by pressing the Reload button.
To correctly recognize the UIC-MIDI device, use the debugger software and either click Load or drag the file icon to the correct screen location.
BossLotcheckTool [SDK]BossLotcheckTool to verify BOSS task information or NS data information registered by the application.
For more details, see the Function Reference.
-f exec in makerom to generate a CXI file. Previously, this was specified using -f nand.
The -f nand specification still works with CTR-SDK version 2.1, but this capability will be removed in the future.
For details, see the makerom reference page.
Config tool [SDK | System Updater]Config tool.
For more details, see the Function Reference.
When the language settings are changed to invalid, some menu settings are changed instantaneously
To perform verification using this feature in the future, use the Config tool from CTR-SDK 2.1 and later
SaveDataFiler [SDK]SaveDataFiler tool.
For more details, see the Function Reference.
The save data of downloadable applications exported using the CTR-SDK 2.1 version of SaveDataFilercannot be imported using earlier versions of SaveDataFiler.
Other save data can be mutually imported and exported.Result is displayed when an error occurs
makerom [SDK]makerom.
Config tool settings.
When Debug mode is enabled, debugging features for the following functions are enabled.
For details, see the individual functions in the Reference Manual.
nn::ac::DebugSetApTypenn::ac::DebugSetNetworkAreann::ac::DebugSetNetworkSetting1CEC
nn::cec::CecControl::StartScanningnn::cec::CecControl::EnterExclusiveState
nn::uds::CreateNetworknn::uds::ConnectNetwork
Also, made changes so that data that violates these restrictions generates an error during conversion.
FriendTestingPartner tool to run friend presence background processing on the CTR where a friend relationship was made (the friend presence is updated at a high frequency).
UdsLocalIdChecker tool to confirm the local communication ID [SDK]UdsLocalIdChecker to confirm the local communication ID.
WMTestTool, which is provided with Nintendo DS systems as a wireless test tool.
For CTR, use only the feature to generate radio interference (Noise Mode).
Import the CIA file from $CTR_SDK/tools/TargetTools/CTR-TS/Release to the CTR. Then launch the tool from the development menu.
It executes in TWL-compatible mode.
For details, see the Function Reference.
SaveDataFiler and CecLotCheckTool were imported to a system, they were not displayed on the HOME Menu (outside of the Japanese region).
They are now displayed in all regions.
Also, the version displayed on the HOME Menu System Settings was not accurate and was set to 0.
The corrections described in
GetPackageParameter function [SDK]GetPackageParameter function to get PackageParameter structure parameters in one operation.
LightingSample demo, you will see a phenomenon where the area the light is shining on will periodically flash.(2011/03/25)
IsExpectedToCloseApplication and IsExpectedToProcessPowerButton to be true at the same time [System Updater]IsExpectedToCloseApplication and IsExpectedToProcessPowerButton to be true at the same time. This occurred when the POWER Button was clicked to return control to the application while a library applet, such as the software keyboard applet or photo selection applet, was running.
This was changed so that only IsExpectedToProcessPowerButton is true.
This was actually changed in CTR-SDK 2.0 but was accidentally omitted from the change log.
AwakeCallback is called when the battery is fully discharged during sleep [System Updater]AwakeCallback was not called if the battery was fully discharged during sleep, so the application could not perform the finalization process. This has been revised so AwakeCallback is called.
This is a feature to immediately start background task execution. The function is nn::boss::Task::StartBgImmediate.
This feature ensures the number of files in BOSS storage do not exceed the specified number. The function is an overridden version of nn::boss::RegisterStorage.
Unlike the scheduling method used to date, the highest priority is given to task priority at the time the order of task execution is determined.
The control over task execution order has been changed to be even more precise.
(For example, if a MEDIUM priority task and a HIGH priority task are set to execute at the same time, the HIGH priority task will always be executed first.)
SetBrightnessSynchronization function [SDK | System Updater]SetBrightnessSynchronization function to enable a feature that links the stereo camera brightness.
By default, the above link feature is disabled.
The priorities of other camera processes have not been changed.
In conjunction with this, some of the information about the client that can be obtained from the server will change.
Specifically, the DUP client is always in the CLIENT_STATE_JOINED_SESSION (state before child device distribution).
After the DUP completes, transitions to CLIENT_STATE_DOWNLOADING and child device distribution begin.
Finally, nn::dlp::Server::GetClientStatus was removed because the download progress during DUP can be determined. It was replaced with nn::dlp::Server::GetClientState.
FakeClient::StopScan when the wireless switch was OFF [System Updater]FakeClient::StopScan function when it was called immediately before or after switching the wireless button off. This bug was fixed.
Results returned by Login [System Updater]friends::Login function does not return ResultTemporarilyBusy or ResultAlreadyDone.
ResultSuccess is now returned in these situations.
nn::fs::TryDelete* and nn::fs:TryRename* functions [System Updater]nn::fs::ResultBadFormat error was sometimes returned when deleting using nn::fs::TryDeleteFile or nn::fs::TryDeleteDirectory if a file with the same name as the directory was present in the same path.
In addition, an nn::fs::ResultInvalidArgument error was returned when using nn::fs::TryRenameFile or nn::fs::TryRenameDirectory if the same name was used for both a file and a directory in the same path.
These have been fixed and an nn::fs::ResultOperationDenied error is now returned.
nn::fs::TryDeleteDirectory and nn::fs::TryDeleteDirectoryRecursively functions [System Updater]nn::fs::TryDeleteDirectory or nn::fs::TryDeleteDirectoryRecursively functions, deletion failed and an nn::fs::ResultOperationDenied error was returned.
This bug has been fixed and the directories are now deleted.
If the format is invalid, an nn::fs::ResultBadFormat error is returned. You should first retry formatting.
nn::fs::TryDeleteFile to fail for expanded save data files [System Updater]nn::fs::TryDeleteFile for a file in expanded save data in an invalid state regardless of whether the actual process completes.
This bug occurred only with CTR-SDK 2.0 or later.
Read functions to timeout after canceling a ChunkedPost [System Updater]Read functions to time out after implementing http::Connection::NotifyFinishSendPostData and Connection::Cancel at the same time during ChunkedPost processing . (Specifications call for ResultTimeout to be returned.)
KeepAlive communication [System Updater]SetKeepAliveAvailability function to specify whether KeepAlive communication is used.
nn::os::SetDeviceMemory to enable changing the device memory size [System Updater]nn::os::SetDeviceMemory function. It can now change the device memory size.
However, the device memory size must be a multiple of 1,048,576 bytes (1 MB) both before and after the change.
Config tool [SDK | System Updater]Config tool.
For more details, see the Function Reference.
When the language settings are changed to invalid, some menu settings are changed instantaneously
To perform verification using this feature in the future, use the Config tool from CTR-SDK 2.1 and later
Also, the version displayed on the HOME Menu System Settings was not accurate and was set to 0.
Result values when ConnectNetwork fails [System Updater]Result values indicating failure of the ConnectNetwork function differed from the Function Reference.
In order to maintain compatibility, the Result values returned for applications built with CTR-SDK 1.x or earlier are based on the previous definitions.
nn::uds::Initialize function succeeded.
This bug has been fixed.
Finalize was executed during communication [System Updater]Finalize function was called without calling the DestroyNetwork or DisconnectNetwork function during communication.
(2011/03/25)
fs::Finalize in the sample demos [Sample Demos]fs::Finalize function are unnecessary and therefore were deleted from the AC-related sample demos.
This was actually changed in CTR-SDK 2.0 but was accidentally omitted from the change log.
demo1 and demo2 related to applets such as sleep, HOME Button, and POWER Menu.
Also deleted the code that terminated the application autonomously without interpreting the HOME Menu.
Stereo demo [Sample Demos]Stereo demo. The bug occurred when Capture Disable was specified on the lower screen and the system was closed and opened.
In conjunction with this, some of the information about the client that can be obtained from the server will change.
Specifically, the DUP client is always in the CLIENT_STATE_JOINED_SESSION (state before child device distribution).
After the DUP completes, transitions to CLIENT_STATE_DOWNLOADING and child device distribution begin.
Finally, nn::dlp::Server::GetClientStatus was removed because the download progress during DUP can be determined. It was replaced with nn::dlp::Server::GetClientState.
DummyUpdatePartition [Sample Demos]DummyUpdatePartition from the sample demos because DUP (updates via download play) is no longer necessary for server application development.
The function is nn::dlp::IsChild, which is defined in dlp_Common.h.
Use it when neither nn::dlp::Server nor nn::dlp::FakeClient can be used (i.e., when the Initialize function has not been called).
The demos include sample code to mount ROM archives, save data, and expanded save data, and sample code for subsequent file operations.
lib_grfw so that the DMPGL display buffer functions are not used [Sample Demos]lib_grfw library, which is the framework for GR library demos, so that the DMPGL display buffer object functions (nngxBindDisplaybuffer, nngxDisplaybufferStorage, nngxSwapBuffers, and so forth) are not used and allocation of the display buffer is explicitly performed.
Also, revised the nngxSwapBuffersByAddress function to enable setting of display buffer swap values.
os::Initialize from the sample demos [Sample Demos]os::Initialize function are unnecessary and therefore were deleted from the sample demos.
SimplePlayer sample demo [Sample Demos]SimplePlayer sample demo was revised to support applets, so HOME Button and Sleep Mode transitions are now possible.
None.
(2011/02/24)
nn::applet::CTR::GetSleepNotificationState, nn::applet::CTR::ClearSleepNotificationState [SDK]nn::applet::CTR::GetSleepNotificationState function, and it was necessary for it to be cleared on the application side by the nn::applet::CTR::ClearSleepNotificationState function, but with this method there were instances, based on timing, where sleep notifications could not be picked up.
The response to the hold was therefore standardized to nn::applet::CTR::IsExpectedToReplySleepQuery.
In addition, the nn::applet::CTR::GetSleepNotificationState and nn::applet::CTR::ClearSleepNotificationState functions have been removed from public release.
This process will be performed by the applet::PrepareToCloseApplication function.
As a result, CA certificate setting processes are no longer needed on the application side.
NN_LOGV and NN_PUT) that perform output of debugging logs.
As a result, when developing server applications, the developer no longer needs to be aware of system updates in DLP.
Specifically, the changes are as follows.
The server data distribution states defined for the ServerState enumerated type, shown below, have been gathered together into one state: SERVER_STATE_DISTRIBUTING.
The events notified for server data distribution defined for the SERVER_STATE_PREPARING_FOR_SYSTEM_DISTRIBUTIONSERVER_STATE_DISTRIBUTING_SYSTEMSERVER_STATE_WAITING_RECONNECTSERVER_STATE_PREPARING_FOR_TITLE_DISTRIBUTIONSERVER_STATE_DISTRIBUTING_TITLEEventType enumerated type, shown below, have been gathered together into one event: EVENT_TYPE_SERVER_STATE_DISTRIBUTING.
EVENT_TYPE_SERVER_STATE_PREPARING_FOR_SYSTEM_DISTRIBUTIONEVENT_TYPE_SERVER_STATE_DISTRIBUTING_SYSTEMEVENT_TYPE_SERVER_STATE_WAITING_RECONNECTEVENT_TYPE_SERVER_STATE_PREPARING_FOR_TITLE_DISTRIBUTIONEVENT_TYPE_SERVER_STATE_DISTRIBUTING_TITLE
news
omake rule definitions, used by builds that use omake.
With the aim of fixing bugs and improving maintenance, we plan to continue making changes in CTR-SDK 2.1.
The old build rules exist in $CTR_SDK/build/omake_deprecated, but we plan to delete them in the next release.
--depend to recreate the dependency relationships, but changes have been made so that this is no longer needed.
Dump function [SDK]Dump function.
ArchiveFont::InitStreamingConstruct function [SDK]nn::font::ArchiveFont::InitStreamingConstruct function.
Up until now there was only an assert failure check, which led to undefined behavior in release builds.
nn::fs::Mount*SaveData was already registered or was longer than 7 characters without including a colon (":") character was nn::fs::ResultOutOfMemory.
These have been respectively revised to return the nn::fs::ResultAlreadyExists and nn::fs::ResultInvalidArgument errors.
nn::fs::ForceEnableLatencyEmulation function [SDK]nn::fs::GetExtSaveDataFormatInfo function [SDK]nn::fs::GetSaveDataFormatInfo function [SDK]nn::fs::GetSaveDataFormatInfo function to get save data's format information.
The available information is the maximum number of files and directories specified at formatting and the flag for whether automatic redundancy is applied to the entire save data region.
nn::fs::hio and the HOST_IO build option [SDK]nn::fs::hio and the HOST_IO build option can be used in release builds.
For more details, see the separately released document, CTR Performance Tips.
Also added a sample demo that uses the GD library.
See the Function Reference Manual for differences with the existing GL and GR libraries.
RenderState::ShadowMap class [SDK]RenderState::ShadowMap class to set the value of the 0x100 register.
The Shadow still remains, but we plan to abolish it in the future.
Shader::MakeOutAttrCommand [SDK]Shader::MakeOutAttrCommand_ which generates the output attribute commands when a reserved geometry shader (for example, point sprites) is used, including generic attributes.
Vertex internal classes (LoadArray, InterleaveInfo, and IndexStream) [SDK]Vertex::LoadArray, which is an internal class for Vertex, was revised from a structure to a class, and constructors were added for the following internal classes: Vertex::LoadArray, Vertex::InterleaveInfo, and Vertex::IndexStream. Changes were also made such that the minimum member variables are now initialized.
Shader::SetShaderIndex function to specify the vertex and geometry shader within the used shader binary, and the Shader::MakeShaderCommand function to generate only the commands necessary when switching the used shaders.
Vertex::LoadArray::DisableAll and Vertex::AttrConstArray::DisableAll for internal use by Vertex::DisableAll to disable vertex attributes and initialize member variables [SDK]Vertex::LoadArray::DisableAll and Vertex::AttrConstArray::DisableAll methods to disable vertex attributes and initialize member variables, and made changes such that these methods, and not std::memset within the Vertex::DisableAll method which disabled all vertex attributes, will be used.
Added PICA_DATA_TEXTURE0_SAMPLER_TYPE_FALSE to the enumerated type tag name PicaDataTexture0SamplerType
Corrected errors in the Function Reference Manual for PicaDataGasColorLutInput and PicaDataDepthTest2
One function to Vector2, Vector3, and Vector4 [SDK]One function that returns a vector, all of which elements are 1.0f, to the following classes: Vector2, Vector3 and Vector4.
Thread::IsAlive [SDK]IsValid is also confirmed within IsAlive.
GetAdapterState, GetBatteryLevel, and GetBatteryChargeState functions were blocked, changes were made such that they were not blocked.
As a result of these changes, once there has been an actual change in the remaining battery level, there will be at most a delay of ten seconds until the GetBatteryLevel function can get the changed value.
The values are immediately reflected after the change for the GetAdapterState and GetBatteryChargeState functions.
nn::snd::FxReverb::SetParam, made revisions to check whether each of the variables for m_pFilterSize has a positive value.
nn::snd::SetOutputBufferCount function to increase the number of buffers at sound's final output stage.
Also added a percentage indicator to the progress bar when importing.
DlpClient would abort during a download [SDK]DlpClient would occasionally abort if communications were interrupted during a download. This has been fixed.
Reject parameters to allow for more flexible specification of files to exclude from ROMFS.
There is no change in operations when using the existing Reject parameters to specify files.
For details on the new specifications, see the ctr_makerom reference page.
CardDevice item to RSF [SDK]CardDevice field to RSF.
As a result of this change, applications that have None specified for BackupMemoryType will result in a warning when ctr_makerom is run as long as nothing appropriate is set for the CardDevice field.
For details, see the ctr_makerom reference page.
SaveDataFiler [SDK]SaveDataFiler and a reference page for it.
SaveDataFiler is a tool that includes features for viewing, importing and exporting the save data on the CTR Card, and the expanded save data on the SD card.
For more details, refer to the CTR-SDK function reference.
makebanner [SDK]makebanner.
・Corrected mistakes in the manual regarding makebanner and makeexbanner
・BannerModelConverter now supports NW4CForBanner
In step with this change, you now need .NET Framework version 3.5 or later to execute BannerModelConverter.
makeciaarchive [SDK]--romfs-root was specified.
Also deleted the references to DevMenu from the Description of the Initialize function, as they were not needed.
uds::DisallowToConnect function.
uds::Initialize function and the execution of the uds::Finalize function.
LightingSample demo, you will see a phenomenon where the area the light is shining on will periodically flash.(2011/02/24)
Connect function [System Updater]
Made changes such that holding down the POWER Button was a main case for the system to wake up, and that the power would turn off without a need to open the cover.
SleepQueryCallback would not be called even if the system was opened while writing to media [System Updater]SleepQueryCallback was not called even if the cover was opened while writing to media, screen and sound recovery would not occur. This has been fixed such that SleepQueryCallback is called when the cover is opened.
As a result, information on whether a 3D (3D screen) capture occurred becomes invalid, and in some cases different images are displayed on the right and left sides of the upper screen.
This was actually changed in CTR-SDK 0.14.22 but was accidentally omitted from the change log.
If-Modified-Since check was 304 for an NSD of 200 KB or more.
GetNsDataHeaderInfo function was called for an invalid serial ID, any BOSS storage mounted within that would not be able to be unmounted.
Suspend would take a lot of time if there were a large number of files in BOSS storage [System Updater]Suspend would take a lot of time (it would take a lot of time to enter Sleep Mode even after closing the cover) when BOSS storage was full and there was a large number of files.
TaskPermission and LAST_MODIFIED_TIME via the GetTaskInfo function.
NsData::GetHeaderInfo would not return [System Updater]NsData::GetHeaderInfo function was called at the same time as a data download, in rare instances you would not return from that function.
PauseAllTasks was executed [System Updater]PauseAllTasks functions, tasks would end up running with a new infra-network connection as a trigger.
LastModifiedTime, such that the same data would end up being downloaded again the next time.
Activate function would always return IsSleeping when the system was rapidly opened and closed [System Updater]Activate function would always continue to return IsSleeping in the interval it took to close and open the cover once.
SynchronizeVsyncTiming function as part of the application's waking up process, because the waking up process was not executed when the cover was opened and closed rapidly.
INVALID_LANGUAGE [System Updater]Server::Initialize was called when the market was set to either Europe or the US and the language code was set to INVALID_LANGUAGE.
As a result, when developing server applications, the developer no longer needs to be aware of system updates in DLP.
Specifically, the changes are as follows.
The server data distribution states defined for the ServerState enumerated type, shown below, have been gathered together into one state: SERVER_STATE_DISTRIBUTING.
The events notified for server data distribution defined for the SERVER_STATE_PREPARING_FOR_SYSTEM_DISTRIBUTIONSERVER_STATE_DISTRIBUTING_SYSTEMSERVER_STATE_WAITING_RECONNECTSERVER_STATE_PREPARING_FOR_TITLE_DISTRIBUTIONSERVER_STATE_DISTRIBUTING_TITLEEventType enumerated type, shown below, have been gathered together into one event: EVENT_TYPE_SERVER_STATE_DISTRIBUTING.
EVENT_TYPE_SERVER_STATE_PREPARING_FOR_SYSTEM_DISTRIBUTIONEVENT_TYPE_SERVER_STATE_DISTRIBUTING_SYSTEMEVENT_TYPE_SERVER_STATE_WAITING_RECONNECTEVENT_TYPE_SERVER_STATE_PREPARING_FOR_TITLE_DISTRIBUTIONEVENT_TYPE_SERVER_STATE_DISTRIBUTING_TITLE
For more details, see the separately released document, CTR Performance Tips.
nn::fs::MountExtSaveData function returned nn::ResultSuccess, the process was insufficient, and attempts to access files, etc., within the archive after that would return the nn::fs::ResultArchiveInvalidated error.
This bug was registered in BOSS and elsewhere, and could occur when mounting expanded save data with the possibility of being accessed at the same time by other processes.
For more details on the improvements, see the separately released document, CTR Performance Tips.
nn::fs::TryCreateFile function, made changes such that we guarantee the first 512 bytes of the file (or all data of the file for smaller sized files) are filled with zeroes.
nn::fs::TryCreateFile function, made changes such that we guarantee the first 512 bytes of the file (or all data of the file for smaller sized files) are filled with zeroes.
nngxIsStereoVisionAllowed returns true when generating hid::CTR::GyroscopeReader [System Updater]hid::CTR::GyroscopeReader, nngxIsStereoVisionAllowed returned true even when the 3D depth slider was all the way down. This has been fixed.
nngxFinalize [System Updater]nngxFinalize call's timing would sometimes overlap that of VSync and in rare cases result in a system freeze.
Cancel directly after starting communication [System Updater]Cancel was performed immediately after starting communication, other functions would not return a response for that communication.
nn::mic::SetAmp and nn::mic::SetLowPassFilter functions [System Updater]nn::mic::SetAmp function (with a false argument) or when executing the nn::mic::SetLowPassFilter function (regardless of argument).
As a result, there would be losses of sound or short instances of noise heard. This has been fixed.
uds::Initialize, ac::Connect, ac::ConnectAsync, or dlp::Client::Initialize was called, even if Wi-Fi was subsequently enabled.
event execution [System Updater]
To reflect this change you need to use debugger software from the 2010/12/22 version or later of PARTNER-CTR.
Seven days worth of steps will be recorded from the start of compatibility mode.
With this fix, the bug where a number of steps from before the time was changed would remain, but would suddenly become zero, or some would remain, was also resolved.
GetAdapterState, GetBatteryLevel, and GetBatteryChargeState functions were blocked, changes were made such that they were not blocked.
As a result of these changes, once there has been an actual change in the remaining battery level, there will be at most a delay of ten seconds until the GetBatteryLevel function can get the changed value.
The values are immediately reflected after the change for the GetAdapterState and GetBatteryChargeState functions.
INFTIM could not be used to specify a timeout for Poll [System Updater]INFTIM for the timeout while continuing to specify the non-blocked mode's socket descriptor for Poll.
As part of this change, removed RegionSelector.
These can also be changed using the Config tool after applying System Updater.Config tool can be imported.
ResultInvalidNode error would not be returned even when specifying a node ID not found by the GetNodeInformation function [System Updater]ResultInvalidNode error would not be returned even when specifying a node ID that does not exist in the GetNodeInformation function.
CreateNetwork function, etc., and when transitioning to wireless disabled mode or entering Sleep Mode, a deadlock would occur within the system, and any subsequently executed functions might not complete. This has been fixed.
ConnectNetwork function would no longer complete when transitioning to wireless disabled mode at some point in the timing when a client was attempting to connect to the network.
REPLY_LATER has been returned to a SleepQuery issued because the system was closed (or for some other reason), if a card is removed before REPLY_ACCEPT or REPLY_REJECT is returned the system will no longer be able to enter Sleep Mode.MountSdmc or MountExtSaveData functions have not succeeded and the GetSdmcSize function is called, an error (NotFound) is returned.Mount will fail and return BadFormat or MediaAccessError immediately after Format or after several files have been created. (2011/02/24)
cec_demo2 sample demo that supports screen display.
As a result, when developing server applications, the developer no longer needs to be aware of system updates in DLP.
Specifically, the changes are as follows.
The server data distribution states defined for the ServerState enumerated type, shown below, have been gathered together into one state: SERVER_STATE_DISTRIBUTING.
The events notified for server data distribution defined for the SERVER_STATE_PREPARING_FOR_SYSTEM_DISTRIBUTIONSERVER_STATE_DISTRIBUTING_SYSTEMSERVER_STATE_WAITING_RECONNECTSERVER_STATE_PREPARING_FOR_TITLE_DISTRIBUTIONSERVER_STATE_DISTRIBUTING_TITLEEventType enumerated type, shown below, have been gathered together into one event: EVENT_TYPE_SERVER_STATE_DISTRIBUTING.
EVENT_TYPE_SERVER_STATE_PREPARING_FOR_SYSTEM_DISTRIBUTIONEVENT_TYPE_SERVER_STATE_DISTRIBUTING_SYSTEMEVENT_TYPE_SERVER_STATE_WAITING_RECONNECTEVENT_TYPE_SERVER_STATE_PREPARING_FOR_TITLE_DISTRIBUTIONEVENT_TYPE_SERVER_STATE_DISTRIBUTING_TITLE
Also added a sample demo that uses the GD library.
See the Function Reference Manual for differences with the existing GL and GR libraries.
Silhouette demo that performs silhouette rendering using reserved geometry shaders [Sample Demos]Silhouette demo that performs silhouette rendering using reserved geometry shaders.
glDrawElementsin demos that directly generate 3D commands [Sample Demos]0x253[0:0] register is initialized to 0x0 during nngxInitialize for the demos that directly generate 3D commands (TriangleSimpleCmd and FragmentLightingSimpleCmd), changes were made to not generate unnecessary commands that would write 0x0 to register 0x253[0:0] for every frame when the rendering API was glDrawElements.
ProcTexEditor demo that edits that parameters of procedural textures, a change was made to display a gradation bar for the alpha color.
It displays the alpha color lookup table in RGBA shared mode and the Fa lookup table in alpha independent mode.
demo1 from the HOME Menu, and accessing save data using the A + X Buttons, if you then press the HOME Button there is a high probability that the demo will freeze.SimpleServer server, a DUP cannot be run because an update archive cannot be attached.(2011/02/15)
SetReceiving function reference [SDK]SetReceiving was revised.
CheckParentalControlPinCode function was added for verifying Parental Controls PIN codes.
Plans call for removing the GetParentalControlPinCode function used to get the PIN code.
Be sure to use the CheckParentalControlPinCode function to verify PIN codes.
FakeClient::StartScan function [SDK | Sample Demos]FakeClient::StartScan function allowed developers to specify a wireless channel when they should not have been able to, a FakeClient::StartScan function that does not allow wireless channel specification has been prepared.
This function automatically scans all scannable channels.
Use this function from now on.
Also, use of the FakeClient::GetChannels functions, used to get scannable channels, is prohibited.
Although the FakeClient::GetChannels function and the FakeClient::StartScan function that allows wireless channel specification can be accessed to maintain mutual compatibility, please use the new functions so that unnecessary problems do not arise.
With this change, the NodeInfo user names obtained by the following functions now always include NULL at the end (11th character).
nn::dlp::FakeClient::GetServerInfonn::dlp::FakeClient::GetNodeInfo
nn::fs::ResultOutOfMemory was being returned as an error when mounting a new archive using a name already registered.
This has been revised so that nn::fs::ResultAlreadyExists is returned.
dmp_FragmentLightSource[i].position and dmp_FragmentLightSource[i].spotDirection [SDK]dmp_FragmentLightSource[i].position and dmp_FragmentLightSource[i].spotDirection, did not match the specification manual.
NN_GX_CMDLIST_GAS_UPDATE to the nngxSetCmdlistParameteri function [SDK]pname has been newly added for making settings related to updating additive blend results for rendering gas density information.
nngxSwapBuffersByAddress function [SDK]nngxSwapBuffersByAddress function has been added. This function can specify the address of a buffer to be directly swapped without using a display buffer object.
glStencilFunc function for stencil tests, the default setting for the func argument differed in terms of the state on the driver and the value in the GPU register.
Although the state was GL_ALWAYS as per specifications, the register value was GL_NEVER. If glStencilFunc(GL_ALWAYS, 0, ~0) was specified, this would lead to a bug where operation would advance using GL_NEVER without updating the value of the register to match the actual state.
This bug has been fixed.
dmp_LightEnv.lutEnabledRefl from GL_TRUE to GL_FALSE
NN_GX_CMDLIST_HW_STATE0x0af[11:8], 0x126[25:24], 0x1c0, and 0x229[1:0]NN_GX_CMDLIST_GAS_UPDATE to the nngxSetCmdlistParameteri functionnngxSwapBuffersByAddress function
mad instruction and changed the upper limit on the number of masking patterns from 64 to 32
subdivision0.obj because there was a risk it would lead to undefined operations
glShaderBinary function that would occur under specific conditions [SDK]glShaderBinary function when a generic attribute was being specified for an attribute later than the seventh in the definition of a #pragma output_map statement in the shader assembler.
Sender::Cancel function would sometimes result in an assert failure if signal reception was poor, regardless of whether the build was a Release build.
Also, code was revised so that the ASSERT macro of the RDT library is disabled for Release builds.
AllocVoice where NULL would return and then the sound thread would stop [SDK]AllocVoice function was called from a thread other than a sound thread where NULL would be returned and then the sound thread would stop.
This bug did not occur in CTR-SDK 0.14.23 or earlier.
INTERPOLATION_TYPE_LINEAR was specified using the nn::snd::Voice::SetInterpolationType function.
This bug did not occur in CTR-SDK 0.14.23 or earlier.
For details, see the documentation for the Config tool.
nn::fs::ResultVerificationFailed [SDK]nn::fs::MountSaveData function returns nn::fs::ResultVerificationFailed has been added to $CTR_SDK/tools/TargetTools/CTR-TS.
Be sure to write it to a backup device using PARTNER-CTR and use it.
ctr_VertexShaderLinker32.exe.
These features are disabled by default.
For details, see $CTR_SDK/documents/DMPGL20/VertexShaderReferenceManual.pdf.
NetworkDescriptionReader::GetNodeInformationList function were not being NULL-terminated [SDK]NetworkDescriptionReader::GetNodeInformationList function if scanning was performed after turning the power on and UDS communication had not yet been carried out even once, including by another application.
GetNodeInformation function in the UDS library gives a Result value indicating success even when a nonexistent node ID is specified.(2011/02/15)
Also, the following bugs associated with this demo were fixed.
nn::camera::Activate function if the system was opened and closed repeatedly
FakeClient::StartScan function [SDK | Sample Demos]FakeClient::StartScan function allowed developers to specify a wireless channel when they should not have been able to, a FakeClient::StartScan function that does not allow wireless channel specification has been prepared.
This function automatically scans all scannable channels.
Use this function from now on.
Also, use of the FakeClient::GetChannels functions, used to get scannable channels, is prohibited.
Although the FakeClient::GetChannels function and the FakeClient::StartScan function that allows wireless channel specification can be accessed to maintain mutual compatibility, please use the new functions so that unnecessary problems do not arise.
SimpleServer would not run except in the JP market [Sample Demos]SimpleServer would not operate outside the JP market.
The cause was due to the fact that the JP market had been set for the Child_0 icon. The icon was changed to support all markets.
demo1 was old and could not be displayed, so it was replaced with the most recent data.
FragmentLightSimpleCmd sample demo [Sample Demos]Try type for save data in demo1 code, so this bug was fixed by determining results using a function of the Try type.
ProjectionTexture sample [Sample Demos]gx/DMPGL/ProjectionTexture, for procedural textures was newly added.
demo1 save data are used [Sample Demos]0x149 was not being set correctly in relation to the value of position w for Light 0.
This bug was addressed in the CTR-SDK 1.1 graphics driver update.
gyroscope, for using the gyro, was added.
ReadTexturePackage2 demo [Sample Demos]ReadTexturePackage2 demo.
None.
(2011/01/25)
nn::cec::MessageBox::CreateMessageBox function that does not specify icon data [SDK]nn::cec::MessageBox::CreateMessageBox function that does not specify icon data, since there is no need to use it.
Also removed descriptions of the MessageBox Class Error HandlingMessageBox::OpenMessageBoxMessageBoxInfoReader class, since this class is not supported.
Also see the Programming Manual for details on how to implement.
MountRom, with the function returning a Result of type nn::fs::ResultVerificationFailed.
Shader::SetDrawMode function to support GL_TRIANGLE_STRIP and GL_TRIANGLE_FAN when in triangle render mode [SDK]gr::Shader class to support GL_TRIANGLE_STRIP and GL_TRIANGLE_FAN when in triangle render mode.
const member function for the gr::Viewport, gr::Scissor, and gr::Shadow classes [SDK]gr::Viewport::MakeCommand, gr::Scissor::MakeCommand, and gr::Shadow::MakeCommand member functions to be const member functions.
private member variables to protected member variables [SDK]private member variables in the library to protected member variables.
0x85 to the physical address of a cube map's +X plane [SDK]Texture::Unit0::MakeCommand function when generating the command to set register 0x85 to the physical address of a cube map's +X plane.
gr::MakeDisableAllCommand function and other class methods to generate 3D commands to disable graphics settings (such as shader modes, vertex attributes, fog, fragment lighting, textures, and render states).
FragmentLight::Source::MakeColorCommand function to generate fragment lighting light source color information commands, and the FragmentLight::Source::MakeGeometryCommand function to generate geometric information commands.
FragmentLight::MakeLightEnvCommand function causing miscalculation of the value in the register corresponding to the dmp_FragmentLightSource[i].shadowed uniform.
[0.0, 1.0] or [-1.0, 1.0] [SDK]LookUpTable::SetAbsTable method to configure lookup table commands when the input value is [0.0, 1.0], and the LookUpTable::SetNotAbsTable for when the input value is [-1.0, 1.0].
The LookUpTable::SetTable function is kept for compatibility purposes, and this now calls the LookUpTable::SetAbsTable function internally by default.
LookUpTable::SetTable, Fog::SetTable, ProcedureTexture::SetNoiseLookUpTable, ProcedureTexture::SetRgbMapLookUpTable, and ProcedureTexture::SetAlphaMapLookUpTable functions.
This default value is 0.0f.
ctr_VertexShaderLinker32.exe shader linker.
See VertexShaderReferenceManual.pdf for details.
Finalize function to call ResetBuffer internally [SDK]Finalize function to avoid possible unstable operation should the application forget to call ResetBuffer before calling Finalize.
Voice object obtained from AllocVoice was sometimes not initialized [SDK]Voice object obtained from AllocVoice was sometimes not initialized.
applet::ProcessPowerButton or applet::ProcessHomeButton when there is no sound thread [SDK]applet::ProcessPowerButton or applet::ProcessHomeButton functions after calling the nn::snd::Initialize function but before creating a sound thread.
INTERPOLATION_TYPE_LINEAR as the interpolation method of a Voice object.
CecLotcheckTool [SDK]CecLotcheckTool.
CecLotcheckTool to allow it to be imported into NANDDevelopment
FriendTool [SDK]FriendTool for registering friends from the CTR-SDK package.
Use the friend roster included in the HomeMenuPackage for establishing friendships.
CreateNetwork and Scan functions [SDK]CreateNetwork and Scan functions are now provided as the standard interfaces for these features.
The previous function that specifies the channels to use as the default argument value is still available for purposes of backwards compatibility, but Nintendo recommends using and supporting the new function to avoid any possible problems.
CreateNetwork and ConnectNetwork functions [SDK]CreateNetwork and ConnectNetwork functions, allowing the size of the passphrase to be specified as 0. This was changed to check for passphrases of at least 8 and at most 255 characters.
SendTo argument check to an assert [SDK]NN_ASSERT checks.
SetApplicationDataToBeacon function [SDK]SetApplicationDataToBeacon function reference stated that the argument data size had to be less than NET_DESC_APPDATA_SIZE_MAX. However, the function specification states that data can be NET_DESC_APPDATA_SIZE_MAX in size, so the reference content was changed to reflect this, and the library checks were changed similarly.
uds::Attach function [SDK]ATTACH_BUFFER_SIZE_DEFAULT and ATTACH_BUFFER_SIZE_MIN constants for the size of the receive buffer specified in the uds::Attach function.
Result value for the uds::DestroyEndpoint function [SDK]DestroyEndpoint function previously allowed for the specification of an invalid EndpointDescriptor, such that calling DestroyEndpoint on an Endpoint that had already been destroyed would return an error value of ResultNotInitialized. This was changed to return the more appropriate ResultNotAuthorized error instead.
GetNodeInformation function in the UDS library gives a Result value indicating success even when a nonexistent node ID is specified.(2011/01/25)
demo1-sys [Sample Demos]demo1 to show implementation of sample demo demo1-sys, which supports startup, quitting, and sleep processing, with the keyboard applet removed.
GraphicsDrawing demo for rendering 2D shapes [Sample Demos]GraphicsDrawing demo for rendering 2D geometric shapes using the GR library.
ParticleSystem demo for rendering the results of particle systems using the reserved geometry shader [Sample Demos]ParticleSystem demo for rendering the results of particle systems using the reserved geometry shader with the GR library.
gx/DMPGL/TriangleSimple and demo1 where calculation precision issues would cause strange behavior in the rotation of polygons on the upper screen when running the demos for extended periods.
Revised to reset the floating-point value specified as the rotation angle at set intervals.
None.
CONFIDENTIAL