Talk:CCAPI: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(updated download locations)
(→‎Commands: new section)
Line 32: Line 32:
   //                                                  //
   //                                                  //
   // ************************************************* //
   // ************************************************* //
== Commands ==
{| class="wikitable sortable"
|-
! Command ID !! Action !! Prototype
|-
| 1 || {{cellcolors|#ff8888}} Unknown ||
|-
| 2 || {{cellcolors|#88ff88}} ReadProcessMemory || int32_t ReadProcessMemory(sys_pid_t pid, uint64_t address, void *data, size_t size)
|-
| 3 || {{cellcolors|#88ff88}} WriteProcessMemory || int32_t WriteProcessMemory(sys_pid_t pid, uint64_t address, const void *data, size_t size)
|-
| 4 || {{cellcolors|#ff8888}} Unknown ||
|-
| 5 || {{cellcolors|#88ff88}} GetProcessInfo || int32_t GetProcessInfo(sys_pid_t pid, sys_process_info_t *info)
|-
| 6 || {{cellcolors|#88ff88}} GetTemperature || int32_t GetTemperature(int32_t type, uint32_t *temperature)
|-
| 7 || {{cellcolors|#88ff88}} ControlLed || int32_t ControlLed(int32_t ledColor, int32_t ledAction)
|-
| 8 || {{cellcolors|#88ff88}} GetLv2Memory || int32_t GetLv2Memory(uint64_t address, size_t num, uint8_t *buffer)
|-
| 9 || {{cellcolors|#88ff88}} SetLv2Memory || int32_t SetLv2Memory(uint64_t address, int32_t size, const uint8_t *data)
|-
| 10 || {{cellcolors|#88ff88}} GetLv1Memory || int32_t GetLv1Memory(uint64_t address, size_t size, uint8_t *buffer)
|-
| 11 || {{cellcolors|#88ff88}} SetLv1Memory || int32_t SetLv1Memory(uint64_t address, size_t size, const uint8_t *data)
|-
| 12 || {{cellcolors|#88ff88}} GetConsoleInfo ||
|-
| 13 || {{cellcolors|#88ff88}} RingBuzzer || int32_t RingBuzzer(int32_t mode)
|-
| 14 || {{cellcolors|#ff8888}} Unknown ||
|-
| 15 || {{cellcolors|#88ff88}} Shutdown || int32_t Shutdown(int32_t mode)
|-
| 16 || {{cellcolors|#88ff88}} Notify || int Notify(const char * [[VSH#Notification_Window_Textures|texture]], const wchar_t *text)
|}

Revision as of 08:28, 21 June 2014

i have found a little info today on CCAPI and have decided to include here on the wiki, i hope this is ok. please feel free to add or amend anything of use, and or a possible good source of code.


Download locations:

 http://store.brewology.com/ahomebrew.php?brewid=254
 https://ps3lib.codeplex.com/
 http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=ps3lib&DownloadId=694952&FileTime=130420557133530000&Build=20907

$ cat read.txt

 // ************************************************* //
 //    --- Copyright (c) 2014 iMCS Productions ---    //
 // ************************************************* //
 //              PS3Lib v4 By FM|T iMCSx              //
 //                                                   //
 // Features v4.3 :                                   //
 // - Support CCAPI v2.5 C# by iMCSx                  //
 // - Popup better form with icon                     //
 // - CCAPI Consoles List Popup French/English        //
 // - CCAPI Get Console Info                          //
 // - CCAPI Get Console List                          //
 // - CCAPI Get Number Of Consoles                    //
 // - Get Console Name TMAPI/CCAPI                    //
 //                                                   //
 // Credits : FM|T Enstone , Buc-ShoTz                //
 //                                                   //
 // Follow me :                                       //
 //                                                   //
 // FrenchModdingTeam.com                             //
 // Youtube.com/iMCSx                                 //
 // Twitter.com/iMCSx                                 //
 // Facebook.com/iMCSx                                //
 //                                                   //
 // ************************************************* //

Commands

Command ID Action Prototype
1 Unknown
2 ReadProcessMemory int32_t ReadProcessMemory(sys_pid_t pid, uint64_t address, void *data, size_t size)
3 WriteProcessMemory int32_t WriteProcessMemory(sys_pid_t pid, uint64_t address, const void *data, size_t size)
4 Unknown
5 GetProcessInfo int32_t GetProcessInfo(sys_pid_t pid, sys_process_info_t *info)
6 GetTemperature int32_t GetTemperature(int32_t type, uint32_t *temperature)
7 ControlLed int32_t ControlLed(int32_t ledColor, int32_t ledAction)
8 GetLv2Memory int32_t GetLv2Memory(uint64_t address, size_t num, uint8_t *buffer)
9 SetLv2Memory int32_t SetLv2Memory(uint64_t address, int32_t size, const uint8_t *data)
10 GetLv1Memory int32_t GetLv1Memory(uint64_t address, size_t size, uint8_t *buffer)
11 SetLv1Memory int32_t SetLv1Memory(uint64_t address, size_t size, const uint8_t *data)
12 GetConsoleInfo
13 RingBuzzer int32_t RingBuzzer(int32_t mode)
14 Unknown
15 Shutdown int32_t Shutdown(int32_t mode)
16 Notify int Notify(const char * texture, const wchar_t *text)