Howto: Convert .nrg to .iso from the Terminal (OS X)

I’ve seen so many strange solutions for a pretty simple problem.

People are going through all sorts of frustration, just to turn a .nrg (like a CD/DVD burned with “Nero”) made in Windows into a mountable .iso to feed to the image-mounters mouth.

Well here is the drill:

1. Open Terminal.app (Thats just Terminal for those that don’t like complete filenames)

2. Type nrg2iso <source_image.nrg> <destination.iso> and hit enter.

You wish things where that easy eh? Well, it is, but for tasks like this one, at times you need some good’old Unix command-line utilities, not limited to those already included in the Mac OS.

For that we need 2 things. To get, and install these for the first time, there are some minor pain involved, possibly hitting those that hate computers slightly, but I can promise you, if, or when, you discover the possibilities with Mac OS + MacPorts, it will be worth it:

1: Install the Xcode package included on the secondary Mac OS install DVD an “additional installment”.
If you don’t have the DVD with Xcode, or if you want the latest version of Xcode (A superb programming IDE for anything from developing dashboard widgets, iPhone apps to full blown native 64-bit Mac OS apps that uses the latest OpenCL technology, and it’s free as in beer) you will have to register for an Apple Developer Account through the AppleDeveloperConnection, ADC, located about here: (this is where the pain comes in) http://developer.apple.com/mac/

2. After completing the registration and / or the installation of Xcode, install MacPorts from the downloaded installer .dmg.

MacPorts! Head over and install:

http://www.macports.org/install.php

Chose the installer for your version of Mac OS and run the installer.

Then open a Terminal and type in:

sudo port selfupdate -v

Enjoy the incredible ammount of fast flowing gibberish, as MacPorts sets up some RSYNC connections and comparing merchandise.

Then install nrg2iso, that was introduced in this post with the command:

sudo port install nrg2iso

This is a nifty tool written by a guy called G. Kokanosky. It does exactly as it is named:

First enter the source .nrg image you want to convert to a mountable .iso on your Mac, then some name of choice, with the extention .iso, as in:

nrg2iso mydownloaded.nrg myconverted.iso

That’s it.

This may seem like bloaty overkill for this one task, considering that applications exist, that does this without the hassle of installing Xcode and MacPorts.

And, it is absolutely correct. But, it does not give you one tool. It gives YOU the opportunity to MAKE the tools, if you so wish, but more important to begin with, it gives access to a wealth of incredible useful, solid, tested tools that executes a lot faster than a possibly badly written hobby cocoa application downloaded from the net.

Read more at http://www.macports.org/ for information regarding existing tools.

Read about developing for the Mac (ADC is possibly the best programmer community out there) at:

http://developer.apple.com/

Madman (late, weed, sleep… ahem! not that second one!)