Editing Libraries
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
= List of libraries = | = List of libraries = | ||
== sce_module libraries == | == sce_module libraries == | ||
Some libraries must be included in | Some libraries must be included in each application sce_module folder. | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 51: | Line 9: | ||
! Module name !! Name !! sysmodule ID !! Remarks | ! Module name !! Name !! sysmodule ID !! Remarks | ||
|- | |- | ||
| | | || SCE_SYSMODULE_FACE || 0x38 || | ||
|- | |- | ||
| | | || SCE_SYSMODULE_SMART || 0x39 || | ||
|- | |- | ||
| | | || SCE_SYSMODULE_S3DCONVERSION || 0x86 || | ||
|- | |- | ||
| | | || SCE_SYSMODULE_HAND || 0x93 || | ||
|- | |- | ||
| | | || SCE_SYSMODULE_HEAD_TRACKER || 0xCB || | ||
|- | |- | ||
| | | || SCE_SYSMODULE_FACE_TRACKER || 0xD8 || | ||
|- | |- | ||
| | | || SCE_SYSMODULE_HAND_TRACKER || 0xD9 || | ||
|- | |||
| || SCE_SYSMODULE_AUDIO_LATENCY_ESTIMATION || 0xE8 || | |||
|- | |- | ||
| || SCE_SYSMODULE_RESERVED27 || 0xEA || | | || SCE_SYSMODULE_RESERVED27 || 0xEA || | ||
|- | |- | ||
| | | || SCE_SYSMODULE_NP_TOOLKIT || 0xF7 || | ||
|- | |- | ||
| | | || SCE_SYSMODULE_JOB_MANAGER || 0xFE || | ||
|- | |- | ||
| | | || unk || 0x102 || | ||
|- | |- | ||
|} | |} | ||
== Sysmodule libraries == | |||
A list of library names can be found in libSceSysmodule.sprx which can be dumped from within the WebKit process. | |||
=== 6.51 === | |||
soon by CelesteBlue | |||
=== 5.05 === | |||
As of FW 5.05, maximum sysmodule ID is 0x105. | |||
=== 4.71 | === 4.71 === | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 627: | Line 53: | ||
! Module name !! Name !! sysmodule ID !! Remarks | ! Module name !! Name !! sysmodule ID !! Remarks | ||
|- | |- | ||
| libc || - || | | libc || - || - || C/C++ standard libraries | ||
|- | |- | ||
| libSceFios2 || - || | | libSceFios2 || - || - || File Input/Output Scheduler 2 | ||
|- | |- | ||
| libMonoCompilerBridge || || || | | libMonoCompilerBridge || || || | ||
Line 659: | Line 85: | ||
| libSceAudiodecCpu || || || | | libSceAudiodecCpu || || || | ||
|- | |- | ||
| libSceAudiodecCpuDdp || || | | libSceAudiodecCpuDdp || || || | ||
|- | |- | ||
| libSceAudiodecCpuM4aac || || | | libSceAudiodecCpuM4aac || || || | ||
|- | |- | ||
| libSceAudioIn || || || | | libSceAudioIn || || || | ||
Line 753: | Line 179: | ||
| libSceJscCompiler || || || | | libSceJscCompiler || || || | ||
|- | |- | ||
| libSceJson || || | | libSceJson || || || | ||
|- | |- | ||
| libSceKbEmulate || || || | | libSceKbEmulate || || || | ||
Line 775: | Line 201: | ||
| libSceMsgDialog || SCE_SYSMODULE_MESSAGE_DIALOG || 0x00A4 || MsgDialog library | | libSceMsgDialog || SCE_SYSMODULE_MESSAGE_DIALOG || 0x00A4 || MsgDialog library | ||
|- | |- | ||
| libSceMusicCoreServerClientJsEx || || | | libSceMusicCoreServerClientJsEx || || || | ||
|- | |- | ||
| libSceMusicCoreServerClient || || || | | libSceMusicCoreServerClient || || || | ||
Line 815: | Line 241: | ||
| libSceNpWebApi || || || | | libSceNpWebApi || || || | ||
|- | |- | ||
| libSceOrbisCompat || || | | libSceOrbisCompat || || || | ||
|- | |- | ||
| libScePad || || || | | libScePad || || || | ||
Line 877: | Line 303: | ||
| libSceVencCore || || || | | libSceVencCore || || || | ||
|- | |- | ||
| libSceVideoCoreServerInterface || || | | libSceVideoCoreServerInterface || || || | ||
|- | |- | ||
| libSceVideodec || SCE_SYSMODULE_VIDEODEC || 0x008E || Videodec library | | libSceVideodec || SCE_SYSMODULE_VIDEODEC || 0x008E || Videodec library | ||
Line 893: | Line 319: | ||
| libSceVshCommon_aot || || || | | libSceVshCommon_aot || || || | ||
|- | |- | ||
| libSceWebKit2 || || | | libSceWebKit2 || || || | ||
|- | |- | ||
| libSceWeb || || || | | libSceWeb || || || | ||
Line 900: | Line 326: | ||
|- | |- | ||
| libSceXml || SCE_SYSMODULE_XML || 0x0017 || Xml library | | libSceXml || SCE_SYSMODULE_XML || 0x0017 || Xml library | ||
|- | |- | ||
|} | |} | ||
Line 1,219: | Line 631: | ||
| libSceConvertKeycode || {{Yes2}} Yes | | libSceConvertKeycode || {{Yes2}} Yes | ||
|} | |} | ||
= List of Stubs = | |||
<pre> | |||
libc_stub_weak | |||
libkernel_stub_weak | |||
libSceAjm_stub_weak | |||
libSceAppContent_stub_weak | |||
libSceAt9Enc_stub_weak | |||
libSceAudio3d_stub_weak | |||
libSceAudiodec_stub_weak | |||
libSceAudiodecCpu_stub_weak | |||
libSceAudiodecCpuHevag_stub_weak | |||
libSceAudioIn_stub_weak | |||
libSceAudioLatencyEstimation_stub_weak | |||
libSceAudioOut_stub_weak | |||
libSceAvPlayer_stub_weak | |||
libSceCamera_stub_weak | |||
libSceCommonDialog_stub_weak | |||
libSceCompanionHttpd_stub_weak | |||
libSceCompanionUtil_stub_weak | |||
libSceContentDelete_stub_weak | |||
libSceContentExport_stub_weak | |||
libSceContentSearch_stub_weak | |||
libSceConvertKeycode_stub_weak | |||
libSceCoredump_stub_weak | |||
libSceDbg_stub_weak | |||
libSceDbgAddressSanitizer_stub_weak | |||
libSceDbgAudioOut_stub_weak | |||
libSceDbgKeyboard_stub_weak | |||
libSceDbgPlayGo_stub_weak | |||
libSceDbgUBSanitizer_stub_weak | |||
libSceDbgVideoOut_stub_weak | |||
libSceDeci4h_stub_weak | |||
libSceDepth_stub_weak | |||
libSceEditMp4_stub_weak | |||
libSceErrorDialog_stub_weak | |||
libSceFace_stub_weak | |||
libSceFaceTracker_stub_weak | |||
libSceFiber_stub_weak | |||
libSceFios2_debug_stub_weak | |||
libSceFios2_stub_weak | |||
libSceFont_stub_weak | |||
libSceFontFt_stub_weak | |||
libSceGameCustomDataDialog_stub_weak | |||
libSceGameLiveStreaming_stub_weak | |||
libSceGnmDriver_stub_weak | |||
libSceGpuDebugger_stub_weak | |||
libSceHand_stub_weak | |||
libSceHandTracker_stub_weak | |||
libSceHeadTracker_stub_weak | |||
libSceHmd_stub_weak | |||
libSceHmdSetupDialog_stub_weak | |||
libSceHttp_stub_weak | |||
libSceIme_stub_weak | |||
libSceImeBackend_stub_weak | |||
libSceImeDialog_stub_weak | |||
libSceInvitationDialog_stub_weak | |||
libSceJobManager_stub_weak | |||
libSceJpegDec_stub_weak | |||
libSceJpegEnc_stub_weak | |||
libSceJson2_stub_weak | |||
libSceLoginDialog_stub_weak | |||
libSceLoginService_stub_weak | |||
libSceM4aacEnc_stub_weak | |||
libSceMat_stub_weak | |||
libSceMouse_stub_weak | |||
libSceMove_stub_weak | |||
libSceMoveTracker_stub_weak | |||
libSceMsgDialog_stub_weak | |||
libSceNet_stub_weak | |||
libSceNetCtl_stub_weak | |||
libSceNetCtlAp_stub_weak | |||
libSceNetCtlApDialog_stub_weak | |||
libSceNetDebug_stub_weak | |||
libSceNgs2_stub_weak | |||
libSceNpAuth_stub_weak | |||
libSceNpCommerce_stub_weak | |||
libSceNpCommon_stub_weak | |||
libSceNpFriendListDialog_stub_weak | |||
libSceNpManager_stub_weak | |||
libSceNpMatching2_stub_weak | |||
libSceNpParty_stub_weak | |||
libSceNpProfileDialog_stub_weak | |||
libSceNpScore_stub_weak | |||
libSceNpSignaling_stub_weak | |||
libSceNpSns_stub_weak | |||
libSceNpSnsFacebookDialog_stub_weak | |||
libSceNpToolkit_stub_weak | |||
libSceNpTrophy_stub_weak | |||
libSceNpTus_stub_weak | |||
libSceNpUtility_stub_weak | |||
libSceNpWebApi_stub_weak | |||
libScePad_stub_weak | |||
libScePadTracker_stub_weak | |||
libScePerf_stub_weak | |||
libScePlayGo_stub_weak | |||
libScePlayGoDialog_stub_weak | |||
libScePngDec_stub_weak | |||
libScePngEnc_stub_weak | |||
libScePosix_stub_weak | |||
libSceRandom_stub_weak | |||
libSceRazorGpuThreadTrace_stub_weak | |||
libSceRemoteplay_stub_weak | |||
libSceRtc_stub_weak | |||
libSceRudp_stub_weak | |||
libSceS3DConversion_stub_weak | |||
libSceSaveData_stub_weak | |||
libSceSaveDataDialog_stub_weak | |||
libSceScreenShot_stub_weak | |||
libSceSharePlay_stub_weak | |||
libSceShareUtility_stub_weak | |||
libSceSigninDialog_stub_weak | |||
libSceSmart_stub_weak | |||
libSceSocialScreen_stub_weak | |||
libSceSsl_stub_weak | |||
libSceSulpha_stub_weak | |||
libSceSysmodule_stub_weak | |||
libSceSystemGesture_stub_weak | |||
libSceSystemService_stub_weak | |||
libSceUlt_stub_weak | |||
libSceUsbd_stub_weak | |||
libSceUserService_stub_weak | |||
libSceVideodec_stub_weak | |||
libSceVideodec2_stub_weak | |||
libSceVideoOut_stub_weak | |||
libSceVideoRecording_stub_weak | |||
libSceVoice_stub_weak | |||
libSceVoiceQoS_stub_weak | |||
libSceVrServiceDialog_stub_weak | |||
libSceVrTracker_stub_weak | |||
libSceWebBrowserDialog_stub_weak | |||
libSceXml_stub_weak | |||
libSceZlib_stub_weak | |||
</pre> | |||
* Total Count: 131 | |||
== Internal sysmodule libraries == | == Internal sysmodule libraries == | ||
Line 1,224: | Line 773: | ||
Some modules ("internal") can be loaded via sceSysmoduleLoadModuleInternal (usually with a long hex ID prefixed with 8). | Some modules ("internal") can be loaded via sceSysmoduleLoadModuleInternal (usually with a long hex ID prefixed with 8). | ||
This table was found in libSceSysmodule.sprx from firmware 4.55. | |||
The unknown ones had an ID of all 0's so I included other possible identifying hex values. | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 1,230: | Line 781: | ||
! Module name !! Name !! Internal sysmodule ID | ! Module name !! Name !! Internal sysmodule ID | ||
|- | |- | ||
|libSceAudioOut || | |libSceAudioOut || || 0x80000001 | ||
|- | |- | ||
|libSceAudioIn || | |libSceAudioIn || || 0x80000002 | ||
|- | |- | ||
|libSceAvcap || | |libSceAvcap || || 0x80000003 | ||
|- | |- | ||
|libSceSysCore || | |libSceSysCore || SCE_SYSMODULE_INTERNAL_SYS_CORE || 0x80000004 | ||
|- | |- | ||
| | |? || || 0x80000005 | ||
|- | |- | ||
| | |? || || 0x80000006 | ||
|- | |- | ||
|libSceCdlgUtilServer || | |libSceCdlgUtilServer || || 0x80000007 | ||
|- | |- | ||
|libSceKeyboard || | |libSceKeyboard || || 0x80000008 | ||
|- | |- | ||
|libSceNetCtl || SCE_SYSMODULE_INTERNAL_NETCTL || 0x80000009 | |libSceNetCtl || SCE_SYSMODULE_INTERNAL_NETCTL || 0x80000009 | ||
Line 1,254: | Line 805: | ||
|libSceNpCommon || SCE_SYSMODULE_INTERNAL_NP_COMMON || 0x8000000C | |libSceNpCommon || SCE_SYSMODULE_INTERNAL_NP_COMMON || 0x8000000C | ||
|- | |- | ||
|libSceNpManager || | |libSceNpManager || || 0x8000000D | ||
|- | |- | ||
|libSceNpWebApi || | |libSceNpWebApi || || 0x8000000E | ||
|- | |- | ||
|libSceSaveData || | |libSceSaveData || || 0x8000000F | ||
|- | |- | ||
|libSceSystemService || SCE_SYSMODULE_INTERNAL_SYSTEM_SERVICE || 0x80000010 | |libSceSystemService || SCE_SYSMODULE_INTERNAL_SYSTEM_SERVICE || 0x80000010 | ||
Line 1,264: | Line 815: | ||
|libSceUserService || SCE_SYSMODULE_INTERNAL_USER_SERVICE || 0x80000011 | |libSceUserService || SCE_SYSMODULE_INTERNAL_USER_SERVICE || 0x80000011 | ||
|- | |- | ||
|libSceVisionManager || | |libSceVisionManager || || 0x80000012 | ||
|- | |- | ||
|libSceAc3Enc || | |libSceAc3Enc || || 0x80000013 | ||
|- | |- | ||
|libSceAppInstUtil || | |libSceAppInstUtil || SCE_SYSMODULE_INTERNAL_APPINSTUTIL || 0x80000014 | ||
|- | |- | ||
|libSceVdecCore || | |libSceVdecCore || || 0x80000015 | ||
|- | |- | ||
|libSceVencCore | |libSceVencCore || || 0x80000016 | ||
|- | |- | ||
|libSceHidControl || | |libSceHidControl || || 0x80000017 | ||
|- | |- | ||
|libSceCommonDialog || | |libSceCommonDialog || || 0x80000018 | ||
|- | |- | ||
|libScePerf || | |libScePerf || || 0x80000019 | ||
|- | |- | ||
|libSceCamera || | |libSceCamera || || 0x8000001A | ||
|- | |- | ||
|libSceNpSns || || 0x8000001B | |libSceNpSns || || 0x8000001B | ||
Line 1,315: | Line 866: | ||
|- | |- | ||
|libSceAudiodecCpuDts || || 0x8000002B | |libSceAudiodecCpuDts || || 0x8000002B | ||
|- | |- | ||
|libSceAudiodecCpuDtsHdMa || || 0x8000002D | |libSceAudiodecCpuDtsHdMa || || 0x8000002D | ||
Line 1,340: | Line 889: | ||
|libSceVshctl || || 0x80000037 | |libSceVshctl || || 0x80000037 | ||
|- | |- | ||
| | |? || || 0x80000038 | ||
|- | |- | ||
| | |? || || 0x80000039 | ||
|- | |- | ||
|libSceAudiodReport || || 0x8000003A | |libSceAudiodReport || || 0x8000003A | ||
Line 1,354: | Line 903: | ||
|libSceOttvCapture || || 0x8000003E | |libSceOttvCapture || || 0x8000003E | ||
|- | |- | ||
|libSceBackupRestoreUtil | |libSceBackupRestoreUtil || || 0x8000003F | ||
|- | |- | ||
| | |? || || 0x80000040 | ||
|- | |- | ||
|libSceTtsCoreEnUs || || 0x80000041 | |libSceTtsCoreEnUs || || 0x80000041 | ||
Line 1,366: | Line 915: | ||
|libSceOpusCeltDec || || 0x80000044 | |libSceOpusCeltDec || || 0x80000044 | ||
|- | |- | ||
|libSceLoginMgrServer | |libSceLoginMgrServer || || 0x80000045 | ||
|- | |- | ||
|libSceVideoOutSecondary || || 0x80000046 | |libSceVideoOutSecondary || || 0x80000046 | ||
Line 1,372: | Line 921: | ||
|libSceGnmResourceRegistration || || 0x80000047 | |libSceGnmResourceRegistration || || 0x80000047 | ||
|- | |- | ||
|libSceMat | |libSceMat || || 0x80000048 | ||
|- | |- | ||
|libSceScm || || 0x80000049 | |libSceScm || || 0x80000049 | ||
|- | |- | ||
|libSceAvPlayerStreaming || || 0x80000050 | |libSceAvPlayerStreaming || || 0x80000050 | ||
Line 1,430: | Line 967: | ||
|libScePrecompiledShaders || SCE_SYSMODULE_INTERNAL_PRECOMPILED_SHADERS || 0x80000064 | |libScePrecompiledShaders || SCE_SYSMODULE_INTERNAL_PRECOMPILED_SHADERS || 0x80000064 | ||
|- | |- | ||
| | |libSceRandom? || || 0x80000065 | ||
|- | |- | ||
|? | |libSceLibreSsl? || || 0x80000066 | ||
|- | |- | ||
|libSceDolbyVision | |libSceDolbyVision?|| || 0x80000067 | ||
|- | |||
|} | |||
=== To clean === | |||
{| class="wikitable" | |||
|- | |- | ||
! Module name !! Name !! Sysmodule ID | |||
|- | |- | ||
| | |libkernel || || ????? (0x0FFFFFFFF00000000 or 0x0A) | ||
|- | |||
|libSceLibcInternal || || ????? (0x0FFFFFFFF00000000 or 0x13) | |||
|- | |||
|libSceFios2 || || ????? (0x0FFFFFFFF00000000 or 0x0C) | |||
|- | |||
|libc || || ????? (0FFFFFFFF00000000 or 0x05) | |||
|- | |- | ||
| | |libSceJson || || 0x00000080 | ||
|- | |- | ||
| | |libSceVideodec || || 0x0000008E | ||
|- | |- | ||
| | |libSceWebKit2ForVideoService || || ????? (0x0FFFFFFFF00000000 or 0x1D) | ||
|- | |- | ||
| | |libSceOrbisCompatForVideoService || || ????? (0x0FFFFFFFF00000000 or 0x21) | ||
|- | |||
|libSceNpSnsDialog || || 0x00000101 | |||
|- | |||
|libSceWebKit2 || || ????? (0x0FFFFFFFF00000000 or 0x0E or 0x10334) | |||
|- | |||
|libSceDtcpIp || || 0x000000C6 | |||
|- | |||
|libSceGameUpdate || || 0x000000CC | |||
|- | |||
|libSceAutoMounterClient || || 0x000000CD | |||
|- | |- | ||
| | |libSceDiscMap || || 0x000000D7 | ||
|- | |- | ||
| | |libScePsmKitSystem || || 0x000000F5 | ||
|- | |- | ||
| | |libSceTextToSpeech || || 0x000000F6 | ||
|- | |- | ||
| | |libSceNpToolkit || || 0x000000F7 | ||
|- | |- | ||
| | |libSceCustomMusicService || || 0x000000F8 | ||
|- | |- | ||
| | |libSceClSysCallWrapper || || 0x000000F9 | ||
|- | |- | ||
| | |libSceSystemLogger || || 0x000000FA | ||
|- | |- | ||
| | |libSceBluetoothHid || || 0x000000FB | ||
|- | |- | ||
| | |libSceVideoDecoderArbitration || || 0x000000FC | ||
|- | |||
|libSceShareFactoryUtil || || 0x000000FF | |||
|- | |||
|libSceBemp2sys || || 0x000000C1 | |||
|- | |||
|libSceBeisobmf || || 0x000000C2 | |||
|- | |||
|libScePlayReady || || 0x000000C3 | |||
|- | |||
|libSceVideoNativeExtEssential || || 0x000000C4 --conflicts with sdk docs that say zlib library is 0x00C4 | |||
|- | |||
|libSceZlib || || 0x000000C5 --conflicts with sdk docs that say zlib library is 0x00C4 | |||
|- | |||
|libSceAudiodecCpuDtsHdLbr || || 0x000000C9 | |||
|- | |||
|libSceAudiodecCpuDdp || || 0x000000BE | |||
|- | |||
|libSceAudiodecCpuM4aac || || 0x000000C0 | |||
|- | |||
|libSceNpEulaDialog || || 0x000000B9 | |||
|- | |||
|libSceVideoCoreInterface || || 0x000000AE | |||
|- | |||
|libSceVideoCoreServerInterface || || 0x000000AF | |||
|- | |||
|libSceUsbStorage || || 0x000000D5 | |||
|- | |||
|libSceVdecwrap || || 0x000000D0 | |||
|- | |||
|libSceUsbStorageDialog || || 0x000000D6 | |||
|- | |||
|libSceNpSnsYouTubeDialog || || 0x000000DA | |||
|- | |||
|libSceProfileCacheExternal || || 0x000000DC | |||
|- | |||
|libSceMusicPlayerService || || 0x000000DD | |||
|- | |||
|libSceMusicCoreServerClientJsEx || || ????? (0x0FFFFFFFF00000000 or 0x20 or 0x1038A) | |||
|- | |- | ||
|libSceSpSysCallWrapper || || 0x000000DE | |||
|- | |- | ||
| | |libScePs2EmuMenuDialog || || 0x000000DF | ||
|- | |- | ||
| | |libSceNpSnsDailyMotionDialog || || 0x000000E0 | ||
|- | |- | ||
| | |libSceOrbisCompat || || ????? (0x0FFFFFFFF00000000 or 0x12 or 0x103A6) | ||
|- | |- | ||
|libSceCoreIPC || || ????? (0x0FFFFFFFF00000000 or 0x0E or 0x103A8) | |libSceCoreIPC || || ????? (0x0FFFFFFFF00000000 or 0x0E or 0x103A8) | ||
|- | |||
|libSceCustomMusicCore || || 0x000000E6 | |||
|- | |||
|libSceWkFontConfig || || 0x000000E9 | |||
|- | |- | ||
|libSceVorbisDec || || 0x000000EA | |libSceVorbisDec || || 0x000000EA | ||
Line 1,487: | Line 1,082: | ||
|- | |- | ||
|} | |} | ||
= NIDs / functions table = | = NIDs / functions table = | ||
See [https://github.com/idc/ps4libdoc/ idc's ps4libdoc on github]. | See [https://github.com/idc/ps4libdoc/ idc's ps4libdoc on github]. |