Beta Release: GPT (cockpit texture extraction, remote cockpit control, shm mirror)
-
Hello,
All work fine until i plug 2 usb samsumg u70 on my pc, the Displays Transmitter still waiting for bms, no found that was started.
with the 2 Samsung u70 pluged only work if i have enable “Cockpit Displays to External Windows”.Tx
Sorry no clue what could be the problem. Unless you accidentally removed the export configuration from bms.cfg.
Do you have some buddies to help you with configuring GPT?GPT should NOT in any way require “Cockpit Displays to External Windows”.
-
All works fine without the u70.
With the u70 “Displays Transmitter” not found that falcon bms is running.
With old gpt version i don’t have problems with the u70.
-
Just to confirm, I use GPT with 2 small side monitors for MFD powered by 2 vid cards on the same PC and do not enable the BMS “Cockpit Displays….” Must be something with your individual setup. Win 7-64, NVidia GTX 760, BMS 4.33. Very difficult to assist remotely, though, beyond the obvious. I start the Displays Transmitter, then Displays Receiver, then BMS.
-
Samsung u70 are usb.
I test gpt with a extra monitor conected to video card and all works fine.I think that is something with resolution that make that gpt not found the bms when i plug the u70.
In old gpt version there are this;
<shm_tex_w>1200</shm_tex_w>
<shm_tex_h>1200</shm_tex_h>
In new version is someway to force this and not search for the game -
Sorry if i ask something that has been already wrote, but if so i cannot find it
Anyway i am looking for a way to extract mfd and instruments to a windows tablet and using its touchscreen for issuing key commands.
With MFDE the instruments and MFD extraction works good, but there is no way to send keystrokes to the main rig running Falcon.
Is there a way to do that with this program?I would like to try it, but only if i can do this -
Samsung u70 are usb.
I test gpt with a extra monitor conected to video card and all works fine.I think that is something with resolution that make that gpt not found the bms when i plug the u70.
In old gpt version there are this;
<shm_tex_w>1200</shm_tex_w>
<shm_tex_h>1200</shm_tex_h>
In new version is someway to force this and not search for the gameCheck the displaysreceiver config. You’ll want to edit the target positions and sizes of displays. The source doesn’t matter.
-
Sorry if i ask something that has been already wrote, but if so i cannot find it
Anyway i am looking for a way to extract mfd and instruments to a windows tablet and using its touchscreen for issuing key commands.
With MFDE the instruments and MFD extraction works good, but there is no way to send keystrokes to the main rig running Falcon.
Is there a way to do that with this program?I would like to try it, but only if i can do thisGPT only works on PCs unfortunately.
-
GPT only works on PCs unfortunately.
yes i know…my tablet is windows so it is a pc and i already managed to showbl instruments on it with your program. what i am asking is how to use mfd and cockpit keys sending the callbacks to my main pc running falcon…thanks
-
yes i know…my tablet is windows so it is a pc and i already managed to showbl instruments on it with your program. what i am asking is how to use mfd and cockpit keys sending the callbacks to my main pc running falcon…thanks
Well GPT only handles forwarding of keystrokes and display of mfd textures. GPT does NOT display or create any mfd buttons or kesytrokes - That you need other software for. I personally use Helios for switches and Thrustmaster f16 mfd buttons.
You could write your own keystrokes generator and send signals to GPT keyboard receiver. If you got the programming skills…
Check https://github.com/gigurra/gpt for the protocol. Might switch that to ZMQ in the future instead of my own hack. Essentially just json data right now over a custom (mnet) message layer. -
I’m still getting lag using these new versions This is on a gigabit LAN. Oftentimes if I hit a button, such as SWAP, it’ll take a few seconds before it shows up on the Client.
On previous versions (those for 4.32), I could get good results even when the Client was on WiFi. Any tips on reducing lag? Any settings that would affect this besides max_hz and jpeg quality? (for example, the old version has a max_kbps variable).
thanks.
-
I’m still getting lag using these new versions This is on a gigabit LAN. Oftentimes if I hit a button, such as SWAP, it’ll take a few seconds before it shows up on the Client.
On previous versions (those for 4.32), I could get good results even when the Client was on WiFi. Any tips on reducing lag? Any settings that would affect this besides max_hz and jpeg quality? (for example, the old version has a max_kbps variable).
thanks.
The delay is caused by the slave not being as fast as the game PC. That means the game pc is producing more mfd frames/images than the slave can render. Download 0.3.3 and set the max fps setting for the displaystransmitter in the cfg to something lower. There should be absolutely zero delay between the game and the slave displays. Well, in the order one frame time (< 30 ms worst case).
The slave code hasn’t changed at all in 0.3 so the same issue must have existed previously as well… Probably something else you have that has changed - or maybe you had the maxfps parameter set back then.
Note that in 0.3.0 the fps limiter was broken and that created a lot of lag for a lot of people.
0.3.1 and newer has this fixed. -
Well GPT only handles forwarding of keystrokes and display of mfd textures. GPT does NOT display or create any mfd buttons or kesytrokes - That you need other software for. I personally use Helios for switches and Thrustmaster f16 mfd buttons.
You could write your own keystrokes generator and send signals to GPT keyboard receiver. If you got the programming skills…
Check https://github.com/gigurra/gpt for the protocol. Might switch that to ZMQ in the future instead of my own hack. Essentially just json data right now over a custom (mnet) message layer.But you use Helios over network?Or with the same PC?Maybe i could configure helios send the actual keystrokes(changing the falcon keyfile in order to have and your software intercept it and then forward it to the receiver that is listening on the main Pc?
-
G’day Gigurra,
Is there any chance you would create additional exports for GPT?
Now that the Backup UHF panel is useable it would be great to have the UHF Preset channel and UHF Frequency exported to use with Helios panels.
Thanks for your time and efforts,
- Bear
-
G’day Gigurra,
Is there any chance you would create additional exports for GPT?
Now that the Backup UHF panel is useable it would be great to have the UHF Preset channel and UHF Frequency exported to use with Helios panels.
Thanks for your time and efforts,
- Bear
GPT just forwards whatever shared memory sections it has configured.
For example FlightData.h in the BMS directory lists 3:extern OSBData cockpitOSBData; // “FalconSharedOsbMemoryArea”
extern FlightData cockpitFlightData; // “FalconSharedMemoryArea”
extern FlightData2 cockpitFlightData2; // “FalconSharedMemoryArea2”If you know of other areas that BMS has added - then yes we can add those to GPT as well
In fact - GPT doesn’t even care if the data is from BMS or any other application. Just specify the names of the shared memory sections you wish to export in gpt_shmtransmitter.json.For example the default configuration file lists 3 areas:
{ "__t": "9kM", "shms": [ "FalconSharedOsbMemoryArea", "FalconSharedMemoryArea", "FalconSharedMemoryArea2" ], "targets": [ { "ip": "GUSTAF23", "port": 8053 } ], "frameRate": 50.0 }
-
But you use Helios over network?Or with the same PC?Maybe i could configure helios send the actual keystrokes(changing the falcon keyfile in order to have and your software intercept it and then forward it to the receiver that is listening on the main Pc?
Helios is unaware if it’s running locally or if it’s running on a remote slave. It gets data from shared memory areas and sends its output as emulated keystroks. However execution of helios is windows only afaik (might be different now that .net is becoming more open - perhaps it will work with mono?).
Regardless the win32 APIs wont (-> the keystrokes wont), so it’s kind of pointless. Bottom line was that if you’re a developer and want to create an application that can create keystrokes even on the game pc from a remote PC, I can help you how you may communicate with the gpt-keyreceiver.
-
G’day GiGurra,
Yes 4.33 now includes ‘int BupUhfFreq’ and ‘int BupUhfPreset’ in FlightData.h within the FlightData2 class and I can see these values using the BMSFlightData.exe, but I don’t know how to create a window to display these values.
I’m currently looking into the source for both Helios and GPT, but I have no prior experience in coding so it will take some time to understand what I’m looking at.
Thanks,
- Bear
-
Gigurra, i need your help, i don’t know if i am doing something wrong or missing something, i will explain the situation:
I have a main PC running Falcon BMS, then i have a Windows tablet(as i told in previous posts) with windows 10 pro installed on it (so it is a tablet only in his form factor consider it as a second pc with a touch screen).
I would like to use my tablet as touch screen control using helios and mfd extractor.
Then in order to send the keystrokes to Falcon i was trying to use your key tramsitter/receiver but the problem is that in the sim every keypress is doubled, for example if i press Left MFD key 20, in AA radar page i see the radar range go up twice (from 20nm to 80nm for example). I thought that my own helios profile was the problem, so i tried with ICE one, but i had the some problem. I thought i could have been touch screen seen also as a mouse click, so i disabled the mouse device in windows control panel hardware settings (on the tablet pc) but nothing changed.
So i don’t know anymore how to do, i don’t know if the problem is in helios, the key receiver/trasmitter or something in my settings.
Could you please help me in troubleshooting? -
sorry I think i solved it. i had to disable double-clicking. thanks anyway
-
G’day GiGurra,
Yes 4.33 now includes ‘int BupUhfFreq’ and ‘int BupUhfPreset’ in FlightData.h within the FlightData2 class and I can see these values using the BMSFlightData.exe, but I don’t know how to create a window to display these values.
I’m currently looking into the source for both Helios and GPT, but I have no prior experience in coding so it will take some time to understand what I’m looking at.
Thanks,
- Bear
Oh but that has been added to an already existing SHM.
So GPT is already transmitting it. Now it’s just up to whatever avionics/gauge software you use to actually display it.
GPT doesn’t do this. GPT only makes sure the information to use by gauge software is available on the slave pc. -
sorry I think i solved it. i had to disable double-clicking. thanks anyway
Vincent_dimicco, I’m running into the exact same thing. I’m using the pre-built MFD’s and set all the OSB buttons to the corresponding mapping in my key file. I get the double-click behavior on all the buttons. Where did you disable the double-clicking?