Page 5 of 5

Re: SFR Mainline v2...WOW !

Posted: Fri Jan 20, 2017 9:58 pm
by gptech
jp92214 wrote: Could someone point me in the direction of a tutorial or written instructions on what markers (if any) to use to get other locations to show in the "Set Location".
You don't need to add any markers, as long as there are some at or near to where you want to start of course, as the list of available locations is taken from the RouteMarkers\<list of locations>.dcsv file the route looks at. This file is referenced by a suitably named .bin file usually in the same folder, which itself is referenced in the route's RouteProperties.xml file--usually right at the top so you don't have to look too hard.

Once you know what, and where you can open this .dcsv file with Notepad (or any test editor) and simple copy and paste an entry then edit it to point to a new location in the route.---so...if the .dcsv file looks like:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<cCSVArray xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0" d:id="1239932">
	<CSVItem>
		<cCSVItem d:id="2">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.23947</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">51.20486</Y>
			<Name d:type="cDeltaString">Swansea</Name>
		</cCSVItem>
	</CSVItem>
</cCSVArray>
you'd copy

Code: Select all

		<cCSVItem d:id="2">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.23947</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">51.20486</Y>
			<Name d:type="cDeltaString">Swansea</Name>
		</cCSVItem>
and paste it in to give:

Code: Select all

]<?xml version="1.0" encoding="utf-8"?>
<cCSVArray xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0" d:id="1239932">
	<CSVItem>
		<cCSVItem d:id="2">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.23947</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">51.20486</Y>
			<Name d:type="cDeltaString">Swansea</Name>
		</cCSVItem>
		<cCSVItem d:id="2">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.23947</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">51.20486</Y>
			<Name d:type="cDeltaString">Swansea</Name>
		</cCSVItem>
	</CSVItem>
</cCSVArray>
Then you'd edit it to make more sense....

Code: Select all

]<?xml version="1.0" encoding="utf-8"?>
<cCSVArray xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0" d:id="1239932">
	<CSVItem>
		<cCSVItem d:id="2">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.23947</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">51.20486</Y>
			<Name d:type="cDeltaString">Swansea</Name>
		</cCSVItem>
		<cCSVItem d:id="3">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.99999</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">10.20486</Y>
			<Name d:type="cDeltaString">Somewhere that's not Swansea</Name>
		</cCSVItem>
	</CSVItem>
</cCSVArray>
The numerical values you edit are the latitude and longtitude values of each location you wish to add, so 10 minutes in the route editor armed with a pen and notepad lets you make a note of what's what as you fly about the route and take the values from the compass at the top of the screen.

Obviously if the route is sharing a .dscv file with another route (WSoL??) you're better off pointing it to it's own unique list.

Re: SFR Mainline v2...WOW !

Posted: Sat Jan 21, 2017 12:22 pm
by jp92214
gptech wrote:
jp92214 wrote: Could someone point me in the direction of a tutorial or written instructions on what markers (if any) to use to get other locations to show in the "Set Location".
You don't need to add any markers, as long as there are some at or near to where you want to start of course, as the list of available locations is taken from the RouteMarkers\<list of locations>.dcsv file the route looks at. This file is referenced by a suitably named .bin file usually in the same folder, which itself is referenced in the route's RouteProperties.xml file--usually right at the top so you don't have to look too hard.

Once you know what, and where you can open this .dcsv file with Notepad (or any test editor) and simple copy and paste an entry then edit it to point to a new location in the route.---so...if the .dcsv file looks like:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<cCSVArray xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0" d:id="1239932">
	<CSVItem>
		<cCSVItem d:id="2">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.23947</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">51.20486</Y>
			<Name d:type="cDeltaString">Swansea</Name>
		</cCSVItem>
	</CSVItem>
</cCSVArray>
you'd copy

Code: Select all

		<cCSVItem d:id="2">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.23947</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">51.20486</Y>
			<Name d:type="cDeltaString">Swansea</Name>
		</cCSVItem>
and paste it in to give:

Code: Select all

]<?xml version="1.0" encoding="utf-8"?>
<cCSVArray xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0" d:id="1239932">
	<CSVItem>
		<cCSVItem d:id="2">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.23947</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">51.20486</Y>
			<Name d:type="cDeltaString">Swansea</Name>
		</cCSVItem>
		<cCSVItem d:id="2">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.23947</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">51.20486</Y>
			<Name d:type="cDeltaString">Swansea</Name>
		</cCSVItem>
	</CSVItem>
</cCSVArray>
Then you'd edit it to make more sense....

Code: Select all

]<?xml version="1.0" encoding="utf-8"?>
<cCSVArray xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0" d:id="1239932">
	<CSVItem>
		<cCSVItem d:id="2">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.23947</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">51.20486</Y>
			<Name d:type="cDeltaString">Swansea</Name>
		</cCSVItem>
		<cCSVItem d:id="3">
			<X d:type="sFloat32" d:alt_encoding="000000A07B16DDBF" d:precision="string">0.99999</X>
			<Y d:type="sFloat32" d:alt_encoding="000000407BB84940" d:precision="string">10.20486</Y>
			<Name d:type="cDeltaString">Somewhere that's not Swansea</Name>
		</cCSVItem>
	</CSVItem>
</cCSVArray>
The numerical values you edit are the latitude and longtitude values of each location you wish to add, so 10 minutes in the route editor armed with a pen and notepad lets you make a note of what's what as you fly about the route and take the values from the compass at the top of the screen.

Obviously if the route is sharing a .dscv file with another route (WSoL??) you're better off pointing it to it's own unique list.
Hi Gary.
Thanks for the info, I think I understand it. I will play around with a clone of the route in case I make a total hash of it.

Re: SFR Mainline v2...WOW !

Posted: Sat Jan 21, 2017 9:51 pm
by gptech
jp92214 wrote:I think I understand it
In all honesty I made it look complicated by waffling....basically it's just a list of lat/long coordinates and a name for each pair--OK, written in a particular format, but once you see that you're just editing one value with another for each of the 3 bits of data that define a location.