Binary file editing with n2

There are 2 ways to open a binary file with n2:

  1. On the command line: n2 /b filename
  2. Using the command window (Alt+C): eb filename

You can edit very large binary files with n2 since it only loads a small portion of the file into memory at any one time.  If the binary file you open is currently in use, n2 will open the file for read-only access.  This allows you to still view and search in the file.

When editing binary files, n2 supports multi-level undo and copy / paste.  To make it easy to spot changes, bytes that have been modified since the last time you saved are displayed in red (by default).  You can change the color for modified bytes using Tools->Options->Colors->Modified Binary.

n2_binedit