Which MIME types are related to file extension ".dem"?

The .dem file extension is associated with 1 MIME types:

application/octet-stream.

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

About .dem Files

DEM files are binary files used to store demo or replay data from games built on the Build engine.
They capture game sessions by recording events and commands rather than full video streams.

Based on information from FilExt.com, these files are not meant for direct editing. Special game software is required to view or play them.

Relationship between file extension and MIME type

A file extension is a suffix at the end of a filename that indicates what type of file it is. File extensions help both users and operating systems identify what application should be used to open the file.

File extensions are typically separated from the filename by a period (dot) and consist of 2-4 characters, though they can be longer. For example, in the filename "document.pdf", ".pdf" is the file extension.

File extensions are closely related to MIME types, as they both serve to identify the format of a file. However, while MIME types are used primarily by web browsers and servers, file extensions are used by operating systems and applications.

Associated MIME types

application/octet-stream

FAQs

What is a .dem file?

A .dem file is a game replay file used by various First-Person Shooter games, such as those based on the Build engine (e.g., Duke Nukem 3D) or the Source engine. It contains recorded game events, player coordinates, and inputs rather than actual video and audio data.

How do I play a .dem file?

You must open the file using the specific game that created it. For Build engine games, this is often done via the command line (e.g., game.exe /p demo.dem) or by placing the file in the game's directory and accessing the 'Demos' menu. Media players like VLC cannot play these files.

Can I convert a .dem file to MP4 or AVI?

Direct conversion is not possible because the file does not contain video frames. To convert a demo to a video format, you must play the demo inside the game and use screen recording software (such as OBS Studio or NVIDIA ShadowPlay) to capture the playback.

Why does my media player say the file format is invalid?

Media players expect video codecs, but .dem files are binary data specific to a game engine. When downloaded, these files are often identified by the generic application/octet-stream MIME type, indicating they are raw binary data rather than media.

Are all .dem files compatible with each other?

No, the .dem extension is used by multiple unrelated games, including Quake, Counter-Strike, and Shadow Warrior. A demo recorded in one game engine will not load in another; you must identify the specific game version used to record the file.

How can I edit a .dem file?

Editing .dem files is difficult and requires specialized tools created by the game's community, such as a demo parser or hex editor. Because the file relies on precise sequences of game ticks, manually editing the file in a text editor will likely corrupt it and make it unplayable.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why can one extension have multiple MIME types?

Different programs and historical usage may assign various MIME identifiers to the same file format. Listing them together helps maintain compatibility across tools.