TSRE5 - Trainsim.com Fork Change Log

Collapse
Only viewable if you're a logged in user
This thread is discussing the following file:

TSRE v8.005 Release Candidate 3

File date: 2025-11-18 18:00:00
Downloads: 694

>> Download Now <<

This topic is closed.
X
This is a sticky topic.
X
X
Collapse
First Prev Next Last
 
  • Time
  • Show
Clear All
new posts
  • eric
    Owner/Admin



    • Dec 2002
    • 9256
    • NS MP245.4 CNO&TP South District
    • English, SQL
    • General

    #1

    TSRE5 - Trainsim.com Fork Change Log

    v8.001
    Initial fork 64 Bit build off Goku's v0.7012 code base
    Greater precision for dynamic track
    Configurable height for yellow TDB lines
    Terrain tool presets for brush size and cut/embankment values
    Configurable object and terrain tile highlighting
    Timestamp named output logs
    Custom detail properties added for signals
    Dynamic track in excess of 65535
    Eliminates black command prompt box
    Addresses issue with startup on multiple monitors

    v8.002
    Fixes some parameters that were not pre-loading correctly
    Configurable colors and line widths for selected objects and selected terrain tiles

    v8.003
    Fixes platform left/right line heights
    Optional support for ViewsphereDB and VDbID entries in world file objects as these aren't used by OpenRails
    Added mouse wheel support for zooming in/out as long as objects aren't selected
    Added Provider name to Map Loading Page (taken from URL in Settings) and disables satellite map loading if no URL is specified
    Added new offset value in Settings.txt to correct for zoom level differences in URL and restore Z17/Z18 selection for MapBox
    Copy Position and Position/Rot now includes tile
    Dynamic curves now up to 15000m
    Extended debug logging on/off via Settings txt
    Fixes multiple JNodePosN entries
    Enable revised symbols for interactive objects (signal, speedpost, platform, siding) via Settings.txt
    Maximum auto-placement distance now configurable via Settings.txt
    Camera elevation above terrain can default to locked via Settings.txt
    Consist Editor now supports adding ORTS EOTD's to consists
    Consist Editor displays ORFreightAnimations including Load-OR files
    Activity Editor should no longer crash in the Traffic Editor when clicking on the Time tool
    Option to have detailed or simplified logging via Settings.txt
    Corrected startup window position issues on multiple monitor for Consist Editor and Shape Viewer
    Configurable rail position and size for dynamic track rendering
    Status Window to show modal features: Camera Lock, Camera Terrain Lock, AutoTDBSave, StickToTerrain, Terrain Brushes, and Rotate/Transform/Resize
    Unsaved dialog now works when track is added or removed from the TDB
    Data precision rolled back to 7 decimal places, which should eliminate excessive decimal values for some items, and may have fixed broken vectors (zigzags)
    Adds Camera placement and rotation options
    Adds "Tangent" calculation logic​
    ​Settings values are no longer case sensitive
    Settings values to activate features can be any of the following: 1, true, on
    Last saved timer
    Option to display terrain elevation in feet
    Double click on route name to Load route

    v8.004
    Offset from track centerline added for signal and milepost placement (sigOffset setting)
    Reload Marker Files (file menu)
    Show Speedposts in Marker dropdowns automatically (similar to Sidings and Platforms)
    Adds all shapes in Route\Shapes directory to an "Non-Indexed" category on the Objects pane
    Add "reload settings" function which will reload some (not all) of the values from Settings.txt
    Addresses multiple paths for include files
    Add new Settings token MapAPIKey (optionally separates this from being included in the URL)
    Warning message given if trying to rename a track or static shapefile to file that doesn't exist in the appropriate Shapes directory
    Fixes Mass calculations into metric tonnes for commonly supported units (lb, kg, t-us, t-uk)
    Reduced logging messages while debugOutput = false
    New settings tokens to disable ORTS default texture handling:

    imageSubstitution = false will only use texture type defined in shapefile
    imageUpgrade = false will not show DDS if both ACE and DDS are provided​


    v8.005
    • Consist Editor, skip loading of activities and/or consists by setting keywords loadActivities and/or loadConsists to false
    • Consist Editor, skip loading of Shapeviewer screen by adding -S to setting ceWindowLayout
    • Consist Editor, apply setting "useImperial = true" to convert mass, length, and speed values to US Tons, feet, and MPH
    • Consist Editor, fix bug where mass values were not being calculated when # character and extra data was present in Mass()
    • Route Editor, identify "underground" scenery and track nodes which are likely accidental placements
    • Route Editor, enable logfile deletion using the logFileMax and logFileDays settings when set.
      • logFileDays is the maximum age to keep, logFileMax is the number of prior files to keep. These parameters are applied independently:
        • Files older than max age but under the max number kept will be deleted
        • Files newer than max age but over the max number kept will be deleted.
    • Route Editor, add "Face Down" to Camera Reset menu (right click) to make it easier to go underground and find deeply buried items
    • Route Editor, improved descriptions and error messages for deeply buried items
    • Consist Editor, added conversions for lengths entered in cm, ft and in for Eng/Wag size
    • Consist Editor, added missing conversion displays when using "useImperial" setting
    • Route Editor, bugFix to allow MSTS shadows to be disabled (memory management)
    • Allow for non-square ACE files to be rendered (goes against standard, and may not render as expected)
    • New setting "startapp" which will allow for Consist Editor or Shapeviewer to be started by default without using a batch file
    • New setting "listFiles" which when set to true will generate two text files at startup which will show which files are being used within the route as well as those in the Shapes directory which are not used within the route (FilesUsed.txt and FilesNotUsed.txt) . By default or if missing, these files will not be created on startup. Also requires LoadAllWFiles to be set to True.
    • Adjusts files used/unused logic to take into account track objects, and also creates a third file (xxxxx_TrackUsed.txt)
    • Prepends the three new files with the route name so that they're easier to identify which route they pertain to
    • Adds ORTSAICrossingHornPattern token for activities (this was being deleted when present, now it should be retained)
    • Adjusted files used/unused logic to look for the LoadAllWFiles = true so all tiles would be visited and listed
    • Fixes ORTSAICrossingHornPattern to be a string value, was incorrectly being converted to a numeric value
    • Adds the Crossing Horn Pattern to the Activity Settings panel to add or edit
    • Fixed bugs with ObjectsToRemove to prevent track shapes from being removed in error
    • Added Missing Files text output when ListFiles is used with LoadAllWFiles
    • Added multi-column display for route selection and sorting
    • Disabled seasonal editing in the Consist Editor
    • Added contents of TSRE Appdata folder in core download, eliminating need to download from external website
    • Color pointers for signal objects will now turn green when linked
    • Added color hints/prompts in the signal linking window
    • Limiting maximum depth of objects to the DeepUnderground value
    • Preloading of terrain painting textures
    • Defined brush color
    • Reset button to put brushes and embankment settings back to default
    • PinPoint button for precision height adjustments
    • Reposition camera to Object no longer requires selecting -- camera will move to nearest track or road object and adjust rotation
    • Route Merge dialog to prevent accidental route merging
    • Page Up/Down will move camera as long as a world object is not currently selected
    • Status window will now show an indicator if a world object (e.g. static or track) is currently selected
    • Support for Hazard properties
    • Labels for platform, siding, milepost, and speedpost items
    • Improved marker (downward pointer) for Hazard and generic TrItem rendering
    • Modified shade of green for platform markers to avoid confusion with signal green markers
    • Enabling of TDB Rebuild (requires setting unsafemode=true and routeRebuildTDB = true)
    • Adds "viewTRLabels" token to enable labels for platform/siding/milepost/speedpost as some users reported a performance drop
    • Creates backup of all database files prior to performing a requested rebuild
    Last edited by eric; 10-25-2025, 12:42.
    If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, items saved in our library or the ongoing development of our TSRE Fork, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!
  • eric
    Owner/Admin



    • Dec 2002
    • 9256
    • NS MP245.4 CNO&TP South District
    • English, SQL
    • General

    #2
    Current list of Settings options:

    Code:
    debugOutput = false  /// leave at top for expanded logging and set to true
    //
    ///////////////////////  Route and UI Startup
    // gameRoot = ""                        // your ORTS Content drive and folder
    // routeName = ""                       // add route name to skip menu
    //  startTileX = ""                      // optional start location
    //  startTileY = ""                      // optional start location
    //  markerLines = true                   // Show markers when loaded
    //  loadAllWFiles = false                // Loads entire world to check errors
    //  toolsHidden = false                  //
    //  usenNumPad = true                    //
    //  tileLod = 1                          // tiles in each direction to load
    //                                         // loading 2+ can be memory heavy
    //  objectLod = 4000                     // 2000 is plenty for most purposes
    //  maxObjLag = 10                       //
    //  allowObjLag = 1000                   //
    //  cameraFov = 35                       //
    //  oglDefaultLineWidth = 1              // width of standard lines
    //
    //  ignoreMissingGlobalShapes = true     // false shows only track/road shapes present in Global\Shapes
    //  useQuadTree = true
    //  numRecentItems = 15                  // Length of recently used items list
    //  consoleOutput = true                // Toggles log output if launched from command prompt
    //  systemTheme = false                 // default is dark theme.... setting to false goes to Windows pallete for your PC
    //  
    //  lockCamera = true                    // same as hitting the . when moving about with the camera, can be unset
    //
    // legacySupport = false                 // true retains VDBId values not used in ORTS
    // newSymbols = true                     // default is true, false uses the TSRE pyramids
    //
    // mainWindowLayout = "PWTS"              // Order of windows: P = Properties, T = Tools, W = World, S = Status
    //                                         // Default is PWT -- TWP reverses
    //                                         // Tools and Property -- omitting
    //                                         // floats tools in separate windows
    //  
    //  LogFileDays = 20    // delete TSRE logs over X days old, can be any integer value
    //  LogFileMax = 99    //   deletes older TSRE logs once there are X logs in the directory, can be any integer value
    ///////////// if these aren't provided, screen gets centered with Navi to the left  
    //  mainWindow = 100, 100                    // X, Y of main windows and load window
    //  naviWindow = 50, 50                     // X, Y of Navigation window for RE
    //
    //  legacySupport = false                  // enable retention of ViewDBSphere and VDBID when true
    //
    ///////////////////////// Track Database and File Saving
    //  autoFix = true                       // Automatically repair TDB anomalies
    //  useOnlyPositiveQuaternions = false   //
    //  writeEnabled = true                  // set to false for read-only
    //  writeTDB = true                      // set to manually decide what to add to TDB via Z key  
    //  warningBox = true                    // Warn before exiting without a save
    //  leaveTrackShapeAfterDelete = false   // Use only when deleting track/road but keeping TDB entry
    //
    //
    //  sortTileObjects = true               // no idea what this does
    //  snapableOnlyRot = false              // Allow free rotation
    //  shadowsEnabled = true               // This can affect performance if true
    //  shadowMapSize = 2048
    //  shadowLowMapSize = 1024
    //  textureQuality = 1
    //  AASamples = 16
    //  deleteTrWatermarks = true            // removes detail not used by ORTS
    //  deleteViewDbSpheres = true           // removes detail not used by ORTS
    //  useTdbEmptyItems = true              // Preserves UID numbering when deleting items from TDB
    //  useWorkingDir = false                // true will save to the TSRE folder
    //
    //
    //   railProfile = 0.7175, 0.7895   // sets inner/outer position from center for dynamic track rails
    
    //
    ///////////////////////////  Editing presets
    //  trackElevationMaxPm = 100            // maximum grade permille
    //  defaultElevationBox = 0
    //  defaultMoveStep = 0.25
    //  renderTrItems = false                // Show the black boxes for TrItems
    //  cameraStickToTerrain = true          // Stop camera from going underground, toggled with "/" key
    //  wireLineHeight = 10.7          // V08.x  Yellow line height
    //  sectionLineHeight = 5.0       // V08.x  Grey line height
    //  selectedWidth = 2             // V08.x  Terrain selection line width
    //  selectedColor = #B612FF       // V08.x  Terrain selection line color
    //  selectedTerrWidth = 4         // V08.x  Terrain selection line width
    //  selectedTerrColor = #FFB612   // V08.x  Terrain selection line color
    //  terrainSize = 1               // V08.x  Terrain cut/fill size
    //  terrainEmbankment = 5         // V08.x  Terrain embankment width
    //  terrainCut = 5                // V08.x  Terrain cut width
    //  terrainRadius = 9             // V08.x  Terrain cut/fill radius
    //  terrainBrushSize = 1          // V08.x  Terrain adjustment brush size radius
    //  terrainBrushIntensity = 10    // V08.x  Terrain adjustment intensity 1-100
    //  sigOffset = 2.5                 // V08.x   Offset in meters from track centerline for signals and mileposts
    //
    //
    ////////////////////  Layout and UI Settings
    //  mainWindowLayout =
    //  fullscreen = false                 // Prevents screen from being maximized
    //  ceWindowLayout =
    //  colorConView = "#FF0000"
    //  colorShapeView = "#00FF00"
    //  cameraSpeedMin = 1                 // Camera movement with CTRL
    //  cameraSpeedStd = 3                 // Camera movement normal
    //  cameraSpeedMax = 40                // Camera movement with SHIFT
    //  mouseSpeed =
    //  proceduralTracks = false           // Unfinished feature?
    //  soundEnabled = false               // Sound doesn't work, so....
    //  hudEnabled = TRUE                 //
    //  hudScale = 1                      //
    //  season = ""                        // For editing winter/autumn/spring/summer
    //  seasonalEditing = false            //
    //  useImperial = true                 // show terrain elevation in Navi window in Feet vs. Meters
    //  markerHeight = 10           // V08.x  Height of the marker stick
    //  markerText = 6.7             // V08.x  Text size for marker text
    //  viewMarkers = true         // V08.x   show Markers
    //  viewCompass = true       // V08.x  show Compass on startup​
    //
    //////////////////// Texture Substitution Settings //////////////////////
    // By default, TSRE will mimic ORTS texture replacement logic.
    // Setting the following to false will allow for better detection of shape definition errors and missing textures
    ////////
    // imageSubstitution = false  // V08.x  true by default, shows ACE if DDS is missing and DDS if ACE is missing
    // imageUpgrade = false       // V08.x  true by default, false forces displaying texture called for in shapefile material
    //​
    ////////////////////////////// Map and Terrain Features
    // geoPath = "" // Drive and folder for HGT files
    //////////////////////////////  Image Maps
    // mapImageResolution = 2048 // Image resolution for downloaded map imagery
    //
    //  Image Maps require a valid API key from either Google or MapBox
    //
    //  Google Maps --- one setting to uncomment after API key added
    //  imageMapsUrl = http://maps.googleapis.com/maps/api/staticmap?center={lat},{lon}&zoom={zoom}&size={res}x{res}&maptype=satellite&key=
    //  MapAPIKey = yourGoogleKeyValue
    //
    //  Mapbox --- two settings to uncomment after API key added
    //  imageMapsUrl = https://api.mapbox.com/styles/v1/mapbox/satellite-v9/static/{lon},{lat},{zoom}/{res}x{res}?access_token=
    //  MapAPIKey = yourMapBoxKeyValue
    //
    //  Important!!!  MapBox currently needs this setting: imageMapsZoomOffset = -1
    //  imageMapsZoomOffset = -1
    //
    //​/////////// Other Functions
    //
    // DeepUnderground = -100    //  value in meters that will trigger the check for track that is unreasonably deep
    //
    // ListFiles = true    //   produce files showing files and tracks used, files present that are unused, and files that are missing
    // 
    // routeMergeString = "route:X:Y:Z" // For merging a second route with offsets X Y Z applied if
    //       // world geometry is not identicall
    // routeMergeString = "IRM:0:0:0"   // For merging a second route with offsets X Y Z applied if                
                           // world geometry is not identical
    // routeMergeTerrain = false   // set to true if you want to import the merged route's terrain, which might overwrite existing terrain
    // routeMergeTDB = false     // set to true if you want to add all track from the merged route into the combined route's TDB/RDB
    // routeMergeTerrtex = false   // set to true if you want to import all terrain textures, which might overwrite existing textures
    
    
    // objectsToRemove = "" // Comma separated list of shapefiles to remove, requires "ListAllFiles" and "LoadAllWFiles" to be true
    //
    // fpsLimit = 59 // for multi-player feature from 7.x
    // serverAuth // for Client-server only, multi-player feature from 7.x
    // createNewIfNotExist = true //
    // ortsEngEnable = false // multi-player feature from 7.x
    // playerMode = // multi-player feature from 7.x
    // useNetworkEng = false // for Client-server only, multi-player feature from 7.x
    // fogDensity =
    // fogColor =
    // skyColor =
    //
    //  LoadConsists = false    // skip loading existing consists when loading the editor
    //  LoadActivities = false     // skip checking activities when loading the editor
    // 
    //
    ///////////////////////////// Consist and Shape Viewer
    // ortsEngEnable = true // Give precedence to eng file settings in /OpenRails folders
    // ceWindowLayout = "CU1" // C - Consists, 1 = Main List, 2 = Second List,
    // // U = List of Units within selected consist
    // // Default is C1 -- C1U may be more useful as you can
    // // view without scrolling the entire left-right graphic list
    //
    Last edited by eric; 02-24-2025, 20:15.
    If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, items saved in our library or the ongoing development of our TSRE Fork, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

    Comment

    • eric
      Owner/Admin



      • Dec 2002
      • 9256
      • NS MP245.4 CNO&TP South District
      • English, SQL
      • General

      #3
      Testing version is available here: https://www.trainsim.com/forums/foru...05#post2309451
      If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, items saved in our library or the ongoing development of our TSRE Fork, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

      Comment

      Working...