nord stage 4

program file decoder for Mac OS

Preparing to use ns4decode


↩ Return to home page

This only needs to be done once

These steps only need to be done once, right after you download ns4decode_pkg.zip:

This needs to be done at the start of each session

ns4decode doesn't have a graphical user interface. Using ns4decode is a matter of using a Mac OS Terminal window (a standard utility in Mac OS) to write commands that tell ns4decode what you want to do.

The setup steps below prepare the Terminal window so that it knows where to find ns4decode on your computer. This only needs to be done once as long as that Terminal window remains open. If you close the Terminal window, then you'll need to do this again when you open another one.

Now Terminal should understand that whenever you type ns4decode, you're really referring to the app ns4decode.py that lives in the ns4decode_pkg folder. To confirm this, type the command

    ns4decode

in the Terminal window and press return. If it says something that starts with "This is ns4decode", then you're ready to start using ns4decode as described in the usage instructions. If it says something like "command not found", then try steps 2-4 again, being especially careful about the details in step 2.

Optional

There is a way to configure your computer so that you don't need to repeat the setup steps every time you close and re-open Terminal. It involves copying the "alias" command that you formed in steps 2-3 above and pasting it into a special file called .zshrc (or .bashrc, depending on which Mac OS you're using) in your home folder. That's a standard unix trick, so I won't review the instructions here, but you can probably find instructions in these search results: making a permanent alias in Mac OS.