PS4:Custom Themes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This page will cover the creation of the two types of custom themes that you can make. Dynamic themes are themes that have a moving background on the homescreen, while static themes have a plain static image as the background. | This page will cover the creation of the two types of custom themes that you can make. Dynamic themes are themes that have a moving background on the homescreen, while static themes have a plain static image as the background. | ||
{{Warning|As these are fpkg themes, this cannot be made permanent/persistent after reboot.}} | |||
== Creating a Custom Dynamic Theme == | == Creating a Custom Dynamic Theme == | ||
Line 65: | Line 67: | ||
=== End Notes === | === End Notes === | ||
# Before trying to install or if you encounter any error, check the pkg using orbis-pub-chk. It will tell you all the errors. Loudness range error for bgm at9 file can be ignored. | # Before trying to install or if you encounter any error, check the pkg using orbis-pub-chk. It will tell you all the errors. Loudness range error for bgm at9 file can be ignored. | ||
# If the source files are playing too fast/slow, you must edit the file again. NOTE!: If any edits are made, you have to also make a new Content-ID in param.sfo and the project settings when building pkg, otherwise it will cause issues such as the theme not applying. | # If the source files are playing too fast/slow, you must edit the file again. NOTE!: If any edits are made, you have to also make a new Content-ID in param.sfo and the project settings when building pkg, otherwise it will cause issues such as the theme not applying. |
Latest revision as of 19:37, 12 August 2023
This page will cover the creation of the two types of custom themes that you can make. Dynamic themes are themes that have a moving background on the homescreen, while static themes have a plain static image as the background.
As these are fpkg themes, this cannot be made permanent/persistent after reboot. |
Creating a Custom Dynamic Theme
- Requirements/Tools needed:
- Your source video must be in a format that can be split into a sequence of frames. Recommended: .mp4 for videos or .gif.
- Free Video to JPG Converter by dvdvideosoft (freeware, a different program can be used) for converting your source video/gif to frames.
- TGA-PNG-JPG-TO DDS by Backporter. Note: You must download and install Nvidia GameWorks Legacy Texture Tool:DDS Utilities for the program to work!
- A random content ID generator such as Random-Content-ID by Backporter.
- orbis-pub-sfo and orbis-pub-gen from FPKG Tools.
- Dynamic Custom Theme sample discovered by yy oossk and merged/edited by florinsdistortedvision:
Converting Source Video to Frames Usable by PS4
Dynamic themes have a limit of 16MB of video/frames files, so to ensure the theme can be applied, video must be 1280x720, otherwise the theme will give a error when trying to apply. |
- Open Free Video to JPG Converter and add your source, in Extract section select Total of 34 frames from video. Note: You can select 8 more, as long as you also modify the .xml file with the new frames.
- Your source will now be in 34 .jpg files. It is advised that you rename them now from 00.jpg to 33.jpg.
- The PS4 theme system uses a sequence of .dds pictures that are controlled by a .xml file, so we need to convert our .jpg files to .dds. Open TGA-PNG-JPG-TO DDS, add all your frames, leave default dxt1a, and click start. You should now have files from 00.dds to 33.dds, ready for PS4 to read.
- Replace all the .dds files with the ones included in the sample archive in
scene/background.raf/
.
Customizing the Speed of Frames
A crucial step is figuring out the right speed of the frames, unfortunately this will most likely be needed.
- Open scene/background.raf/index.xml and look for lines that contain:
< case wait = "2" >
. The default value is 2, tinker with the values until your frames are played correctly.- Note: You must change all of them!
- At this point, if you had more frames converted in step 1, you can add the additional lines, following the same structure as the other ones.
- Save the file.
Other Modifications
Here are all the other things you can change:
sce_sys/icon0.png
. Dimensions must be: 512x512, file must be png! This is the icon of the theme seen in Settings-Theme.sound/bgm_home.at9
and all the .vag files. bgm_home is the background music, a .wav can be converted via at9tool. The .vag files are the sound effects, .wav can be easily converted via vag2conw.exe .- Note: Files must be at 48000Hz.
texture/content_icon
andtexture/function_icon
is where all the icons are. Content_Icon files must be .png at 512x512. Function_Icon files must be .png at 128x128.texture/preview.png
is the preview file for the theme (just before applying the theme in Settings). Must be .png at 1920x1080./theme.xml
. Here you can change the colors of the font and what color the theme will use for menus like Settings, etc.
Example of things you can change via theme.xml:
< themecolor >0< /themecolor >
holds the color for the menus. A description is present inside the .xml file telling which color is which number (ex: 1=pink, 2=red, etc).< fontcolor >#FF4F7ECE< /fontcolor >
holds the text color. Value is hexadecimal.< fontshadowcolor >#00000000< /fontshadowcolor >
holds the shadow font color. Value is hexadecimal.< focuscolor >#FF00BAFF< /focuscolor >
holds the focus color of the font. Value is hexadecimal.< homebgm-enable >True< /homebgm-enable >
specifies whether the theme should use your custom background music or the default one. True=custom, False=default.
Editing Param.sfo
- Open sce_sys/param.sfo using orbis-pub-sfo.
- Make sure Category is PS4 System SoftwareTheme, input your Content-ID using Random-Content-ID by Backporter.
- In Title Text section, you can input the Theme Title and the Theme Provider (your name). These will be seen in Settings-Theme in Theme Information settings.
- Optionally you can input a Theme Version such as 01.12 in Theme Settings section and add other languages in Add/Delete Languages section.
- Save the file.
Building the Theme as a fpkg
- Open orbis-pub-gen.
- File - New Project - System Software Theme Package.
- Double click Image0.
- Drag and drop all the folders and files into the File Name section.
- Note: Do not drag a single folder containing all the files, the structure should be: sce_sys folder, scene folder, sound folder, texture folder and theme.xml (no other folders)!
- Close the window.
- Select Command - Project Settings - Package tab.
- Input the same Content-ID as made in the param.sfo file. Passcode can be all 0’s. Select Ok.
- Select Build. Select your output path. Select Build.
- Install the pkg theme via debug settings or your preferred method and apply the theme.
End Notes
- Before trying to install or if you encounter any error, check the pkg using orbis-pub-chk. It will tell you all the errors. Loudness range error for bgm at9 file can be ignored.
- If the source files are playing too fast/slow, you must edit the file again. NOTE!: If any edits are made, you have to also make a new Content-ID in param.sfo and the project settings when building pkg, otherwise it will cause issues such as the theme not applying.
Creating a Custom Static Theme
- Download and extract PS4 Theme Creator v1.2.
- Launch PS4 Theme Creator.
- Drag & drop your background and images to the corresponding place.
- Function_Icon files must be .png at 128x128.
- Content_Icon files must be .png at 512x512
- Background should be .png at 1920x1080.
- Tweak settings on the right context menus.
- Build and put the .pkg on the root of a USB drive.
- Navigate on the PS4 to Settings > GoldHEN > Package Installer. Install the pkg.