Skip to content

Latest commit

 

History

History
196 lines (116 loc) · 2.07 KB

File metadata and controls

196 lines (116 loc) · 2.07 KB

RealFPS Execution Flow

Complete execution pipeline of REALFPSv2_3.bat.

Overview

RealFPS is built as a Batch State Machine.

Unlike traditional applications with a linear execution flow, RealFPS uses:

  • CMD labels
  • GOTO routing
  • State variables
  • Modular functions

Each screen and feature works as an independent state.


Complete Runtime Flow

flowchart TD

A[Launch RealFPS.bat]

A --> B[Administrator Check]

B --> C{Administrator?}

C -->|No| D[Request Elevation]

D --> A

C -->|Yes| E[Initialize Environment]


E --> F[Set Console Configuration]

F --> G[Enable UTF-8]

G --> H[Load ANSI Colors]

H --> I[Initialize Variables]

I --> J[Load Saved Profile]


J --> K[WELCOME SCREEN]


K --> L{User Selection}


L -->|1| M[Smart Optimization]

L -->|2| N[Advanced Options]

L -->|3| O[Benchmark]

L -->|4| P[Information]

L -->|5| Q[Game Booster]

L -->|6| R[System Cleanup]

L -->|7| S[Performance Monitor]

L -->|8| T[Service Manager]

L -->|X| U[Exit]


M --> V[Execute Module]

N --> V

O --> V

P --> V

Q --> V

R --> V

S --> V

T --> V


V --> W[Validation]

W --> X{Result}

X -->|Success| Y[Success Screen]

X -->|Failed| Z[Failed Screen]


Y --> K

Z --> K


U --> AA[Close Application]
Loading

Runtime States

State 1 - Initialization

Responsible for:

  • Console setup
  • Color engine
  • Variables
  • Environment detection
  • Profile loading

State 2 - User Interface

Main navigation:

WELCOME
    |
    +-- Smart Optimization
    |
    +-- Advanced Options
    |
    +-- Benchmark
    |
    +-- Information
    |
    +-- Game Booster
    |
    +-- Cleanup
    |
    +-- Performance Stats
    |
    +-- Service Manager

State 3 - Module Execution

Every module follows:

INPUT
 |
VALIDATION
 |
EXECUTION
 |
RESULT CHECK
 |
RETURN

State 4 - Result Handling

All actions return:

Success

Operation Completed
Changes Applied

Failed

Operation Failed
No Changes Applied

State 5 - Exit

When user selects:

X - Exit

RealFPS:

  • closes running states
  • terminates CMD session
  • returns control to Windows