[programs/Win32/Flow/Docs/common_head.htm]

Here are some common troubles encountered whilst using Flow:

Questions:

  1. I'm still not sure how everything works
  2. The game does not run! (eg; a fatal error is thrown upon startup)
  3. When I run Flow, the game window and toolbox appear but I don't get any usable graphics
  4. I keep getting the error "Windows cannot create any more DC's"
  5. The game runs really slowly
  6. I have barely any molecules, but the game still runs really slowly

To help you decide if you have a video problem, examine this example screenshot of Flow in action:

Answers:

1. I'm still not sure how everything works

Obviously, try reading the tools guide first. Failing this, there have been four sample game files supplied: Fountain, Quick Start, Shower and ToolsDemo. The name gives a pretty good indication of what's inside. You will find these sample files inside the game's home directory (usually x:\program files\ned Productions\Flow).

2. The game does not run! (eg; a fatal error is thrown upon startup)

Some points:

3. When I run Flow, the game window and toolbox appear but I don't get any usable graphics

Flow always internally uses 256 colour DirectX surfaces as each liquid molecule can be plotted as a single eight bit byte for speed. However, if your desktop is in a non-256 colour mode then Flow must convert this 256 colour surface into a surface with whichever number of colours your desktop uses before it can be displayed.

<techie> Flow does this by retrieving a Windows Display Context (DC) for its eight bit surface from DirectDraw and using Win32 GDI call BltBlt() to plot it. In theory, your graphics card does the conversion for you </techie>

Now as far as the author can make out (this is his first DirectX application), this is legal and is supposed to work as intended. However, it has been found that some video drivers do not support this, and hence nothing or screen corruption appears in Flow's window. Hence you should take the following steps in this order:

  1. Try ticking the option Preferences=>Use GDI Blitting Only.
  2. Download and install the latest drivers for your video card. You can find these at the website of your card's manufacturer (try http://www.drivershq.com/ if you don't know what video card you have)
  3. If it still doesn't work, try switching your display to use 256 colours
  4. If that doesn't work or is undesirable, the only choice remaining is to always use full screen mode. This can be activated from the menu bar or Alt + Enter

On Windows NT 4, some video card drivers refuse to permit access to a 256 colour surface unless the current display is also using 256 colours. Flow checks for this and will alert you if this happens (Flow gives you the choice to temporarily switch to a 256 colour mode).

4. I keep getting the error "Windows cannot create any more DC's"

This error seems to appear at random intervals on some people's machines. The author's machine doesn't have this problem, so it's somewhat hard to know what's going wrong. Try following the same advice as for answer 1

5. The game runs really slowly

Here are a number of tips if the game runs slowly:

6. I have barely any molecules, but the game still runs really slowly

If you have tried all the tips in answer 3, then usually this is a video bottleneck problem. Exactly what might be wrong could be anything, but these may be ideas: