MemoRift Manual – Adding Videos

Adding Videos

The free version of Unity does not allow videos to be displayed as textures over 3D objects, MemoRift bypasses this limitation by displaying individual video frames and playing an audio file in sync with them, this creates a minor hassle while creating the videos, but thankfully there are free tools available which make it a relatively simple process.

Video FramesFiles\Video\[name]\


  1. Create a folder inside of the Files\Video\ folder, give this folder a short name without spaces, you’ll refer to this name when you want to display a video on a screen.
  2. Dump each frame of the video inside this folder, the frames should be numbered in such a way so that they are sorted in the correct order, use free tools such as Free Video to JPG Converter to accomplish this task easily.
  3. Note the frame rate of the video by right clicking on the video file and selecting Properties, under the Details tab you should see the Frame rate listed.
  4. If the frame rate is different then 30, you’ll need to specify this using the device.video_fps setting inside the appropriate device.ini file (example: device.video_fps: 60), this is used to maintain a correct playback speed of the individual frames in relation to the speed that MemoRift is running at.


noticeIn the case of MAME, name the folder as the name of the rom, Arcade cabinets are set up to automatically grab their attract video from the Files\Video\[rom name] folder, and the corresponding audio file from the Files\Audio\ folder


An example structure of the Files\Video\ folder:

  • Files\Video\
    •  goldnaxe
      • frame001.jpg
      • frame002.jpg
      • frame003.jpg
      • frame004.jpg
    • pacman
      • pacman001.jpg
      • pacman002.jpg


Audio FileFiles\Audio\[name].ogg


Place a single audio file in the OGG format in the Files\Audio\ folder, give this file the same name as the name of the folder containing the video frames, you can use free tools such as VLC Media Player to convert your audio to the OGG format.

An example structure of the Files\Audio\ folder that corresponds to the example of the Files\Video\ folder above:

  • Files\Audio\
    • goldnaxe.ogg
    • pacman.ogg