ArticleslgStudy

computer science

Dark Engine

Dark Engine is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Dark Engine rather than just read about it. In short: The Dark Engine is a game engine for Microsoft Windows developed by Looking Glass Studios. It was used in Thief: The Dark Project (1998), System Shock 2 (1999), and Thief II (2000).

Dark Engine — main illustration
Dark Engine — illustration

Key takeaways

  • Dark Engine belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Dark Engine to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Dark Engine from memory before moving on to harder problems.

Reference excerpt

The Dark Engine is a game engine for Microsoft Windows developed by Looking Glass Studios. It was used in Thief: The Dark Project (1998), System Shock 2 (1999), and Thief II (2000).

Features The Dark Engine's renderer, originally created by Sean Barrett in 1995, supports graphics similar to that of the original Quake, with Unreal-like skybox effects and colored lighting introduced in Thief II. Due to the limited hardware of the time, the Dark Engine was not designed with scalability in mind, and can therefore only display 1024 terrain polygons onscreen at once, as well as various other limits on objects and lights. In terms of textures, the game supports palletized PCX and TGA textures, in powers of two up to 256x256. Textures are grouped in "families" which share the same palette. There is a maximum of 216 textures and independent palettes, excluding 8 animated water textures. The engine does not natively support advanced game scripting, with AI and object behavior being controlled by "Object Script Module" (.OSM) files, which are DLLs that are loaded at runtime. As such, new modules can be written and plugged into the level editor, DromEd, but are limited due to the scope of the functions made available by the core engine. In order to overcome this, editors must resort to complicated Rube Goldberg machine-like effects using a combination of its other systems. For its time, the Dark Engine offered advanced AI and sound features, as well as a powerful object-oriented object system. The designer has full control of sound propagation within the level, and the "artificial intelligence" of the non-player characters (NPCs) allows for three levels of awareness: vague acknowledgement caused by mild visual or auditive disturbances, which only prompts a startled bit of dialogue; definite acknowledgement caused by significant visual or auditive disturbances, which causes the NPC to enter "search mode", and definite acquisition (triggered by visual on the fully lit player, or face-first contact with a player regardless of the light level), prompting a direct attack.

Source code In 2009, a complete copy of the Dark Engine source code was discovered in the possession of an ex-Looking Glass Studios employee who was at the time continuing his work for Eidos Interactive. The code was a complete set of the engine's resources, and included the libraries needed to compile the code. Fans of the Thief and System Shock series subsequently petitioned the publisher to consider releasing the code. In late April 2010, a user on the Dreamcast Talk forum disassembled the contents of a Dreamcast development kit he had purchased. The contents of the kit included, among other things, items pertaining to ports of Thief II and System Shock 2 to that system. By December 2010, it had been discovered by the user and subsequently the greater Looking Glass Studios fan community that a compact disc included with the kit - the contents of which had been uploaded to the Internet - included a second copy of the Dark Engine source, minus the libraries needed to compile the code. In September 2012, a significant unofficial update to the Dark Engine was published anonymously in a French forum, most probably based on the leaked Dreamcast source code. This unofficial patch extended the limits of the engine, introduced support for recent graphics and sound hardware, as well as better support for newer versions of Windows.

DromEd

DromEd is the level editor for the Dark Engine. It was originally used in the design of Thief: The Dark Project, but after a petition from the fan community it was released to the public, as were later versions. There are four different versions of DromEd: for Thief: The Dark Project, for Thief Gold, for Thief II, and lastly for System Shock 2, commonly called "ShockEd." DromEd for Thief: The Dark Project and Thief Gold use the same version of the Dark Engine and therefore can open levels created for each game, although Thief Gold levels may refer to in-game objects that are not found in Thief. Thief II uses a revised version of the Dark Engine, and therefore it is difficult to open levels created for Thief with DromEd for Thief II. ShockEd is not compatible with any Dark Engine games aside from System Shock 2. However, basic level geometry can be moved between editors using a geometry export feature called "multibrush". System Shock 2 levels can be loaded by DromEd 2 with some work. The name of the level editor, DromEd, is a reference to the original project it was designed for — a game based on the Arthurian legend of Camelot — the Camel becoming Dromedary and thence Dromed. DromEd has been used by fans to create hundreds of fan missions for Thief and Thief II, and several missions for System Shock 2.

Games using Dark Engine

See also System Shock Infinite

References

Worked examples

Example 1 — a first encounter with Dark Engine

Start with the simplest possible case. Write down what Dark Engine claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Dark Engine before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Dark Engine ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Dark Engine

In research
Dark Engine appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Dark Engine in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Dark Engine is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1998 software, Thief (series), Video game engines, so understanding it makes those chapters shorter.
In everyday life
Look for Dark Engine outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Dark Engine” →

How to study Dark Engine in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Dark Engine means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Dark Engine out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Dark Engine in simple terms?

The Dark Engine is a game engine for Microsoft Windows developed by Looking Glass Studios. It was used in Thief: The Dark Project (1998), System Shock 2 (1999), and Thief II (2000).

Why does Dark Engine matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Dark Engine?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Dark Engine.

Tags

  • 1998 software
  • Thief (series)
  • Video game engines

Keep exploring