Skip to content

Feat: Add support for N redline LED stages#25

Open
mikeev261 wants to merge 5 commits intoLovely-Sim-Racing:mainfrom
mikeev261:2nd_redline
Open

Feat: Add support for N redline LED stages#25
mikeev261 wants to merge 5 commits intoLovely-Sim-Racing:mainfrom
mikeev261:2nd_redline

Conversation

@mikeev261
Copy link
Copy Markdown

@mikeev261 mikeev261 commented Mar 29, 2026

Pull Request: Proposal — Add support for N redline LED stages

rpm_leds.mp4

Description

Some Le Mans Ultimate GT3 cars (like the 2025 Z06) feature RPM LED clusters with multi-stage redline behavior, where all LEDs change color in sequence (e.g.Red → Blue) as RPM climbs past specific thresholds. The current format doesn't have a clear way to represent this. This PR proposes a small, (hopefully) backward-compatible extension to the file format spec alongside three new car profiles that rely on this structure.

Open to feedback on the approach — happy to adjust based on your preferences.

Changes

  1. Proposed update to README.md — File Format Specification:

    • Added optional redline1redlineN entries to the ledColor and ledRpm documentation, prepended before the existing led1ledN entries.
    • Consumers can detect the extra array length (ledColor.length > ledNumber) and use the offset to drive sequential redline stages. Existing files with no redline stages are unaffected.
    • Open to alternative structural approaches if a different convention would be preferred.
  2. Added gt3-awa-racing-2025.json (LMU):

    • AWA Racing GT3 profile with 8 LEDs and 2 redline stages (Red → Blue).
    • ledColor array: [redline1, redline2, led1..led8] = 10 entries total.
    • ledRpm arrays: 10 values per gear matching the color array ordering.
  3. Added gt3-tf-sport-2025.json (LMU):

    • TF Sport GT3 profile with the same LED/redline geometry.
    • 2-stage redline (Red → Blue) with Yellow final LEDs.
  4. Added gt3-z06gt3r-custom-team-2025.json (LMU):

    • Z06 GT3R Custom Team profile with the same LED/redline geometry.

Note: I included these Z06 GT3R updates as an example, and intentionally didn't update more cars, given that the upcoming v1.3 update to LMU will likely simplify how cars are inferred which could induce a big change (simplification) to this repo.

Testing

  • All JSON files pass pre-commit run --all-files (check json + pretty format).
  • Array lengths are consistent: ledColor has 10 entries, each gear RPM array has 10 entries, matching ledNumber (8) + redline stages (2).
  • Format aligns with the proposed README specification for redline1redlineN handling.

@mikeev261 mikeev261 changed the title Add support for N redline LED stages Feat: Add support for N redline LED stages Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant