Elvas Tower: New Route Editor for Open Rails - Elvas Tower

Jump to content

  • 208 Pages +
  • « First
  • 24
  • 25
  • 26
  • 27
  • 28
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

New Route Editor for Open Rails Build routes without msts Rate Topic: -----

#251 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 09 October 2015 - 08:49 AM

 disc, on 09 October 2015 - 06:30 AM, said:

Other two hungarian routes are crash the editor at load (these were working in version 0.50).


Try fixed version: http://koniec.org/ts...SRE5_v0.601.zip

#252 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 09 October 2015 - 09:11 AM

Hey guys.

Goku, I'm converting now my ProTrain Halle Erfurt (PT_HE) to DB Tracks so I'm using your editor as viewer. Both 'write' and 'writeTDB' are set to 'false'.

With v.0.6 I'm able to open route and view options for some interactives (sidings, platforms, simply signals). When I'm trying to view main signal options, I'm getting info 'not suported'. Same when trying to select track or road.

With v.0.601 I'm unable to load route at all. Here is a console window screen shot.

Attached File  0601.JPG (110.56K)
Number of downloads: 10

#253 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 09 October 2015 - 09:17 AM

 istvanek, on 09 October 2015 - 09:11 AM, said:

With v.0.6 I'm able to open route and view options for some interactives (sidings, platforms, simply signals). When I'm trying to view main signal options, I'm getting info 'not suported'. Same when trying to select track or road.

With v.0.601 I'm unable to load route at all. Here is a console window screen shot.

That is interesting. In v0.601 I only 'fixed' broken speedpost parser. Now all my routes works so I can't do anything more. Maybe can you send me your route? It could be without TEXTURES folder if it is too big.

#254 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,424
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 09 October 2015 - 09:32 AM

 Goku, on 09 October 2015 - 07:44 AM, said:

I was thinking that in TDB arrays always have the same length. But here sometimes is 2 and sometimes 3 ..
I can fix it in five minutes but now I am thinking if there is more things like this?


Or 1 value, actually.
Here's the info :

  • The first value is the 'flags', that's always there.
  • If the speedpost is a "Speed Resume" item, there are no further values.
  • Otherwise, the 2nd value is speed / milepost position (as applicable).
  • If flag "show number" is set, there is a third value which is the number which is to be shown.


EDIT : OOPS :blush: - wrong, I forgot the angle value which is the last value.
So there's 2, 3 or even 4 values :

  • Flags
  • OPTIONAL : speedpost or mileage - not set if item is speed resume.
  • OPTIONAL : number to be shown - only if flag "show number" is set.
  • Angle value


Regards,
Rob Roeterdink

#255 User is offline   disc 

  • Foreman Of Engines
  • Group: Private - Open Rails Developer
  • Posts: 818
  • Joined: 07-October 12
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 09 October 2015 - 10:14 AM

 Goku, on 09 October 2015 - 06:37 AM, said:

Default routes have not supported compressed world .w files.

Does .trk file has the same name as route folder? If no - you have answer why it is not visible.
route is visible if this is true:
file.setFileName(Game::root+"/routes/"+dir+"/"+dir+".trk");
return file.exists();


Can you show me where can I download one? Or at least show me console log.


That route that does not appeared have different trk name. I've changed it, now it appears in list, however it may have compressed .w files, as only the TDB data and the terrain appears.

One of the routes that crashed the editor works now. Other is also working after i updated the route to latest version.

#256 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 09 October 2015 - 10:23 AM

 disc, on 09 October 2015 - 10:14 AM, said:

But the other still not. I'll try to give a link.

Route inside the link you gave works ok.

#257 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 09 October 2015 - 10:26 AM

View PostGoku, on 09 October 2015 - 09:17 AM, said:

In v0.601 I only 'fixed' broken speedpost parser.


I've installed PT_HE again form CD. 0.601 is still unable to open it and crashes. 0.60 opens it without problems.

I've sent You PM.

#258 User is offline   disc 

  • Foreman Of Engines
  • Group: Private - Open Rails Developer
  • Posts: 818
  • Joined: 07-October 12
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 09 October 2015 - 10:35 AM

View PostGoku, on 09 October 2015 - 10:23 AM, said:

Route inside the link you gave works ok.


You were fast, i've linked wrongly the working route, but the other one is working too after route update. BTW will the compressed files supported, or should be decompressed before edit?

#259 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 09 October 2015 - 10:40 AM

Compressed .w files probably will not be supported. Any route except KUJU routes uses them?

Another question. How many tritems LevelCr can have?
Currently my editor saves only two, so if you save route with LevelCr as below it will be broken.
New version fixed it. http://koniec.org/ts...SRE5_v0.602.zip

	LevelCr (
		UiD ( 1796 )
		LevelCrParameters ( 10 20 )
		CrashProbability ( 0 )
		LevelCrData ( 00000000 4 )
		LevelCrTiming ( 15 10 4 )
		TrItemId ( 0 87 )
		TrItemId ( 0 88 )
		TrItemId ( 0 89 )
		TrItemId ( 0 90 )
		TrItemId ( 1 106 )
		TrItemId ( 1 107 )
		TrItemId ( 1 108 )
		TrItemId ( 1 109 )
		FileName ( semafor.s )
		Position ( 458.392 3.37853 -1006.44 )
		QDirection ( 0 -0.412707 0 0.910864 )
		VDbId ( 4294967295 )
	)


Edit. OK - i see it's number in LevelCrData[1].

#260 User is offline   disc 

  • Foreman Of Engines
  • Group: Private - Open Rails Developer
  • Posts: 818
  • Joined: 07-October 12
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 09 October 2015 - 10:49 AM

View PostGoku, on 09 October 2015 - 10:40 AM, said:

Compressed .w files probably will not be supported. Any route except KUJU routes uses them?


It seems yes. One hungarian route uses it.

  • 208 Pages +
  • « First
  • 24
  • 25
  • 26
  • 27
  • 28
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users