N1MM Logger on Linux

N1MM Logger is popular amateur radio contest logging software designed for Windows. It’s also readily usable on Linux using WINE. While this procedure should work with many other versions and distros, for reference, this N1MM logger on Linux was tested using:

  • Ubuntu 18.04
  • WINE 4.0 (WINE 3.x is fine too)
  • winetricks 20181203
  • Windows 7 (winecfg)

Install

First we setup a 32-bit Windows 7 WINE environment with .NET 4.0, then we install the N1MM logger.

  1. Set WINE to Windows 7 under
   WINEPREFIX=~/.wine_n1mm WINEARCH=win32 winecfg
   

This implicitly creates a new 32-bit Wineprefix. 2. Install .NET 4.0 in WINE 32-bit. It takes about 3-5 minutes, and at a couple points in the install, the progress bar seems to freeze, but the console text keeps scrolling.

   WINEPREFIX=~/.wine_n1mm winetricks dotnet40
   
  1. Download and run N1MM Full Install
   wine N1MM*FullInstaller*.exe
   
  1. Download and run N1MM latest update
   wine N1MM*Update*.exe
   
  1. Start and configure N1MM Logger as per the directions for your particular contest, the binary is at:
   WINEPREFIX=~/.wine_n1mm wine '/home/thin/.wine_n1mm/drive_c/Program Files/N1MM Logger+/N1MMLogger.net.exe'
   

Create a script ~/n1mm.sh containing:

   #!/bin/bash
   
   WINEPREFIX=~/.wine_n1mm wine '/home/thin/.wine_n1mm/drive_c/Program Files/N1MM Logger+/N1MMLogger.net.exe'
   

then

   chmod +x ~/n1mm.sh
   

Run N1MM Logger by simply typing in Terminal:

~/n1mm.sh

Radio control

N1MM can OPTIONALLY interface with your radio to pull out the frequency/mode for the log. You’ll need to map the WINE serial port and then select that COM port in N1MM Logger.

  1. look for the USB ↔ serial adapter before/after plugin with:
   dmesg -w
   
  1. Start the WINE registry editor:
   WINEPREFIX=~/.wine_n1mm wine regedit
   
  1. configure the port. Say your device is seen at /dev/ttyUSB0, and you want it to appear to WINE on COM1. Edit HKEY_LOCAL_MACHINE\Software\Wine\Ports to have a new string entry named COM1 with value /dev/ttyUSB0.
  2. restart WINE:
   wineserver -k
   

then reopen N1MM logger wit the script you created in the installation:

   ~/n1mm.sh
   
  1. verify this setting (but do not edit) by:
   ls ~/.wine_n1mm/dosdevices/com1
   

there should be: com1 -> /dev/ttyUSB0

Notes

Alternatives

At this time, ReactOS 0.4.10 is not able to install N1MM logger. The N1MM Logger install hangs at:

Downloading RGB9RAST_x86.msi

Advanced use

Phil Erickson of MIT Haystack noted that for certain SDRs that use hamlib, you may be able to rewire the output of N1MM into hamlib via socat. Contact him for details on this experimental procedure.