ADVENTURE UNLIMITED

HomeProjectsProduct SupportTestersDH HeronFS Fault FindingHistory
Information on this page updated: August 8 2010

Fault finding in Flight Simulator 2004

Flight Simulator 2004, also known as Flight Simulator 9 or A Century of Flight is an extremely stable product - some issues with the original product were addressed with the upgrade to version 9.1. As a result almost any problem you may experience is likely to be related to one of two things:

  1. hardware issues, such as lack of memory, out of date screen drivers etc
  2. defective add-on features

This section of the web site attempts to put together my experiences and solutions so that anybody with similar problems can use them. They apply strictly to Flight Simulator 2004 installed on Windows XP with SP3 and I cannot comment on behaviour of other combinations.

If you have not downloaded and installed the v9.1 upgrade, you should do so, it is available from Microsoft.

Please note that I do not offer a person-to-person support service. From time to time I may assist people that ask for help through the various forums for Flight Simulator, and I may refer them here. This information is provided for you to use "as is". Always back up your data before attempting any modifications so that you can revert to your original data if you need to. Every process described here can be reversed if it does not solve your problem, or makes things worse, as long as you proceed carefully and sensibly. Don't rush or cut corners.

Some people that ask on forums expect and instant solutions. Sadly, this is rarely possible. With so many possible add-ons and permutations of settings, the possibilities are endless. Only the person with the problem can solve the problem and this may take many hours of painstaking tests. You have to be patient and prepared to put the effort in if you want to trace the problem. The clues below may reduce the time you will need to spend, but they will not do the job for you!

The alternative is, of course, to delete your Flight Simulator installation and install again from scratch, and then reinstall your add-ons. That may or may not solve the problem, of course. But I have never had to resort to this, and with well over 1000 scenery layers and uncountable AI aircraft on my system I do not want to! It really isn't necessary with a carefully managed setup.

Subjects covered below:

Identifying the cause
hungapp failuresdll failures
Windows has run out of available memoryIdentification and elimination of offending files
Tips for keeping your system in good order False rumours

Identifying the cause

Most problems that people ask for are Flight Simulator software crashes. Some people call these Crash To Desktop or CTD, but this is not a good choice of phrase as it is ambiguous. There are two ways the software can "crash" or close down unexpectedly.

  1. when Flight Simulator suddenly vanishes from the screen
    - this is usually caused by a problem external to Flight Simulator, e.g. a screen driver issue
  2. when Flight Simulator freezes, or goes blank, and (sometimes after a delay) shows a message stating
    that Flight Simulator has stopped working

When you get this message - do not just dismiss it as worthless - there is a link for more information on the cause of the problem which is valuable. However, the technical information will be of no use to you (unless you are a software engineer) and there is no point in reporting the issue to Microsoft as a) the problem is unlikely to be caused by their software, but by an add-on, and b) they will not be releasing any further updates to the software.

Software crash information
The first window will look something like this.
Click on the Click here link for more information.

Detailed information on cause of software crash
This will bring up a second window identifying the cause. In this instance it is g3d.dll. This gives a valuable clue as to the cause of your problems. Below you will find each potential failure listed with known causes and fixes.

Back to top of page

hungapp failures

Sometimes Flight Simulator "hangs" when you attempt to start a flight at certain airports.

This is usually caused by faulty scenery, usually at the airport concerned but sometimes at an airport many miles away!

As an example I found I could not start a flight at any airport in the southern half of Africa. By elimination I found this was caused by a scenery of KMAF Midland, in the USA! That scenery included a lot of "exclude" files and I found that by eliminating most of these, the problem was solved. The curious thing is that the scenery itself seemed to work just fine without these files.

Back to top of page

ai_playr.dll failures

These are usually caused by the presence of multiple AFD files with different airport co-ordinates. The crash will often occur when some distance from the airport concerned, when FS attempts to place the aircraft. It is thus sometimes difficult to identify the culprit airport.

Contrary to what is often quoted elsewhere, Flight Simulator works fine with:

Multiple AFD files with differing co-ordinates will cause Flight Simulator to become confused, thinking they are separate airports.

SOLUTION: Use a programme like AFCAD2 or AFX to search for AFD files for that airport and delete unwanted duplicates.

Back to top of page

atc.dll failures

I have never experienced this, but it may be caused by a corrupt voice file as some say it can be fixed by extracting a replacement usenglishbig.gvp or usenglishsmall.gvp file from the installation discs.

If you use Radar Contact or other alternative ATC software you may find the advice at in the AVSIM Forums useful.

Back to top of page

fe.dll failures

Failures attributed to fe.dll are usually caused by bad textures - probably on AI aircraft or possibly in add-on scenery. It can also occur with your own aircraft when viewed from outside, especially if panning around. If caused by an AI aircraft it can be tedious to trace.

Back to top of page

g2d.dll failures

This relates to two-dimensional graphics - usually the panel.

If you cannot load or reload a flight, change your Windows or Flight Simulator screen resolution settings. You can change back later.

Some interesting suggestions gleaned from http://forums.surclaro.com/ftopic6113.html and http://www.forum.aerosoft.com/viewtopic.php?p=89562&sid=808a9c08210d56226ef9595efe54ffae:

To access your BIOS, you usually need to press the Esc or F2 key during boot-up.

Back to top of page

g3d.dll failures

A g3d.dll failure theoretically refers to three-dimensional views, probably scenery, although I have never encountered specific faults of this sort.

Sometimes it is impossible to start at a particular airport - with this error. It seems this is Flight Simulator getting in a knot, rather than a physical problem. It can be resolved by going to another airport, and then loading the desired airport.

Back to top of page

ntdll.dll failures

This one is rather intriguing, because ntdll.dll is not a Flight Simulator file but one belonging to Windows itself. It seems to crop up for a number of reasons.

It can happen when loading an aircraft with reflective textures. You must have RENDER TO TEXTURE in Settings > Display > Hardware turned on, or REFLECTIONS in Settings > Display > Aircraft turned on. Without one of these, this problem will recur with specific aircraft.

This can also occur with AI aircraft with reflections, when the aircraft loads in Flight Simulator some distance before you are likely to see it.

"Render to texture" is hardware-generated reflections for DirectX graphics.

Software crashes credited to ntdll.dll may also relate to multiple AFCAD files with differing co-ordinates - see ai_playr.dll comments. I also encountered this error once with an incompletely created AFD file - it was configured for AI traffic parking but the only runway was closed. Worth checking . . .

Back to top of page

panels.dll failures

If it proves impossible to start Flight Simulator and it credits the problem to panels.dll, Flight Simulator has got itself in a knot with your screen resolution.

Back up and delete the FS9.cfg file - this will cause Flight Simulator to create a new FS9.cfg file with default settings and allow the software to load. The close Flight Simulator and reinstate the original file - Flight Simulator should now run with your original settings.

A panels.dll failure during flight may be caused by add-on cloud textures. Reload the textures in DXT3 format rather than 32-bit or reinstate the original Flight Simulator clouds.

Back to top of page

sim1.dll failures

This failure relates to AI aircraft and, possibly, other user aircraft when in multiplayer mode. It can be a tedious jonb identifying the offending aircraft.

Tip - in the only instance I experienced this, the cause was an AI Mi14 helicopter of the Ukraine Navy which it seems is likely to have been converted from a flyable aircraft.

Back to top of page

symmap.dll failures

If you cannot load a flight and indications that symmap.dll caused the failure, the chances are that something has changed in the area of your default flight. Back up and delete your default flight (usually in C:\My Documents\Flight Simulator Files) and let Flight Simulator load its default settings. Then you can re-create and re-save a personal default flight.

Back to top of page

terrain.dll failures

It will not come as a surprise that these are caused by faulty add-on terrain mesh files. I do not know how/what makes the files faulty but identification and elimination will resolve the fault.

One that I identified that caused this problem on my system was Philippines-phil_mesh_v21.bgl. I also found a large number of FS Terrain files caused this problem, I removed all USA files (the default terrain for the USA is of reasonably good quality, anyway) and Alaska059.bgl.

It is surprising that a payware product gave so much trouble, maybe it was later updated or perhaps it is dependent on hardware configuration.

It seems it can also be caused by an unintentional duplicate installation with two identical mesh files.

I have also experienced some strange results from poorly compiled mesh files - I had a huge, square, 13,000 foot plateau in Tunisia and a deep rift across Colombia. Each was caused by separate free add-on meshes in the Far East!

Back to top of page

user32.dll failures

Failures attributed to user32.dll are usually caused by a gauge which requires a registered version of FSUIPC.dll. FSUIPC is a third-party product which is usually arranged to work with any gauges that interact with it, but the onus for this is with the developer. One that I have encountered is RKG_speed.gau. Unless you wish to pay for the registered version you have no choice but to eliminate the offending gauge from the aircraft's panel.cfg file.

Back to top of page

util.dll failures

This was traced by one FS user to the Reality XP WX500 gauge - solution was to remove the gauge. A search on Google suggests others have experienced system crashes caused by this gauge.

Back to top of page

Windows has run out of available memory

This means exactly that! Often referred to as an OOM error, this means exactly what it says. Most commonly, this occurs towards the end of the flight when near an add-on airport. Flight Simulator thinks it has already loaded quite enough and cannot cope with loading the airport concerned.

Other than removing some sceneries, the only option is to modify Flight Simulator to make better use of your computer's memory (assuming you have it!) by implementing modifications.

SOLUTION: There are two solutions - applying a patch to the FS9.EXE file and modifying your Windows boot-up procedure to make more memory available.

Modifying FS9.EXE: A tool called the 4GB Patch which will modify the base file of any game that gives this problem is available from http://ntcore.com/ (although I'm told it isn't possible for it to access more than 3GB of memory). I have never experienced any such errors since applying this modification.

You may have to re-register some add-on software with complex copy-protection arrangements that works through the fs9.exe file which gets modified with this patch. As far as I know all vendors have arrangements for this - check their forums.

Modifying the boot-up arrangements: A detailed page of changes to implement what is known as the 3GB switch can be found at http://forums.flightsim.com/fswiki/index.php/OOM_Error .

A 64-bit Windows XP installation probably does not need or benefit from the changes.

The jury is out on the effectiveness of these solutions but the truth is that many say it has completely eliminated these frustrating error messages that destroy a flight shortly before completion. Some self-claimed computer experts say it cannot possibly work, others say it needs both the 4GB patch and the 3GB switch to work. The truth is that on both my old and new computer, the 4GB patch has proved the perfect solution on its own, and application of the 3GB switch alongside it caused a lot of pausing and disk-thrashing during use of Flight Simulator in both cases. I recommend using the 4GB patch alone to start with, and see how things go. The patch will make a backup of the original file, so you can easily revert. You can also use the no-CD patch with this.

Back to top of page

Identification and elimination of offending files

In some cases you have to spend a lot of time tracing and eliminating files to find the one (or more) causing problems. There is only one way to do this, there are no short cuts and nobody can do this for you. You just have to grit your teeth for a long, systematic and tedious series of tests.

First, you must be able to identify a situation where the problem repeatedly occurs, and save the situation so that you can keep loading that situation to check if things are fixed. It is a good idea to use autosave.dll by Pete Dowson if you experience problems, which will automatically save your flight at pre-determined intervals. It is a natty utility to have, anyway.

You can even remove specific textures or scenery .bgl files by the same process, to identify the actual file causing the error but in most cases you will probably want to dispose of the add-on aircraft or scenery altogether.

Back to top of page

Tips for keeping your system in good order

Rule No1 - regularly take a good backup of your FS setup. With a bit of luck you will never need to make a full restoration but it is often useful to have it there to restore files from that have been altered for one reason or another.

Rule No2 - avoid installing from auto-installers if possible. Whilst they may appear to make your life easier, they can do quite the opposite. You do not know what is being installed on your system (inside or outside Flight Simulator) - would you let a complete stranger loose on your computer? I know of three instances where an auto-installer has maliciously included a virus or trojan file, and have also come across several seemingly genuine files which have a distinctly adverse affect on your setup, whether this is deliberate I could not say. Quite a few will happily over-write your default files to make their one scenery look more realistic but affecting every other airport in the world.

Most auto-installers give you a choice to install the files outside Flight Simulator but occasionally they ignore the destination directory you choose and still install direct to Flight Simulator, using the route given in the Registry. But you can play that game too - temporarily rename your Flight Simulator 9 folder something else, e.g. Flight Simulator 9 temp . Then you can see what files it will install and decide whether to use the auto-installer or transfer your files manually. With so many lovely freebies to download and install, you really need to be careful.

Rule No3 - don't use Windows' System Restore if you have a problem. It will almost certainly cause more problems than it solves. It is there to be used as a last resort to restore Windows rather than individual software.

Back to top of page

False rumours

Sometimes an unfounded statement will be made, and then get repeated again and again (and are often embellished) until accepted as fact. The following are, to the best of my knowledge, untrue:

So how do you know anything I write here isn't rubbish? You don't! But if you follow my advice and take backups you can't wreck anything permanently.

Back to top of page

 

John Hinson, Potterspury, UK, 2008 - 2010