Files on the PS4

From PS4 Developer wiki
Jump to navigation Jump to search

See also: Partitions

PS4 filesystem content[edit | edit source]

This tree is incomplete and may contain mistakes regarding folder structure.

├── <sandbox mountpoint name>
│   ├── common
│   │   └── lib
│   │       ├── libScePsm_aot.sprx
│   │       ├── libSceVshCommon_aot.sprx
│   │       ├── mscorlib.sdll
│   │       ├── Sce.PlayStation.Core.sdll
│   │       ├── Sce.PlayStation.HighLevel.UI2.sdll
│   │       ├── Sce.PlayStation.Orbis.sdll
│   │       ├── Sce.Vsh.AppDbWrapper.sdll
│   │       ├── Sce.Vsh.AppInstUtilWrapper.sdll
│   │       ├── Sce.Vsh.sdll
│   │       ├── Sce.Vsh.Gls.NativeCall.sdll
│   │       ├── Sce.Vsh.GriefReportStorage.sdll
│   │       ├── Sce.Vsh.KernelSysWrapper.sdll
│   │       ├── Sce.Vsh.MarlinDownloaderWrapper.sdll
│   │       ├── Sce.Vsh.Messages.BgAccessLib.sdll
│   │       ├── Sce.Vsh.Messages.StorageAccessLib.sdll
│   │       ├── Sce.Vsh.Np.Asm.sdll
│   │       ├── Sce.Vsh.Np.Common.sdll
│   │       ├── Sce.Vsh.Np.Manager.sdll
│   │       ├── Sce.Vsh.Np.ServiceChecker.sdll
│   │       ├── Sce.Vsh.Np.Sns.sdll
│   │       ├── Sce.Vsh.Np.Trophy.sdll
│   │       ├── Sce.Vsh.Orbis.AbstractStorage.sdll
│   │       ├── Sce.Vsh.Orbis.Bgft.sdll
│   │       ├── Sce.Vsh.PartyCommon.sdll
│   │       ├── Sce.Vsh.ProfileCache.sdll
│   │       ├── Sce.Vsh.PsnUtil.sdll
│   │       ├── Sce.Vsh.Registry.sdll
│   │       ├── Sce.Vsh.SQLite.sdll
│   │       ├── Sce.Vsh.UpdateServiceWrapper.sdll
│   │       ├── Sce.Vsh.UserServiceWrapper.sdll
│   │       ├── Sce.Vsh.VoiceMsg.VoiceMsgWrapper.sdll
│   │       ├── Sce.Vsh.Webbrowser.XdbWrapper.sdll
│   │       ├── Sce.Vsh.Webbrowser.XutilWrapper.sdll
│   │       ├── Sce.Vsh.WebViewDialog.sdll
│   │       ├── System.Core.sdll
│   │       ├── System.sdll
│   │       ├── System.Json.sdll
│   │       ├── System.Runtime.Serialization.sdll
│   │       ├── System.ServiceModel.sdll
│   │       ├── System.ServiceModel.Web.sdll
│   │       ├── System.Xml.sdll
│   │       └── System.Xml.Linq.sdll
│   └── priv
│       ├── cache
│       │   └── profile
│       │       └── 10000000
│       │           └── avatar.png
│       ├── home
│       │   └── 10000000.list 
│       ├── lib
│       └── mms
│           └── app.db
├── dev (see Devices page)
├── eap_user
├── mnt
│   ├── app0                                                                  app0 is dynamically created for the currently running process
│   │   ├── eboot.bin
│   │   └── psm                                                               psm folder exists notably if a System UI application is the current process
│   │       ├── Application
│   │       │   ├── Sce.Vsh.Accessor.Db.sdll
│   │       │   ├── Sce.Vsh.Accessor.Db.Notify.sdll
│   │       │   ├── Sce.Vsh.Accessor.sdll
│   │       │   ├── Sce.Vsh.DbRecoveryUtilityWrapper.sdll
│   │       │   ├── Sce.Vsh.DbRecoveryWrapper.sdll
│   │       │   ├── Sce.Vsh.ErrorDialogUtilWrapper.sdll
│   │       │   ├── Sce.Vsh.FileSelector.sdll
│   │       │   ├── Sce.Vsh.Friend.sdll
│   │       │   ├── Sce.Vsh.GameCustomData.sdll
│   │       │   ├── Sce.Vsh.GriefReport.sdll
│   │       │   ├── Sce.Vsh.JsExtension.sdll
│   │       │   ├── Sce.Vsh.Lx.sdll
│   │       │   ├── Sce.Vsh.Messages.sdll
│   │       │   ├── Sce.Vsh.MimeType.sdll
│   │       │   ├── Sce.Vsh.MusicCoreServerJsExWrapper.sdll
│   │       │   ├── Sce.Vsh.Np.AppLaunchLink.sdll
│   │       │   ├── Sce.Vsh.Np.RifManager.sdll
│   │       │   ├── Sce.Vsh.Np.Tmdb.sdll
│   │       │   ├── Sce.Vsh.Np.Webapi.sdll
│   │       │   ├── Sce.Vsh.Orbis.BgftAccessor.sdll
│   │       │   ├── Sce.Vsh.Orbis.CdlgServerNpCommerce.sdll
│   │       │   ├── Sce.Vsh.Orbis.ContentManager.sdll
│   │       │   ├── Sce.Vsh.Passcode.sdll
│   │       │   ├── Sce.Vsh.SessionInvitation.sdll
│   │       │   ├── Sce.Vsh.ShareServerPostWrapper.sdll
│   │       │   ├── Sce.Vsh.ShellCoreUtilWrapper.sdll
│   │       │   ├── Sce.Vsh.SyscallWrapper.sdll
│   │       │   ├── Sce.Vsh.SysfileUtilWrapper.sdll
│   │       │   ├── Sce.Vsh.SystemLoggerWrapper.sdll
│   │       │   ├── Sce.Vsh.SysUtilWrapper.sdll
│   │       │   ├── Sce.Vsh.VideoRecordingWrapper.sdll
│   │       │   └── Sce.Vsh.VideoServiceWrapper.sdll
│   │       └── libSceVsh_aot.sprx
│   ├── disc0
│   ├── sandbox
│   │   └── NPXS20001_0000
│   ├── unknown0                                                              unknown0 is not a real mountpoint name
│   │   └── mini-syscore.elf   
│   │
│   └── usb0
├── preinst
├── preinst2
├── system
│   ├── common
│   │   └── lib
│   │       ├── libMonoCompilerBridge.sprx
│   │       ├── libMonoCompiler.sprx
│   │       ├── libMonoVirtualMachineBridge.sprx
│   │       ├── libMonoVirtualMachine.sprx
│   │       ├── libSceAbstractLocal.sprx
│   │       ├── libSceAbstractStorage.sprx
│   │       ├── libSceAbstractTwitter.sprx
│   │       ├── libSceAc3Enc.sprx
│   │       ├── libSceAjm.sprx
│   │       ├── libSceAppInstUtil.sprx
│   │       ├── libSceAudiodecCpuDdp.sprx
│   │       ├── libSceAudiodecCpuM4aac.sprx
│   │       ├── libSceAudiodecCpu.sprx
│   │       ├── libSceAudiodec.sprx
│   │       ├── libSceAudioIn.sprx
│   │       ├── libSceAudioOut.sprx
│   │       ├── libSceAvcap.sprx
│   │       ├── libSceAvSetting.sprx
│   │       ├── libSceBeisobmf.sprx
│   │       ├── libSceBemp2sys.sprx
│   │       ├── libSceBgft.sprx
│   │       ├── libSceCamera.sprx
│   │       ├── libSceCdlgUtilServer.sprx
│   │       ├── libSceCommonDialog.sprx
│   │       ├── libSceCompositeExt.sprx
│   │       ├── libSceCtrlp.sprx
│   │       ├── libSceDbg.sprx
│   │       ├── libSceDtsEnc.sprx
│   │       ├── libSceFontFt.sprx
│   │       ├── libSceFont.sprx
│   │       ├── libSceFreeTypeOt.sprx
│   │       ├── libSceGvMp4Parser.sprx
│   │       ├── libSceHidControl.sprx
│   │       ├── libSceHttp.sprx
│   │       ├── libSceImeDialog.sprx
│   │       ├── libSceIme.sprx
│   │       ├── libSceInjectedBundle.sprx
│   │       ├── libSceIpmi.sprx
│   │       ├── libSceJitBridge.sprx
│   │       ├── libSceJpegEnc.sprx
│   │       ├── libSceJpegParser.sprx
│   │       ├── libSceJscCompiler.sprx
│   │       ├── libSceJson.sprx
│   │       ├── libSceKbEmulate.sprx
│   │       ├── libSceKeyboard.sprx
│   │       ├── libSceM4aacEnc.sprx
│   │       ├── libSceManxWtf.sprx
│   │       ├── libSceMbus.sprx
│   │       ├── libSceMetadataReaderWriter.sprx
│   │       ├── libSceMusicCoreServerClientJsEx.sprx
│   │       ├── libSceMusicCoreServerClient.sprx
│   │       ├── libSceNetCtl.sprx
│   │       ├── libSceNet.sprx
│   │       ├── libSceNgs2.sprx
│   │       ├── libSceNpCommon.sprx
│   │       ├── libSceNpManager.sprx
│   │       ├── libSceNpMatching2.sprx
│   │       ├── libSceNpSns.sprx
│   │       ├── libSceNpTrophy.sprx
│   │       ├── libSceNpUtility.sprx
│   │       ├── libSceNpWebApi.sprx
│   │       ├── libSceOrbisCompat.sprx
│   │       ├── libScePad.sprx
│   │       ├── libScePigletv2VSH.sprx
│   │       ├── libScePlayGoDev.sprx
│   │       ├── libScePngDec.sprx
│   │       ├── libScePsm.sprx
│   │       ├── libSceRandom.sprx
│   │       ├── libSceRegMgr.sprx
│   │       ├── libSceRemotePlay.sprx
│   │       ├── libSceRtc.sprx
│   │       ├── libSceRudp.sprx
│   │       ├── libSceSaveData.sprx
│   │       ├── libSceScreenShot.sprx
│   │       ├── libSceShaccVSH.sprx
│   │       ├── libSceSsl.sprx
│   │       ├── libSceSysmodule.sprx
│   │       ├── libSceSystemService.sprx
│   │       ├── libSceSysUtil.sprx
│   │       ├── libSceUpdateService.sprx
│   │       ├── libSceUserService.sprx
│   │       ├── libSceVdecCore.sprx
│   │       ├── libSceVencCore.sprx
│   │       ├── libSceVideoCoreServerInterface.sprx
│   │       ├── libSceVideodec.sprx
│   │       ├── libSceVideoRecording.sprx
│   │       ├── libSceVisionManager.sprx
│   │       ├── libSceVoice.sprx
│   │       ├── libSceVsh_aot.sprx
│   │       ├── libSceVshCommon_aot.sprx
│   │       ├── libSceWebKit2.sprx
│   │       ├── libSceWeb.sprx
│   │       ├── libSceXml.sprx
│   │       ├── MonoCompiler.elf
│   │       ├── orbis-jsc-compiler.self
│   │       ├── SecureWebProcess.self
│   │       ├── WebProcessHTMLTile.self
│   │       └── WebProcess.self
│   ├── priv
│   │   └── lib
│   │       ├── libSceComposite.sprx
│   │       ├── libSceDipsw.sprx
│   │       ├── libSceDiscMapForVsh.sprx
│   │       └── libSceGnmDriver_sys.sprx
│   ├── sys
│   │   ├── fs_cleaner.elf
│   │   ├── GnmCompositor.elf
│   │   ├── orbis_audiod.elf
│   │   ├── SceSysAvControl.elf
│   │   ├── SceSysCore.elf
│   │   ├── SceVdecProxy.elf
│   │   └── SceVencProxy.elf
│   └── vsh
│       └── app
│           ├── NPXS21000                                                     Game Live Streaming
│           │   └── eboot.bin
│           ├── NPXS21002                                                     Party Daemon
│           │   └── eboot.bin
│           ├── NPXS21003                                                     AV Capture Manager Daemon
│           │   └── eboot.bin
│           ├── NPXS21004                                                     Video Core Server Daemon
│           │   └── eboot.bin
│           ├── NPXS21006                                                     Remote Play Daemon
│           │   └── eboot.bin
│           └── NPXS21010                                                     PS Cloud Daemon
│               └── eboot.bin
├── system_data
│   └── priv
│       └── home
│           └── new_user_group.dat
├── system_ex
│   └── app
│       └── NPXS20001                                                         Shell UI 
│           └── eboot.bin
├── update                                                                    Stores the current downloaded update PUP
└── user
   ├── data
   └── home
       └── 10000000
           ├── trophy
           │   └── data
           │       └── sce_trop
           │           └── trophy.img
           └── webbrowser
               ├── frequency_thumb
               ├── webbrowser_bookmark.db
               ├── webbrowser_frequency.db
               ├── webbrowser_history.db
               └── webbrowser_preset.db

Manufacturing Mode Files[edit | edit source]

  • Path found in SceSyscore Mini.
/usb/orbis_diag.self

BD content[edit | edit source]

[PS4VOLUME]

├─ PS4 
│   └─ UPDATE
│       └─ PS4UPDATE.PUP
│          
├─ app 
│   └─ Productcode
│           └─ app.pkg 
│          
├─ bd 
│   └─ param.sfo 
│       
└─ license 
    └─ rif

USB Mass Storage[edit | edit source]

The PS4 supports USB Mass Storage devices formatted as either FAT8, FAT16, FAT32 or exFAT, following the msdosfs specification.

A maximum of 8 devices can be mounted simultaneously (?/mnt?/usb0 - ?/mnt?/usb7)

File/Folder reservation for External MASS Storage Devices[edit | edit source]

\*.pkg                             (Installable packages)                  devkit/testkit only
\ps4_activation.afv                (Activation AFV file)                            "
\PS4DISC.ISO                       (BD emulation file)                              "
├───ORBIS                                                                           "
│     └───UPDATE                   (ORBISUPDATE.PUP PUP file)           "
├───PS4
│     ├───SAVEDATA                 (Save Games)
│     │      └───0000000000000000  (default folder)                                 "
│     └───UPDATE                   (PS4UPDATE.PUP PUP file)
├───PS4SHARE                       (Share recorded Exports)                         "
├───SHARE                          (Share recorded Exports)
└───[MUSIC/PICTURE/VIDEO] *?
 
     *? PS3 folders like MUSIC, PICTURE, VIDEO

This is how the PS4's external HDD structure looks like

├───*:\Root On Mass Storage
├───PS4
│    ├───SAVEDATA                 (Save Games)
│    │      └───0000000000000000  (default folder)
│    │               └───CUSA00001  (Save Game Folder)
│    │	                    └───savedata (PFS image of savedata)
│    │	                    └───savedata.bin (sealed key for the PFS image of savedata)
│    └───UPDATE  (PS4UPDATE.PUP PUP file)
│    │	                  
│    └───EXPORT
│             └───BACKUP 
│                   └───201504261757_00    (The folder with the backup chunks of the HDD, contains the date, the time and the backup number)
│                                ├───archive.dat  (4,194,240 KB)
│                                ├───archive0001.dat (4,194,240 KB)
│                                ├───archive0002.dat (4,194,240 KB)
│                                ├───archive0003.dat (4,194,240 KB)
│                                ├───archive0004.dat (4,194,240 KB)
│                                └───archive0005.dat (4,194,240 KB)
├───SHARE (Share recorded Exports)
│    ├───Screenshots
│    │     └───(Name Of Game)
│    │	          └───nameofgame.jpg
│    │	    └───Other
│    └────Video Clips
│         └───(Name Of Game)
│    	         └───nameofgame.mp4  
├───SHAREFACTORY                    (PS4 Movie Making Application)
│         └───MUSIC
├───(NAMEOFGAME)                  (Similar to SHAREFACTORY's folder)        
│         ├───image.png
│         ├───image.jpg
│         └───music.mp3 *?
├───Music
│         ├───music.mp3           ( Audio media can be played from a USB stick device, if these files are placed into a folder called "music"
│         ├───music.mp4             - Supported codec : AAC (2channel) and MP3 (2 channel)
│         ├───music.m4a             - Sampling Frequency: 22.05kHz、24kHz; 32kHz、44.1kHz、48kHz; 96kHz
│         └───music.3gp             - Playlist: .m3u, m3u8                                                                                     )
└───[MUSIC/PICTURE/VIDEO] *?

Package Files[edit | edit source]

See also PKG files.