Jump to content

Il-2 And Touchbuddy


Jabo

Recommended Posts

  • 2. Administrators

In order to setup an android tablet (for the purposes of this guide, a Samsung Galaxy Tab 3) as a button bay, there’s a few things you’re going to need.

 

  1. Firstly (and most importantly) you’ll need a tablet computer (connected to your home wifi network) and a second monitor on your rig. This might not be the deal-breaker it appears at first sight since most modern graphics cards have two outputs and you could pick up a second monitor pretty cheaply on the second-hand market.  The reason you need a second monitor is because you have to display the Touchbuddy panel in order to be able to share it with the tablet. If you have both of these – read on.
     
  2. Now you’re going to need some software. Because I’m essentially a nice person I’ve already uploaded the necessary ones to the Vault. Look in the Utilities section for ‘Touchbuddy Files’. Download and unzip it to a folder and then unzip the files inside (except tightVNC) to their own sub- folders.
     
  3. Install touchbuddy, the touchbuddy toolkit and tightVNC onto your computer and install your VNC app on your tablet

    post-406-0-99723500-1389451542_thumb.png

     
  4. Launch tightVNC and access the server configuration screen by clicking the VNC Server icon in the system tray (down by the clock in the bottom right-hand corner (normally)).
     
  5. Now set the ‘Server’ and ‘Administration’ screens as per the screenshots below. Remember to set the Primary, View-only and Control Interface passwords – They should all be different but it’s up to you.

    post-406-0-94943800-1389450958_thumb.jpg post-406-0-11245500-1389450982_thumb.jpg

     
  6. Now set up VNC on your tablet.  I’m using the Android-VNC-Viewer app so it might look a bit different if you’re using a different app. Here are the fields to fill in;

    (i) A nickname
    (ii) the password (same as the Control Interface one)
    (iii) the IP address of your rig (hover over the TightVNC Service icon on your computer if you need to find it)
    (iv) the port (5900 is the standard one for VNC – I think)
    (v) and a username (this needs to be the administrator account name for the computer) – I’ve blanked this out on the screenshot but it will display the account name in plain text.
    (vi) Set the ‘Color Format’ to 24-bit color (4 bpp)
    (vii) And ‘Force full-screen bitmap to ‘Auto’

    post-406-0-64988900-1389451932_thumb.png

     
  7. If you now click ’Connect’ you should see the computer screen on your tablet. You might need to drag the screen across to see the second monitor.
     
  8. In order to control the mouse pointer on the computer, click the Menu button on the tablet, select ‘Input Mode’ and switch to ‘Mouse Pointer Control Mode’. You’ll also need to make that switch to use Touchbuddy.

    post-406-0-03015000-1389451545_thumb.png

     
  9. Along with the TB software in the 7z file, I’ve also included the profile posted by Snacko (masquerading as WBK) over on the TB forums. The main file is IL2-Series-wbk_2.1.zip, this includes the primary panels and all the switches, buttons and knobs used on the panels. Once extracted, the contents of the folder should be copied into the plugins folder in TB – In my case that is E:\touchbuddy\plugins. There are two further files in the zip, WBKs_Bombsight_Calculator_Plugin_1.1.2.zip and WBKs MSMP_Music_Plugin_3.0.35.zip. I haven’t yet done anything much with these, but instructions for installing them are in the readme’s in the zip files.
     
  10. There’s not much more I can impart at this point. Most of what I have learned had been by reverse engineering Snacko’s panel and asking him questions.  My version of his panel is shown below  but apart from some re-arranging and button removal I haven’t really done much although I plan to add a Nav panel which will enable me to use beacons and access maps etc. This will be going where the empty Flaps panel is at present. I also intend to start work shortly on a new panel for CloD before starting one for BoS.

    post-406-0-63635900-1389489142_thumb.jpg
Link to comment
Share on other sites

  • 1. DDz Quorum

@Snacko - 

 

I have having trouble setting my engine start to F9 and engine selection on F5 through F8, can you advice on the format of the command please to utilize the function keys?

 

At the moment I am just using it on a second monitor with the mouse but I think it makes a great button bay!

 

Salute Sir

 

Regards

Friar

Link to comment
Share on other sites

So you are just editing my IL2 profile or creating your own new profile?  

 

On my profile, if you want the Ignition switch to send the F9 button? 

 

It currently looks like this:

macro_select = predef:I
macro_deselect = {}

 

Change it to this:

macro_select = predef:F9

macro_deselect = {}

 

There are different types of buttons in TB for different effects.  And their names are confusing (not my fault) because Zorlac (the TB programmer) would not listen to me, and gave some buttons confusing type names.  (Ie. the 'hold' button type is not something you should ever hold!  LoL)  But I included a pretty good Help file with the Toolkit that describes everything.

 

For your engine selection the macro would be predef:F5, predef:F6, predef:F7, predef:F8.  The first part of the macro (ie. macro = xxxxx, or macro_select = xxxxx) depends on the type of button you are using for the effect you want (do you want it to change images?  do you want it to reset back to the first image after X secs?  Do you want it to continiously send that key as long as it is held?  ect..)

Link to comment
Share on other sites

  • 1. DDz Quorum

I am keeping your profile and buttons just putting my assignments to them.

I have made the mistake of thinking that the function buttons needed to go in {} i.e {F9} but I see they dont so that will probably have been the issue.

 

Regards

Friar

Link to comment
Share on other sites

TB has a touchbuddy.cfg config file where you can customize lots of the settings.  There is one that will automatically resize the profile to any size you want called Profile Scaling.  So you can make a profile larger that it was originally designed to fit any screen.

Link to comment
Share on other sites

Check the folder where you have the profile.  There should be a backup called *.bak. 

 

Looks like something went wrong when saving.  When something goes wrong after you save, don't save again, or you will loose the good backup.  (hope you didn't)

Link to comment
Share on other sites

  • 2. Administrators

Could be that you've changed the size of your backdrop or one of the buttons. Mine threw up a similar fault yesterday, Got around it by removing the last change and it started working again.

 

Actually, having taken a closer look, it looks like you've got the Flight, Bombing, Radio and Info tabs all on. Not entirely sure how you've managed that but they're all showing in red. That's why you've got all those buttons on top of each other.

Link to comment
Share on other sites

Cool Snacko, I'm thinking for a pit you could mount the phones as needed, and set up multiple TB windows? Then set them with less switches, for the lack of size of the phones. is that possible, if not will look into tablets.

Link to comment
Share on other sites

Yes, I remember guys posting that they have used phones I think.  It seems that the Android OS supports it so it doesn't matter what device...

 

I want a screenshot of your 'redneck' cockpit, with 20 android phones dangling around you!

 

aba6a30e.1.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...