Conversation
Keep native tank quantities authoritative and split trim capacity from center without increasing total fuel. Add bounded consumption, physical transfer faults, native mass and CG reads, and deterministic tests. Legacy INI restoration is explicit on the ground. Reject malformed or over-capacity saves without redistributing fuel; preserve prior files on failed writes. Automatic CG scheduling remains unsupported.
Include all six native tanks in EFB allocation, refueling and SD indications. Mark external fuel batches so FADEC waits for native readback, and inhibit EFB refueling airborne.
Require verified local dependencies, but report cross-generation version differences without inventing runtime minimum semantics. Preserve manifest declarations and exact bundled package consistency.
Use the Headwind datastore event for typed changes as well as legacy changes. Reproduce stale MCDU weight units with two instrument contexts and verify bidirectional updates and persisted reload.
Expose runway-specific A339 OFP results without enabling the unfinished A320-derived model. Validate flight context and preserve original units. Document the missing standalone calculation API and native calculator gap.
Interpolate takeoff stall-speed checks at the entered weight.
Reject impossible VNAV results, clear stale guidance, repair interpolation and SDK compatibility, and remove the unsupported preflight altitude display override.
Cancel ineligible refueling, reject partial VNAV profiles, and report unusable takeoff results accurately. Validate baseline source and recover only recorded partial installs. Remove dead definitions and consolidate validation notes.
nbobby07
marked this pull request as ready for review
September 12, 2026 01:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Adds six-tank fuel support to the A339X and fixes several problems found while testing refueling, SimBrief imports and FMGC predictions. The trim controller is opt-in while its aircraft-specific behavior is being validated.
Fuel system and trim tank
SimBrief, STEP ALTS and takeoff data
VNAV and compatibility
Build and installation tools
References
Additional context
This PR targets Headwind main. The large diff includes complete aircraft-specific overrides required by Headwind's copy-based build; the pinned submodules and model assets are unchanged.
The trim position and actuator model still need calibration. This does not implement an automatic Airbus CG schedule, and FCOM conformity has not been established. The tablet imports SimBrief results; a native calculator that recomputes performance for changed weight, weather and configuration is still outstanding. The inherited performance tables also need aircraft-specific validation.
The ordinary Docker Desktop launcher can still hit its upstream startup bug. The project helper handles the checked recovery case without a factory reset.
Testing instructions
Run from the repository root with PowerShell 7.2+, Docker and the pinned submodules initialized:
The build runs the C++ fuel and persistence checks, JavaScript regressions, focused Rust fuel tests, and Windows deployment and baseline-preflight checks before packaging.
Validation at
2ff3d882:For simulator testing:
The validation guide includes the detailed scenarios, tolerances and known baseline failures.
How to download the PR for Testing
Automated package builds may require approval from a Headwind maintainer before they run. Until a successful CI artifact is available, build the branch locally using the commands above. A successful local build prints a validated artifact path under
.fuel-trim-local/artifacts.With MSFS closed and a verified
.fuel-trim-local/deployment.json, install that specific artifact:The installer preserves the previous aircraft and prints the deployment record needed for restore. No aircraft binaries are attached to this PR.