Home : File Types : NI File

.NI File Extension

File TypeInform 7 Source Code File

DeveloperGraham Nelson
Popularity
3.0 (1 Vote)
CategoryDeveloper Files
FormatText

What is a NI file?

An NI file contains Inform 7 (I7) source code, and possibly 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 I7 or I6 syntax that outlines the rules and behaviors for how a program can be played along with descriptions of playable game objects.

More Information
Screenshot of a .ni file in Microsoft Visual Studio Code 1.51
NI file open in Microsoft Visual Studio Code 1.51

IF programs can be classified as literary video games. They are like reading through a book, but you can play through the narrative by controlling characters with text commands and interacting with the environment in the story. Inform is a free application that provides tools for creating and sharing custom IF stories that other users can experience.

You can define your playable IF program in an NI source code file. Then, you can compile it with Inform 7 into a playable file, such as a .GBLORB or .ZBLORB file.

How do I create an NI file?

You can create an NI file with any text editor. When you save the file, save it with the .ni file extension. You may need to instead save the file as a .TXT file, then manually change the .txt file extension to .ni.

NOTE: NI source code files were introduced with the release of Inform 7, replacing .INF source code files. The files may also be saved as the less common I7 files.

How do I open a NI file?

You can open an NI file with Inform 7, then compile it by selecting "Go!" from the user interface.

Since NI 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. Also, Microsoft Visual Studio Code (multiplatform) is a useful source code editor that includes helpful syntax editing capabilities for viewing and editing NI files.

FREE DOWNLOAD
Open over 400 file formats with File Viewer Plus.

Programs that open NI files

Updated 11/20/2020

About NI Files

Our goal is to help you understand what a file with a *.ni suffix is and how to open it.

The Inform 7 Source Code file type, file format description, and Mac, Windows, and Linux programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.