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

Jump to content

  • 208 Pages +
  • « First
  • 174
  • 175
  • 176
  • 177
  • 178
  • 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: -----

#1751 User is offline   Goku 

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

Posted 22 October 2017 - 04:29 AM

View PostCsantucci, on 21 October 2017 - 11:23 PM, said:

3) standard route USA2, at editor start I select siding Columbia Falls - Siding 1, click on Jump and get a crash.

Funny thing that it crashes during Terrain loading (.t file error) and I don't remember that I was changing anything here. Github shows last change 9 months ago.

#1752 User is offline   Goku 

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

Posted 22 October 2017 - 04:53 AM

Ok, I found what is wrong here and why it crashes TSRE but not OR.

Answer is here: http://www.elvastowe...post__p__190254

Quote

OR thinks that inside this above array are 8 different materials but there are only 4. MSTS splits the array for two.
Fix was easy. I just split the array as MSTS does it. And join on save.


It turns out it's not always the case. In some really, really rare situations terrain path is using alpha terrain shader directly and it causes TSRE crash, because it is out of bounds terrain shader array size.

I fixed it by checking if shader id for terrain path is higher than shader count, if it is higher, it is assumed that it is aplha shader and replaced with correspondent detail shader.

#1753 User is offline   Goku 

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

Posted 22 October 2017 - 05:44 AM

View PostCsantucci, on 21 October 2017 - 11:23 PM, said:

1) If I select a short consist (loco + 8 cars), select "Place consist" and click on the external, short siding, the consist is placed in the middle siding and not in the external one.
5) standard route USA2, I select siding Bison Siding. If I try to place it on the external, short siding the, the consist is place in the middle siding and not in the external one (like case 1).

Fixed. Activity consist position doesn't have Y value, so I was replacing it by 0. It turns out that it doesn't work good for huge track heigts and distance function returned wrong results. Now proper height is used instead of 0.

#1754 User is offline   Goku 

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

Posted 22 October 2017 - 05:51 AM

New version: http://koniec.org/ts...RE5_v0.6925.exe

0.6925

- some bug fixes.
- now you can customize main window layout. Add this line to settings.txt:
mainWindowLayout = W
Available options:
PWT - default
TWP, PTW, WTP etc
W - if you use this option, tools will be in separate windows.

View PostCsantucci, on 21 October 2017 - 11:23 PM, said:

2) If, without selecting "Place consist", I select the same short consist and click on the external, short siding, I get a crash.
4) apparently problem 2 is widespread. I was able to repeat it also on USA1, Blackfoot siding.

Don't understand what you did here.

#1755 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 22 October 2017 - 06:13 AM

View PostGoku, on 22 October 2017 - 05:51 AM, said:

Don't understand what you did here.

Neither I, because I didn't find a precise sequence causing it... will try again.
Thank you for the new version.

#1756 User is offline   motor1 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,877
  • Joined: 21-December 14
  • Gender:Male
  • Location:Northeast Oregon
  • Simulator:Microsoft Train Simulator
  • Country:

Posted 22 October 2017 - 08:14 AM

Goku, the routes can be downloaded at trainsim.com.

#1757 User is offline   Goku 

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

Posted 22 October 2017 - 08:22 AM

Try with 0.6925 first.

#1758 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 22 October 2017 - 12:24 PM

Sequence to get the crash:
Open standard route USA2
go to Blackfoot siding
create activity testcrash
select Place Consist, select a short consist and locate it on a siding.
right mouse button click, select select; with left mouse button select the consist, and delete it with the button at the left of the window.
Now click with the left mouse button on the siding near the one where you deleted the consist: crash.

#1759 User is offline   Goku 

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

Posted 22 October 2017 - 01:15 PM

Ok, I see the problem is delete button, it always crash TSRE. Fixed in next version.
Delete key works ok.

#1760 User is offline   Goku 

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

Posted 22 October 2017 - 01:27 PM

New version: http://koniec.org/ts...RE5_v0.6926.exe

0.6926

- fixed app crash when Delete Button for Activity Object is used.

  • 208 Pages +
  • « First
  • 174
  • 175
  • 176
  • 177
  • 178
  • 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