Recorder Module Tutorial

Share your simulated flights around NZ here. The place to post your flight reports, flight plan instructions and progress on tours

Postby ardypilot » Mon Feb 04, 2008 2:30 pm

1. Download and install the latest version of the free FS Recorder here.

2. Download the Conversion tools 1.0 from the same page, and extract the two included .exe files to a newly created folder named ‘REC’ in your main My Documents folder.

3. Go record a flight with a single aircraft in FS, by using the ALT menu to access the new FS Recorder menu at the top of the screen. When you have finished your recording, save it as a .frc file inside the REC folder.

4. Open ‘Command Prompt’ (Start- Programs- Accessories) and enter the following:
‘cd My Documents\REC’
then
‘frc2ascii example.frc example.txt –m’

This will convert your recorded .frc file into an editable txt file. (Do not close the black Command Prompt window!)

5. Navigate to the REC folder, find the example.txt file and open it with wordpad.

You will find a heading that looks like this:
// Track 1
#Aircraft: "Vega 5C"
#StaticCGtoGround: 9.90000

#Data: latitude longitude altitude pitch bank heading onground velocityX velocityY velocityZ throttle1 throttle2 throttle3 throttle4 elevators ailerons rudder spoilers flaps gear lights parkbrake engine1 engine2 engine3 engine4 timestamp


6. Highlight the entire document, then copy and paste it as many times as you want formation aircraft in the document. (Say you want a wingman either side of your recorded aircraft, paste the copied text twice.)

7. Press CTRL+F and enter ‘Track’ to skip down to the first copied heading, rename the section ‘// Track 1’ to ‘// Track 2’ and amend the '#Aircraft: label to whatever aircraft you want from your aircraft folder. Note- the actual title must come from the aircraft.cfg of your chosen wingman’s aircraft folder- found on the second line of entry, eg:
[fltsim.0]
title=Vega 5C
sim=Lockheed_Vega
model=
panel=
sound=
texture=
kb_checklists=Lockheed_Vega_check
kb_reference=Lockheed_Vega_ref
atc_id=NR-105-W
atc_id_color=0xffffffff
ui_manufacturer=Lockheed
ui_type="Vega 5C"
ui_variation="Winnie Mae"

While in the aircraft.cfg, find the ‘static_cg_height’ line, and copy and paste the value into the #StaticCGtoGround: heading of your example.txt

8. Now you need to reference the position in which your wingman aircraft is related to your lead aircraft. You do this by creating a ‘$Offset:’heading under the ‘timestamp’ line of the heading code as seen above.

An example of an offset heading would be:
‘$Offset: -30 0 15
The 30 being horizontal distance from the lead aircraft
The 0 being the altitude distance from the lead aircraft’s height
The 15 being the distance infront or behind the lead aircrafts postion

Each one of these three values can be positive or negative, as show in this diagram:


9. Now comes the tricky bit- to make the offsets relative to the lead aircraft you add ‘pbh’ (pitch, bank, heading) to the end of offset line, eg:
$Offset: -30 0 15’ pbh

Otherwise the offsets are along the world axes, where x is longitude, y is altitude and z is latitude.
Try a few combinations like
$Offset: -30 0 15’ h
$Offset: -30 0 15’ bh
$Offset: -30 0 15’ ph

These can be less realistic in the sim, as the a/c behave more like a single unit, but I generally find adding the simple ‘h’ to the offset line creates the best result.

10. Finally, the last heading entry you will need to make is the ‘$TimeOffset:’, underneath the previous ‘$Offset’. All you need to add here is a setting in seconds, eg ‘$TimeOffset: 0.5’ so your wingman aircraft copys the manoevers of the lead aircraft’s with a 0.5 second delay in the sim to add a level of real life imperfection.

Note- (if you find the following confusing, then don’t worry). You may find that by adding a time offset, your wingman aircraft are lagging behind the lead aircraft at a far greater distance than you have set up in the original offset. To compensate for this distance loss, reduce the last offset value (distance infront of behind the lead aircrafts postion), from example:
$Offset: -30 0 15’ h
$TimeOffset: 0.5

to:
$Offset: -30 0 10’ h
$TimeOffset: 0.5


11. Repeat steps 7. to 10. by renaiming the third section to ‘// Track 3’ and adjust the offsets to suit your preference.

12. Save the txt file, and go back into Command Prompt to enter the following
ascii2frc example.txt example.frc –m

The conversion may take a while, depending on how many tracks you have copied and how long the recording is, but you know it has worked when you see the ‘conversion successful’ message appear.

13. Go back to flight simulator, hit ALT and go back to the recorder module menu, select ‘Play’ and find the example.frc file that you have just converted. You will then be able to watch your formation play back with however many aircraft you have added and be able to take screenshots like these:



See these threads for original source information of this tutorial:
http://nzff.org/forum/viewtopic.php?t=5489
http://nzff.org/forum/viewtopic.php?t=5791

A big thanks to Charl who got me hooked on this new branch of the hobby, spent many posts explaining how the offsets worked, and advised me to post this guide for others.

--------------------------------------------------------------------------------------------------------------------------------------------

Also, please post below any offset examples for certain formations which others may wish to use… for example, here is my four man Harvard offset code, using the alphasim models:

// Track 1
#Aircraft: "ALPHA T-6 Texan RNZAF NZ1015"
#StaticCGtoGround: 5.44000
#Data: latitude longitude altitude pitch bank heading onground velocityX velocityY velocityZ throttle1 throttle2 throttle3 throttle4 elevators ailerons rudder spoilers flaps gear lights parkbrake engine1 engine2 engine3 engine4 timestamp

// Track 2
#Aircraft: "ALPHA T-6 Texan RNZAF NZ1057"
#StaticCGtoGround: 5.44000
#Data: latitude longitude altitude pitch bank heading onground velocityX velocityY velocityZ throttle1 throttle2 throttle3 throttle4 elevators ailerons rudder spoilers flaps gear lights parkbrake engine1 engine2 engine3 engine4 timestamp
$Offset: 0 -2 1 h
$TimeOffset: 0.26

// Track 3
#Aircraft: "ALPHA T-6 Texan RNZAF NZ1053"
#StaticCGtoGround: 5.44000
#Data: latitude longitude altitude pitch bank heading onground velocityX velocityY velocityZ throttle1 throttle2 throttle3 throttle4 elevators ailerons rudder spoilers flaps gear lights parkbrake engine1 engine2 engine3 engine4 timestamp
$Offset: 10 00 2 h
$TimeOffset: 0.16

// Track 4
#Aircraft: "ALPHA T-6 Harvard NZ1078"
#StaticCGtoGround: 5.44000
#Data: latitude longitude altitude pitch bank heading onground velocityX velocityY velocityZ throttle1 throttle2 throttle3 throttle4 elevators ailerons rudder spoilers flaps gear lights parkbrake engine1 engine2 engine3 engine4 timestamp
$Offset: -10 00 2 h
$TimeOffset: 0.21
Last edited by ardypilot on Sun Feb 24, 2008 3:33 pm, edited 1 time in total.
Intel Core i5-2400|8GB RAM|ATI Radeon HD 5750 (1GB)|1TB Seagate Barracuda|Windows 7 64 Bit|FSX Gold Edition|24" AOC Widescreen
User avatar
ardypilot
NZFF Pro
 
Topic author
Joined: Wed Apr 26, 2006 10:01 am
Posts: 6779
Location: Auckland

Postby victor_alpha_charlie » Mon Feb 04, 2008 4:58 pm

Good idea posting this :thumbup:
User avatar
victor_alpha_charlie
NZFF Pro
 
Joined: Wed Jan 10, 2007 11:09 am
Posts: 2384

Postby ZK-Brock » Mon Feb 04, 2008 8:50 pm

I might try this out later :)

I did a bit of formation stuff in the recorder module once, but I did it a different way, where I recorded one flight, then played it back and recorded another flight and followed the first plane by hand. Just means that you can't do all the fancy loops and stuff so easy.
ZK-Brock
NZFF Pro
 
Joined: Sun Jul 23, 2006 3:35 pm
Posts: 2035

Postby victor_alpha_charlie » Mon Feb 04, 2008 8:52 pm

ZK-Brock wrote:
QUOTE (ZK-Brock @ Feb 4 2008, 09:50 PM) <{POST_SNAPBACK}>
I might try this out later :)

I did a bit of formation stuff in the recorder module once, but I did it a different way, where I recorded one flight, then played it back and recorded another flight and followed the first plane by hand. Just means that you can't do all the fancy loops and stuff so easy.


I used to do that as well, this is actually easier.
User avatar
victor_alpha_charlie
NZFF Pro
 
Joined: Wed Jan 10, 2007 11:09 am
Posts: 2384

Postby Charl » Tue Feb 05, 2008 10:00 am

Very nicely set out Trolly.
I hope this inspires some of our members to try their hand - it really opens a new dimension to screenshots and video making.

A couple of other tips, just makes it a bit easier I find:
I save the flight I am about to record, and name it "1" so there's no mistaking it.
If you want to load up the recording at a later date, you first start the sim by double-clicking on "\My Documents\Flight Simulator Files\1.FLT"
This sets up the scenery so you don't have to wait for it to load during the playback.

I also name the current recorder file "1" so I don't have to type in a long name in the Command Prompt box. (frc2ascii 1.frc 1.txt is a lot quicker than frc2ascii The_Galeb_3_formation_over_Coromandel.frc The_Galeb_3_formation_over_Coromandel.txt !)

When I've done everything I want for that Recorder sequence I archive the files, and just rename the flight (and the .frc file) to something I will remember like "The Galeb 3 formation over Coromandel"

******************************************************

Tracks used for the Soko Galeb photoshoot are listed below. I did 2 quick additional paints for #265 and 266 (a NZFF exclusive!) not included in the model. There are other included paints in the download to substitute however. Initial flight was set up over NZUN at 5,000ft heading 360. The spacing looks impossibly tight, but at no time did the Galebs actually touch in the flight!

// Track 1
#Aircraft: "Galeb JRV"
#StaticCGtoGround: 4.30080

// Track 2
#Aircraft: "Galeb JRV 265"
#StaticCGtoGround: 4.30080
#Data: latitude longitude altitude pitch bank heading onground velocityX velocityY velocityZ throttle1 throttle2 throttle3 throttle4 elevators ailerons rudder spoilers flaps gear lights parkbrake engine1 engine2 engine3 engine4 mix1 mix2 mix3 mix4 prop1 prop2 prop3 prop4 smoke timestamp
$Offset: 10 0 0
$TimeOffset: 0.0

// Track 3
#Aircraft: "Galeb JRV 266"
#StaticCGtoGround: 4.30080
#Data: latitude longitude altitude pitch bank heading onground velocityX velocityY velocityZ throttle1 throttle2 throttle3 throttle4 elevators ailerons rudder spoilers flaps gear lights parkbrake engine1 engine2 engine3 engine4 mix1 mix2 mix3 mix4 prop1 prop2 prop3 prop4 smoke timestamp
$Offset: 20 0 0
$TimeOffset: 0.0
Last edited by Charl on Tue Feb 05, 2008 10:10 am, edited 1 time in total.
User avatar
Charl
NZFF Pro
 
Joined: Mon May 01, 2006 8:28 am
Posts: 6956
Location: Auckland

Postby Alfashark » Thu Feb 28, 2008 9:00 pm

Hmm, been playing around with FSRecorder tonight, trying to set up a nice, tight 3 ship formation over Wanaka... Got the WoP He-219 Uhu as the leader, with a WoP Me-109 and a WoP FW-190 tucked in on either side.
Been following Charl's guide religiously,but when I play the converted file all I'm seeing is the Uhu :unsure: No escorts.
Double checked the .txt file to make sure I'd saved it after modifying it (adding the two extra tracks and naming them correctly).
Any ideas?
ImageImage
User avatar
Alfashark
Sim-holic
 
Joined: Wed Jul 25, 2007 7:45 pm
Posts: 549
Location: Putaruru

Postby Charl » Thu Feb 28, 2008 9:05 pm

You replaying using "Play" as opposed to "Play as AI"?
This puts whatever plane you are currently in, as the lead ship.

If this doesn't solve it, post the offset headers here.
User avatar
Charl
NZFF Pro
 
Joined: Mon May 01, 2006 8:28 am
Posts: 6956
Location: Auckland

Postby Alfashark » Fri Feb 29, 2008 6:43 am

Yep, using the "play" function... That shows the Uhu stalking its way around the peaks and over the lakes just fine, but again no escort.
Tried the "play as AI" when i was parked on the apron and saw the Uhu heading west (alone).
I'll post the offset segments when i crawl home from work this arvo :)
ImageImage
User avatar
Alfashark
Sim-holic
 
Joined: Wed Jul 25, 2007 7:45 pm
Posts: 549
Location: Putaruru

Postby ardypilot » Fri Feb 29, 2008 3:47 pm

QUOTE
Double checked the .txt file to make sure I'd saved it after modifying it (adding the two extra tracks and naming them correctly).[/quote]
Did you remember to convert it back to .frc then replace it over the original .frc ?
Intel Core i5-2400|8GB RAM|ATI Radeon HD 5750 (1GB)|1TB Seagate Barracuda|Windows 7 64 Bit|FSX Gold Edition|24" AOC Widescreen
User avatar
ardypilot
NZFF Pro
 
Topic author
Joined: Wed Apr 26, 2006 10:01 am
Posts: 6779
Location: Auckland

Postby Alfashark » Fri Feb 29, 2008 8:02 pm

Trolly wrote:
QUOTE (Trolly @ Feb 29 2008, 04:47 PM) <{POST_SNAPBACK}>
Did you remember to convert it back to .frc then replace it over the original .frc ?


Yep, did that.... just had another crack at it using a fresh recording.
Same result, and during the conversion back to .frc, the cmd script said "1 line skipped" <_<

Played it back, and for some really odd reason, the takeoff roll and initial climbout was under the ground level of the runway

Agagin, no wingman either...
Last edited by Alfashark on Fri Feb 29, 2008 8:03 pm, edited 1 time in total.
ImageImage
User avatar
Alfashark
Sim-holic
 
Joined: Wed Jul 25, 2007 7:45 pm
Posts: 549
Location: Putaruru

Postby ardypilot » Sat Mar 01, 2008 11:18 am

QUOTE
Same result, and during the conversion back to .frc, the cmd script said "1 line skipped"[/quote]
Thats because there are title lines in the text document beginning with '//' so the number of aircraft you have in formation, the number of lines it should skip- don't worry about it.

QUOTE
for some really odd reason, the takeoff roll and initial climbout was under the ground level of the runway[/quote]
Try using this example offset and see what happens: '$Offset: -30 0 15 h'
Also, remember to copy the 'static_cg_height’ line value from your aircraft.cfg into the '#StaticCGtoGround:' heading of your converted txt file- this may address the issues you are having. Also, remember to format the track just as written above, with the offset placed under the ‘timestamp’ line of the heading code as explained above.
Last edited by ardypilot on Sat Mar 01, 2008 11:18 am, edited 1 time in total.
Intel Core i5-2400|8GB RAM|ATI Radeon HD 5750 (1GB)|1TB Seagate Barracuda|Windows 7 64 Bit|FSX Gold Edition|24" AOC Widescreen
User avatar
ardypilot
NZFF Pro
 
Topic author
Joined: Wed Apr 26, 2006 10:01 am
Posts: 6779
Location: Auckland

Postby Alfashark » Sat Mar 01, 2008 11:32 am

Cheers pal, think I've got those two points under control but still no luck with finding the other aircraft.
Would it help to send you a copy of the .txt file so you can check if I'm missing something?
ImageImage
User avatar
Alfashark
Sim-holic
 
Joined: Wed Jul 25, 2007 7:45 pm
Posts: 549
Location: Putaruru

Postby creator2003 » Sun Mar 02, 2008 1:25 am

You are welcome to send it to me if you would like me to take a quick look over it,, N/Prob just send me a PM
User avatar
creator2003
NZFF Pro
 
Joined: Fri Jun 16, 2006 12:08 am
Posts: 4633
Location: Cant U C im LOCO

Postby Alfashark » Sun Mar 09, 2008 12:11 am

Well, its taken a while but I've finally got the hang of it! Thanks to Charl, Creator and Trolly for giving me a hand :bow:
All of the following were done in about the last 6hrs, on my new rig so I'm still only halfway thru tweaking the FS settings...














For the editing of pics, I'm running Irfanview as the default picture file viewer on Vista... its free and has a squillion and one editing plug-ins, so I thought I'd throw that sepia edit in for good measure
Enjoy :)
Last edited by Alfashark on Sun Mar 09, 2008 12:15 am, edited 1 time in total.
ImageImage
User avatar
Alfashark
Sim-holic
 
Joined: Wed Jul 25, 2007 7:45 pm
Posts: 549
Location: Putaruru

Postby ardypilot » Sun Mar 09, 2008 10:13 am

Glad you have finally got it working mate, love the last two pics! :clap:
Intel Core i5-2400|8GB RAM|ATI Radeon HD 5750 (1GB)|1TB Seagate Barracuda|Windows 7 64 Bit|FSX Gold Edition|24" AOC Widescreen
User avatar
ardypilot
NZFF Pro
 
Topic author
Joined: Wed Apr 26, 2006 10:01 am
Posts: 6779
Location: Auckland

Postby Charl » Sun Mar 09, 2008 1:25 pm

Just adds a new dimension to flightsimming and screenshots dinnit?
Love the sepia touch!
User avatar
Charl
NZFF Pro
 
Joined: Mon May 01, 2006 8:28 am
Posts: 6956
Location: Auckland

Postby Ian Warren » Sun Mar 09, 2008 1:58 pm

JEEEEEEEEEEEEZZZZZZZZ and Jeppers :o if ya had that collection at Wanaka this year ! umm :rolleyes: Ian Brodie would be over the moon ! .... KATCHING$ :)
Image
User avatar
Ian Warren
NZFF Pro
 
Joined: Fri May 05, 2006 5:23 pm
Posts: 41205
Location: AREA 51

Postby Alfashark » Sun Mar 09, 2008 5:29 pm

Cheers lads! A bit more playing around this arvo...

More P-47 work (3x WoP D-22's and a D-20)


Then I got thinking...


Found a freeware V1, flew a more or less straight track from Peenemunde towards London, then played it back as AI so I could move in for the kill using the wingtip/airflow disruption to topple the little buggers gyros :ph43r:
Last edited by Alfashark on Sun Mar 09, 2008 5:30 pm, edited 1 time in total.
ImageImage
User avatar
Alfashark
Sim-holic
 
Joined: Wed Jul 25, 2007 7:45 pm
Posts: 549
Location: Putaruru

Postby ardypilot » Sun Mar 09, 2008 5:56 pm

I was intending on creating a whole separate thread with a series of these shots, but they didn't turn out as good as I'd expected when appearing static, copy the tracks below and watch it 'live' in the sim- much more fun ;)

Anyway, here's a Sukhoi SU-27 vs two Lockheed F-16 on a training sortie out of Edwards AFB:


















// Track 1
#Aircraft: "Su-27UBK PLAAF 2DIV"
#StaticCGtoGround: 6.6
#Data: latitude longitude altitude pitch bank heading onground velocityX velocityY velocityZ throttle1 throttle2 throttle3 throttle4 elevators ailerons rudder spoilers flaps gear lights parkbrake engine1 engine2 engine3 engine4 timestamp

// Track 2
#Aircraft: "VIPER gbu"
#StaticCGtoGround: 6.26500
#Data: latitude longitude altitude pitch bank heading onground velocityX velocityY velocityZ throttle1 throttle2 throttle3 throttle4 elevators ailerons rudder spoilers flaps gear lights parkbrake engine1 engine2 engine3 engine4 timestamp
$Offset: 7 -2 -15 h
$TimeOffset: 0.26

// Track 3
#Aircraft: "VIPER jdam"
#StaticCGtoGround: 6.26500
#Data: latitude longitude altitude pitch bank heading onground velocityX velocityY velocityZ throttle1 throttle2 throttle3 throttle4 elevators ailerons rudder spoilers flaps gear lights parkbrake engine1 engine2 engine3 engine4 timestamp
$Offset: -5 -6 -20 h
$TimeOffset: 0.20
Last edited by ardypilot on Sun Mar 09, 2008 5:59 pm, edited 1 time in total.
Intel Core i5-2400|8GB RAM|ATI Radeon HD 5750 (1GB)|1TB Seagate Barracuda|Windows 7 64 Bit|FSX Gold Edition|24" AOC Widescreen
User avatar
ardypilot
NZFF Pro
 
Topic author
Joined: Wed Apr 26, 2006 10:01 am
Posts: 6779
Location: Auckland

Postby Alfashark » Sun Mar 09, 2008 6:01 pm

Sweet! 3rd and 5th shots really have that "fox being run down by the hounds" look to them :thumbup:
ImageImage
User avatar
Alfashark
Sim-holic
 
Joined: Wed Jul 25, 2007 7:45 pm
Posts: 549
Location: Putaruru

Next

Return to Flights

Who is online

Users browsing this forum: No registered users and 2 guests