What is MIME type "application/vnd.clonk.c4group"?

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

application/vnd.clonk.c4group is a vendor-specific MIME type. It tells your system that a file is a packaged group used by Clonk software.

This type acts as a container for all game assets. The format bundles resources like images, sound files, scripts, and level data into a single file. Files with this MIME type include formats such as C4D, C4P, C4G, C4F, and C4U.


For more technical details, see the IANA registration.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: application/vnd.clonk.c4group    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="application/vnd.clonk.c4group">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'application/vnd.clonk.c4group');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

What is the purpose of the application/vnd.clonk.c4group MIME type?

This MIME type represents a C4Group package used by the Clonk game engine. It acts as a container (similar to a ZIP archive) to bundle game assets such as graphics, audio, scripts, and scenario data into single files like c4f (scenarios) or c4g (object definitions).

Why is my .c4d file opening in Cinema 4D instead of Clonk?

The .c4d file extension is shared by both Clonk (as a group file) and Maxon Cinema 4D (as a 3D model project). If you have Cinema 4D installed, your operating system will likely prioritize it. You can resolve this by right-clicking the file and selecting Open With to choose the Clonk engine executable.

How do I configure Apache to serve Clonk game files correctly?

To ensure browsers download Clonk packages with the correct application/vnd.clonk.c4group type, add the following line to your .htaccess or httpd.conf file: AddType application/vnd.clonk.c4group .c4d .c4f .c4g .c4p .c4u.

Which file extensions are associated with this MIME type?

This type covers several extensions specific to Clonk modules: c4d (directory/group), c4f (folder/scenario), c4g (group/definitions), c4p (player file), and c4u (update package). You can find more details on specific extensions like c4f or c4g.

How do I add support for Clonk files in Nginx?

In your nginx.conf file, locate the types { ... } block and add the entry: application/vnd.clonk.c4group c4d c4f c4g c4p c4u;. This ensures that when users download scenarios or updates, the browser recognizes the vendor-specific format.

Can I unpack a file with this MIME type using standard archive tools?

Generally, no; application/vnd.clonk.c4group is a proprietary container format optimized for the game engine. While it functions like an archive, you typically need the Clonk software or its dedicated command-line tools (c4group) to pack or unpack the contents.

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 are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.