TS2015, SD40-2 crash after editing cabview properties.xml

Post your problems and installation issues here!

TS2015, SD40-2 crash after editing cabview properties.xml

Unread postby awaken1977 » Tue Sep 23, 2014 8:26 am

I tried to edit cabview headout properties in SD40-2

As usually, unpacked .bin with serz utility into .xml

edited these lines:
<CameraLeftOffset>
<cRVector3>
<X d:type="sFloat32" d:alt_encoding="000000C0CCCCF43F" d:precision="string">1.3</X>
<Y d:type="sFloat32" d:alt_encoding="000000C0CCCC0840" d:precision="string">3.1</Y>
<Z d:type="sFloat32" d:alt_encoding="00000000000022C0" d:precision="string">-9</Z>
/cRVector3>
</CameraLeftOffset>
<CameraRightOffset>
<cRVector3>
<X d:type="sFloat32" d:alt_encoding="000000403333F3BF" d:precision="string">-1.2</X>
<Y d:type="sFloat32" d:alt_encoding="0000000000000A40" d:precision="string">3.25</Y>
<Z d:type="sFloat32" d:alt_encoding="0000000000002240" d:precision="string">9</Z>
</cRVector3>
</CameraRightOffset>

I touched only numbers, not everything else.
Loco failed to load.
Also all SD40-2 stopped to work (including UP SD40-2 supplied with Cajon Pass, which I never touched)

I replaced edited cab properties with original, deleted blueprints.pak - problem still exist
Loco won't run neither in scenario nor in quick drive

When I start I see this:

Image

and in 20 seconds or so, sim crashes with dump

Image

content from logmate:


Assets\JL\CP\TemplateRoutes\CPMountaincp.bin appears to contain invalid data
Verify failed:

cDriverInterface.cpp : 1058

Expression: scoreReasonWnd


Verify failed:

cDriverInterface.cpp : 1058

Expression: scoreReasonWnd


Assertion failed

ASSERT(mStartPos.isNearCurrentOrigin());

cCurveStraight::setTangent()

cCurveStraight.cpp : 372
Assertion failed

ASSERT(mStartPos.isNearCurrentOrigin());

cCurveStraight::setTangent()

cCurveStraight.cpp : 372
Trace mdump.cpp : 282 = Dump taken
awaken1977
 
Posts: 335
Joined: Mon Nov 25, 2013 2:40 am

Re: TS2015, SD40-2 crash after editing cabview properties.xml

Unread postby Chacal » Tue Sep 23, 2014 12:27 pm

Not sure these problems are related. Correlation isn't causation.
Logmate says your CP Mountain passes route is broken. Fix this first (verify local files).

The default SD40 is a Kuju RailsimulatorUS asset. It is archived in a .ap file.
Make sure you extract the bin file, convert to xml, edit, save, and then convert to bin again.

It is better to edit bin files using RW-tools, it takes care of the conversion part transparently.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6479
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: TS2015, SD40-2 crash after editing cabview properties.xml

Unread postby awaken1977 » Tue Sep 23, 2014 1:20 pm

I don't use CPMountain, I think it is unrelated. The loco fails to start on any route (particularly Marias, Sherman, NS coal)

I don't see any error messages in the log related to SD40-2 , some missing textures or cabview or sound assets, etc

I edited only RSC\BN SD40 , which is not in ap archive , plain set of .bin files

but UP SD40-2 also stopped to work (I don't see is there is any relation)
awaken1977
 
Posts: 335
Joined: Mon Nov 25, 2013 2:40 am

Re: TS2015, SD40-2 crash after editing cabview properties.xml

Unread postby Chacal » Tue Sep 23, 2014 8:22 pm

Did you recompile the xml file back to a .bin?
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6479
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: TS2015, SD40-2 crash after editing cabview properties.xml

Unread postby awaken1977 » Wed Sep 24, 2014 10:16 am

>Did you recompile the xml file back to a .bin?

yes

I made some research on all SD40 instances I have:

NS SD40-2 LHF - OK
SP SD40-2T (Donner Pass) - OK
CN SD40-2 Widenose - OK
CSX SD40-2 (NY - New Haven) - OK
BN SD40-2 - fail
BNSF SD40-2 - fail (I didn't touch it)

so, I copied SD40-2 Headout Camera.bin from working CSX SD40-2 to Cabview folder in BN and BNSF -
and it still fails
awaken1977
 
Posts: 335
Joined: Mon Nov 25, 2013 2:40 am

Re: TS2015, SD40-2 crash after editing cabview properties.xml

Unread postby Chacal » Wed Sep 24, 2014 10:35 am

Then you have a different problem that has nothing to do with the headout camera.
You should do a local files verification in Steam.
Over the hill and gathering speed
Chacal
Site Admin
 
Posts: 6479
Joined: Tue Jul 05, 2011 1:11 pm
Location: Quebec, Canada

Re: TS2015, SD40-2 crash after editing cabview properties.xml

Unread postby awaken1977 » Thu Sep 25, 2014 11:30 am

I deleted it completely, and reinstalled via "validate cache"
awaken1977
 
Posts: 335
Joined: Mon Nov 25, 2013 2:40 am


Return to Problems and Peculiarities

Who is online

Users browsing this forum: Googlebot and 1 guest