• Welcome to the new COTI server. We've moved the Citizens to a new server. Please let us know in the COTI Website issue forum if you find any problems.
  • We, the systems administration staff, apologize for this unexpected outage of the boards. We have resolved the root cause of the problem and there should be no further disruptions.

nroute.c

drkem99

SOC-8
I'm trying to use nroute.c on my Mac to generate trade maps for the Mongoose Traveller sectors. I have a .sec file with the sector data, and I have modified the header according to the nroute.c page in the Traveller wiki. I can even get the code from the wiki to compile, but the program crashes when run. (Noises of extreme frustration.) My unix-fu is not strong enough to interpret the crash report in order to modify the code.

Does anyone have a newer version of the nroute.c code or any expertise in running the program? I have several questions that are probably best handled by email outside the forum, but I will post a solution here if I find one.

Thanks,

Kem
 
Update. I have been successful using the program with some minor modifications of the current instructions on a Mac running OS X 10.7.3. Warning: you will need at least a low level of unix-fu.

You will need to install ghostwriter (or some other package with ps2pdf) using terminal prior to using the nroute program. Once that is done:

(1) Copy the most recent nroute.c code from the Traveller wiki, paste it into a text file, and rename the file nroute.c. Create a folder called nroute on the desktop and put the file in it.
(2) Repeat the process to download and create Basemap.ps from the wiki. Put it into the nroute folder.
(3) Create an empty subfolder called sec in nroute.
(4) Using any text editor, copy and modify the copy of your .sec files according to the instructions in the comments at the top of nroute.c (Follow the instructions exactly!) Put your modified .sec file(s) in the nroute folder (not the sec subfolder).
(5) Using terminal, change to the nroute directory: cd ~/Desktop/nroute
(6) Using terminal, compile the program by typing: gcc nroute.c -o nroute
(7) Using terminal, run the program by typing: ~/Desktop/nroute/nroute yoursectorfile.sec

The program should be able to process many adjoining sectors if you modify the .sec files properly; you can use multiple .sec file names as the arguments for nroute in line 7 above.

Good luck! My unix-fu is weak, but I would be happy to help troubleshoot if you have issues.
 
Back
Top