Boeing 777 panel for FSX SP2/Acceleration. B release 0.9
Copyright 2010 Greg Wilson, JB Panels, all rights reserved.

Do not distribute, decompile, or alter for redistribution.
This panel is offered as freeware for personal use in FSX aircraft.
Do not include this panel with any aircraft packages without prior consent.

This panel has been designed to operate similarly to the 777 prototype, excluding the automation and control provided by the FMC.
The intent is to add systems and functions to the panel in future releases.

Read the "JB777Panel.pdf" for more info.

This panel is for FSX SP2 and FSX ACCELERATION ONLY.
This panel uses a custom throttle controller and internal local variables that will make it incompatible with 3rd party software that attempts to take over control of the FSX autopilot system - such as 3rd party FMC.
The primary gauges in this panel and the autopilot interface are served by a compiled gauge server, b777serv.dll. The gauges and server are designed to operate together as a cohesive system.

Package Contents
----------------
panel folder 		- contains gauges, bitmaps and configuration files for the panel
JB777Panel.pdf		- documentation
vcredist_x86.exe	- visual C++ runtime library installer
jb777loader.dll		- panel state loader
dll.xml			- dynamic load specification
veraFonts		- gauge fonts
 
Installation instructions:
--------------------------

This panel and the panel.cfg files included in this package are configured for the free sky project (aka project opensky) 777 model with rev D FDE.
The model can be downloaded from www.freeskyproject.com.
Several posky 777 packages configured for FSX are available on www.simviation.com.
One such package, the fs9 model with VC, can be found at this link:
http://www.simviation.com/simviation/download.php?ID=7956

Improved performance can be realized by downloading the FSX native 777 model from www.freeskyproject.com.

Start with a 777 model that is assembled and working properly in FSX before attempting to install this panel.

Two system components must be installed correctly in order for the panel to load properly.
MSVCR90.DLL is the visual C++ runtime library. 
Install it by running vcredist_x86.exe included in this package.

Simconnect.dll version 10.0.61259.0 should be installed by the FSX SP2 installer or by FSX Acceleration into the C:\Windows\WinSxS directory. Unfortunately the absense of this module is the most likely cause of panel loading problems as the FSX installer sometimes skips this step. 

If the module isn't correctly installed try to reinstall FSX, SP1 then SP2. If you have FSX delux or Acceleration, and have installed the SDK, a simconnect installer is included in SDK\Core Utilities Kit\SimConnect SDK\lib called "SimConnect.msi" Make sure you have installed the SP2 version of the SDK, then run "SimConnect.msi" to re-install the Simconnect.dll file.

After you have a good, working 777 model, Unzip the panel folder from this package and copy into the panel folder of your aircraft.

The default FSX Boeing 747_400 should be installed in the Airplanes folder as shown below (default installation).

Directory structure:

SimObjects
    |
    +----Airplanes
             |
             +---B747_400
             |      |
             |      +--- Panel
             |
             +---B777
                    |
                    +--- Panel

If installing in the free sky project (project opensky) 777, make the following modifications to the aircraft.cfg file


REPLACE the flight_tuning section with:

[flight_tuning]
cruise_lift_scalar     = 1.00
parasite_drag_scalar   = 0.55	
induced_drag_scalar    = 0.88	
elevator_effectiveness = 1.00		
aileron_effectiveness  = 1.60	
rudder_effectiveness   = 1.00		
pitch_stability        = 1.20
roll_stability         = 1.00
yaw_stability          = 1.00
elevator_trim_effectiveness = 1.00
aileron_trim_effectiveness  = 0.50
rudder_trim_effectiveness   = 1.00



REPLACE the hydraulic_system section with:

[hydraulic_system]
electric_pumps=1
engine_map=1,1,0,0
normal_pressure=3000.000000



Set number of fuel tank selectors to 2:

[fuel]
number_of_tank_selectors= 2



REPLACE the flaps section with:

[flaps.0]      //Inboard Trailing Edge
type             = 1                                    // 1 - tail, 2 - lead
span-outboard    = 0.7                                  // 0.0 .. 1.0
extending-time   = 27                                   // seconds
flaps-position.0 = 0                                    // degrees
flaps-position.1 = 0                                    // degrees
flaps-position.2 = 5                                    // degrees
flaps-position.3 = 15                                   // degrees
flaps-position.4 = 20                                   // degrees
flaps-position.5 = 25                                   // degrees
flaps-position.6 = 30                                   // degrees
damaging-speed   = 260                                  // KIAS
blowout-speed    = 300                                  // KIAS
lift_scalar = 0.50
drag_scalar = 0.95
pitch_scalar= 0.60
system_type = 1                                         //Hydraulic

[flaps.1]    //Outboard Trailing Edge
type             = 1                                    // 1 - tail, 2 - lead
span-outboard    = 0.7                                  // 0.0 .. 1.0
extending-time   = 27                                   // seconds
flaps-position.0 = 0                                    // degrees
flaps-position.1 = 5                                    // degrees
flaps-position.2 = 10                                    // degrees
flaps-position.3 = 15                                   // degrees
flaps-position.4 = 20                                   // degrees
flaps-position.5 = 25                                   // degrees
flaps-position.6 = 30                                   // degrees
damaging-speed   = 260                                  // KIAS
blowout-speed    = 300                                  // KIAS
lift_scalar = 0.44
drag_scalar = 0.50
pitch_scalar= 0.30
system_type = 1                                         //Hydraulic

[flaps.2]     //Inboard Leading Edge Slats
type             = 2                                     // 1 - tail, 2 - lead
span-outboard    = 0.8                                   // 0.0 .. 1.0
extending-time   = 18                                    // seconds
flaps-position.0 = 0                                     // degrees
flaps-position.1 = 4                                     // degrees
flaps-position.2 = 4                                     // degrees
flaps-position.3 = 4                                     // degrees
flaps-position.4 = 8                                     // degrees
flaps-position.5 = 8                                    // degrees
flaps-position.6 = 8                                    // degrees
damaging-speed   = 260                                   // KIAS
blowout-speed    = 300                                   // KIAS
lift_scalar = 0.30
drag_scalar = 0.10
pitch_scalar= 0.10
system_type = 1                                         //Hydraulic



Set the structural deice system to 1 (HEATED LEADING EDGE)

[deice_system]
structural_deice_type=1



REPLACE the autopilot section with:

[autopilot]
autopilot_available= 1
flight_director_available= 1
default_vertical_speed= 0
autothrottle_available= 1
autothrottle_arming_required= 1
autothrottle_takeoff_ga= 0
autothrottle_max_rpm= 105.000
pitch_takeoff_ga= 8.000
use_no_default_pitch = 1 // 0 = Default to current pitch mode, 1 = No default pitch mode.
use_no_default_bank = 1 // 0 = Default to Wing Leveler mode, 1 = No default bank mode.
default_pitch_mode=0
default_bank_mode=0
max_pitch=10.000000
max_pitch_acceleration=0.860000
max_pitch_velocity_lo_alt=2.000000
max_pitch_velocity_hi_alt=0.300000
max_pitch_velocity_lo_alt_breakpoint= 7000.000000
max_pitch_velocity_hi_alt_breakpoint=24000.000000
max_bank=25,20,15,10,5
max_bank_acceleration=1.200000
max_bank_velocity=2.000000
//nav_proportional_control=9.000000
//nav_integrator_control=0.250000
//nav_derivative_control=0.000000
//nav_integrator_boundary=2.500000
//nav_derivative_boundary=0.000000
nav_proportional_control=9.000000
nav_integrator_control=0.250000
nav_derivative_control=0.100000
nav_integrator_boundary=1.000000
nav_derivative_boundary=0.100000
//gs_proportional_control=9.520000
//gs_integrator_control=0.260000
//gs_derivative_control=0.000000
//gs_integrator_boundary=0.700000
//gs_derivative_boundary=0.000000
gs_proportional_control=18.000000
gs_integrator_control=0.500000
gs_derivative_control=0.000000
gs_integrator_boundary=0.700000
gs_derivative_boundary=0.000000
yaw_damper_gain=1.000000



REPLACE the WEIGHT_AND_BALANCE Moments Of Inertia (MOI) values with:

empty_weight_roll_MOI = 5500000.000	
empty_weight_pitch_MOI= 26000000.000	
empty_weight_yaw_MOI  = 20000000.000	
empty_weight_coupled_MOI= 1000.000


REPLACE the Radios section with:

[Radios]
// Radio Type=availiable, standby frequency, has glide slope
Audio.1=1
Com.1=1, 1
Com.2=1, 1
Nav.1=1, 1, 1
Nav.2=1, 1, 0
Adf.1=1
Adf.2=1
Transponder.1=1
Marker.1=1



Install Fonts
-------------

The veraFonts folder included in this package contains "Bitstream Vera Sans Mono" fonts that must be installed into the C:WINDOWS/Fonts directory.

Install the fonts by copying the font files VeraMoBd.ttf, VeraMoBI.ttf, VeraMoIt.ttf, and VeraMono.ttf to the C:WINDOWS/Fonts directory.

If the fonts are not installed properly, the panel will default to the arial font resulting in unaligned checklist text entries.


Loader Installation (Optional)
------------------------------

This panel uses a number of state variables that aren't saved by default when FSX exists or a flight is saved.

In order to save these variables, a panel state loader, jb777loader.DLL is included with this package.
It will facilitate saving and loading the custom panel state information when you use the flight save/load feature of FSX.

Installing the loader involves editing or installing a FSX application file called dll.xml that is used by many payware FSX addons. Care must be taken to ensure the file is not corrupted. If you don't wish to install the loader, the panel will still work, however, it won't be able to reload all of it's state variables and therefore if you load a previously saved flight using the panel, it may not be in the same state as when you saved the flight.

If you wish to install the loader, copy jb777loader.DLL into the FSX\Modules directory. Create the Modules directory if it doesn't exist.

The dll.xml file tells FSX to load the jb777 panel state loader when FSX starts. It contains a <Launch.Addon> section that specifies what to load and where to find it. 

The <Launch.Addon> section that must be added is as follows:

  <Launch.Addon>
    <Name>jb777 Panel Loader</Name> 
    <Disabled>False</Disabled> 
    <Path>Modules\jb777loader.dll</Path> 
  </Launch.Addon>

Many commercial addon installers modify the dll.xml file to add one or more <Launch.Addon> sections.
Make sure you backup the dll.xml before editing it.

dll.xml is in a system folder. You have to enable view of hidden/system folders to see it. (windows explorer tools->folder Options->view "Show hidden files and folders")

If you are running XP, dll.xml is in the following directory:

C:\Documents and Settings\<Your user name>\Application Data\Microsoft\FSX

If you are running Vista or Win7, dll.xml is in the following directory:

C:\Users\<Your user name>\Appdata\Roaming\Microsoft\FSX

If dll.xml exists, make a backup copy of it, then add the <Launch.Addon> section above to it (use notepad or similar text editor). Make sure the last line in dll.xml is:

</SimBase.Document>

If dll.xml doesn't exist, copy dll.xml included in this package into the directory.

The jb777loader.DLL module writes a file named "jb777memfilemap.txt"  into the FSX root directory. If FSX is installed in the default location in the "Programs Files" directory and you are running Vista or Win7, you will have to run FSX in adminstator mode to enable jb777loader.DLL to write the file. 

Panel.cfg Files
---------------
Five panel config files for the Free Sky Project/Posky 777 model are included in the package as follows:

No-VC versions (for FSX 777 model)

1)	panel.2d.cfg 		- for 4:3 aspect ratio displays
2)	Panel.169.2d.cfg  	- for 16:9 (1920x1080) aspect ratio displays

VC versions (for FS9 777 model with VC)

3)	panel.vc.cfg 		- for 4:3 aspect ratio displays
4)	Panel.169.vc.cfg  	- for 16:9 (1920x1080) aspect ratio displays

Default 16:9 no-VC panel for FSX model

5)	panel.cfg

Rename the panel.xx.cfg of your choice to panel.cfg

The panel folder should contain:

Pky_util            --+
Posky777            --+-- posky files
$vc_01.bmp            | (fs9 vc model only)
$vc_02.bmp          --+ (fs9 vc model only)

b777backup.cab      --+
b777backupPFD.cab     |
B777ecu.cab           |
b777eicas.cab         |
b777LowerDisplay.bmp  |
b777main.bmp          |
b777main3_Night.bmp   |
b777main169.bmp       |
b777main169_Night.bmp |
b777mfd.cab           +-- JB 777 Panel files (unzip and copy from this package)
b777newAP.cab         |
b777newFP.cab         |
B777newOverhead.cab   |
B777newPFD.cab        |
b777serv.dll          |
dsp_back.bmp          |
efis_back_day.bmp     |
efis_back_night.bmp   |
overheadBack.bmp      |
overheadBackLower.bmp |
overheadBackTop.bmp   |
Panel.cfg           --+


Enable DLL Execution
--------------------

On the first load of the model, when prompted to run jb777loader.dll, click run.
When prompted if jb777loader.dll is trusted software, click yes.

On the first load of the model, when prompted to run b777serv.dll, click run.
When prompted if b777serv.dll is trusted software, click yes.


Known issues:
-------------

1)	FLCH and VNAV can cause speed and/or VS oscillations under some scenarios. The VS wheel can be used to manually control the climb/decsent rate if this happens. 

2) 	When activating the autothrottle, it will initially drive the throttles up to 90% for a short time before settling to a steady state. This could cause a speed overshoot, or acceleration in opposite direction to set speed. Can be avoided by leaving the autothrottle engaged for the flight duration.

3)	Reloading aircraft during flight with autopilot engaged occasionally results in the autopilot initiallizing in an undefined state.

4) 	Occasional bitmap artifacts appear. Open and close a panel (overhead or gps) to force redraw usually gets rid of the artifacts.

5)	Panel light problems in FSX cause light bitmaps to show when transiton from night to day or when turning off the battery to a dark panel when the panel light switch is on. Turn off the panel light switch to avoid this problem.

6)	Electrical: backup and external power does not power the panel if the battery switch is off.

Please report issues and provide comments and feedback to:
jboing77@gmail.com

NOTE: This is NOT a free sky project panel. DO NOT try to get support for this panel from their website. 
Use the above email for support and feedback.