I NOTICED THAT IN IL2 THE RECORDING FILES . NTK OR NTRK, IF OPENED ARE THE SAME AS (.mis) MISSION FILES
No they're not.
By the way, capslock day is 22 October, you're a month ahead.
That, my dear, is the most relevant part.
In .trk files (which by the way are outdated, incomplete, don't resemble the full track, missing all sorts of things) all content is unencrypted, whereas .ntrk files act as encrypted archives.
A .trk file starts with the content of the .mis file belonging to the sortie that has been recorded, followed by movement data of the actors.
In an .ntrk file, the .mis file is one of the encoded parts, together with initial actor states, skins, and all the movement data, cut into 1MB chunks and encrypted internally once more.
Essentially, .ntrk files contain the same data as what would have been transferred between server and client in an online mission.
In order to bring life to your request/idea, you'd first need to forget about .trk files as they're crap, then fully decrypt an .ntrk file (NTRK Wizard is a good starting point, use the forums search function to get the tool), then find the relevant chunks, glue them together, decrypt them, and finally decipher the state and movement data for all actors.
Once that has been achieved, we can talk about altering data and re-encrypting / repacking it.
Mike