Difference between revisions of "News Services"

From 3dbrew
Jump to navigation Jump to search
Line 40: Line 40:
 
=News module savedata=
 
=News module savedata=
 
* "news.db": This is the main save-file, the filesize is fixed to 0x2BD0-bytes.
 
* "news.db": This is the main save-file, the filesize is fixed to 0x2BD0-bytes.
* "newsXXX.txt" This is the [[NEWSS:AddNotification|message]] data for this notification, where XXX is a decimal ID for the notification.
+
* "newsXXX.txt" This is the [[NEWSS:AddNotification|message]] data for this notification, where XXX is the decimal [[NEWSS:GetNotificationHeader|notificationID]].
* "newsXXX.mpo" This is the [[NEWSS:AddNotification|MPO]] data for this notification if any, where XXX is a decimal ID for the notification.
+
* "newsXXX.mpo" This is the [[NEWSS:AddNotification|MPO]] data for this notification if any, where XXX is the decimal notificationID.
  
 
==news.db==
 
==news.db==

Revision as of 07:29, 12 December 2014

This system module handles the system notifications.

News service "news:u"

Command Header Description
0x000100C8

This service only has one command.

News service "news:s"

Command Header Description
0x000100C6 AddNotification
0x00050000 GetTotalNotifications
0x00070082 SetNotificationHeader
0x000B0082 GetNotificationHeader
0x000C0082 GetNotificationMessage
0x000D0082 GetNotificationImage

News module savedata

  • "news.db": This is the main save-file, the filesize is fixed to 0x2BD0-bytes.
  • "newsXXX.txt" This is the message data for this notification, where XXX is the decimal notificationID.
  • "newsXXX.mpo" This is the MPO data for this notification if any, where XXX is the decimal notificationID.

news.db

Offset Size Description
0x0 0x10 Header, normally first byte is value 0x1 and the rest all-zero.
0x10 0x2BC0 (100 * 0x70) Array of headers for each notification.