This was done by converting the .nrg image to bin + cue, then using CUETools to split the tracks and encode them in flac. All tags come from the .cue, which came from the .nrg (apart from the CUETools Database tags).