Page 1 of 1

Montana HiLine freezes [SIGNAL SCRIPTS]

Unread postPosted: Wed Jun 21, 2023 3:58 pm
by torfmeister
After VNHRR Springfield Line, I'm sorry to report that VNHRR Montana HiLine also has issues now.

Test: Geeps and Grain Career scenario (from scenario pack) freezes on loading (64bit) - RailWorks64.exe does not respond.

Starting "Westbound Manifest", the same issue. It seems the route is not working anymore on 64bit.

So what's the cause at it only seems to affect VNHRR routes?

DTG now have fixed a lot of issues concerning multiple 3rd parties - have the VNHRR issues been reported?

Re: Montana HiLine freezes

Unread postPosted: Wed Jun 21, 2023 7:19 pm
by buzz456
QD is fubar also.

Re: Montana HiLine freezes

Unread postPosted: Fri Jun 23, 2023 1:46 am
by torfmeister
I'll go hunting.

I've already discovered in the past, that some of G-TraX's blueprints were manually copy-pasted and sometimes an ID was given twice - which can lead to a crash. Seems the new core is much stricter now in terms of blueprint structure (can only speculate as I don't have access to the RW source code obviously)

So the search process has two branches: Assets and Route. I can only check assets.

A thing to rule out first would be rolling stock isses - create a new freeroam from scratch without adding any stock and press play - if it works, we can concentrate on the stock (I had already found a typo in the ES44 InputMapper a few years ago). EDIT: Scenario crashes regardless of stock placed, just tested.

Next thing would be to unserz all assets using SerzMaster.

For checking duplicate IDs, which is a hell of work doing manually, I'd need a script wizard who could come up with a PowerShell script, reading each .xml in a specified folder, storing each "ID" tag value and notifying when a duplicate ID is found in the same blueprint. Anyone here who is skilled in scripting?

What I am doing now is installing the version before the route was patched on June 22nd, 2022.

(You can do it yourself: Press Win+R, enter "steam://open/console". Now enter the following:

download_depot 24010 1055338 5233909651527126064

This will download the route in the state of December 2019 in Steam\steamapps\content\app_24010\depot_1055338.)

OK, the 2019 HiLine also crashes. Hmmm. At least we can now rule the route update out as cause of the crash.


I'll take a different approach - first the route folder. Renaming Terrain to Terrain.bak - do this with each folder and check if route doesn't crash. Repeat this with Assets if nothing found, renaming each subfolder to pinpoint the folder where the cause lies.

Re: Montana HiLine freezes

Unread postPosted: Fri Jun 23, 2023 3:06 am
by torfmeister
Progress udpate:

I have pinpointed the issue!

It is the signal scripts in

VNHRR\HiLine\RailNetwork\Signals\BNSFscripts

If you just remove the BNSFscripts folder, the scenarios will load and the crash does not occur. It's also the reason the route loads up in the editor (as scripts are not executed until you press play)

So, who can fix these .out scripts? ricksan? :)

Maybe getting in touch with Steve Dark from DTG will help as he could possibly make them compatible again if he can have the source? (As he did with vR and AP)

Update: Stevens Pass is also affected - please contact DTG! Probably all routes using G-TraX signals are broken atm.

Re: Montana HiLine freezes [SIGNAL SCRIPTS]

Unread postPosted: Fri Jun 23, 2023 7:46 am
by mindenjohn
Good detective work Inspector Torf !!*ok*!!

Re: Montana HiLine freezes [SIGNAL SCRIPTS]

Unread postPosted: Fri Jun 23, 2023 10:12 am
by GreatNortherner
Thank you very much indeed for this painstaking and very helpful analysis!
*!!thnx!!*

On Springfield Line, the issue seems to revolve around couplers and switch stands (neither of which are scripted), so I admit that the Hi-Line signals weren't very high on my list of potential suspects. The HiL and StP signals are closely related however, so in this respect it makes (at least some) sense that both those routes are affected but seemingly not our others, which use a slightly different base script... although in the end all of our signals were built from the good old Cajon Pass scripts.

Cheers,
Michael

Re: Montana HiLine freezes [SIGNAL SCRIPTS]

Unread postPosted: Fri Jun 23, 2023 10:59 am
by petergbw
i can confirm that Springfield, Montana Hi-Line and Stevens Pass crash to desktop when loading any scenario since the last update to 47.8a. But Cajon Pass is working properly.

Greetings
Peter-gbw

Re: Montana HiLine freezes [SIGNAL SCRIPTS]

Unread postPosted: Fri Jun 23, 2023 2:48 pm
by AmericanSteam
I also can confirm this CTD on Stevens Pass, VNHRR Springfield, and Montana Hi Line in 64 bit. Cajon Pass is okay.

I have updated my ticket to DTG as follows: I also can also confirm this CTD on Stevens Pass, VNHRR Springfield, and Montana Hi Line in 64 bit in all drive modes.

Re: Montana HiLine freezes [SIGNAL SCRIPTS]

Unread postPosted: Tue Aug 15, 2023 4:08 am
by bpetit
Huh that' s why my favorite isn't working. I've been tearing my hair out for a couple of hours now.

Re: Montana HiLine freezes [SIGNAL SCRIPTS]

Unread postPosted: Tue Aug 15, 2023 11:20 am
by AmericanSteam
Go here and download and install the patches for the routes you need. https://www.trainsimcommunity.com/mods/c1-train-sim-classic/c13-patches

Re: Montana HiLine freezes [SIGNAL SCRIPTS]

Unread postPosted: Thu Aug 17, 2023 3:02 am
by bpetit
AmericanSteam wrote:-snip-


ah sweet. *!!thnx!!*