New Route Editor for Open Rails Build routes without msts
#281
Posted 10 October 2015 - 05:30 PM
Also, may I ask something of folks in this thread...? How do you work a .ref file? Not sure how that works, and if there is a guide on that, I would much appreciate that.
#282
Posted 11 October 2015 - 12:03 AM
istvanek, on 10 October 2015 - 02:55 PM, said:
Thanks. You helped me fix critical bug. I forgot to change array type when updating speedpost parser.
New version http://koniec.org/ts...SRE5_v0.606.zip
- fixed bugs
- updated platform & siding properties
----
And question. How many tritems speedpost can have and how to determine it?
Quote
UiD ( 2341 )
Speed_Digit_Tex ( ptsi-signmb1.ace )
Speed_Sign_Shape ( 4 -0.045 2.9 -0.269 0 0.045 2.9 0.269 3.14159 -11.645 2.9 -0.269 0 -11.56 2.9 0.269 3.14159 )
Speed_Text_Size ( 0.32 0.24 0 )
TrItemId ( 0 1336 )
TrItemId ( 0 1337 )
TrItemId ( 0 1338 )
TrItemId ( 0 1339 )
FileName ( ptsi-hmt2m0.s )
Position ( 56.2355 206.093 -788.298 )
QDirection ( 0 0 0 1 )
VDbId ( 4294967295 )
)
Now I load and save only one.
#283
Posted 11 October 2015 - 02:10 AM
Goku, on 11 October 2015 - 12:03 AM, said:
Good to hear :) With 0.606 route loads without problems. Thank you. But now I have another issue. With saving.
With TSRE5 0.606 I deleted one interactive object (siding) and saved. Found no dynamic tracks objects(actually Dynatrax TrackObj in my route) after save (using ORTS Track Viewer). TSRE5 0.606 crashes when loading route after save.
Nothing unexpected found in .w and .tdb files when comparing before and after save files (do not mean that everything is ok) but tsection.dat was nearly completely cleared during save.
.w, .tdb, tsection (before and after) and console window attached
Attached File(s)
-
save.zip (1.14MB)
Number of downloads: 14
#284
Posted 11 October 2015 - 02:23 AM
istvanek, on 11 October 2015 - 02:10 AM, said:
Nothing unexpected found in .w and .tdb files when comparing before and after save files (do not mean that everything is ok) but tsection.dat was nearly completely cleared during save.
It crashes after save because dynamic track sections inside tsection.dat file have index values much lower than 40000. How is it possible and how to deal with it? It ruins my whole knowledge about dynamic tracks.
Quote
SectionCurve ( 0 ) 5724 13 0
)
TrackPath ( 263 2 376 378 )
TrackPath ( 264 3 380 2638 2640 )
Maybe it uses custom global tsection.dat and I need to use TrackSections.length and TrackShapes.length value instead of fixed 40000? It seems like good answer.
Check it and if it is true - send me global tsection.dat. I can't check this idea because I have only '40000' tsection.dat files.
Crash was caused because interactives couldn't find their position on non existing track section. Fixed it.
#285
Posted 11 October 2015 - 03:27 AM
Quote
Well, I've tried every permutation, but blowed if I can figure that acronym out. I must be too innocent. http://www.elvastower.com/forums/public/style_emoticons/default/unknw.gif http://www.elvastower.com/forums/public/style_emoticons/default/book2.gif!??
Cheers Bazza.
#287
Posted 11 October 2015 - 04:12 AM
Goku, on 11 October 2015 - 02:23 AM, said:
Check it and if it is true - send me global tsection.dat. I can't check this idea because I have only '40000' tsection.dat files.
Here it is. But I don't think this one is special. Did you notice that there aren't any MSTS dynamics in this route? All off them were converted to TrackObj using Dynatrax. Maybe this is a problem? Check the .w file.
Attached File(s)
-
tsection.zip (10.3K)
Number of downloads: 19
#288
Posted 11 October 2015 - 04:21 AM
istvanek, on 11 October 2015 - 04:12 AM, said:
Yes - it is special. It has:
TrackSections ( 376
and
TrackShapes ( 263
I was thinking that all tsection.dat files have 40000. I'll fix that.
istvanek, on 11 October 2015 - 04:12 AM, said:
This doesn't matter.
---
I am still waiting for help how to determine number of tritems in speedpost? Is any solution or I have to use List?
Quote
UiD ( 9355 )
Speed_Digit_Tex ( cyfer-black2.ace )
Speed_Sign_Shape ( 2 -0.06 2.094 -0.084 0 0.06 2.094 0.084 3.14159 )
Speed_Text_Size ( 0.23 0.111 0 )
TrItemId ( 0 15822 )
FileName ( hkmPL_5Es.s )
Position ( 858.745 85.7461 -67.2978 )
QDirection ( 0 0.544658 0 0.838658 )
VDbId ( 4294967295 )
StaticDetailLevel ( 0 )
)
Speedpost (
UiD ( 9356 )
Speed_Digit_Tex ( cyfer-black2.ace )
Speed_Sign_Shape ( 2 -0.06 2.094 -0.084 0 0.06 2.094 0.084 3.14159 )
Speed_Text_Size ( 0.23 0.111 0 )
TrItemId ( 0 15823 )
TrItemId ( 0 15824 )
TrItemId ( 0 15825 )
TrItemId ( 0 15826 )
FileName ( hkmPL_6Es.s )
Position ( 980.201 85.7461 -148.089 )
QDirection ( 0 0.471406 0 0.881916 )
VDbId ( 4294967295 )
StaticDetailLevel ( 0 )
)
#289
Posted 11 October 2015 - 04:35 AM
#290
Posted 11 October 2015 - 04:43 AM
istvanek, on 11 October 2015 - 04:35 AM, said:
Probably is. I don't have original version.
Dynamic track issue fixed. I will release update when speedpost tritems will be fixed.
---
Ok - I used vector for tritems in speedpsot.
New version: http://koniec.org/ts...SRE5_v0.607.zip
- fixed dynamic track tsection
- fixed speedpost tritem