Jump to content

For all Hornet and Logitech G13 users - G13 as UFC


Recommended Posts

Hello, I made software for DCS: F/A-18C Hornet and Logitech G13, so you can use it as UFC.

 

It displays all UFC information, like scratchpad, five option displays and COMM channels. I also included fuel totaliser to make use of this empty space. Four buttons below display act as COMM knobs. You still need to map keyboard, using Logitech Software and in game options.

 

This software should work with other G-series keyboards with monochrome display.

 

 

 

Here's the link, I hope there's more than just me using G13.

 

https://github.com/specel/specelUFC

 

6euhx3ezfwj21.jpg

Link to comment
Share on other sites

Did you check that you met all requirements listed?

Intel i7-13700KF :: ROG STRIX Z790-A GAMING WIFI D4 :: Corsair Vengeance LPX 64GB ::  MSI RTX 4080  Gaming X Trio  :: VKB Gunfighter MK.III MCG Ultimate :: VPC MongoosT-50 CM3 :: non-VR :: single player :: open beta

Link to comment
Share on other sites

This error indicates, that there are nothing to connect to. You can ignore it, just run DCS and hop into hornet. If you still getting this error, You might have DCS-Bios installed incorrectly. Reposting from reddit detailed intruction:

  • Install https://support.logitech.com/software/lgs
     
  • Copy contents of http://gaming.logitech.com/sdk/LCDSDK_8.57.148.zip into C:\Program Files\Logitech Gaming Software\LCDSDK_8.57.148
     
  • From https://github.com/dcs-bios/dcs-bios copy folder "Scripts" and paste it to C:\Users\XXX\Saved Games\DCS.openbeta\Scripts
     
  • Then, into "export.lua" in C:\Users\XXX\Saved Games\DCS.openbeta\Scripts (you can create it, if it isn't exist) paste line dofile(lfs.writedir()..[[scripts\DCS-BIOS\BIOS.lua]]
     
  • Next: copy contents DCS-BIOS v1.0.zip into C:\Users\XXX\Saved Games\DCS.openbeta\Scripts (merge these folders). This is Hornet-specific extension for dcs-bios.
     
  • Install latest version of python https://www.python.org/downloads/ (not required if using EXE)
     
  • Finally, download my repository (once again), unpack anywhere, I've added run.bat (or ./dist/specelUFC.exe) so you can run it simply. You should see command console window with connection error every two seconds, or with Connected message if your DCS is up and running


Edited by specel
Link to comment
Share on other sites

This error indicates, that there are nothing to connect to. You can ignore it, just run DCS and hop into hornet. If you still getting this error, You might have DCS-Bios installed incorrectly. Reposting from reddit detailed intruction:

  • Install https://support.logitech.com/software/lgs
     
  • Copy contents of http://gaming.logitech.com/sdk/LCDSDK_8.57.148.zip into C:\Program Files\Logitech Gaming Software\LCDSDK_8.57.148
     
  • From https://github.com/dcs-bios/dcs-bios copy folder "Scripts" and paste it to C:\Users\XXX\Saved Games\DCS.openbeta\Scripts
     
  • Then, into "export.lua" in C:\Users\XXX\Saved Games\DCS.openbeta\Scripts (you can create it, if it isn't exist) paste line dofile(lfs.writedir()..[[scripts\DCS-BIOS\BIOS.lua]]
     
  • Next: copy contents DCS-BIOS v1.0.zip into C:\Users\XXX\Saved Games\DCS.openbeta\Scripts (merge these folders). This is Hornet-specific extension for dcs-bios.
     
  • Install latest version of python https://www.python.org/downloads/ (not required if using EXE)
     
  • Finally, download my repository (once again), unpack anywhere, I've added run.bat (or ./dist/specelUFC.exe) so you can run it simply. You should see command console window with connection error every two seconds, or with Connected message if your DCS is up and running

 

Does it matter where the dofile line is added to the export.lua?

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

  • 5 months later...

Hi specel,

 

excellent program. Took me a while to get it running. However, very nice. Just a tiny problem... is there a way that the program recognize that i just ended the mission and started a new one? I always get an error and have to restart manually after I begin a new mission.

 

Cheers LG

Link to comment
Share on other sites

  • 4 weeks later...

Thank you Specel.

 

Is this thread placed wrong sub-forum, by the way?

Intel i7-14700@5.6GHz | MSI RTX4080 Super SuprimX | Corsair V. 32GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

  • 2 weeks later...

Thanks anyway, but i need different data for dcsbios, not rendered part of the svreen. I mean, we could just get bitmap from viewport, parse it into bytes and then put into g13 screen, but i would rather try to export this as bunch of strings - it would be also helpful for cockpit builders using dcsbios. Anyway, some progress has been made, its only matter of time to get this right

Link to comment
Share on other sites

Good news, everyone: https://github.com/specel/specelUFC/releases

 

With new version, you have to update DCSBIOS and replace one of the scripts in it - it's all in readme.md file, as well as on release page.

 

As in current state of DCS F16 DED is not complete, there will be updates of software with new features added. However, it will require DCSBIOS updates, because my software is heavily dependent.

Link to comment
Share on other sites

  • 2 months later...

Hi all G13 users I need you help regarding Logitech G13 and thread

 

I bought used G13 and I can't get it working... Feel dumb, how difficult can be configure G13.

 

I assign keystroke to keys, assign profile to dcs.exe file and make profile active, but nothing happens when I hit keys.

 

Then I discover problem with Logitech Gaming Virtual Bus Enumerator Driver:

 

"Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)

{Bad Image}

%hs is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0x"

 

I have driver version 8.85.75.0 from 2016-06-13.

Window 10 1909 x64

Latest Logitech Gaming Software 9.02.65 from 2018-10-08

 

EDIT:

Solution was turn off Core Isolation Memory Integrity as suggested here:

after reboot driver was running fine!

 

Can you check at your side, and which driver you have and where to find correct driver.


Edited by emc

Take a look my mods :joystick: 

dcs_footer500.jpg

CPU: i7 7700 | GPU: GeForce GTX 1080 8GB DDR5 | Motherboard: ASUSTeK PRIME B250M-A | RAM: 2x16GB DDR4-2400 | Output: Kingston HyperX Cloud II | Edifier C2XD 2.1 | Controlls: Saitek X-56 Rhino | Saitek Flight Rudder Pedals | Saitek Multi/Radio/Switch Panels | Thrustmaster MFD Cougar | Elgato Stream Deck XL | OpenTrack with LaserClip | VoiceAttack with VAICOM Pro plugin

 

Link to comment
Share on other sites

emc, try test it on other computer, it seems to be defective G13. Can you even change something on G13, I mean, in LGS you can change key backlight colors, or try to download profile settings saved in device. If LGS cant see or connect with G13, it might be broken

Link to comment
Share on other sites

emc, try test it on other computer, it seems to be defective G13. Can you even change something on G13, I mean, in LGS you can change key backlight colors, or try to download profile settings saved in device. If LGS cant see or connect with G13, it might be broken

 

Yes everything working fine. Solution is:

turn off Core Isolation Memory Integrity as suggested here:

after reboot driver was running fine!

Take a look my mods :joystick: 

dcs_footer500.jpg

CPU: i7 7700 | GPU: GeForce GTX 1080 8GB DDR5 | Motherboard: ASUSTeK PRIME B250M-A | RAM: 2x16GB DDR4-2400 | Output: Kingston HyperX Cloud II | Edifier C2XD 2.1 | Controlls: Saitek X-56 Rhino | Saitek Flight Rudder Pedals | Saitek Multi/Radio/Switch Panels | Thrustmaster MFD Cougar | Elgato Stream Deck XL | OpenTrack with LaserClip | VoiceAttack with VAICOM Pro plugin

 

Link to comment
Share on other sites

  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...