.DEC File Extension
File Type 1Declaration File
What is a DEC file?
A DEC file is a text-based declaration file used by ADL (Application Development Language) programs. It contains global variables and constants that may be referenced by other files within a programming project.
DEC files are typically saved in the EDK II Declaration (DEC) format. EDK II is a development code base used to create Unified Extensible Firmware Interface (UEFI) drivers, firmware images, and applications. The purpose of the DEC format is to assist in the building of EDK components and EDK II modules and create UEFI applications and firmware images.
Programs that open DEC files
File Type 2Magic: The Gathering Online Deck File
.DEC File Association 2
A DEC file contains a card deck for Magic: The Gathering Online (MTGO), an online card-playing game. It stores a collection of cards that make up a playable deck, which includes the number of cards and the names of each card in the deck. DEC files may also contain the names of sideboard cards and notes.
DEC files are saved in plain text, with each line beginning with the number of cards followed by the name of the card. Some lines may also begin with SB:, which indicates that they are sideboard cards, or //, which indicates a note.
Since the files are saved in plain text, you can easily create, modify, and share playable decks. You can open and view DEC files with any text editor, such as Notepad, WordPad, and TextEdit.
However, you should only modify and save DEC files with plain text editors to avoid saving extra formatting information, which cannot be read. Also, you may have to change the file extension of a deck saved using a text editor from .txt to .dec.
NOTE: Playable decks may also be saved as .DEK files.