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

The .gma 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 .gma Files

GMA files are binary packages designed for Garry's Mod addons. They use the MIME type application/octet-stream to indicate that they store non-text, binary data.

Based on information from FilExt.com, you can learn more at GMA.

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 .gma file?

A .gma file is a compressed archive format specifically used by the sandbox game Garry's Mod. It stands for Garry's Mod Addon and acts as a container for custom content, such as maps, character models, textures, and Lua scripts downloaded from the Steam Workshop.

How do I open or extract a .gma file?

You cannot open these files with standard tools like WinRAR or 7-Zip. To extract the contents, you must use the gmad.exe tool found in the Garry's Mod bin folder, or use a third-party utility like GWTool. Simply dragging the .gma file onto gmad.exe will usually unpack it into a folder.

Where are .gma files located on my PC?

Addons downloaded via the Steam Workshop are typically stored in the Steam library folder under steamapps/workshop/content/4000/ (where 4000 is the ID for Garry's Mod). Legacy addons or manually installed files may be located directly in the garrysmod/addons/ directory.

How do I create a .gma file for my own addon?

Developers create .gma files using the gmad.exe command-line tool included with the game. You must organize your addon content into the correct folder structure and include an addon.json file before running the tool to pack the folder into a binary archive.

Can I convert a .gma file to a .zip file?

There is no direct conversion, but you can achieve this by extracting the .gma file first. Once you have unpacked the contents using gmad.exe or GWTool, you can compress the resulting folders and files into a standard ZIP archive using Windows Explorer or any compression software.

What is the MIME type for .gma files?

GMA files are binary archives and typically utilize the generic MIME type application/octet-stream. This indicates to systems and browsers that the file contains binary data that requires a specific application (Garry's Mod) to process. You can learn more about general binary types at mime-type.com.

Why is my .gma file not loading in the game?

If a manually installed .gma file is not loading, ensure it is placed in the garrysmod/addons/ folder. If you subscribed via Steam Workshop, try verifying the game files or unsubscribing and resubscribing to the addon to force a fresh download, as the file may be corrupted.

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.