Rtcalarm.dat

From PS3 Developer wiki
Jump to: navigation, search

RTC Alarm[edit]

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) (note: 3.56+ only whitelisted modules allowed)

rtcalarm.dat[edit]

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[edit]

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[edit]

Auto Update Download?

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

VSH Function[edit]

Registers vshatdl.sprx:	vshmain_21685E40(1)

vshpodl.sprx[edit]

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 = ?
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
80 00 00 00 = "/dev_flash/vsh/module/" 
filepath = "vshpodl.sprx" 

VSH Function[edit]

Registers vshpodl.sprx:	vshmain_1A36F945()

Torne[edit]

Digital Video Recording Software

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

PlayTV[edit]

Digital Video Recording Software

  • Path: /dev_hdd0/game/NPEA90029/USRDIR/vegas-rec.sprx
  • libsysutil_rtcalarm.cellRtcAlarm_122D3DB1
app id = "NPEA90029" ?
00 00 08 00 = ?
00 00 = Year
00 00 = Month
00 00 = Day
00 00 = Hour
00 00 = Minute
00 00 = Second
00 00 00 00 = Microsecond
00 00 00 00 = "/dev_hdd0/game/" 
filepath = "NPEA90029/USRDIR/vegas-rec.sprx" 
Time will be set for recording event?