Frontend Properties

This feature has been introduced in version 19.0120a.

Frontend properties are similar to properties.txt. They allow you to customize certain aspects of your custom frontend, i.e., Camera Positions.

RVGL looks for a frontend.txt file when loading a frontend. If such a file exists, the original frontend properties will be replaced with the ones in the file.

Sample Frontend File

frontend_default.txt

This file contains all stock frontend properties. You can use this to base your custom properties on.

Camera Positions

Provides information about the camera position and direction at each menu screen. In total, 24 camera views are available.

Default Camera Positions

IDCameraIDCamera
0INIT12NAME_SELECT
1START13DINKYDERBY
2CAR_SELECT14RACE
3CAR_SELECTED15BESTTIMES
4TRACK_SELECT16INTO_TRACKSCREEN
5MULTI17SUMMARY
6TROPHY118PODIUMSTART
7TROPHY219PODIUM
8TROPHY320PODIUMVIEW1
9TROPHY421PODIUMVIEW2
10TROPYALL22PODIUMVIEW3
11OVERVIEW23PODIUMLOSE

To override a camera, add the following to your frontend.txt file:

CAMPOS {
  ID     0                                      ; Camera to replace [0 - 23]
  Name   "INIT"                                 ; Display name

  Eye    76.500000 -79.300000 -4462.600000      ; Camera position
  Focus  109.500000 -155.300000 -3466.100000    ; Camera focus
}

In this case, we're overriding the INIT camera (ID 0).

Frontend Camera Properties

PropertyDescription
IDUnique ID number of the camera you want to override.
NameDisplay name, not used by the game.
EyePosition of the camera.
FocusLook direction of the camera.