Sid P., on 25 June 2015 - 07:39 AM, said:
When running the demonstration activity testweather.act, I found that this file also includes a test of the ORTS ability (ORTSActSoundFile) to play a sound file at a particular location. However, I do not have the particular sound file required installed.
When the train reached the location for the sound, ORTS crashed with "Error: System.IO.FileNotFoundException: ", etc.
IIRC, OR should not crash on a missing sound file, but simply report it in the log. Is this behavior related to the ORTSActSoundFile() option in an activity?
Cheers,
Hi Sid,
From your log :
Quote
Error: System.IO.FileNotFoundException: Could not find file 'E:\Program Files 2\Microsoft Games\Train Simulator\ROUTES\JAPAN1\SOUND\CabSound.sms'.
I see no mention of missing .wav files in the log?
It looks like a
CAbsound.sms file is missing, not some wav file.
A missing *.wav would, IIRC, be ignored. Not so with a missing *.sms file.
regards,
vince