News Services: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
| 0x000D0082 | | 0x000D0082 | ||
| [[NEWSS:GetNotificationImage|GetNotificationImage]] | | [[NEWSS:GetNotificationImage|GetNotificationImage]] | ||
|} | |||
=News module savedata= | |||
* "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.mpo" This is the [[NEWSS:AddNotification|MPO]] data for this notification if any, where XXX is a decimal ID for the notification. | |||
==news.db== | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 | |||
| 0x10 | |||
| Header, normally first byte is value 0x1 and the rest all-zero. | |||
|- | |||
| 0x10 | |||
| 0x2BC0 (100 * 0x70) | |||
| Array of [[NEWSS:AddNotification|headers]] for each notification. | |||
|} | |} |
Revision as of 07:05, 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 a decimal ID for the notification.
- "newsXXX.mpo" This is the MPO data for this notification if any, where XXX is a decimal ID for the notification.
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. |