-
-
Notifications
You must be signed in to change notification settings - Fork 31
Splash Screen
This extension can show an intro video and an image when starting a game.
Videos can be configured:
For specific game
For specific game source
For specific platform
For specific Playnite mode (Desktop/Fullscreen)
If videos are enabled, the extension will look in the mentioned order to show a video and play it if available.
For the splash image, the extension will try to use the image in the following order:
Game background image
From configured background image of the game platform
Use a generic Playnite image [made by aeronius](https://playnite.link/forum/thread-527.html)
Splash images can be configured to show the logo on top if it has been added by the Extra Metadata Tools extension.
Extension behavior can be configured independently for Playnite Desktop and Fullscreen modes.
- Video support requires that Window Media Player is installed in your system.
- Videos need to be mp4 format. For supported videos, I can only confirm that videos with h264 codec, yuv420 color space and mp3 audio are supported so if your video isn't playing you should encode it with those specifications.
- Videos will lock Playnite until they finish playing so be sure to only use short videos, as intended.
- Please be aware that certain launchers like Amazon games will steal focus when launching games from it and will show over the splash image and nothing can be done as an attempt to fix it. Please understand that there will always be edge cases that the extension has no control over.
- Platforms and Sources by joyrider3774: https://mega.nz/folder/pwZgkRJJ#OjxmD7BWsUmzJrX-fN_vsg
- Specific games by Lupusur: https://mega.nz/folder/IhJzlA5J#jPE2LLa9TtUTI__kG2aE3g
- Wii games by TheyCallMeBruski: https://mega.nz/folder/MDpTBAgQ#SVNMXNb10Pe4jdW_etgEPQ
- Intro videos by Beelzabi: https://mega.nz/folder/Uh5QCAoK#Pj4LPMD8ncdQzocVPNxOvA
- GOG videos by Hex: https://drive.google.com/drive/folders/1AZuPl9l-k-CcswYLdBxHuqx7fibAd8X4?usp=sharing
First verify that Windows Media Player is installed in your system. If it's not installed you can install it from here.
If you have verified that it is installed and videos are not playing, your video may be unsupported and needs to be converted. Proceed to the next section.
Videos with the following specifications are confirmed to work:
codec_name : h264
pix_fmt : yuv420
If your video doesn't meet those specifications then it's not guaranteed that the video will be supported.
You can convert the video to guarantee that the video will be supported. The ffmpeg.exe executable is needed for this. It can be downloaded from: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.7z
Run the following in a powershell window, replacing the specific paths with your own:
# Replace with your information
$ffmpegPath = "C:\Path\To\ffmpeg.exe"
$videoSourcePath = "C:\Path\To\sourceVideo.ext"
$videoDestinationPath = "C:\Path\To\DestinationVideo.mp4"
# Process Video
$arguments = @("-y", "-i", "`"$videoSourcePath`"", "-c:v", "libx264", "-c:a", "mp3", "-vf", "scale=trunc(iw/2)*2:trunc(ih/2)*2", "-pix_fmt", "yuv420p", "-f", "mp4", "`"$videoDestinationPath`"")
Start-Process -FilePath $ffmpegPath -ArgumentList $arguments
The ffprobe.exe executable is needed for this. It can be downloaded from: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.7z
Run the following in a powershell window, replacing the specific paths with your own:
# Replace with your information
$ffprobePath = "C:\Path\To\ffprobe.exe"
$videoSourcePath = "C:\Path\To\sourceVideo.ext"
# Process Video
$arguments = @("-v", "error", "-select_streams", "v:0", "-show_entries", "stream=width,height, codec_name, pix_fmt, duration", "-of", "json", "`"$videoSourcePath`"")
(& $ffProbePath $arguments | ConvertFrom-Json).streams