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, 25 camera views are available.

Default Camera Positions

IDCameraIDCamera
0INIT13DINKYDERBY
1START14RACE
2CAR_SELECT15BESTTIMES
3CAR_SELECTED16INTO_TRACKSCREEN
4TRACK_SELECT17SUMMARY
5MULTI18PODIUMSTART
6TROPHY119PODIUM
7TROPHY220PODIUMVIEW1
8TROPHY321PODIUMVIEW2
9TROPHY422PODIUMVIEW3
10TROPHYALL23PODIUMLOSE
11OVERVIEW24TROPHYUSER
12NAME_SELECT

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

CAMPOS {
  ID     0                                      ; Camera ID
  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 position.
NameDisplay name, not used by the game.
EyePosition of the camera.
FocusLook direction of the camera.