Rtcalarm.dat: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 16: Line 16:
  00000000 52 54 43 41 00 00 01 00 00 00 00 00 00 00 00 00 RTCA............ |
  00000000 52 54 43 41 00 00 01 00 00 00 00 00 00 00 00 00 RTCA............ |
  00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ |
  00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ |
  00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | Header
  00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | Header, 0x100 (amount) * 0x8A0 (chunk) = 0x8A000 (max.)
  00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ |
  00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ |
  ...
  ...
  0008A070 00 00 00 00 00 00 00 00 00 00 00 00 52 54 43 41 ............RTCA
0008A040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ |
0008A050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ |
0008A060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | Ending Header
  0008A070 00 00 00 00 00 00 00 00 00 00 00 00 52 54 43 41 ............RTCA |


===VSH Functions===
===VSH Functions===

Revision as of 20:27, 6 April 2015

RTC Alarm

Real Time Clock Alarm - not Return To Castle

  • File: /dev_hdd0/vsh/rtcalarm.dat - Created/Modified by VSH
  • Lv2 System Call 396: sys_sm_set_rtc_alarm
  • HV System Manager: ServiceID 34 + 38 (RTC_ALARM)
  • Usermode usable via: /dev_flash/sys/external/libsysutil_rtcalarm.sprx

Can boot up the console at a specific time? (from standby)
Loads up a set module in rtcalarm.dat (loaded by and in vsh process)

rtcalarm.dat

Empty File:

00000000 52 54 43 41 00 00 01 00 00 00 00 00 00 00 00 00 RTCA............ |
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ |
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | Header, 0x100 (amount) * 0x8A0 (chunk) = 0x8A000 (max.) 
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ |
...
0008A040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ |
0008A050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ |
0008A060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ | Ending Header
0008A070 00 00 00 00 00 00 00 00 00 00 00 00 52 54 43 41 ............RTCA |

VSH Functions

RTC Alarm Shutdown/Stop vshmain_5F95D6F5(char * app_id)
RTC Alarm Register vshtask_668E3C94(char * app_id, uint8_t filebin[0x4C])
RTC Alarm Unregister vshtask_166551C5(char * app_id)
RTC Alarm Get Status vshtask_784023D0(uint8_t status[0x1D0])

vshatdl.sprx

Auto Update Download?

  • Path: /dev_flash/vsh/module/vshatdl.sprx

VSH Function

Registers vshatdl.sprx:	vshmain_21685E40(1)

vshpodl.sprx

Pre-Order Download

  • Path: /dev_flash/vsh/module/vshpodl.sprx

rtcalarm.dat File:

00000000 52 54 43 41 00 00 01 00 00 00 00 00 00 00 00 00 RTCA............
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000040 76 73 68 70 6F 64 6C 00 00 00 00 0F 07 DF 00 01 vshpodl.........
00000050 00 12 00 0C 00 38 00 09 00 06 AA AE 76 73 68 70 .....8......vshp
00000060 6F 64 6C 2E 73 70 72 78 00 00 00 00 00 00 00 00 odl.sprx........
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000A0 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 ................
...
0008A070 00 00 00 00 00 00 00 00 00 00 00 00 52 54 43 41 ............RTCA
app id = "vshpodl" ?
00 00 00 0F = /dev_flash/vsh/module ?
07 DF = 2015
00 01 = January, Month
00 12 = 18th, Day
00 0C = Hour
00 38 = Minute
00 09 = Second
00 06 AA AE = Microsecond
filename = "vshpodl.sprx"

VSH Function

Registers vshpodl.sprx:	vshmain_1A36F945()

Torne

Digital Video Recording Software

  • Path: /dev_hdd0/game/BCJB95006/USRDIR/v320/PvrRecSvr.sprx
  • libsysutil_rtcalarm.cellRtcAlarm_122D3DB1

PlayTV

Digital Video Recording Software

  • Path: /dev_hdd0/game/NPEA90029/USRDIR/vegas-rec.sprx
  • libsysutil_rtcalarm.cellRtcAlarm_122D3DB1