This could be how to get plane telemetry for Ace Combat 7

10 months ago by Beko Pharm to c/diysimulators

Wohoo. I'm getting cockpit telemetry of Ace Combat 7 in LUA.

Edit: There be demo video now: https://makertube.net/w/cbXJAveVgVTGVEi58akVTA

Starting poking around UE4SS mod for Ace Combat and slammed rocks together for 2 hours and it started chirping altitude, speed and health πŸ€“

Just a proof of concept so far but this looks promising.

bekopharm 3 points 10 months ago

More proof of concept. I found some pre-compiled lua socket lib (could not for my life generate a static cross compiled version using mingw from Linux that would actually load) and managed to sideload it with UE4SS where I can now raise a UDP (or TCP) socket and rapid fire a demo event with a timestamp. Doesn't even sweat with messages every ~250ms so I guess that works.

Somehow the message segmentation doesn't work though and I have to take care of this manually and reassemble the message later. That was quite frustrating. Not sure if this is a πŸ› in the DLL that was fixed later or not but… good enough 🀷

I also managed to assemble some cockpit and target telemetry before but I still have quite some trouble finding the right time to access the actual player plane. When I try to read this to early it crashes and won't recover. In theory I can use hooks for this but I never get notified when objects that should be of interest are created. I may be doing something wrong here. Ah well, another day πŸ€“

path: 0 21237188, hotness: undefined, score: 3, children: 1
bekopharm 2 points 10 months ago

Success!

Figured out how to detect if the player is actually in the game. Happily spewing cockpit telemetry to the UDP socket firehose style!

path: 0 21237188 21243618, hotness: undefined, score: 2, children: 0
diysimulators
diysimulators

@discuss.tchncs.de

login for more options
650
90
1

Discussion about diy simulator related projects.

Examples are simrigs, OpenFFBoard, OSW, motion systems, button plates, cockpits...

Show and discuss your simulators and peripherals here

go to feed...