Falcon BMS Forum
    • Register
    • Login
    • Search
    • Categories
    • Unread
    • Recent
    • Unsolved
    • Popular
    • Website
    • Wiki
    • Discord

    I want to make the android APP which to show viper on map with Bullseye in action.

    Community Mods & Tools
    3
    4
    280
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      belcowin last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • Arty
        Arty last edited by

        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

        HOT LISTalt text

        System Specs:

        i7-2600K @ 4.8 Ghz WaterCooled / 16GB Ram. 128GB SSD/1TB SSD / GTX980Ti 6GB DDR5 / HOTAS COUGAR. TrackIR 4 / 3x24" Mon. (res:5760x1200) / Cougar MFD's / Wheel Pedals / Win 10 64 bit.

        alt text

        B 1 Reply Last reply Reply Quote 0
        • B
          belcowin @Arty last edited by

          @Arty:

          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.

          Tyrant 1 Reply Last reply Reply Quote 0
          • Tyrant
            Tyrant @belcowin last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            41
            Online

            10.7k
            Users

            21.1k
            Topics

            349.2k
            Posts

            Benchmark Sims - All rights reserved ©