I have recently written a simple tool to record and replay my flight and would like to share it with the community.
And thanks IamSean for allowing me to include his video as a showcase of the tool's capability and the awesome graphic fidelity of MSFS.
Extract and run FlightRecorder.Client.exe.
- Record and replay with your aircraft or an AI aircraft in the sim
- Change replaying speed
- NOTE: when speeding up, your computer might not be able to load scenery fast enough and that will negatively affect frame rate.
- Save recording into a file to replay later or on another computer
- Export the recorded data into CSV for further analysis
- Quickly jump to any time in your recording (you have to Pause Replay first)
Notes: The tool records this list of variables from SimConnect Structs.cs for each sim frame. Some of them are only for analysis and display and don’t affect replay.
- FBW A32NX
- The 32NX starts to replace existing code that works with SimConnect with new code that ignores SimConnect. This means the aircraft will ignore the replay data Flight Recorder send to the sim. You will see that certain variables get replayed as in other aircraft, and the rest don't.
- Workaround (suggested by Abriael): since the recording still has correct data, you can replay it on stable/dev variant of the 32NX, or even the default A320.
- Default A320 and A23NX
- Aileron reacts wrongly to simvar `AILERON POSITION` when aircraft is in the air.
- I have reported this in ZenDesk #95574. I'll wait for Sim Update 4 before working on a workaround.
Other Limitations and Notes
- When starting a replay, your aircraft might be teleported to a far away location which doesn't have loaded terrain. This means the ground can jump up/down really quickly and you might get a crash (not CTD) due to damaged landing gear. Disable crash detection might be a good idea if you frequently replay your flight.
- I don’t know a reliable way to tell if an engine is running or not, so this tool does not auto-start the engine (because it doesn’t know when). Hence, you should start recording/replaying when engine is already running (or the aircraft will move without a running engine) and stop recording before turning off the engine (not really a problem, but the tool might not shut the engine down for you). Not doing that won't prevent you from replaying or using any features, but replay can look like your aircraft is powered by magic ;).
- Replay looks weird when turning on the ground. I’m not so sure what is happening there yet.
- To prevent fighting with MSFS own calculation, the tool sends freeze command when you start replay and unfreeze when you stop replay.
This means replaying might conflict with other tools leverating the same freeze feature (e.g. YourControl when you are not in control, other replay tools).
- AI aircraft jitters back and forth during replay, especially at high speed. I'm still trying to figure out the reason.
If you have any issue with the tool, please report it in our GitHub page with information for troubleshooting such as screenshots, logs and profile exports.
You can also join my Discord server for further discussion https://discord.gg/azqQrWWEbV.