CRI Sofdec(Unreal Engine) v1
Introduction 04 Play a movie as soon as the game starts
In this chapter, we will introduce how to use the Mana Startup Movie function to play a Sofdec movie (movie data exclusive to Sofdec) as soon as the game starts.
How to create a Sofdec movie
The CRIWARE SDK for Unreal Engine includes an encoding tool for creating Sofdec movie files (.usm extension) in the following folder:
/cri/tools/Sofdec2/
When encoding using the Sofdec Encoding Wizard, please encode your video with the following settings:
- Platform: Standard
- Video Codec: Sofdec.Prime or h.264 or vp9

For detailed information on how to use the tool, please refer to the "CRI Sofdec2 Tool" User's Manual.
Mana Startup Movie Features
By utilizing the Mana Startup Movie feature, users will not notice the initial loading that occurs while playing, resulting in a smooth gameplay experience.
How to use the Mana Startup Movie feature
This section explains the initial setup and usage of the Mana Startup Movie feature.
To play the Sofdec movie at the start of the game you need to enable 'Mana Startup Movie' in your project settings.
Below are the setup steps.

- Open the Project Settings window.
- Select CriWare Settings in the Plugins section.
- In the Mana section of the CriWare settings, open the Advanced Options item.
- Enable 'Enable Mana Startup Movies'.
- Add the USM movie files you want to play to the 'Startup Movies' array.
Mana Startup Movie Feature Details
Use Mana Startup Movies
Sofdec movies will now be used instead of standard Unreal Engine movies.
Wait for Movies to Complete
A gaming application will wait until a movie has finished playing before starting, even if the game has finished loading.
Movies are Skippable
This allows the movie to be skipped when the user presses the controller or other input.
Startup Movies
Stores the name of the movie file that will be played when the game starts.
Please note that the video file you want to play must be contained within the Game/Content/Movies directory.
The Unreal Engine has limitations on movie size and frame rate, but the Startup movie will follow the USM movie settings supported by the CriWare plugin.
Please note that when using alpha movies, the background will become black.