I want to make the android APP which to show viper on map with Bullseye in action.
-
I can get x, y position from falcon BMS’s shared memory with JAVA.
How many feet is the left / bottom of the knee map?
How to get the location of bullseye from saved campaign files?
I tried to figure the position in file with saved files which just bullseye was changed.
I had expect 8 byte. But many byte were diffrent from each other.
I tried with old falcon source code. but i did not even understand what is GridIndex.
-
The BE must be stored in the dtc file. Its an ini file. Not 100% sure . But there r the waypoints so BE must be also among other. BE is waypoint 25 iirc.
sent from my mi5 using Tapatalk
-
The BE must be stored in the dtc file. Its an ini file. Not 100% sure . But there r the waypoints so BE must be also among other. BE is waypoint 25 iirc.
sent from my mi5 using Tapatalk
Thanks. But there is no BullsEye in *.ini file.
When i saved campaigns as name T1 & T2 with Time stoped, nothing changed except Bullseye (only changed),
Other files(*.twx, *.frc, *.his, *.ini) is same, only T1.cam is different from T2.cam. -
Bullseye is stored in the TE/.cam, but retrieving it is somewhat nontrivial, as you need to parse the mission file, extract the campaign info section, decompress it, and then parse that. I have code in Clojure that does all that. Because it’s Clojure you can use it from Java, although it’s not designed as a Java-friendly API. There’s a fair amount of code involved, but here’s one representative function: https://github.com/candera/weathergen/blob/vmti-spike/src/weathergen/falcon/files/mission.cljc#L817