Repository navigation
TSRE GenX v0.8
TSRE GenX
TSRE GenX is an experimental improvement branch of the TSRE5 Trainsim.com fork, focused on practical route-editor improvements for MSTS and Open Rails route building.
This branch is based on Eric's TSRE8.006 baseline from the master branch of eric-from-trainsim/TSRE5-Trainsim.Com-Fork.
The goal is not to replace Eric's main TSRE work. This is a test branch for debugging, experimentation, and evaluation, with the hope that useful pieces can eventually be reviewed and folded upstream.
Branches
tsre-scomod-stableis the stable/rescue branch, promoted and tagged atv0.7.tsre-scomod-wipis the continuing work-in-progress branch, currently released for testing asv0.8.
Highlights
- Updated
codeto build with current MSYS2/MinGW tooling. - Added atomic terrain-file replacement and truthful failure reporting to route-wide cleanup tools.
- Added crash-safe coordinated saves for route databases and modified TRK files.
- Reworked
Fterrain conforming for stronger, more practical track cuts and embankments, including improved low-end track-width behavior. - Added
Ctrl+Fselected-object tile conforming,Shift+Fnon-destructive smoothing, and theF2Conform DB brush for grade-following spot cleanup. - Added
Alt+Aselection of all 256 terrain texture patches on the selected tile. - Added
autopainttile-level track and road painting for faster route-wide texture work. - Added
Water Edgedetection and painting that compares terrain elevation against the tile water plane, follows the actual shoreline with a feathered texture transition, and handles shallow-water terrain breaks instead of painting coarse 16x16 patches. - Added the
Waterbed Offsetbrush for consistent river depth beneath sloping water planes. - Expanded
Water Helperwith one persistent terrain-snapped ruler, bounded shoreline scans, seamless fitted water surfaces, Undo, recovery, and memory limits. - Added confirmed
TERRTEX resettools for route-wide and current-tile paint cleanup. - Added
Water Tiles Offto clear route-wide water-patch flags without changing other terrain data. - Added
F2route-local terrain paint presets covering texture, brush, intensity, shape, and rotation. - Added
F2full 0-360 degree terrain texture rotation for directional ground textures. - Rebuilt
F2 seasonal texturesaround a visible Summer, Spring, Autumn, Winter, and Night selector instead of hidden settings-file switches. - Added
seasonal texturesactive-season refresh and per-file ORTS-style fallback for terrain, route objects, transfers, Dynamic Track, forests, and polyforests, including ACE/DDS alternatives. - Added
Terrtex: Mirror Seasonfor paired default/snow painting, with safe opposite-side placeholder creation when matching seasonal swatches are missing. - Protected
seasonal TERRTEX1024x1024 files from accidental downsampling during painting and corrected transfer/material cache refresh behavior. - Reduced
route performancestutter with forest-generation controls, a Forest Regions view toggle, and texture-cache invalidation only when material paths change. - Improved
loadreliability with single-instance protection, corrected route-table refresh, and validated editable recent MSTS/ORTS root selection. - Added
Restore Last Sessionfor reopening the last route and camera context, plus compactPincontrols that remember the main window, Control Panel, and Grade Helper placement between sessions. - Added
Windowsthe GenX executable icon, desktop-shortcut helper, and Route > Open Route Folder command. - Consolidated
Control PanelStatus and Navi functions into a scalable F7 panel with editing-state controls, navigation, movement locks, and delayed edge snapping. - Revised
Category Searchwith ALL defaults, mutually exclusive Tracks/Roads/Other filters, search-within-category behavior, cleaner Scale Rail family grouping, Reset, and a bounded Recent Items history. - Added pasted objects to the same bounded
Recent Itemshistory as normal placements. - Reworked
F1-F4 panelsproperty panels, Object Panel, Control Panel, Settings Editor, and startup screens into a consistent scalable interface. - Rebuilt the
F2 Terrain Editoraround paired MAIN TERRTEX and SNOW TERRTEX previews, a six-item Recent Texture bank plus a dedicated Brush swatch, and clearly separated texture, preset, brush, embankment, and advanced groups. - Added
F2 texture loading and safetywith multi-file ACE/DDS/common-image Load support, generated-tile-texture filtering, decode validation, failed-file reporting, source-filename tooltips, and a complete Clear Recent reset. - Hardened
Terrtex: Mirror Seasonso painting requires a valid same-name Main/Snow source pair, clearly marks the active output side, and automatically disables mirroring instead of leaving an invalid brush state active. - Reduced
F2 Terrain Utilitiesto a focused, pinnable Track Bias helper. - Added a shared
Hackspopup for Track, Static Object, and Terrain Patch properties. - Added
Delete Instancesto remove every route instance of a selected static, gantry, or collision object. - Added
global UIscaling, consistent manual-action sound feedback, cleaner square F12 boolean selectors, and coordinated state colors without false responses during passive refreshes. - Added
Place Guardvalidation with automatic undo and distinct feedback for dangerous or invalid scenery, track, and interactive-object placements. - Reorganized
F12 Settingsinto practical categories with direct settings saves, timestamped backups, full-sentence tooltips, and an integrated key-assignment reference. - Repaired
F3 mapsOSM Vector Map HTTPS support, hardened failed-response handling, and increased generated map imagery to 4096 resolution. - Adapted Eric-from-Trainsim's
F3 imagery providerwork so keyless OSM Vector remains always available while Google, Mapbox, and Custom satellite imagery use an explicit provider selector with independently preserved settings. - Adapted Eric-from-Trainsim's 8.006m
ORTS rolling-stock compatibilitywork with safe normalized.incpath resolution that preserves legitimate parent-folder paths without heuristic path rewriting or duplicate inclusion. - Adapted Eric-from-Trainsim's
route reportingidea into Route > Create Route Health Report, which scans every route world file, atomically saves one consolidated report in the route folder, and opens it immediately in a read-only Copy All window. - Preserved
Dynamic TrackClassic Flex while adding a Classic/NextGen selector and adapting GokuMK's work as the foundation for compound and full S-curve NextGen connections. - Improved
Dynamic Trackediting with database rebuilding after Flex, synchronized elevation data, clearer section/length information, fallback textures, and consistent naming. - Added
splash screensruntime-discovered artwork with a persistent shuffled cycle shared by the Route Loader, Consist Loader, and About window during each session. - Improved
track propertiesgrade-unit presentation and added Lock Grade so newly placed track or road pieces can inherit the selected piece's physical grade. - Added
Grade Helperfor dock-friendly, validated, connected, per-piece vertical transitions to an exact target grade, with remembered placement and automatic Lock Grade handoff. - Added
Grade Symbolsconnectivity-aware markers for static and Dynamic Track, including steady-grade, transition, and direct crest/gully classifications. - Added
View and Markersreversible overlay toggling and improved marker placement, color, height, and label reliability. - Added
Edit > Copy Infoselection diagnostics for clipboard-ready troubleshooting and reporting. - Reduced
route displayoverhead by rebuilding Grade Symbol connectivity only at safe tile/database boundaries, reusing unchanged pointer-depth results, and throttling unchanged Control Panel updates. - Refined
route lightingwith warmer directional sunlight and cooler sky-facing ambient light while preserving MSTS texture artwork and neutral editor overlays. - Added
Save, Restart and Restorein F12 plus optional UI sounds for startup actions, toggles, checkboxes, dropdown selections, and menu commands. - Added
property guidancefor Detail Level, MSTS StaticFlags, and MSTS Collision, clarified Alt+A in the key reference, and corrected read-only Control Panel hover behavior. - Added the full-screen
F4 Activity Builderand high-resolution TrackDB viewer. - Added standalone MSTS/ORTS path creation, editing, validation, and PAT writing.
- Added natural-end
water flowrouting with live switch throwing and recalculation. - Added reverse points, duration and clock-time wait points, overlap visualization, and passing sidings.
- Added selectable/deletable path controls, undo/redo, map rotation, route markers, labels, signals, stations, and service-point symbology.
- Standardized
F1-F4 and utility panelswith the charcoal/orange visual system, square selectors, consistent controls, active-tool highlighting, focus restoration, and pinnable helper windows. - Added the pinnable
Auto Placeworkflow and further Grade Helper, Control Panel, Object Selection, and Terrain Editor cleanup. - Replaced the legacy
settings.txtworkflow with per-usersettings.json, atomic saves, timestamped backups, reset-to-default support, and automatic preservation/recovery of damaged JSON. - Added route-session cleanup so reopening or changing routes does not retain stale route-owned state.
- Added portable first-run defaults, bounded AppData housekeeping, and safe selection-color recovery.
- Added
terrain conform settingsfor independent TrackDB and RoadDB height bias without re-invoking the full Game load path. - Hardened
Dynamic Track texturesso procedural and fallback materials follow one dependable loading path without requiring an Open Rails track profile. - Reworked
Dynamic Track displaywith a track-following selection outline, normal percent-grade presentation, equal Select/Place controls, and a continuous world-space yellow TrackDB overlay. - Rebuilt
NextGen Auto-Flexaround direction-neutral, transactional connection solving that rejects U-turns, backtracking paths, one-ended joins, and bad internal or external seams. - Corrected
Dynamic Track geometryso the object mesh and TrackDB share the same endpoint plane, tangent, grade frame, and curve-to-straight transitions; verified with smooth Open Rails train tests in both grade directions. - Added
Advanced Shunting WPsupport for ORTS Extended AI operations: timed horn, uncouple from either end, join/split, and permission to pass the next red signal. - Expanded
F4 path editingwith explicit New/Edit/Clone sessions, selectable and deletable controls, undo/redo, live switch recalculation, reverse points, wait points, passing sidings, and natural-end path routing. - Finished
F4 path metadata and savingwith cancellation rollback, stable saved filenames, player-path flags, required endpoint information, stronger PAT validation, and atomic output. - Hardened
F4 path repairfor stale, disconnected, open-ended, and partly unreadable PAT files. - Improved
F4 path presentationwith named endpoints, reverse and wait-point markers, service-point identification, selected-path emphasis, overlap and passing-route visualization, and focused controls shown only while editing. - Standardized
utility window controlswith compact icon Pin buttons, clearer movement-state colors, and reliable application shutdown even when hide-on-close helper windows remain open. - Added a compact native
Compassheading tape with persistent View-menu state. - Centered confirmations, warnings, completion notices, and unsaved-change dialogs on the active monitor.
- Standardized
destructive warningswith one fixed-width GenX dialog, safe default, and consistent wording. - Refined
Object Propertiesgrouping and labels while preserving established editor functions, and removed the unused selected-terrain Shader launcher without hiding Shader ID information. - Adapted Eric-from-Trainsim's
Main Loadidea with adjacent Load/Restore actions, a more prominent Consist Editor action, retained root selection, return-to-loader behavior, and isolated CE process state; standalone CE remains unchanged and CE background colors persist independently. - Hardened
Consist Editorinclude handling, missing-stock replacement, popup styling, independent preview colors, and cleanup.
Downloads
Executable test builds are intended to be published on the GitHub Releases page, not committed directly into the source tree.
Download the current test ZIP from Releases when available. Keep this copy separate from any production TSRE install.
The ZIP includes AddShortcutDesktop.cmd, which can create a desktop shortcut for the packaged TSRE5.exe.
The ZIP also includes LICENSE.md and THIRD-PARTY-NOTICES.txt. TSRE GenX follows the original TSRE5 GPLv3 license; bundled runtime DLLs remain under their respective upstream licenses.
Documentation
scoWorkList.txtcontains the detailed change summary.scoFileEdit.txtlists the code/project files touched during the work.THIRD-PARTY-NOTICES.txtrecords upstream authorship, acknowledgements, and bundled runtime-library notices.docs/contains the release-facing documentation copies.
Status
This is not an official TSRE release. It is a working route-editor improvement branch for testing and discussion.