STFReader silently ignores file name with closing quotation mark only (was: MLT D&H Route causes crash during application of sand)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
Fix Released
|
Low
|
cjakeman |
Bug Description
Open Rails is starting...
Argument 0 = -start
Argument 1 = C:\1MSTS\
Version = 0.9.0.1648
Build = 0.0.4915.25550 (2013-06-16 14:11:40Z)
Logfile = C:\Users\Andrew Desktop\
-------
Alerter = False
AvatarURL = http://
BrakePipeChargi
BreakCouplers = False
Cab2DStretch = 0
CarVibratingLevel = (registry) 1
DataLogger = False
DistantMountains = False
DistantMountain
DistantMountain
DoubleWire = False
DynamicShadows = False
FullScreen = (registry) True
GraduatedRelease = False
LODViewingExtention = False
Logging = True
LoggingFilename = OpenRailsLog.txt
LoggingPath = C:\Users\Andrew Desktop\Desktop
Menu_Selection = (registry) C:\1MSTS, C:\1MSTS\
MSTSBINSound = (registry) True
Multiplayer = False
Multiplayer_Host = (registry)
Multiplayer_Port = 30000
Multiplayer_
Multiplayer_User = (registry)
MultiplayerClient = False
MultiplayerServer = False
Precipitation = (registry) True
Profiling = False
ProfilingFrameCount = 0
ProfilingTime = 0
ReplayPauseBefo
ReplayPauseBefo
ScreenshotPath = C:\Users\Andrew Desktop\
ShaderModel = 0
ShadowAllShapes = False
ShadowMapBlur = True
ShadowMapCount = 4
ShadowMapDistance = 0
ShadowMapResolution = 1024
ShowAvatar = False
ShowErrorDialogs = True
SoundDetailLevel = 5
SoundVolumePercent = 100
SuperElevationGauge = 1435
SuperElevationM
SuppressConfirm
TrainLights = (registry) True
UseAdvancedAdhesion = True
UseSuperElevation = 0
VerticalSync = False
ViewDispatcher = False
ViewingDistance = 2000
ViewingFOV = 45
WindowGlass = False
WindowPosition_
WindowPosition_
WindowPosition_
WindowPosition_
WindowPosition_Help = (registry) 48, 58
WindowPosition_
WindowPosition_Quit = 50, 50
WindowPosition_
WindowPosition_
WindowPosition_
WindowSize = 1024x768
Wire = False
WorldObjectDensity = 10
-------
Mode = Activity
Activity = C:\1MSTS\
-------
Loading TRK TDB SIGCFG DAT ACT RDB CARSPAWN SIGSCR
WWWWWWWWWWWWWWW
Warning: Found a suffix 'kn' which could not be parsed as a Power unit in C:\1MSTS\
Warning: Found a suffix 'kn' which could not be parsed as a Power unit in C:\1MSTS\
Warning: Found a suffix 'kn' which could not be parsed as a Power unit in C:\1MSTS\
ENV SIGCFG TTYPE
Information: OpenAL 1.1 ALSOFT 1.15.1 using device OpenAL Soft by OpenAL Community
TTTTTTTTTWWWWSS
Information: Ignored missing animations data in shape c:\1msts\
Error: System.
at System.
at System.
at ORTS.ORTSPaths.
at ORTS.ORTSSoundP
at ORTS.ORTSStartL
at ORTS.ORTSDiscre
at ORTS.MSTSWagon.
at ORTS.MSTSLocomo
at ORTS.Train.
at ORTS.SanderComm
at ORTS.MSTSLocomo
at ORTS.MSTSDiesel
at ORTS.Viewer3D.
at ORTS.Viewer3D.
at ORTS.UpdaterPro
at ORTS.UpdaterPro
at ORTS.UpdaterPro
at System.
at System.
at System.
at System.
at System.
at System.
summary: |
- MLT D&H Route causes crash during application of sand + System.ArgumentException at ORTS.ORTSPaths.GetFileFromFolders (MLT D&H + Route causes crash during application of sand) |
Changed in or: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.0 |
tags: | added: crash sounds |
tags: |
added: content removed: crash sounds |
summary: |
- System.ArgumentException at ORTS.ORTSPaths.GetFileFromFolders (MLT D&H - Route causes crash during application of sand) + STFReader silently ignores file name with closing quotation mark only + (was: MLT D&H Route causes crash during application of sand) |
Changed in or: | |
status: | Triaged → Fix Committed |
Changed in or: | |
status: | Fix Committed → Fix Released |
Andrew,
I just want to confirm that the crashing is only taking place when using sand and that there are no other issues. With the above error, its possible that between SMS file for the cab or the cvf file, there is an error for the sanding entry. In the sms file a typical entry would look like this. Note: you will also have the very same entry in the CVF file utilized for the engine.
( 4 StartLoopRelease ( 1 File ( "../../ SandpatchRequir ed/sound/ d9_sand. wav" -1 ) SelectionMethod ( SequentialSelection ) ) ) Trigger ( 5 ReleaseLoopRelease () )
Discrete_
In the CVF file, you have this.
TwoState ( \\SandpatchRequ ired\\EMDCABVIE W\\sander. ace" )
Type ( SANDERS TWO_STATE )
Position ( 128 281 19 23 )
Graphic ( "..\\..
NumFrames ( 2 2 1 )
Style ( ONOFF )
MouseControl ( 1 )
)
If you can do this, you need to confirm that the path information are pointing to both files and that there are no other characters used other than what is shown above.
Edward K.