ACMI compiler AKA don't wait to get to the debriefing
-
Nice! Added bonus if it is in a seperate thread so you can view the 2D immediately and maybe frag a scramble if needed.
Because that is one of the major PITAs when doing a persistent campaign, you might just come back from a mission but have to do a scramble immediately. Even waiting two minutes until you can frag your flight and scramble is a lot of time!
or show it realtime on another monitor or network pc….then we can have epic awacs lol
-
or show it realtime on another monitor or network pc….then we can have epic awacs lol
That sounds nice. But does it have all the needed info?
A major issue was the AI positions.Στάλθηκε από το MI 5 μου χρησιμοποιώντας Tapatalk
-
**Sorry gents!
Believe it or not, ACMI import speed has been a big PITA for us devs as well, so we actually took care of it already for 4.34… and in fact, we backported it to 4.33, together with some other critical fixed that popped up over the last year, and we will release an 4.33 U4 within the next week(!) that will have those improvements.
(…and not to rain on your parade, but importing a 500mb flt will not even take 2min anymore)
I appreciate the effort taken here, but this is basically an unfortunate “crossing the streams” situation.**
¯_(ツ)_/¯
In the end, this project was still very interesting to me, and I did it all by myself, so eh I’m not even mad ¯_(ツ)_/¯
However, I will add that my program should be compatible with any Falcon version, starting from FreeFalcon, so you can use it for BMS 4.32 if you still use that
Nice effort, very similar to Zipgun’s release a few weeks ago.
Ah, the moving part was already done. I didn’t see his mod sadly. Mine add the multithreadded compilation time though
Nice! Added bonus if it is in a seperate thread so you can view the 2D immediately and maybe frag a scramble if needed.
That’s actually the case, the program doesn’t compile anything for as long as you don’t ask him to do it. It’s just going to prevent Falcon BMS from compiling the files.
It wasn’t maybe clear in the post but you will directly go from 3D to 2D Without any compilation.
The compilation is after you have finished everything you needed to do on falcon, you can start compiling.
So there is 0 waiting time between the End of the mission in 3D and the 2D debriefing, you can actually fly again and record a second flight, the compiler will compile both files -
I don´t know when those .flt files are created…. hopefully everytime the file reaches the specific filesize… [EDIT]: I confirm it. I used 1Mb (minimun allowed) and it create anew file every minute (in my case… it may vary with other campaigns)
Then… maybe, it will be possible to create a near real time 3D extractor, based on those files, for many purposes: A new AWACS or C2 post could be the easiest to imagine… (I have many others in my weird brain). Still, a picture rate of 60 seconds seems not fast enough at all… We may ask the developers to allow lower ACMI sizes…
Anyway… I see this idea as the worst approach to a 3rd party AWACS/JSTARS software… (but a very simple one)…
In any case: THANKS A LOT one more time, and KEEP IT UP!!!
-
The .flt file is created as soon as you press the “Record button” It’s getting filled for as long as you stay recording (you can see it by letting the game run in the background and pressing F5 when looking at your ACMI folder)
I personally prefer to set the .flt size to 1GB, that way I only have a single file to import in Tacview
Thank you again for your kind words !
-
At this point I was more interesting in the bms dev approach. If they could have it compile the ACMI in the background while you are already able to modify stuff in 2D, then it would be all that we can ask for. Some of your cores will be almost idle anyway, so compiling an ACMI while playing the game should be possible.
-
Ok this is a very good info for the ACMI port to AWACS program… Monster… are you watching here???
So when it saves with your new app what exactly does it do?
Also if I understand it well this means u can run an app to read the file simultaneously or Falcon takes exclusive access to the file while it writes it constantly?
-
Loitho, this is a great achievement in any cases, and probably the beginning of a great adventure keep it up … Everything start like this in the Falcon4 world.
-
Also if I understand it well this means u can run an app to read the file simultaneously or Falcon takes exclusive access to the file while it writes it constantly?
Falcon gets and exclusive WRITE access to the File. So you can actually read the .flt file. But from my understanding of the way the .vhs file is setup, it would have been quite annoying to do something that read the file “on the fly” and convert it in the background.
I’m really interested to see how they will do it in 4.33 U4The only way for me to be able to prevent Falcon from compiling the file is to ask for an FULL Exclusive access to the File every 250 milliseconds (That’s the way recommended by Microsoft. You cannot have a simple blocking function to get exclusive access so I did a loop)
Once the file is locked by my program:
- [ If Falcon BMS tries to read it it won’t work (because FULL exclusive access) and it won’t try to compile it. (This only happen when you leave the 3D world with the ACMI recorder still recording) ]
- While the file is locked, I’m renaming the file into a [timestamp].flt.tmp and unlock it (that way, Falcon won’t compile it as it’s only searching for “*.flt” files)
- Repeat the loop every time a .flt file is created in the folder Or while the “k” key hasn’t been pressed
- Compile every .flt.tmp file in the ACMI folder into a .vhs
- Enjoy the vhs !
-
I would use the flightData.h (i.e shared memory). to get the ACMI light bit. if it’s on ACMI is recording. you would not need to check any other keys/files while the bit is not set.
-
I didn’t do that for 3 reasons :
1. I didn’t know this existed
2. I might be too slow to “steal” the ACMI from Falcon BMS in the following situation :
If you’ve been recording for some time and you get killed you cannot stop the ACMI recording. So, when exiting, Falcon will stop recording and start compiling immediately and this method might be too slow to get a lock on the file to prevent Falcon from reading it.
3. Also, portability: because I started my way up from FreeFalcon code, it might not have existed a this time.
With this, because I’m monitoring the Folder and then the filename, it’s very easy to change if Falcon changes.
-
In the end, this project was still very interesting to me, and I did it all by myself, so eh I’m not even mad ¯_(ツ)_/¯
However, I will add that my program should be compatible with any Falcon version, starting from FreeFalcon, so you can use it for BMS 4.32 if you still use that.
Ah, the moving part was already done. I didn’t see his mod sadly. Mine add the multithreadded compilation time though
Nice initiative and good clear explanation in your first post for non-coders. I hope you will put what you have learnt to good use in other projects in future.
I find it quite impressive that Zipgun, Dunc and now yourself have all come up with different solutions to the same problem. The future is bright
-
Thanks for your initiative and also for the little bit of “project history” you included.
I hope you’re not too frustrated from being ninja’ed by the devs themselves and I’m looking forward to your future BMS contributions very much!
Uwe
-
I find it quite impressive that Zipgun, Dunc and now yourself have all come up with different solutions to the same problem.
Ah, that’s what happen when people get annoyed for too long
I hope you’re not too frustrated from being ninja’ed by the devs themselves and I’m looking forward to your future BMS contributions very much!
As I said in the Discord, it wasn’t about the destination, it was about the travel The project was very interesting (from getting a working compiler from an Old Falcon version to a fully functional and optimized program)
I’m just happy to see so many people reaction, I wasn’t hoping for that much. And I’m thankful for all your nice comments.
Also, I can now say that It’s because of me that the Dev disclosed the Falcon BMS U4 release date (isn’t it ?)
-
Ah, that’s what happen when people get annoyed for too long
As I said in the Discord, it wasn’t about the destination, it was about the travel The project was very interesting (from getting a working compiler from an Old Falcon version to a fully functional and optimized program)
I’m just happy to see so many people reaction, I wasn’t hoping for that much. And I’m thankful for all your nice comments.
Also, I can now say that It’s because of me that the Dev disclosed the Falcon BMS U4 release date (isn’t it ?)
YES IT IS!
-
Also, I can now say that It’s because of me that the Dev disclosed the Falcon BMS U4 release date (isn’t it ?)
You’ve earned your place in BMS history, so much is for certain
All the best, Uwe
-
So is it weird that i now have a tab open to the releases and updates thread and reload every hour after Dunc’s announcement? :D…or am I not alone!
-
So is it weird that i now have a tab open to the releases and updates thread and reload every hour after Dunc’s announcement? :D…or am I not alone!
Click the Whats New button up the top… quicker and easier
-
great now i have two buttons to press just in case! lol
thanks for the tip, have never clicked on that button before, make a lot of things easier
-
Errrrr don’t stress your mouse and keyboard… Till next week… also in some browser is a auto reload functionality… But if many will do it it might crash the server and miss the release announcement. [emoji38]
Στάλθηκε από το MI 5 μου χρησιμοποιώντας Tapatalk