1 Running the Application
steve-px edited this page 2026-07-02 13:11:33 +00:00

← Return To Index Page

The application has four runtime states:

  • Startup State
  • Post-Startup State
  • Run State (Main State)
  • Shutdown State

Startup State

During the startup state, the system initializes and attempts to execute several configuration files.

The first configuration file is autoexec.cfg. This file can be used to store commands that should run automatically when the application starts.

The system will also attempt to execute runonce.cfg. If this file exists, it is executed and then automatically deleted. This file is intended for tasks that need to run only once, such as applying configuration changes after an update. It can be used when a new version of the system requires additional configuration before entering the main state.

Post-Startup State

In the post-startup state, the system executes another configuration file called convars.cfg. This file stores the application's settings and variable values, allowing them to persist between sessions. It is important not to edit this file manually, as it is automatically generated during the shutdown state.

Run State (Main State)

In the run state, the user can interact with the application through its user interface.

Shutdown State

When the user closes the application, the system enters the shutdown state. During this state, all current variable values are written to the convars.cfg file. Once this process is complete, the system shuts down its remaining processes and exits.

← Return To Index Page