MemoRift Manual – Customizing Devices

Customizing Devices

device.iniRooms\<Room>\Devices\<Device Folder>\

 

The device.ini file is a file located inside each Device’s folder and defines how the Device looks and behaves in the world, as well as what emulator should run when a Media is inserted into the Device.

Edit the device.ini file to customize a specific Device item by adding\changing one or more of the following properties:

  • item.model: <string> – (required) The name of the 3D model representing this item (refer to the list of available models)
  • item.scale: <vector> – The x,y,z scale of the item relative to its default size, 1 being the same size, 2 being twice as large etc..
  • item.fixed: <boolean> (default: true) – Whether the item can be moved freely in the world or is fixed in place (thus requiring you to enter “Move Mode” to move it), Devices are fixed by default so that you don’t accidentaly move them and mess up your nicely designed room
  • device.slot1: <string> – The name of the 3D model representing the component that is attached to the Device’s first slot (on supported devices, refer to the list of available models) – for instance, in a PC, this will be Drive A
  • device.slot2: <string> – The name of the 3D model representing the component that is attached to the Device’s second slot (on supported devices, refer to the list of available models) – for instance, in a PC, this will be Drive B
  • device.connect_to: <string> – The name of a Device containing a Monitor that this Device will use as an output device, if this property is omitted, the Device will use itself as an output device, this makes most sense in the case of Arcade cabinets.
  • device.emulator: <string> – The emulator defined in config.ini to be used with the device
  • device.no_media_video: <string> – A video that will be played on the connected monitor if no media has been inserted into the device when it is turned on, use the name of the folder from the Files\Video\ folder as value.
  • device.video_fps: <int> (default: 30) – The frame rate of the original video file now broken into individual frames
  • device.video_playback: <boolean> – In arcade cabinets: determines whether an attract video should be played or not
  • device.video_playback_range: <int> – The distance from the device that the user needs to be in order for playback to start, useful if the computer is struggling with playing several videos at once.
  • device.video_playback_range_during_play: <int> – Allows to define a different playback range when an emulator is running, set to 0 to stop all playback when an emulator is running.
  • device.video_delay_before_loop: <int> – The number of seconds to hold on the last frame before looping the video and audio, useful if the video’s last frame is the title screen and you wish to have it stay on the title screen for a few seconds.
  • device.video_random_position: <boolean> – Determines if the video should start from the beginning (false) or from a random location (true), for Arcades this gives the feeling that you’ve been dropped right in the middle of an active Arcades, as opposed to one that’s just been created.
Advertisements