• 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 and blankmap.ps

dalthor

SOC-12
I was fiddling around with my Varan sector, and decided to mess with trade routes.

I have an OLD version of nroute.c and blankmap.ps and was able to get it running in Winblows 7. This is the original "gray lines" traderoute mapper, and I had to do some (UGLY) tweaks with ghostscript and gsview to get the gstopdf portion to work.

I also have a source listing for a later version of nroute.c that seems to include color support, and there is a listing for the same on the Traveller Wiki. The problem is that I don't have the relevant version of blankmap.ps, and this code version doesn't work properly with the original blankmap.ps file.

Was there an updated version of blankmap.ps as well as the new nroute.c code? Anybody know where I can get a copy of the latest (lol) versions of nroute.c and blankmap.ps???

Thanks!

Ed
 
Welp, I figured out how to do color routes. I modified my original version of nroute.c and blankmap.ps and am relatively pleased with the results. I'll probably tinker around more, until I'm satisfied.

I must say that figuring out how to use ps2pdf in Winblows was not fun, and it is an awful hack right now; at least it is functional. ;)

I've created a trade file for my Varan (Mikhail) sector, and it is in PDF format. Major routes are green, regular routes are yellow, and minor routes are red. Will try to find G:FT so I know what the nroute is using to create routes.

Now I need to figure out how to add the file to the wiki. I got the link created, but haven't been able to figure out how to upload and link the file.

I'll keep on plugging along...
 
Was there an updated version of blankmap.ps as well as the new nroute.c code? Anybody know where I can get a copy of the latest (lol) versions of nroute.c and blankmap.ps???

The version of nroute.c in the wiki is the latest version. I have a copy of the blankmap.ps and should upload it to the wiki too.

The nroute.c code, at it core, uses the GT:FT WTN/BTN calculations (with minor adjustment on how the pop code is interpreted). It then uses a pretty standard route finding algorithm to generate the routes. It's pretty brute force, but for the data set size we're using (even for all of charted space) it takes less than a minute to do the routes.
 
Back
Top