06-16-2011, 12:47 PM | #1 |
Join Date: Mar 2010
|
Far Trader Trade Route Generation
Is there any software out there that will help me generate trade routes for sectors/subsectors?
|
06-16-2011, 06:13 PM | #2 |
Join Date: Aug 2004
Location: Vermont
|
Re: Far Trader Trade Route Generation
There is a piece of code on the Traveller Wiki http://traveller.wikia.com/wiki/Nroute.c which will do what you want. It's not very user friendly. The wiki has maps for most of the sectors in the traveller universe. If you do try and use this and run into problems, ping me and I'll do my best to help.
__________________
Thomas Jones-Low: tjoneslow@gmail.com Vehicle Builder Guru and gearhead Librarian at Traveller Wiki Last edited by tjoneslo; 06-16-2011 at 06:13 PM. Reason: spelling |
06-16-2011, 06:19 PM | #3 | |
Join Date: Feb 2005
Location: Berkeley, CA
|
Re: Far Trader Trade Route Generation
Quote:
|
|
06-17-2011, 07:08 AM | #4 |
Join Date: Mar 2010
|
Re: Far Trader Trade Route Generation
Awesome. I'll check it out. Thanks.
The existing maps don't do me any good since I am using my own universe loosely based on stars within 200ly of Earth, flattened to a 2d map. As far as user friendly goes, I don't need it to be. I have decent programming knowledge, and at quick glance it doesn't look super complicated :) |
06-17-2011, 10:27 AM | #5 | |
Join Date: Feb 2005
Location: Berkeley, CA
|
Re: Far Trader Trade Route Generation
Quote:
|
|
06-17-2011, 11:14 AM | #6 | |
Join Date: Mar 2010
|
Re: Far Trader Trade Route Generation
Quote:
The software I used for the star data conveniently displayed in 2d, so I just took screenshots of each sector and overlayed a hex map in Photoshop. I then manually entered the positions in Traveller Universe for the systems in each sector, and exported the raw location data. Then I used an old sector generator I found and rewrote in C++ to generate data for each system, and re-imported the results back to Universe. So now I need to generate trade routes and hopefully your script will help me with the heavy lifting and I can make manual adjustments where needed. |
|
06-24-2011, 09:18 AM | #7 | |
Join Date: Mar 2010
|
Re: Far Trader Trade Route Generation
Quote:
The segmentation fault seems to come after the output "trade routes completed" message that only shows when I specify a sector file that doesn't exist. Otherwise I only get the Segmentation fault message. On another note, does anyone have a sample sector input file? I want to make sure I am constructing them correctly. It sounds like it should look like this: Sol 0 1 Earth 0105 UWPgoeshere A Pb Cp Wa Ri R 413 Im Alpha Centauri 0110 UWPgoeshere A Pb Cp Wa Ri R 413 Im Kal's Landing 0203 UWPgoeshere A Pb Cp Wa Ri R 413 Im ... |
|
06-24-2011, 09:27 AM | #8 | |
Join Date: Mar 2010
|
Re: Far Trader Trade Route Generation
Quote:
I also noticed it was looking for basemap.ps. I changed blankmap.ps to basemap.ps and my error went away. Is that the correct thing to do? It is generating all sorts of files now, but they are all blank, and I am guessing it is related to my input file not being quite right. |
|
06-24-2011, 11:13 PM | #9 |
Join Date: Aug 2004
Location: Vermont
|
Re: Far Trader Trade Route Generation
For examples of the sector data files, check on the Traveller wiki (where you got the source). Almost every sector has a data file and a trade map. Check, for example, Deneb Sector. The links are in the infobox on the right side of the page. Look for the sector data file and trade map links.
Otherwise, it looks like you are missing a line in the header to show where the columns are. There should be a line of what look to be randomly spaced numbers at the top of the file. Nroute uses these to identify where the columns are for important data.
__________________
Thomas Jones-Low: tjoneslow@gmail.com Vehicle Builder Guru and gearhead Librarian at Traveller Wiki |
06-25-2011, 12:36 AM | #10 |
Join Date: Feb 2005
Location: Berkeley, CA
|
Re: Far Trader Trade Route Generation
Which would be idiotic for configuration files designed for the program, but it's designed to parse files in a couple different formats available from other sources.
|
Tags |
far trader, mapping, software, trade routes |
|
|