Jump to content

Android app for UH1 instruments (question)


Recommended Posts

Posted (edited)

Hey folks, wondering if anyone is using this app? https://play.google.com/store/apps/d...man.panel.uh1h It shows the UH1 instruments on your android device. YAY! but I am not sure how to install, as I installed the sim to my E: drive. Here are the instructions for installation. I was hoping someone that is familiar with the file structure of the sim, mods, and such could clear up a couple of questions for me.

 

Description

Basic instrument panel for UH-1H that connected via export.lua to DCS World.

Initial beta

Please use following telemetryUH1H.lua file for export from DCS:

https://docs.google.com/file/d/0B7tS...it?usp=sharing

Instructions:

1. Create directory C:\Users\[username]\Saved Games\DCS\Scripts\. [username] is your windows user name. For me, should this be "E:\Users\[username]\Saved Games\DCS\Scripts\"?

2. Copy export.lua from C:\Program Files\Eagle Dynamics\DCS World\Scripts to C:\Users\[username]\Saved Games\DCS\Scripts\ Is this just a copy and paste of the .lua as a file? Or do I need to copy the text into the Scripts folder?

3. Copy the above telemetryUH1H.lua file into C:\Users\[username]\Saved Games\DCS\Scripts\ directory. I believe answer to 1 will answer this one

4. Add the folowing line at the end in export.lua to:

dofile( "C:\\Users\\[username]\\Saved Games\\DCS\\Scripts\\telemetryUH1H.lua "). Please note using double slashes.Only use use one telemetry file that is for aircraft you are going to fly. Either telemetry.lua for P-51D or telemetryUH1H.lua, not both is this everything from after the colon or just what is in the quotation marks? and just cut and paste the appropriate section at the very end of export.lua?

5. Change [username] to your user name

6. Edit telemetryUH1H.lua and change IP to Android table IP. You can check it in the android setting view for WiFi connection. Please try to ping your device from the command line

7. Start the application on the device

 

I emailed the author, but am impatient to play with this so was hoping someone here could help.....lol. Any help is greatly appreciated, looking at the gauges on my tablet will be a heck of a lot easier than looking for them when as little tiny gauges on my screen. In case this is not the right location for my question, I made this same post in the UH1-H section. If that is a bad thing, just delete the one you think will get the least exposure please.

Edited by llama
added a question

Asrock z68 Extreme4Gen3

Intel i5-2500K

8GB ram

EVGA GTX 770 4GB

Creative Recon3d Fatality Champion

HDD's

320 GB Maxtor 7200RPM (OS and misc system files)

1 TB Hitachi 7200 RPM (games and music, storage)

64 GB Sandisk u100 SSD (Star Wars and DCS world 1.2.7)

Trackir 4

Saitek X65F:joystick:

Saitek X52 (Use flightstick for helo and WWII Sims, but X65 throttle)

CH Pro pedals

Thrustmaster MFD's

Logitech X5500 Speakers

Sennheiser PC360 Headphones

Win 7 Home Premium (64 Bit)

Posted

I'm using the app, and except for a couple issues it's working without a hitch (the compass shows the wrong value and my lua script to activate the export isn't working in missions with selectable aircraft).

 

The answer to your question is you paste exactly what follows after the colon, modified for your directory structure:

 

dofile( "C:\\Users\\[username]\\Saved Games\\DCS\\Scripts\\telemetryUH1H.lua ")

  • 4 weeks later...
Posted (edited)

Thnks for the response =) so like this?

This is copy and paste from line 1044 to end of document

 

-- you can export render targets via shared memory interface

-- using next functions

-- LoSetSharedTexture(name) -- register texture with name "name" to export

-- LoRemoveSharedTexture(name) -- copy texture with name "name" to named shared memory area "name"

-- LoUpdateSharedTexture(name) -- unregister texture

-- texture exported like Windows BMP file

-- --------------------------------

-- |BITMAPFILEHEADER |

-- |BITMAPINFOHEADER |

-- |bits |

-- --------------------------------

-- sample textures : "mfd0" - full SHKVAL screen

-- "mfd1" - ABRIS map screen

-- "mfd2" - not used

-- "mfd3" - not used

-- "mirrors" - mirrors

--dofile( "C:\\Users\\Sean\\Saved Games\\DCS\\Scripts\\telemetryUH1H.lua ")

 

and to change IP to tablet IP, where do I insert? In the quotation marks or after 6000?

y_init = socket.protect(function()

-- export telemetry to instrumeny panel on android

host2, port2 = "10.0.0.3", 6000 -- replace IP with android device ip

udp = socket.try(socket.udp())

 

Thanks again for the help, and sorry about my lack of knowledge for lua stuff =)

Edited by llama

Asrock z68 Extreme4Gen3

Intel i5-2500K

8GB ram

EVGA GTX 770 4GB

Creative Recon3d Fatality Champion

HDD's

320 GB Maxtor 7200RPM (OS and misc system files)

1 TB Hitachi 7200 RPM (games and music, storage)

64 GB Sandisk u100 SSD (Star Wars and DCS world 1.2.7)

Trackir 4

Saitek X65F:joystick:

Saitek X52 (Use flightstick for helo and WWII Sims, but X65 throttle)

CH Pro pedals

Thrustmaster MFD's

Logitech X5500 Speakers

Sennheiser PC360 Headphones

Win 7 Home Premium (64 Bit)

Posted

Dammit...sometimes I make stuff way too complicated. I got it working though! A few things I learned.

1. The IP goes between the quotation marks

2. When pasting the dofile section, don't worry about putting the spaces or dashes in front just because it makes it look like the rest of the document. Go to the last command in the document, press enter, paste.

3. Quit being a sissy, just back up the original files and then start tinkering. The worst thing that can happen is you have to go to rule 4 ;)

and last but not least,

4. Don't be afraid to load the defaults and start it over.

 

Thanks for the help guys =) Hopefully soon I will see you in the skies :D

Asrock z68 Extreme4Gen3

Intel i5-2500K

8GB ram

EVGA GTX 770 4GB

Creative Recon3d Fatality Champion

HDD's

320 GB Maxtor 7200RPM (OS and misc system files)

1 TB Hitachi 7200 RPM (games and music, storage)

64 GB Sandisk u100 SSD (Star Wars and DCS world 1.2.7)

Trackir 4

Saitek X65F:joystick:

Saitek X52 (Use flightstick for helo and WWII Sims, but X65 throttle)

CH Pro pedals

Thrustmaster MFD's

Logitech X5500 Speakers

Sennheiser PC360 Headphones

Win 7 Home Premium (64 Bit)

  • 2 weeks later...
Posted

Not that I know of, unless helios can do it

Asrock z68 Extreme4Gen3

Intel i5-2500K

8GB ram

EVGA GTX 770 4GB

Creative Recon3d Fatality Champion

HDD's

320 GB Maxtor 7200RPM (OS and misc system files)

1 TB Hitachi 7200 RPM (games and music, storage)

64 GB Sandisk u100 SSD (Star Wars and DCS world 1.2.7)

Trackir 4

Saitek X65F:joystick:

Saitek X52 (Use flightstick for helo and WWII Sims, but X65 throttle)

CH Pro pedals

Thrustmaster MFD's

Logitech X5500 Speakers

Sennheiser PC360 Headphones

Win 7 Home Premium (64 Bit)

  • Recently Browsing   0 members

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