Announcement

Collapse
No announcement yet.

How To...Alias Cabviews

Collapse
X
Collapse
  •  

  • How To...Alias Cabviews







    TrainSim.Com How To: Alias Cabviews








     




    How To Alias Cabviews



    By Cyndi Richards



     



    OVERVIEW:



    This guide
    will take you step by step through the process of aliasing your cabviews. There
    are two methods to alias your cabviews. The first is to alias one locomotive to
    the cabview of another. The second is to alias locomotives to a “Common Cab”
    folder. Using a Common Cab folder has many advantages in that you can save a
    lot of memory. Another is that if you decide to make changes to your cabview,
    you do not have to change the locomotives that alias to it.





    You can
    alias any locomotive to any cabview. So if you want to spruce up your SW1500 by
    giving it the Acela cabview, go ahead. That is a little extreme, but you get
    the idea.



     



    The most
    important thing to remember is:



     



    MAKE A BACKUP COPY OF ANY FILE BEFORE YOU OPEN IT



     



    METHOD 1:



     



    In this
    section we are going to alias an add-on locomotive that you just downloaded to
    the default GP38. We will call the add-on GP20.



     



    STEP
    1:* Open the folder
    style='font-size:12.0pt;text-decoration:none;text-underline:none'>GP20 style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'>. Inside you will find all kinds of



    style="mso-spacerun: yes">******** files that end with names like ace,
    s, sd, eng, etc.



    style="mso-spacerun: yes">******** Look for the file that ends with style="mso-spacerun: yes">* .eng style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'>* and open it.



     



    STEP
    2:* Now scroll down past the Lighting
    section and start looking



    style="mso-spacerun: yes">******** For a line named “CabView”. style="mso-spacerun: yes">* It will look like this:



     



    style="mso-spacerun: yes">******** CabView ( GP20.cvf ) style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'>



     



    STEP
    3:* Change the line to read as follows:



     



    style="mso-spacerun: yes">******** CabView (
    “..\\..\\GP38\\CabView\\gp38.cvf” )



     



    style="mso-spacerun: yes">******** Your new GP20 will now have the
    cabview of your GP38.



     



    QUESTION: style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'>What did I just do? What does the new line mean?



    style="mso-spacerun: yes">******** The*
    ..\\..\\*
    means that the cabview line is telling



    style="mso-spacerun: yes">******** MSTS that it wants to go somewhere
    else for the cabview.



    style="mso-spacerun: yes">******** In this case it is being told to go
    to the folder named



    style="mso-spacerun: yes">******** GP38. It is
    then being told to open that folder and open



    style="mso-spacerun: yes">******** the Subfolder named style="mso-spacerun: yes">* CabView. It is
    then being told



    style="mso-spacerun: yes">******** to run the file named style="mso-spacerun: yes">* gp38.cvf style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'>* .



     



    style="mso-spacerun: yes">******** There are several ways to create the
    alias path. I use



    style="mso-spacerun: yes">******** the method because it is also the same path creator



    style="mso-spacerun: yes">******** used when working in the black art of
    sounds. The use of



    style="mso-spacerun: yes">******** quotation marks allows for the use
    blank spaces. The



    style="mso-spacerun: yes">******** other path creator is: style="mso-spacerun: yes">*



    style="mso-spacerun: yes">******** ../../GP38/CabView/gp38.cvf style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'>*



     



    ALIASING TO ANOTHER LOCOMOTIVE THAT HAS FOLDER NAMED ALIAS:



     



    Some
    CabView folders have a subfolder named
    Alias that will
    contain



    one or more
    .cvf
    files. These are usually variations of the main CabView to
    make them more specific to one railroad. In this example we will assume our
    default GP38 has an
    Alias subfolder with .cvf files for
    other railroads; BNSF, CGW, GN, and MRL. The inside of the
    style='font-size:12.0pt;text-decoration:none;text-underline:none'>Alias style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'> folder will look like this:



     



    BNSFGP38.cvf



    CGWGP38.cvf



    GNGP38.cvf



    MRLGP38.cvf



     



    STEP
    1:* Follow steps 1 & 2 above.



     



    STEP
    2:* Change the CabView line to read:



     



    style="mso-spacerun: yes">******** CabView ( “..\\..\\GP38\\CabView\\Alias\\GNGP38.cvf”
    )



     



    style="mso-spacerun: yes">******** Your GP20 will now have the cabview
    specific to the



    style="mso-spacerun: yes">******** Great Northern GP38.



     



    If you have
    followed the above instructions and your locomotive either has no cabview or a
    partial cabview go to the
    PROBLEM

    section at
    the end of this guide.



     



    Once you
    are satisfied with your new cabview you may safely delete the
    style='font-size:12.0pt;text-decoration:none;text-underline:none'>CABVIEW style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'>folder from your GP20 locomotive folder or move it to your style='font-size:12.0pt;text-decoration:none;text-underline:none'>Common.Cab style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'> folder. If you move it to the Common.Cab folder be sure and rename it
    from CabView to GP20.



     



    METHOD 2:



     



    This
    section will deal with using the
    Common.Cab style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'> folder. This is loacted in the TRAINSET style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'> folder. If there is no Common.Cab folder, you will have to create one.
    Just make sure you name it Common.Cab style="mso-spacerun: yes">.





    This folder
    can be a central location for all cabviews. By aliasing most of your
    locomotives to this folder you will save a ton of memory. Cabview folders can
    be 2mB or more. So if you have 200 locomotives and alias 150 of them to the
    Common.Cab folder you will save 300mB of Hard Drive space. If you 20
    locomotives aliased to the same CabView and you make a change to the cabview,
    you only have to make 1 change not 20. It is basically the same as aliasing to
    another locomotive.



     



    In this
    example you have just downloaded a cabview for a SD60 that you want to use in
    your GP20.



     



    STEP
    1:* Open your
    style='font-size:12.0pt;text-decoration:none;text-underline:none'>Common.Cab style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'> folder and make sure you have the new



    style="mso-spacerun: yes">******** folder named style='font-size:12.0pt;text-decoration:none;text-underline:none'>SD60 style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'>.



    style="mso-spacerun: yes">******** Open the folder and look for; style="mso-spacerun: yes">* SD60.cvf style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'>* or look in the



    style="mso-spacerun: yes">******** Alias subfolder for style='font-size:12.0pt;text-decoration:none;text-underline:none'>SD60.cvf style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'>



    style="mso-spacerun: yes">******** Note the names of the folder and .cvf
    file.



    style="mso-spacerun: yes">******** Close the style='font-size:12.0pt;text-decoration:none;text-underline:none'>Common.Cab style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'> folder.



     



    STEP
    2:* Open the folder for your GP20, then
    open the
    .eng file



     



    STEP
    3:* Go to the
    style='font-size:12.0pt;text-decoration:none;text-underline:none'>CabView style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'> line and change it to read:



     



    style="mso-spacerun: yes">******** CabView (
    “..\\..\\Common.Cab\\SD60\\SD60.cvf” )



     



    ***** *** style='font-size:12.0pt;font-weight:normal;text-decoration:none;text-underline:
    none'>If Alias subfolder is used, change line to read:



     



    style="mso-spacerun: yes">******** CabView (
    “..\\..\\Common.Cab\\SD60\\Alias\\SD60.cvf” )



     



    That’s all
    there is to it!



     



     



    PROBLEMS:



     



    Now that
    you have aliased your cabview, you want to see how it looks. So you start the
    sim, pick your locomotive, and your new cabview isn’t there! You may see
    needles and handles floating in mid air, or you have a cabview with no needles
    or handles. Don’t get frustrated. We all know that MSTS can be rather quirky at
    times.



     



    First thing
    to do is check the path in the
    CabView line of the .eng
    file. Make sure all the dots and slashes are in their proper places. Then check
    your spelling. I have a nasty habit of “fat fingering” the keys because they
    are small and close together. It is quite easy to hit two keys at once without
    knowing it.



     



    Whether you
    have aliased to another locomotive or common.cab folder you will have to create
    an
    Alias folder. Simply create the new folder and copy or
    move the
    .cvf file into it. Sounds simple. Unfortunately there is
    a little more to it. The .cvf file itself will have to be edited. If you have
    gotten this far, you CAN do it. We will be using the same path creation lines
    that we used above. Below are examples of the .cvf MAIN section and a CONTROL
    section.



     



    MAIN SECTION



     



    style='font-size:10.0pt;font-family:"Courier New"'>SIMISA@@@@@@@@@@JINX0h0t______



    style='font-size:10.0pt;font-family:"Courier New"'> 



    style='font-size:10.0pt;font-family:"Courier New"'>Tr_CabViewFile (



    style='font-size:10.0pt;font-family:"Courier New"'>***** CabViewType ( 2 )



    style='font-size:10.0pt;font-family:"Courier New"'>***** CabViewFile ( GP38Frnt.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***** CabViewWindow ( 43 0 597 412 )



    style='font-size:10.0pt;font-family:"Courier New"'>***** CabViewWindowFile ( AcWndFrn.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***** Position ( 1 3.7 6 )



    style='font-size:10.0pt;font-family:"Courier New"'>***** Direction ( 10 0 0 )



    style='font-size:10.0pt;font-family:"Courier New"'>***** CabViewFile ( GP38Left.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***** CabViewWindow ( 0 0 640 301 )



    style='font-size:10.0pt;font-family:"Courier New"'>***** CabViewWindowFile ( AcWndLft.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***** Position ( 1 3.7 6 )



    style='font-size:10.0pt;font-family:"Courier New"'>***** Direction ( 10 -77.35 0 )



    style='font-size:10.0pt;font-family:"Courier New"'>***** CabViewFile ( GP38Right.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***** CabViewWindow ( 20 0 589 430 )



    style='font-size:10.0pt;font-family:"Courier New"'>***** CabViewWindowFile ( AcWndRgt.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***** Position ( 1 3.7 6 )



    style='font-size:10.0pt;font-family:"Courier New"'>***** Direction ( 10 84.22 0 )



    style='font-size:10.0pt;font-family:"Courier New"'>***** EngineData ( GP38 )



    style='font-size:10.0pt;font-family:"Courier New"'> 



    CONTROL SECTION – NOT ALIASED



     



    style='font-size:10.0pt;font-family:"Courier New"'>TwoState (



    style='font-size:10.0pt;font-family:"Courier New"'>***************** Type ( HORN TWO_STATE )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** Position ( 247 218 29 120 )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** Graphic ( horn.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** NumFrames ( 2 2 1 )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** Style ( ONOFF )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** MouseControl ( 1 )



    style='font-size:10.0pt;font-family:"Courier New"'> 



    CONTROL SECTION – ALIASED



    style='font-size:10.0pt;font-family:"Courier New"'> 



    style='font-size:10.0pt;font-family:"Courier New"'> 



    style='font-size:10.0pt;font-family:"Courier New"'>TriState (



    style='font-size:10.0pt;font-family:"Courier New"'>***************** Type ( DIRECTION TRI_STATE )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** Position ( 531 386 72 27 )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** Graphic (
    "..\\..\\GP38\\Cabview\\reverser.ace" )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** NumFrames ( 3 1 3 )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** Style ( NONE )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** MouseControl ( 1 )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** Orientation ( 0 )



    style='font-size:10.0pt;font-family:"Courier New"'>***************** DirIncrease ( 1 )



    style='font-size:10.0pt;font-family:"Courier New"'>*********** )



    style='font-size:10.0pt;font-family:"Courier New"'> 



    style='font-size:10.0pt;font-family:"Courier New"'> 



    We
    will continue using the GP20 locomotive that aliases the GP38 CabView. We have
    moved the gp38.cvf file into the Alias folder. By
    doing this we have confused MSTS, it is following the stated path, but there is
    nothing there. Now to do some editing.



     



    In
    the MAIN SECTION shown above, look for the below lines:



     



    CabViewFile
    ( GP38Frnt.ace )



     



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewWindowFile (
    AcWndFrn.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>*****



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewFile ( GP38Left.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***********



    CabViewWindowFile ( AcWndLft.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>*****



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewFile ( GP38Right.ace
    )



    style='font-size:10.0pt;font-family:"Courier New"'>***********



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewWindowFile (
    AcWndRgt.ace )



    style='font-size:10.0pt;font-family:"Courier New"'> 



    If you have aliased to a locomotive folder, in this
    case the default GP38, change the above lines to read as follows:



     



    CabViewFile
    ( ..\\..\\GP38\\CabView\\Alias\\GP38Frnt.ace )



     



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewWindowFile
    (..\\..\\GP38\\CabView\\Alias\\AcWndFrn.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>*****



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewFile
    (..\\..\\GP38\\CabView\\Alias\\GP38Left.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***********



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewWindowFile
    (..\\..\\GP38\\CabView\\Alias\\AcWndLft.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>*****



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewFile
    (..\\..\\GP38\\CabView\\Alias\\GP38Right.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***********



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewWindowFile
    (..\\..\\GP38\\CabView\\Alias\\AcWndRgt.ace )



    style='font-size:10.0pt;font-family:"Courier New"'> 



    style='font-size:10.0pt;font-family:"Courier New"'> 



    If you have aliased to the Common.Cab folder, change
    the lines to read:



     



    CabViewFile
    ( ..\\..\\Common.Cab\\GP38\\Alias\\GP38Frnt.ace )



     



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewWindowFile
    (..\\..\\Common.Cab\\GP38\\Alias\\AcWndFrn.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>*****



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewFile
    (..\\..\\Common.Cab\\GP38\\Alias\\GP38Left.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***********



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewWindowFile
    (..\\..\\Common.Cab\\GP38\\Alias\\AcWndLft.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>*****



    style='font-size:10.0pt;font-family:"Courier New"'>CabViewFile
    (..\\..\\Common.Cab\\GP38\\Alias\\GP38Right.ace )



    style='font-size:10.0pt;font-family:"Courier New"'>***********



    CabViewWindowFile
    (..\\..\\Common.Cab\\GP38\\Alias\\AcWndRgt.ace )



     



    Run the sim and you will see that you now have the basic
    GP38 cabview but without the various controls. Next we will edit the CONTROLS
    section to add the missing controls. The line within each CONTROL
    SECTION
    that we need to edit is GRAPHIC.




    If the line looks like this:*



     



    Graphic ( horn.ace )



     



    then it has to be changed.* If it looks like the below example, it does not need to be
    changed. It has its own path to somewhere else.



     



    Graphic ( ..\\..\\Dash9\\CabView\\horn.ace )



     



    So if you are aliasing to another locomotive folder, our
    default GP38 in this example, change the line to read:



     



    Graphic ( ..\\..\\GP38\\CabView\\Alias\\horn.ace )



     



    You will have to do this for each Graphic line.



     



    If you are aliasing to the Common.Cab folder change
    the line to read:



     



    Graphic ( ..\\..\\Common.Cab\\GP38\\Alias\\horn.ace )



     



    You will have to do this for each Graphic line.



     



    That sums up this guide. Just remember the following:



     



    MAKE A BACK UP COPY OF ANY FILE BEFORE OPENING IT



     



    WHEN MOVING CABVIEW FOLDERS TO THE COMMON.CAB FOLDER
    YOU MUST RENAME THE FOLDER FROM CABVIEW TO SOMETHING ELSE.



     



    BE EXACT WHEN CREATING A PATH.



     



    I hope this guide has been easy to follow and informative.



    Cyndi Richards

    BNSFLADY2081@aol.com





      Posting comments is disabled.

    article_tags

    Collapse

    Latest Articles

    Collapse

    • Properly Install Content and Third Party Applications for OpenRails and MSTS
      by eric

      Running the Microsoft / Open Rails Train Simulator is a little different from other simulators, in that there are a lot of options available for add-ons (over 30,000 in our library alone), as well as companion applications that are used to create routes, activities and even new models. Adding to the complexity, some of these applications date back to 2001, when MSTS was first introduced. The Windows operating system has changed quite a bit since then, and as a result, the way older app install...
      Posted 05-22-2023, 09:27 PM
    • Using MSTS Content And Third Party Applications Without Installing MSTS
      by eric

      This is a work in progress. Please add to the comments if you see things you'd like to add or correct. Running the Microsoft / Open Rails Train Simulator is a little different from other simulators, in that there are a lot of options available for add-ons (over 30,000 in our library alone), as well as companion applications that are used to create routes, activities and even new models. Adding to the complexity, some of these applications date back to 2001, when MSTS was first introduced. The...
      Posted 05-22-2023, 09:00 PM
    • Installing OpenRails on Windows 11
      by eric

      This is a work in progress. Please add to the comments if you see things you'd like to add or correct. Running the Microsoft / Open Rails Train Simulator is a little different from other simulators, in that there are a lot of options available for add-ons (over 30,000 in our library alone), as well as companion applications that are used to create routes, activities and even new models. The community has developed a modified (and still evolving) set of best practices that are shared here to hel...
      Posted 05-22-2023, 08:16 PM
    • Properly Install MSTS on Windows 10 and Higher
      by eric

      Running the Microsoft / Open Rails Train Simulator is a little different from other simulators, in that there are a lot of options available for add-ons (over 30,000 in our library alone), as well as companion applications that are used to create routes, activities and even new models. Adding to the complexity, some of these applications date back to 2001, when MSTS was first introduced. The Windows operating system has changed quite a bit since then, and as a result, the way older app install...
      Posted 05-11-2023, 11:25 PM
    • Installing MSTS In Windows 7 Or Later
      by OTTODAD

      To make it easier for some to install MSTS and MSTSBin on WIN-7 and later computers I have compiled a comprehensive and illustrated HOW-TO which should help to get all of it working as it does on my WIN-7 64-bit computer.

      Here is Part-1 of how to install it from its CDs:
















      Here is Part-2 of what to do after having installed MSTS from its CDs, making sure...
      Posted 11-11-2014, 05:10 PM
    • How To...Rename And Replace MSTS Trees
      by eric


      Pictorial Tutorial On Creating MSTS Trees


      By Michael Sinclair (17 January 2007)




      A pictorial tutorial containing 43 pictures in jpg format on
      creating trees for use in MSTS routes. The first page/picture starts
      here, just go on to each additional page to view the entire review.





      Posted 09-28-2012, 10:39 AM
    Working...
    X