SCO Stuffer - Shape Copy to Route

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scottb613
    2500 Post Veteran


    • Apr 2003
    • 2848
    • 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
Working...