.I6 File Extension
File TypeInform 6 Source Code File
What is an I6 file?
An I6 file contains Inform 6 (I6) source code that can be compiled into an Interactive Fiction (IF) program by Inform 7, an IDE used to create IF programs. It stores plain text with Unicode UTF-8 encoding in I6 syntax, and may also include Inform 7 (I7) source code. The code in the file outlines the rules and behaviors for how an IF program can be played as well as descriptions of playable game objects.
IF programs feature a narrative that can be played through by typing text commands. You can also interact with objects described in the narrative to alter the environment and affect the narrative. Inform is a free application that enables you to create and share custom IF stories that other users can experience.
Various file extensions have been utilized by Inform for differing versions of source code. For example, .INF files were commonly used before the release of Inform 7, and .NI files and .I7 files were introduced with Inform 7. I6 files are also used by Inform 7, primarily when files contain I6 source code with I7 code also mixed in.
How do I create an I6 file?
You can create an I6 file with any text editor. When you save the file, save it with the .i6 file extension. You may need to instead save the file as a .TXT file, then manually change the .txt file extension to .i6.
How do I open an I6 file?
You can open an I6 file with Inform 7, then compile it by selecting "Go!" from the user interface.
Since I6 files are saved in plain text, you can also open them with a plain text editor, such as Microsoft Notepad (Windows) or Apple TextEdit (macOS), and edit them. You can also use source code editors, such as Microsoft Visual Studio Code (multiplatform), to view and edit I6 files.