Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: DECOMPRESSING & COMPRESSING .s files?

  1. #1

    Question DECOMPRESSING & COMPRESSING .s files?


    I downloaded several ACF Hopper Sets and the Installation Instruction says;
    Decompress the .s file. Open the .s file in your Prefered Editor and go to .ace section.
    rename the .ace file then Compress the .s file.
    When I open the .s file with Notepad or Word Pad I get a Jumble of Symbols & words.
    Do I need some sort of Utility to Decompress and Compress the .s File.
    Thankyou,
    DaveKfromUP

  2. #2
    Join Date
    Feb 2013
    Location
    known universe
    Posts
    2,936

    Default

    Archibald, available at Steam4Me >>> http://msts.steam4me.net/utilities/index.html
    It is an excellent and easy to use utility to open shape files to change the name of ace files - which are found under the images section.

    bandicam 2017-11-07 18-33-42-461.jpg
    Cheers, Gerry
    It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
    Forever, ridin' drag in railroad knowledge.


  3. #3
    Join Date
    Jun 2013
    Location
    Minnesota
    Posts
    1,671

    Default

    You could also use Shape File Manager, available here in the File Library. It can compress/uncompress shape files, but you'll have to change the texture names yourself

  4. #4

    Default

    The other answers given so far are good ones, and are probably the easier options if you're not technically inclined, but if you don't feel like installing/running a third-party application, you can always use the included "ffedit" utility. It's located at "Train Simulator\UTILS\FFEDIT" and has some basic documentation accompanying it. Assuming you know how to use a command line, the syntax is generally as follows:

    ffeditc_unicode PATH\TO\SOURCE\FILE.s /o:PATH\TO\DESTINATION\FILE.s

    It will automatically convert compressed or uncompressed binary files to uncompressed text and uncompressed text files to compressed binary files.

  5. #5
    Join Date
    Sep 2005
    Location
    Auckland, New Zealand.
    Posts
    247

    Default

    I use Route_Riter to uncompress and compress shape files.

  6. #6
    Join Date
    Apr 2015
    Location
    St. Vincent and the Grenadines
    Posts
    206

    Default

    I have my windows setup such that when I right-click on an .s file, I get an option to compress or decompress it. I have had this for MANY years and am not sure where it came from. The instruction in a readme file are:

    1. copy the FFEDITCLICK.BAT, polycounter.VBS and SF2KXP.REG (if you have Win2000 or Win XP) or SF98.REG (if you have Win 98 or Win ME) into the same directory as FFEDITC_UNICODE.EXE

    usually this is:
    C:\Program Files\Microsoft Games\Train Simulator\UTILS\FFEDIT

    If you have installed this somewhere else, you will also have to edit FFEDITCLICK.BAT AND SFxx.REG (depends which version you're using in 1.) with NOTEPAD to change the directory name in those files too.


    2. Double click on SF2KXP.REG if you have Windows 2000 or XP (or SF98.REG if you have Windows 98 or ME) in explorer, it will ask if you want to enter the items into the registry - click yes.


    3. Now (with luck), from within Explorer, when you right click on a file ending with .S you should see 3 options, Edit (starts wordpad), Compress (will compress or uncompress) and poly count - for uncompressed files will show the counts.
    This is authored by Paul Gausden.

    I have the Win98 files installed and it works perfectly for me in Windows 7.
    Last edited by dforrestc; 11-08-2017 at 05:08 PM.

  7. #7
    Join Date
    Apr 2003
    Location
    Silicon Valley, CA, USA.
    Posts
    3,430

    Default

    I'd like to add that not all compress/uncompress utilities seem to work the same way and some of them will occasionally fail. I've found the one in Shapeviewer to always work and I'll turn to it for dealing with just a couple of files. When I have a folder full of compressed files I'll try route riter first... it usually works.

    Whether it is the program or the file that jams things up is beyond my understanding. All I know is if it doesn't work don't give up, try the next tool in the list until you get it right.
    Dave Nelson

    Seldom visiting, posting less often that that.

  8. #8
    Join Date
    Nov 1999
    Location
    Cumming Ga
    Posts
    2,853

    Default Part 1

    Lets say I downloaded the repaints of the SLI refrigeration cars that Michelle did: "MSTS/Open Rails SLI Refrigeration Boxcars East Coast Pack 1" SLI does allow repaints, provided that the .S files are NOT included. This means that the SLI repaints need a bit of extra work before they can be used, as outlined by the included documentation.

    In this case, there are 35 total files to perform edits on... That means 35 times I would need to create new .S files, 35 times I need to search and replace and 35 times I need to re-compress. My initial thought is YUCK!

    What if I would really prefer my PC to do a chunk of the repetitive work? Is it possible? Well, I'll offer up a brute force solution that minimizes what you need to install or make use of. It doesn't rely on a special programming language you would need to install (No python, basic or Perl) but we will use a spreadsheet and some command-line batch scripts with a little dab of Windows Powershell (which Microsoft already installed for you) and that's it.

    I'll make use of Microsoft Excel, but if you don't have it, you can download LibreOffice https://www.libreoffice.org/ and use CALC.

    Let's say you created a new "c:\sfile" folder by opening a new command window ( as administrator ) and typed "cd\ " and then "mkdir sfile" at the
    Code:
    cd\
    c:\ mkdir sfile
    Step 1, Copy and unzip the downloaded REPAINT file from TrainSim.comm file library into "c:\sfile" so you now have a folder under c:\sfile called "SLIRefrigeration_boxcars" with Michelle's new ACE files.

    Step 2, This an SLI repaint Scenario... so, you must OWN the ".s" files used. Copy the 2 ".s" files specified from your SLI installations (50ft_BOX_WP96106.s and UP_PS_BOXCAR_912605.s) to the "C:\sfile" working folder.

    Step 3, You need to uncompress these 2 ".s" files to edit them. sooo... we uncompress then copy... it will save steps.

    Step 3a. Now, the *first* brute force part... Copy, (not move, copy. Copy!), the contents of the
    Code:
    ...Microsoft Games/Train Simulator/utils/ffedit
    folder to
    Code:
     c:\sfile\
    . We will only temporarily keep these files here and we will delete them when we are done. This saves messing with changing PATHS or typing long commands... again... Brute force.

    Step 3b. type:
    Code:
    ffeditc_unicode 50ft_BOX_WP96106.s /o:50ft_BOX_WP96106.s
    and then type:
    Code:
    ffeditc_unicode UP_PS_BOXCAR_912605.s /o:UP_PS_BOXCAR_912605.s
    If you got it right, these are now uncompressed. The size will change from around 300KB to 7MB.

    NOTE: In most cases, if not all, you need to be using a CMD prompt (Windows Command Console) with Administrator Rights to sucessfully use FFEDITC_UNICODE. At least that has been my experience.

    Example:
    Code:
    J:\MSTS\FRIEGHT>ffeditc_unicode 50ft_BOX_WP96106.s /o:50ft_BOX_WP96106.s
    
    Converting 50ft_BOX_WP96106.s to text file 50ft_BOX_WP96106.s ...
    
    J:\MSTS\FRIEGHT>ffeditc_unicode UP_PS_BOXCAR_912605.s /o:UP_PS_BOXCAR_912605.s
    
    Converting UP_PS_BOXCAR_912605.s to text file UP_PS_BOXCAR_912605.s ...

    Step 3b. The fun part, ok, maybe not. Open the unzipped SLI_refrigeration_Boxcars.txt file from the unzipped folder in c:\sfile.

    We will use the information from the TXT file to create the entries we need.

    Step 3c Open a Blank Worksheet in Excel or LibreCalc

    Step 3d
    In column A, type copy and replicate it to rows 2-35
    Copy 50ft_BOX_WP96106 into column B and replicate (copy) it to rows 2-20
    Copy the *first* S FILE list from the txt document for which we will be renaming the source "50ft_BOX_WP96106.s" to:
    Code:
    50ft_BOX_EL69276.s
    50ft_BOX_EL69277.s
    50ft_BOX_EL69280.s
    50ft_BOX_EL69281.s
    50ft_BOX_EL69282.s
    50ft_BOX_PC153537.s
    50ft_BOX_PC153538.s
    50ft_BOX_PC153540.s
    50ft_BOX_PC153541.s
    50ft_BOX_PC153542.s
    50ft_BOX_PC362720.s
    50ft_BOX_PC362721.s
    50ft_BOX_PC362777.s
    50ft_BOX_PC362810.s
    50ft_BOX_PC362811.s
    50ft_BOX_SLSF700270.s
    50ft_BOX_SLSF700271.s
    50ft_BOX_SLSF700272.s
    50ft_BOX_SLSF700273.s
    50ft_BOX_SLSF700274.s
    into Column D of a new "worksheet"

    Step 3e
    Like Step 3d, we will copy UP_PS_BOXCAR_912605.s into B21 and then replicate it into B22-35

    Copying the second S file list from the text document, we have:

    Code:
    LN_PS_BOXCAR_103783.s
    LN_PS_BOXCAR_103784.s
    LN_PS_BOXCAR_103785.s
    LN_PS_BOXCAR_103786.s
    LN_PS_BOXCAR_103787.s
    RDG_PS_BOXCAR_17000.s
    RDG_PS_BOXCAR_17002.s
    RDG_PS_BOXCAR_17005.s
    RDG_PS_BOXCAR_17007.s
    RDG_PS_BOXCAR_17010.s
    RFP_PS_BOXCAR_2646.s
    RFP_PS_BOXCAR_2647.s
    RFP_PS_BOXCAR_2649.s
    RFP_PS_BOXCAR_2650.s
    RFP_PS_BOXCAR_2651.s
    ...in column C we now have 35 new files listed

    It should look like this:



    Next, in location E1, type:
    Code:
    =A1&" "&B1&" "&C1
    Copy/paste this to the remaining 35 lines. (It will do relative copy if you do it right.)

    If all went well, Column E should now say:
    Code:
    copy 50ft_BOX_WP96106.s 50ft_BOX_EL69276.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_EL69277.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_EL69280.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_EL69281.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_EL69282.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_PC153537.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_PC153538.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_PC153540.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_PC153541.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_PC153542.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_PC362720.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_PC362721.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_PC362777.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_PC362810.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_PC362811.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_SLSF700270.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_SLSF700271.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_SLSF700272.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_SLSF700273.s
    copy 50ft_BOX_WP96106.s 50ft_BOX_SLSF700274.s
    copy UP_PS_BOXCAR_912605.s LN_PS_BOXCAR_103783.s
    copy UP_PS_BOXCAR_912605.s LN_PS_BOXCAR_103784.s
    copy UP_PS_BOXCAR_912605.s LN_PS_BOXCAR_103785.s
    copy UP_PS_BOXCAR_912605.s LN_PS_BOXCAR_103786.s
    copy UP_PS_BOXCAR_912605.s LN_PS_BOXCAR_103787.s
    copy UP_PS_BOXCAR_912605.s RDG_PS_BOXCAR_17000.s
    copy UP_PS_BOXCAR_912605.s RDG_PS_BOXCAR_17002.s
    copy UP_PS_BOXCAR_912605.s RDG_PS_BOXCAR_17005.s
    copy UP_PS_BOXCAR_912605.s RDG_PS_BOXCAR_17007.s
    copy UP_PS_BOXCAR_912605.s RDG_PS_BOXCAR_17010.s
    copy UP_PS_BOXCAR_912605.s RFP_PS_BOXCAR_2646.s
    copy UP_PS_BOXCAR_912605.s RFP_PS_BOXCAR_2647.s
    copy UP_PS_BOXCAR_912605.s RFP_PS_BOXCAR_2649.s
    copy UP_PS_BOXCAR_912605.s RFP_PS_BOXCAR_2650.s
    copy UP_PS_BOXCAR_912605.s RFP_PS_BOXCAR_2651.s
    Save your spreadsheet for future use. (continued in follow up post)
    Last edited by pwillard; 07-04-2020 at 01:55 PM.
    http://www.railsimstuff.com
    Just Blender now, 3DCrafter only when I have to.
    formerly The Keystone Works (All Permissions Granted)
    https://github.com/pwillard/MSTS-replacement

  9. #9
    Join Date
    Nov 1999
    Location
    Cumming Ga
    Posts
    2,853

    Default Part 2

    Now COPY this whole column (E) above and paste it into a text editor like CONTEXT.Exe and then Save this text as "sfilecopy.bat" in c:\sfile

    Step 4, Run
    Code:
    sfilecopy.bat
    - you should now get a copy of every S file that you need for the downloaded re-skins.
    Verify that we got no copy errors...
    Code:
    <snip>
    J:\MSTS\FRIEGHT>copy UP_PS_BOXCAR_912605.s RFP_PS_BOXCAR_2646.s
            1 file(s) copied.
    
    J:\MSTS\FRIEGHT>copy UP_PS_BOXCAR_912605.s RFP_PS_BOXCAR_2647.s
            1 file(s) copied.
    
    J:\MSTS\FRIEGHT>copy UP_PS_BOXCAR_912605.s RFP_PS_BOXCAR_2649.s
            1 file(s) copied.
    
    J:\MSTS\FRIEGHT>copy UP_PS_BOXCAR_912605.s RFP_PS_BOXCAR_2650.s
            1 file(s) copied.
    
    J:\MSTS\FRIEGHT>copy UP_PS_BOXCAR_912605.s RFP_PS_BOXCAR_2651.s
            1 file(s) copied.
    Success!


    Step 5. Now its time to fix the *ace* file references.

    Every newly created SFILE needs to have its ACE file changed from the default to the one that Michelle created for each of the 35 cars.

    Step 5a. Again, we use a spreadsheet to write our code. Now we will ultimately use the search/replace feature of Windows Powershell.

    Like before we will use a list of 35 S file references from the supplied documentation...

    In Location A1, enter: powershell -Command "(gc
    In Location C1, enter: ) -replace '
    In Location E1, enter: '',' Important!, enter '' as TWO single quote characters, not a single press of double quote
    In location G1, enter : '' | Out-File Important! DITTO
    in Location H1, enter: =B1 For now, this will create an error, it's ok
    In location I1, enter: " Important! THIS time though, it's a real double quote.

    In location K1, enter: =A2&B2&C2&D2&E2&F2&G2&H2&I1

    Copy row 1 to rows 2-35
    Step 5b, Copy the same S file list we used in column C in the previous worksheet and paste it into Column B (if you need to, refer to the TXT document)
    Code:
    50ft_BOX_EL69276.s
    50ft_BOX_EL69277.s
    50ft_BOX_EL69280.s
    50ft_BOX_EL69281.s
    50ft_BOX_EL69282.s
    50ft_BOX_PC153537.s
    50ft_BOX_PC153538.s
    50ft_BOX_PC153540.s
    50ft_BOX_PC153541.s
    50ft_BOX_PC153542.s
    50ft_BOX_PC362720.s
    50ft_BOX_PC362721.s
    50ft_BOX_PC362777.s
    50ft_BOX_PC362810.s
    50ft_BOX_PC362811.s
    50ft_BOX_SLSF700270.s
    50ft_BOX_SLSF700271.s
    50ft_BOX_SLSF700272.s
    50ft_BOX_SLSF700273.s
    50ft_BOX_SLSF700274.s
    LN_PS_BOXCAR_103783.s
    LN_PS_BOXCAR_103784.s
    LN_PS_BOXCAR_103785.s
    LN_PS_BOXCAR_103786.s
    LN_PS_BOXCAR_103787.s
    RDG_PS_BOXCAR_17000.s
    RDG_PS_BOXCAR_17002.s
    RDG_PS_BOXCAR_17005.s
    RDG_PS_BOXCAR_17007.s
    RDG_PS_BOXCAR_17010.s
    RFP_PS_BOXCAR_2646.s
    RFP_PS_BOXCAR_2647.s
    RFP_PS_BOXCAR_2649.s
    RFP_PS_BOXCAR_2650.s
    RFP_PS_BOXCAR_2651.s
    Step 5C, Use the OLD ACE file references in columnD (For rows 1-21 = WP_96106 and for rows 22-35 = UP_912605)

    Step 5D, Use the NEW ACE file references in columnF (This was the hardest part, as the names need to match the NEW ace files created by Michelle)

    One way to do this is to use the working s file list in an editor and globally replace all references to "50ft_BOX_", ".s" and "_PS_BOXCAR_" with blank (in other words "nothing"), but you will need to re-add an "_" (underscore) in the RDG and RFP ace file references. IE; RDG_ RFP_

    Step 5E, Copy ColumnK out to a text file and you should have:

    Code:
    powershell -Command "(gc 50ft_BOX_EL69276.s) -replace 'WP_96106','EL69276' | Out-File 50ft_BOX_EL69276.s
    powershell -Command "(gc 50ft_BOX_EL69277.s) -replace 'WP_96106','EL69277' | Out-File 50ft_BOX_EL69277.s"
    powershell -Command "(gc 50ft_BOX_EL69280.s) -replace 'WP_96106','EL69280' | Out-File 50ft_BOX_EL69280.s"
    powershell -Command "(gc 50ft_BOX_EL69281.s) -replace 'WP_96106','EL69281' | Out-File 50ft_BOX_EL69281.s"
    powershell -Command "(gc 50ft_BOX_EL69282.s) -replace 'WP_96106','EL69282' | Out-File 50ft_BOX_EL69282.s"
    powershell -Command "(gc 50ft_BOX_PC153537.s) -replace 'WP_96106','PC153537' | Out-File 50ft_BOX_PC153537.s"
    powershell -Command "(gc 50ft_BOX_PC153538.s) -replace 'WP_96106','PC153538' | Out-File 50ft_BOX_PC153538.s"
    powershell -Command "(gc 50ft_BOX_PC153540.s) -replace 'WP_96106','PC153540' | Out-File 50ft_BOX_PC153540.s"
    powershell -Command "(gc 50ft_BOX_PC153541.s) -replace 'WP_96106','PC153541' | Out-File 50ft_BOX_PC153541.s"
    powershell -Command "(gc 50ft_BOX_PC153542.s) -replace 'WP_96106','PC153542' | Out-File 50ft_BOX_PC153542.s"
    powershell -Command "(gc 50ft_BOX_PC362720.s) -replace 'WP_96106','PC362720' | Out-File 50ft_BOX_PC362720.s"
    powershell -Command "(gc 50ft_BOX_PC362721.s) -replace 'WP_96106','PC362721' | Out-File 50ft_BOX_PC362721.s"
    powershell -Command "(gc 50ft_BOX_PC362777.s) -replace 'WP_96106','PC362777' | Out-File 50ft_BOX_PC362777.s"
    powershell -Command "(gc 50ft_BOX_PC362810.s) -replace 'WP_96106','PC362810' | Out-File 50ft_BOX_PC362810.s"
    powershell -Command "(gc 50ft_BOX_PC362811.s) -replace 'WP_96106','PC362811' | Out-File 50ft_BOX_PC362811.s"
    powershell -Command "(gc 50ft_BOX_SLSF700270.s) -replace 'WP_96106','SLSF700270' | Out-File 50ft_BOX_SLSF700270.s"
    powershell -Command "(gc 50ft_BOX_SLSF700271.s) -replace 'WP_96106','SLSF700271' | Out-File 50ft_BOX_SLSF700271.s"
    powershell -Command "(gc 50ft_BOX_SLSF700272.s) -replace 'WP_96106','SLSF700272' | Out-File 50ft_BOX_SLSF700272.s"
    powershell -Command "(gc 50ft_BOX_SLSF700273.s) -replace 'WP_96106','SLSF700273' | Out-File 50ft_BOX_SLSF700273.s"
    powershell -Command "(gc 50ft_BOX_SLSF700274.s) -replace 'WP_96106','SLSF700274' | Out-File 50ft_BOX_SLSF700274.s"
    powershell -Command "(gc LN_PS_BOXCAR_103783.s) -replace 'UP_912605','LN103783' | Out-File LN_PS_BOXCAR_103783.s"
    powershell -Command "(gc LN_PS_BOXCAR_103784.s) -replace 'UP_912605','LN103784' | Out-File LN_PS_BOXCAR_103784.s"
    powershell -Command "(gc LN_PS_BOXCAR_103785.s) -replace 'UP_912605','LN103785' | Out-File LN_PS_BOXCAR_103785.s"
    powershell -Command "(gc LN_PS_BOXCAR_103786.s) -replace 'UP_912605','LN103786' | Out-File LN_PS_BOXCAR_103786.s"
    powershell -Command "(gc LN_PS_BOXCAR_103787.s) -replace 'UP_912605','LN103787' | Out-File LN_PS_BOXCAR_103787.s"
    powershell -Command "(gc RDG_PS_BOXCAR_17000.s) -replace 'UP_912605','RDG_17000' | Out-File RDG_PS_BOXCAR_17000.s"
    powershell -Command "(gc RDG_PS_BOXCAR_17002.s) -replace 'UP_912605','RDG_17002' | Out-File RDG_PS_BOXCAR_17002.s"
    powershell -Command "(gc RDG_PS_BOXCAR_17005.s) -replace 'UP_912605','RDG_17005' | Out-File RDG_PS_BOXCAR_17005.s"
    powershell -Command "(gc RDG_PS_BOXCAR_17007.s) -replace 'UP_912605','RDG_17007' | Out-File RDG_PS_BOXCAR_17007.s"
    powershell -Command "(gc RDG_PS_BOXCAR_17010.s) -replace 'UP_912605','RDG_17010' | Out-File RDG_PS_BOXCAR_17010.s"
    powershell -Command "(gc RFP_PS_BOXCAR_2646.s) -replace 'UP_912605','RFP_2646' | Out-File RFP_PS_BOXCAR_2646.s"
    powershell -Command "(gc RFP_PS_BOXCAR_2647.s) -replace 'UP_912605','RFP_2647' | Out-File RFP_PS_BOXCAR_2647.s"
    powershell -Command "(gc RFP_PS_BOXCAR_2649.s) -replace 'UP_912605','RFP_2649' | Out-File RFP_PS_BOXCAR_2649.s"
    powershell -Command "(gc RFP_PS_BOXCAR_2650.s) -replace 'UP_912605','RFP_2650' | Out-File RFP_PS_BOXCAR_2650.s"
    powershell -Command "(gc RFP_PS_BOXCAR_2651.s) -replace 'UP_912605','RFP_2651' | Out-File RFP_PS_BOXCAR_2651.s"
    Now, copy this to a text editor, and save as file: SwapAce.bat

    Step 6: Run
    Code:
    SWAPACE.BAT
    We have fixed all the ACE file references if this went without a hitch.
    (Continued in part 3)
    Last edited by pwillard; 07-04-2020 at 01:49 PM.
    http://www.railsimstuff.com
    Just Blender now, 3DCrafter only when I have to.
    formerly The Keystone Works (All Permissions Granted)
    https://github.com/pwillard/MSTS-replacement

  10. #10
    Join Date
    Nov 1999
    Location
    Cumming Ga
    Posts
    2,853

    Default Part 3

    Step 7: Using the techniques used here to let Excel/Librecalc write your code, you can create a script to re-compress the .S files.
    Code:
    ffeditc_unicode 50ft_BOX_EL69276.s /o:50ft_BOX_EL69276.s
    ffeditc_unicode 50ft_BOX_EL69277.s /o:50ft_BOX_EL69277.s
    ffeditc_unicode 50ft_BOX_EL69280.s /o:50ft_BOX_EL69280.s
    ffeditc_unicode 50ft_BOX_EL69281.s /o:50ft_BOX_EL69281.s
    ffeditc_unicode 50ft_BOX_EL69282.s /o:50ft_BOX_EL69282.s
    ffeditc_unicode 50ft_BOX_PC153537.s /o:50ft_BOX_PC153537.s
    ffeditc_unicode 50ft_BOX_PC153538.s /o:50ft_BOX_PC153538.s
    ffeditc_unicode 50ft_BOX_PC153540.s /o:50ft_BOX_PC153540.s
    ffeditc_unicode 50ft_BOX_PC153541.s /o:50ft_BOX_PC153541.s
    ffeditc_unicode 50ft_BOX_PC153542.s /o:50ft_BOX_PC153542.s
    ffeditc_unicode 50ft_BOX_PC362720.s /o:50ft_BOX_PC362720.s
    ffeditc_unicode 50ft_BOX_PC362721.s /o:50ft_BOX_PC362721.s
    ffeditc_unicode 50ft_BOX_PC362777.s /o:50ft_BOX_PC362777.s
    ffeditc_unicode 50ft_BOX_PC362810.s /o:50ft_BOX_PC362810.s
    ffeditc_unicode 50ft_BOX_PC362811.s /o:50ft_BOX_PC362811.s
    ffeditc_unicode 50ft_BOX_SLSF700270.s /o:50ft_BOX_SLSF700270.s
    ffeditc_unicode 50ft_BOX_SLSF700271.s /o:50ft_BOX_SLSF700271.s
    ffeditc_unicode 50ft_BOX_SLSF700272.s /o:50ft_BOX_SLSF700272.s
    ffeditc_unicode 50ft_BOX_SLSF700273.s /o:50ft_BOX_SLSF700273.s
    ffeditc_unicode 50ft_BOX_SLSF700274.s /o:50ft_BOX_SLSF700274.s
    ffeditc_unicode LN_PS_BOXCAR_103783.s /o:LN_PS_BOXCAR_103783.s
    ffeditc_unicode LN_PS_BOXCAR_103784.s /o:LN_PS_BOXCAR_103784.s
    ffeditc_unicode LN_PS_BOXCAR_103785.s /o:LN_PS_BOXCAR_103785.s
    ffeditc_unicode LN_PS_BOXCAR_103786.s /o:LN_PS_BOXCAR_103786.s
    ffeditc_unicode LN_PS_BOXCAR_103787.s /o:LN_PS_BOXCAR_103787.s
    ffeditc_unicode RDG_PS_BOXCAR_17000.s /o:RDG_PS_BOXCAR_17000.s
    ffeditc_unicode RDG_PS_BOXCAR_17002.s /o:RDG_PS_BOXCAR_17002.s
    ffeditc_unicode RDG_PS_BOXCAR_17005.s /o:RDG_PS_BOXCAR_17005.s
    ffeditc_unicode RDG_PS_BOXCAR_17007.s /o:RDG_PS_BOXCAR_17007.s
    ffeditc_unicode RDG_PS_BOXCAR_17010.s /o:RDG_PS_BOXCAR_17010.s
    ffeditc_unicode RFP_PS_BOXCAR_2646.s /o:RFP_PS_BOXCAR_2646.s
    ffeditc_unicode RFP_PS_BOXCAR_2647.s /o:RFP_PS_BOXCAR_2647.s
    ffeditc_unicode RFP_PS_BOXCAR_2649.s /o:RFP_PS_BOXCAR_2649.s
    ffeditc_unicode RFP_PS_BOXCAR_2650.s /o:RFP_PS_BOXCAR_2650.s
    ffeditc_unicode RFP_PS_BOXCAR_2651.s /o:RFP_PS_BOXCAR_2651.s
    Run the code.

    Final Step.

    Move all the newly created .S files into the downloaded/unzipped trainset folder, in this case SLIRefridgeration_boxcars

    Move this now ready-to-use folder to the TRAINS folder in the MSTS installation location.

    We no longer need the contents of c:\sfile

    So, in the end, we used a BUNCH of Copy/Paste steps and let a worksheet do the repetitive work with minimal editing and thus avoided much typing and the mistakes that go with it.
    Last edited by pwillard; 07-04-2020 at 01:38 PM.
    http://www.railsimstuff.com
    Just Blender now, 3DCrafter only when I have to.
    formerly The Keystone Works (All Permissions Granted)
    https://github.com/pwillard/MSTS-replacement

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •