Problem Solved! See LAST Reply. Pre-Thanks to All.*
Announcement
Collapse
No announcement yet.
Stuck In/On Notch8 @ The Start With Silent Cab?
Collapse
X
-
Hi Mark,
Originally posted by marklester01 View PostI used The .sms Checker. All good( except where it says the alias lines: "..\\..\\folder\\.. )
As Derek pointed out, the OR log will also point to any aliasing errors.
Cheers,
Ged
Comment
-
Problem Solved! See LAST Reply. Pre-Thanks to All.*Last edited by marklester01; 02-25-2024, 01:27.
Comment
-
Hi Mark,
Without seeing the actual .sms files and/or the OR log and knowing where the aliased files are located, there's not much we can do to help.
If you wish to know more about aliasing, I included a short document on the subject with the readme for my MSTS_Check utility, which might help
MSTS_Check will also show errors in aliasing sounds and cabviews; It may be downloaded from this site's file library as file ID 85979 (msts_check.zip).
Cheers,
Ged
Comment
-
Originally posted by marklester01 View PostI went to test a CSXT SD70AC
Comment
-
Problem Solved! See LAST Reply. Pre-Thanks to All.*Last edited by marklester01; 02-25-2024, 01:28.
Comment
-
Problem Solved! See LAST Reply. Pre-Thanks to All.*Last edited by marklester01; 02-25-2024, 01:28.
Comment
-
Problem Solved! See LAST Reply. Pre-Thanks to All.*Last edited by marklester01; 02-25-2024, 01:29.
Comment
-
Originally posted by marklester01 View Post"..\\..\\Common.Snd\\MLW_Horns\\x_K5LA-R24_HP.wav" -1 ),Owner and CEO of Hart Rail Lines & Hart Commuter Railways, and Hart Rail Cars.
It's my Train Sim world so I run HART RL anywhere I want.
Comment
-
I don't think it matters, as long as you are consistent in your method. I've been using double back slashes for years, in all sorts of alias paths, sms files and cvf file. Others use single forward slash, that also works.
One of the best explanations I have read of paths is this post by Jovet at Elvas Tower: especially posts # 6 & 14
This may have been previously reported. If so, my apologies. I do think it's important. Learning about the include files, reading the threads,...
An absolute file path starts from a "fixed" point, such a drive mount or a machine\share name:
C:\MSTS\Open Rails\OpenRails.exe
or
K:\Users\Default\AppData\Local\Microsoft\Key.dat
or a network path:
\\BACKUP\BK_STA0\STD\20150703\MSTS\Open Rails\OpenRails.exe
An absolute file path is completely independent of the current folder. It doesn't matter what folder your program is looking at right now, because the absolute path overrides that.
A relative file path is dependent on the current path your program is looking at right now, and is relative to that path (hence the name).
The simplest relative file path is just the filename:
OpenRails.exe
This is relative to the current folder your program is looking at. It is also the same as this:
.\OpenRails.exe
The folder "." is a special relative folder name that always refers to the current folder. Because it's often redundant and unnecessarily verbose, it's seldom used and rarely seen. Again, remember those two previous examples are exactly the same.
If there is a folder in the current folder with the file then you could do something like this:
Open Rails\OpenRails.exe
If whatever program is looking at C:\MSTS (per the above examples), then the OpenRails.exe file could be found by specifying the path "Open Rails\" - again it's relative to the current folder. If you add the current folder and the relative path together you get C:\MSTS\Open Rails\OpenRails.exe.
The next special folder name we've all seen is ".." and it always refers to the parent folder (if there is one).
Let's say we have our fancy Open Rails include file for a route, located at: C:\MSTS\Routes\MyRoute\OpenRails\BestRouteEver.trk
The reason this file contains the line include ( "..\\BestRouteEver.trk" ) is because it's invoking all of the contents of the route's main .trk file that exists in the route's main folder, which is the parent folder of the OpenRails folder. Open Rails sees the file in the OpenRails folder and ignores the main one, but upon reading the OR one, OR sees that it specifically includes the contents of the main one. This allows you to maintain settings for both MSTS and OR but not have to change two files constantly, which is a good thing.
Relative paths can be as long or complicated as you wish.
..\..\..\MSTS3\Routes\SOUND\goodsound.wav
could actually refer to a file in another MSTS installation by navigating up three folders and then down into another folder tree.
Lastly, when a relative path starts with a backslash, it always refers to the root folder of that storage drive (its mount point):
\MSTS\Open Rails\OpenRails.exe
The file would be found if the current path the program is looking at is on the C: drive (per above examples) but would fail if it was, say, the D: drive.
So the trick with relative paths (and include files) is to know where your target file is relative to the current file, and be able to spell out the relative path accordingly.Last edited by R. Steele; 02-22-2024, 23:39.
Comment
-
Problem Solved! See LAST Reply. Pre-Thanks to All.*Last edited by marklester01; 02-25-2024, 01:29.
Comment
-
Problem Solved! See LAST Reply. Pre-Thanks to All.*Attached FilesLast edited by marklester01; 02-25-2024, 01:29.
Comment
Comment