Difference between revisions of "SDK Installation (FSX)"
(→FSX in-game Tools menu) |
(→Still having problems ?) |
||
Line 293: | Line 293: | ||
Vista is giving you the original. | Vista is giving you the original. | ||
− | == Still having problems ? == | + | == Still having problems? == |
− | You can post a request for assistance to the FSDeveloper forums | + | You can post a request for assistance to the FSDeveloper forums but before doing so we need some basic information about your system. |
− | |||
− | but before doing so | ||
− | |||
− | |||
− | |||
Please download [http://www.interkultur.de/gossmann/FSD/ADE-Check.zip Martin Gossman's '''ADE-Checker'''] | Please download [http://www.interkultur.de/gossmann/FSD/ADE-Check.zip Martin Gossman's '''ADE-Checker'''] | ||
− | Run ADE-Checker | + | Run ADE-Checker and it will generate an output about your PC configuration allowing us to identify which/if any components are installed/missing. |
− | |||
− | and it will generate an output about your PC configuration | ||
− | |||
− | allowing us to identify which/if any components are installed/missing. | ||
− | Please save the report and post | + | Please save the report and post your question in the [http://www.fsdeveloper.com/forum/forumdisplay.php?f=111 SDK Installation forum]. |
== Related == | == Related == |
Revision as of 04:53, 8 January 2010
How to install the SDK for FSX/FSXA.
The Software Development Kit (SDK) is a set of development tools which allow you to develop, create or modify content for the simulation.
The majority of the tools are command-line based, but some are accessible via the in-game Tools menu, (not the GUI).
- Print out this page, and work from that.
- Read through thoroughly before commencing installation.
- Ensure you've followed ALL instructions before you request assistance.
Contents
Prerequisites
Availability
- The SDK is available in the FSX Deluxe package only, (not on FSX Standard).
- Purchasers of FSX Standard can obtain the SDK by purchasing and installing FSX Acceleration.
- FSX Deluxe users must as a minimum have the RTM FSX SDK installed before attempting to upgrade to the SDK Service Packs.
- FSX must not be running whilst installing the SDK.
- After editing either fsx.CFG or dll.xml, FSX must be restarted, (they're only read on FSX launch).
.NET 2.0
Several tools require Microsoft .NET Framework Version 2.0 to be installed first.
Download from:
Microsoft Downloads - .NET Framework Version 2.0
After installing .NET 2.0, (and rebooting if required), ensure you then run Windows Update to obtain subsequent patches.
Then reinstall/repair the SDK.
Please note: .NET 3.0 is supplemental to .NET 3.0, it is not a replacement version!
Installation
RTM FSX Users
To install the SDK for FSX RTM:
- FSX must not be running.
- Browse the FSX Deluxe Edition disk 1
- Open the SDK sub-folder
- Double-click the setup.exe
- Tell it where to install
Default installation location is C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK
FSX SP1 users
To install the SDK for FSX SP1:
- Download FSX SDK SP1A
- First install the RTM SDK (see instructions above)
- Install the FSX SDK SP1A that you downloaded
FSX SP1 users
If you have FSX Acceleration Pack do not install SP2, see instructions below for the Acceleration Pack.
To install the SDK for FSX SP2:
- Download FSX SDK SP2
- First install the RTM SDK and SDK SP1A (see instructions above)
- Install the FSX SDK SP2 that you downloaded
FSX Acceleration Pack Users
To install the SDK for FSX Acceleration Pack:
- Insert your Acceleration Pack DVD
- Open the folder called SDK
- First install the RTM SDK and SDK SP1A (see instructions above, SDK SP1A is included on the disk for you ease)
- Install sdk.msi from your disk to install the SDK for the Acceleration Pack
All Users
Do not copy SDK-DLLs into your FSX modules folder, (it's totally unnescessary).
Versions
For both Flight Simulator X and the FSX SDK service packs have been released. It is REQUIRED that you install the version of the SP of SDK that matches the SP you have installed for Flight Simulator X.
Find your installed FSX version in the FSX column, read the matching SDK column/row details.
FSX | ID# | SDK | Availability | Installer | Location |
RTM | 10.0.60905 | RTM | Retail | sdk.msi | FSX RTM disk 1, SDK sub-folder |
SP1 | Discontinued | N/A | Standalone | ||
SP1 | 10.0.61355 (Russian: 10.0.61357) |
SP1A | Download (166Mb) * | fsx_sdk_sp1a.exe | Standalone |
SP2 | 10.0.61472 | SP2 | Download (211Mb) * | sdk.msi | Standalone |
Acceleration | 10.0.61637 | SP2/XPack | Retail | sdk.msi | FSX Acceleration disk, SDK sub-folder |
* May also be available on magazine cover discs.
Documentation
RTM, SP1 and SP1a documentation is supplied in html format, with each folder containing the relevant html file(s).
SP2 documentation is supplied in chm format, as a single compiled html file, fsxsdk.chm. Located by default in C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK
If your SDK is still in HTML format, rather than the Windows Help File format, (CHM), then you've installed SDK SP1a, and not SDK SP2.
Configuration
If you had installed both FSX & SDK to their default locations, as a quick indicator that the SDK is correctly installed, the OPT should now be available from the FSX Tools menu.
If you had installed either FSX or the SDK to a non-default location, you should run configsdk.exe located in the SDK root folder.
N.B. Running configsdk.exe will only correct the registry paths. It will not update/correct the user's dll.xml file, (see FSX in-game Tools menu below).
The Tools menu is accessed from within a flight (not the main GUI).
The only SDK tools available in-game, are the Object placement tool, 3 traffic tools, and the effects tool.
All other tools are run/started from outside the sim GUI. Look in the root of where you'd installed the SDK, or in the start menu for documentation (Start -> All Programs -> Microsoft Games -> Microsoft Flight Simulator X SDK -> Flight Simulator X SDK).
If having correctly followed all the above instructions and the Tools menu is still not displaying, there are three aspects you need to investigate:
- Addons
- dll.xml
- fsx.CFG
All changes must be made with FSX shut down.
Addons
Incorrect addon versions may prevent the Tools menu from loading entirely. You MUST install ALL the appropriate Addon updates (e.g. FSUIPC) to match your SDK Service Pack version. This is important particularly when you upgrade FSX to a newer service pack.
If the Tools menu still doesn't load:
- Remove all addon entries.
- Ensure the MS SDK tools load.
- One by one, re-apply your addons, checking each time to confirm the Tools menu is still present.
dll.xml
If the FSX Tools menu option is still not displaying, you may need to edit dll.xml manually, to:
- include the full paths for the SDK entries.
- set disabled to false
- remove all addon entries.
Any changes will not be reflected till next time you start FSX.
Location
There are several example/backup dll.xml files located in the SDK subfolders, (4 example dll.xml), FSX root folder (default dll.xml backup copy). IGNORE THOSE, they are irrelevant.
There is only one relevant dll.xml and it is located in your %APPDATA% folder, that's the same location as your fsx.cfg. Depending on your operation system you will find it:
OS | dll.xml location |
XP | C:\Documents and Settings\USERNAME\Application Data\Microsoft\FSX\ |
Vista | C:\Users\USERNAME\AppData\Roaming\Microsoft\FSX\ |
Win7 | C:\Users\USERNAME\AppData\Roaming\Microsoft\FSX\ |
Editing
You must use a text editor, e.g. Notepad, or an XML editor. You must not use Word or Wordpad as they will corrupt the file.
Default Installation Location
A relative path e.g.
..\Microsoft Flight Simulator X SDK\SDK\Mission Creation Kit\object_placement.dll
is relative to the FSX default location
C:\Program Files\Microsoft Games\Microsoft Flight Simulator X
Non-Default Installation Location
If either FSX or the SDK is installed to a non-standard location then use a full path (aka absolute path). e.g.
C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Mission Creation Kit\Object_Placement.dll
If you'd installed the SDK to your F: drive, then the full path would be:
F:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Mission Creation Kit\Object_Placement.dll
Disabled
Each of the 3 SDK tools need to be set as follows.
<Disabled>False</Disabled> <ManualLoad>False</ManualLoad>
fsx.CFG
This page is a work-in-progress. Generic message - Please note some detail may possibly be missing or incorrect. |
DRAFT SECTION
Trusted
On initial install of the SDK, then subsequent first FSX run, you are prompted whether to trust/allow each of the 3 SDK in-game tools to run.
Did you ever say no ?
Please open your fsx.cfg in a text editor.
Look for the [Trusted] section find the 3 tools entries, these may appear multiple times, (one for each SDK version).
These are the entries for mine.
C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Mission Creation Kit\Object_Placement.dll.LONGSTRING=1 C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Environment Kit\Traffic Toolbox SDK\traffictoolbox.dll.LONGSTRING=1 C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Environment Kit\Special Effects SDK\visualfxtool.dll.LONGSTRING=1
Where LONGSTRING is a 'meaningless' alphanumeric string.
The final value should be =1
Is it ?
If not, change it to =1
Fire up FSX.
Do the tools now display ?
Vista users
If that doesn't work,
it may possible be that part of your fsx.CFG is corrupted,
(contains an inappropriate character).
Try renaming your fsx.cfg
to fsx_TODAYSDATE.cfg
Fire up FSX,
it'll rebuild the fsx.CFG
and prompt for the required permissions.
The 1's not sticking.
It's because Vista treats all .cfg files as being system files.
It opens a copy, and then saves your edited/changed file to somewhere else, (personal folders).
Next time you open fsx.CFG, Vista is giving you the original.
Still having problems?
You can post a request for assistance to the FSDeveloper forums but before doing so we need some basic information about your system.
Please download Martin Gossman's ADE-Checker
Run ADE-Checker and it will generate an output about your PC configuration allowing us to identify which/if any components are installed/missing.
Please save the report and post your question in the SDK Installation forum.
Related
Internal
SDK (FSX) - Related | |
---|---|
Quick links to related topics - The components of each SDK, with links to the documentation describing how to use it. | |
Core Utilities Kit (FSX) | SimConnect SDK (FSX) · Variables (FSX) · Camera Configuration (FSX) · SimProp (FSX) |
Environment Kit (FSX) | Autogen SDK (FSX) · BGL Compiler SDK (FSX) · Special Effects SDK (FSX) · Terrain SDK (FSX) · Traffic Toolbox SDK (FSX) · Living World SDK (FSX) · Modeling SDK (FSX) · Weather SDK (FSX) |
Mission Creation Kit (FSX) | Object Placement Tool (FSX) · Flight Files (FSX) |
SimObject Creation Kit (FSX) | Cabdir SDK (FSX) · Panels and Gauges SDK (FSX) · SimObject Container SDK (FSX) · Keys - Listing - Default Types (FSXA) |
Acceleration Expansion Pack SDK (FSX) | Catapult/Arrestor Ops · Hoist/Sling Ops · Multiplayer Racing (FSXA) · Key Mapping (FSXA) |
SDK | SDK Installation (FSX) · SDK Toolset (FSX) |
Command Line | Environment Variables |
Click the links to access the topic pages, (Default - Opens in same window). |
External
Placeholder text