Load engines from TOML and improve scenario audio and carb tuning

Migrate 32 engine definitions into validated startup-loaded TOML files and separate configuration and snapshots from scenario assembly. Add camera-based stereo propagation from shared pipe geometry, preserve exhaust character, tune carburetor mixtures and idle, use ignition cuts for carb engines, and support returning to the scenario menu.

Validation: full Windows build and all 14 CTest checks passed.
This commit is contained in:
max
2026-10-24 03:24:35 +02:00
parent 5607dcf2b5
commit bf8621ad39
82 changed files with 24084 additions and 648 deletions

View File

@@ -0,0 +1,37 @@
example,pedal,rpm,opening,carb_afr,charge_afr,free_idle_rpm,free_idle_afr,repairs
yz-racing,0,3000,0.03,13.4852,17.6506,3602.68,13.2998,0
yz-racing,0.15,4000,0.15,14.5615,14.5141,0,0,0
yz-racing,0.5,6500,0.5,13.5614,11.0273,0,0,0
yz-racing,1,9000,1,13.2665,9.14679,0,0,0
yz-straight,0,3000,0.03,13.4847,13.8691,3753.7,13.4844,0
yz-straight,0.15,4000,0.15,14.6983,14.6936,0,0,0
yz-straight,0.5,6500,0.5,13.3192,8.37308,0,0,0
yz-straight,1,9000,1,13.2662,8.6134,0,0,0
yz-torque,0,3000,0.03,13.3698,17.2726,3597.72,13.4608,0
yz-torque,0.15,4000,0.15,14.6447,14.6351,0,0,0
yz-torque,0.5,6500,0.5,13.4205,9.57616,0,0,0
yz-torque,1,9000,1,13.2114,9.72874,0,0,0
yz-short,0,3000,0.03,13.6119,18.2684,3657.15,12.7677,0
yz-short,0.15,4000,0.15,14.5772,14.5825,0,0,0
yz-short,0.5,6500,0.5,13.6625,11.2674,0,0,0
yz-short,1,9000,1,13.258,8.56493,0,0,0
yz-fat,0,3000,0.03,13.4371,18.0872,3679.1,13.3084,0
yz-fat,0.15,4000,0.15,14.3698,14.3344,0,0,0
yz-fat,0.5,6500,0.5,13.583,11.1147,0,0,0
yz-fat,1,9000,1,13.2664,9.04608,0,0,0
fifty,0,3000,0.045,14.4588,18.5582,3590.97,14.3795,0
fifty,0.15,4000,0.15,14.7126,14.8354,0,0,0
fifty,0.5,6500,0.5,13.6415,13.2838,0,0,0
fifty,1,9000,1,12.9222,9.32989,0,0,0
fivehundred,0,3000,0.045,13.6326,15.6191,3128.38,13.6017,0
fivehundred,0.15,4000,0.15,13.2298,13.1972,0,0,0
fivehundred,0.5,6500,0.5,13.8488,12.409,0,0,0
fivehundred,1,9000,1,13.2616,10.1366,0,0,0
single-450,0,1400,0.0449999,13.5449,14.5374,1362.41,13.4177,0
single-450,0.15,2500,0.15,14.103,14.0662,0,0,0
single-450,0.5,4000,0.499999,13.668,13.9308,0,0,0
single-450,1,6000,0.999999,13.0708,10.7667,0,0,0
big-carb,0,800,0.0699998,13.5196,13.7285,763.257,13.5412,0
big-carb,0.15,1800,0.15,14.6817,14.6857,0,0,0
big-carb,0.5,3000,0.499999,13.1217,13.1227,0,0,0
big-carb,1,5000,0.999999,13.1704,13.174,0,0,0
1 example pedal rpm opening carb_afr charge_afr free_idle_rpm free_idle_afr repairs
2 yz-racing 0 3000 0.03 13.4852 17.6506 3602.68 13.2998 0
3 yz-racing 0.15 4000 0.15 14.5615 14.5141 0 0 0
4 yz-racing 0.5 6500 0.5 13.5614 11.0273 0 0 0
5 yz-racing 1 9000 1 13.2665 9.14679 0 0 0
6 yz-straight 0 3000 0.03 13.4847 13.8691 3753.7 13.4844 0
7 yz-straight 0.15 4000 0.15 14.6983 14.6936 0 0 0
8 yz-straight 0.5 6500 0.5 13.3192 8.37308 0 0 0
9 yz-straight 1 9000 1 13.2662 8.6134 0 0 0
10 yz-torque 0 3000 0.03 13.3698 17.2726 3597.72 13.4608 0
11 yz-torque 0.15 4000 0.15 14.6447 14.6351 0 0 0
12 yz-torque 0.5 6500 0.5 13.4205 9.57616 0 0 0
13 yz-torque 1 9000 1 13.2114 9.72874 0 0 0
14 yz-short 0 3000 0.03 13.6119 18.2684 3657.15 12.7677 0
15 yz-short 0.15 4000 0.15 14.5772 14.5825 0 0 0
16 yz-short 0.5 6500 0.5 13.6625 11.2674 0 0 0
17 yz-short 1 9000 1 13.258 8.56493 0 0 0
18 yz-fat 0 3000 0.03 13.4371 18.0872 3679.1 13.3084 0
19 yz-fat 0.15 4000 0.15 14.3698 14.3344 0 0 0
20 yz-fat 0.5 6500 0.5 13.583 11.1147 0 0 0
21 yz-fat 1 9000 1 13.2664 9.04608 0 0 0
22 fifty 0 3000 0.045 14.4588 18.5582 3590.97 14.3795 0
23 fifty 0.15 4000 0.15 14.7126 14.8354 0 0 0
24 fifty 0.5 6500 0.5 13.6415 13.2838 0 0 0
25 fifty 1 9000 1 12.9222 9.32989 0 0 0
26 fivehundred 0 3000 0.045 13.6326 15.6191 3128.38 13.6017 0
27 fivehundred 0.15 4000 0.15 13.2298 13.1972 0 0 0
28 fivehundred 0.5 6500 0.5 13.8488 12.409 0 0 0
29 fivehundred 1 9000 1 13.2616 10.1366 0 0 0
30 single-450 0 1400 0.0449999 13.5449 14.5374 1362.41 13.4177 0
31 single-450 0.15 2500 0.15 14.103 14.0662 0 0 0
32 single-450 0.5 4000 0.499999 13.668 13.9308 0 0 0
33 single-450 1 6000 0.999999 13.0708 10.7667 0 0 0
34 big-carb 0 800 0.0699998 13.5196 13.7285 763.257 13.5412 0
35 big-carb 0.15 1800 0.15 14.6817 14.6857 0 0 0
36 big-carb 0.5 3000 0.499999 13.1217 13.1227 0 0 0
37 big-carb 1 5000 0.999999 13.1704 13.174 0 0 0