SCO Stuffer - Shape Copy to Route

Collapse
X
Collapse
First Prev Next Last
 
  • Time
  • Show
Clear All
new posts
  • scottb613
    2500 Post Veteran


    • Apr 2003
    • 2875
    • Downeast Maine (soon)
    • ORTS

    #1

    SCO Stuffer - Shape Copy to Route

    Hi Folks,

    [Update 1.6]

    Requires: Java and TSUtil

    This program will make it easier to copy shape assets between routes. Simply Drag and Drop desired shape from any valid route Shapes folder and it will copy all associated shape assets (S, SD, ACE, DDS, REF) to the destination route. It copies respective files, maintaining the Textures folder hiearchy,and appends a record to the routes "ref" file - so backup your files accordingly prior to using.

    Example Path to Copy Shape Assets to a Route
    Code:
    Train Simulator
    ├── Routes
    │   └── MyRoute
    │       ├── MyRoute.ref
    │       ├── Stuffer.exe
    │       ├── Shapes
    │       └── Textures

    In addition - you can just put [stuffer.exe] in some working directory - without a "ref" file - to pull all the shape assets for review and/or modification. It will create a Folder with the shape files name - with Shapes and Textures Folders below that. Subsequent files will be stored in different folders to keep assets separate. "REF" file record updates will be omitted.

    Example Path to Copy Shape Assets to a Working Directory (the program will create all shape subdirectories when run)
    Code:
    Shape Modifications
    ├── Stuffer.exe
    ├── shape1
    │   ├── Shapes
    │   └── Textures
    ├── shape2
    │   ├── Shapes
    │   └── Textures
    └── shape3
        ├── Shapes
        └── Textures

    NOTE: Source is the location of the shape file you drag and drop.

    NOTE: Destination is the physical location where you placed [Stuffer.exe].

    NOTE: The source shape must be from a valid Shape folder in a working route.

    NOTE: The source shape is uncompressed to read what textures are applied then compressed again afterwards.

    NOTE: The program reads the source texture directory - recursively - so it will reconstruct any seasonal hierarchy from the source when it finds a texture used on the shape - to the destination.

    NOTE: If no textures are found the program will abort.

    NOTE: The program tests for the shape entry in the destination "REF" file and will only append if it doesn't exist.

    Regards,
    Scott
    <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models
  • scottb613
    2500 Post Veteran


    • Apr 2003
    • 2875
    • Downeast Maine (soon)
    • ORTS

    #2
    Hi Folks,

    [Update v1.9]



    Stuffer makes it easier to copy scenery assets between routes. Just drag and drop one - or more - .s files from a valid route's Shapes folder onto Stuffer.exe. It copies the shapes, their .sd companions, and matching ACE and DDS textures, including seasonal and night variants. It can also add matching entries to the destination route's REF file. Back up your destination files first, since files with the same names can be overwritten.

    REMOVED Java and TSUtils dependancy.

    You can also put Stuffer.exe in a working folder to collect assets for review or modification. Stuffer reads compressed shapes internally and copies them in their original format without touching the source files.

    Regards,
    Scott
    <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models

    Comment

    • qballbandit
      6500 Post Veteran

      • Jan 2006
      • 6531
      • Elgin Il., USA.
      • General

      #3
      Thanks Scott, very useful tool. Will indeed motivate me to modify routes without the headache of manually copying a bazillion files first.
      Really appreciate your contributions!
      Neil

      Chicago Railroading Fan

      Comment

      • scottb613
        2500 Post Veteran


        • Apr 2003
        • 2875
        • Downeast Maine (soon)
        • ORTS

        #4
        Originally posted by qballbandit
        Thanks Scott, very useful tool. Will indeed motivate me to modify routes without the headache of manually copying a bazillion files first.
        Really appreciate your contributions!
        Hi Neil,

        Thanks…

        Hah - necessity is the mother of invention.



        Regards,
        Scott
        <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models

        Comment

        Working...