'Unable to read script source file "sound.gse"?

rastis

3Ds MAX will be my demise
G'day! :wave:

Any ideas of what that means? I've gone through the folder of the locomotive that has this error and I can't find anything wrong with it.

Cheers! :)

Jake
 
A sound.gse is an encrypted script file. If you want more information on what is wrong post the kuid number of the locomotive.

Bob Weber
 
I downloaded the loco into TS2010 using CM3.3. It commits without error. I opened it for Edit in Explorer to look at the files. After closing, I commited it and got your error indication. This happens a lot with built-in assets since they are added to the database during initial installation of the game and do not pass thru CM error checking. I opened it for edit then did a revert to original to cleat the error. Opened Surveyor and placed the loco and get a thread exception error:Takepermitontrack in Train.gs. Went into Driver and the loco is gone. The loco is unuseable in TS2010.

Bob Weber
 
I also done the same test - I'm beginning to wonder if the .gse file is corrupt.

This is an issue that only the author of the asset (or someone appointed by him who has access to the unencrypted version) can fix.

Shane
 
One of the old play sound instructions is no longer supported.. The one that returns the length of the sound in seconds is not supported in TS12.
Something about the processing time to calculate the play time being excessive..
 
Peter,
That may explain the problem wrt TS2012 but what about TS2010? The jetlog has this line:
? 0:20.2 : TrainzBaseSpec::GetGSClass> Could not load Trainz library sound.gsl for '<kuid:35848:103245> "BR 103.245-7"'
I looked in the TS2010\libraries folder and there is no sound.gsl file.

Bob Weber
 
That's true, sound.gse is in the asset folder. Apparently, it makes a library call to sound.gsl which doesn't exist.

Bob Weber
 
* .gs - a plaintext script file.
* .gse - an encrypted version of the above.
* .gsl - a compiled library, derived from either the .gs or .gse file.

Since compilation is automatic, the only reason for a .gsl file to be missing is if the .gs/.gse file was missing or not able to be compiled for some reason (eg. contains syntax errors.)

chris
 
One of the old play sound instructions is no longer supported..

This is not correct. The functionality of returning the exact length of the sound is no longer accurate, however the API itself remains unchanged. This may cause the runtime behaviour of sound playback functions to alter, but won't affect compilation.

chris
 
Back
Top