Tscm-edit – Utility For Editing Bin/xml Files

Discussion in 'General Discussion' started by fastleg, May 1, 2026.

  1. fastleg

    fastleg Member

    Joined:
    May 21, 2025
    Messages:
    32
    Likes Received:
    44
    TSCM-Edit – Utility for Editing BIN/XML files
    Part of a larger project (TSC-Manager) TSCM-Edit is a standalone utility for editing TSC-Railworks BIN files. It uses an existing (i.e. your favourite) editor for actually editing the XML files (notepad++ is recommended) but auto-detects changes made in your editor and will update the BIN file when and if required, automating the SERZ process for you.

    Additionally, the generated/edited XML file is validated for obvious errors (e.g. text corruption, mis-matched tags etc.).

    Functionality
    1) Run TSM-Edit for a BIN file - either by Windows “Open With” or drop the BIN onto the .exe.
    2) This will automatically generate a new XML file for the BIN (in same folder).
    3) The XML will be validated and highlight any obvious errors.
    4) It will run your chosen XML editor (notepad++ is recommended).
    5) Do any edits required to the XML and save in the editor.
    6) TSCM-Edit will auto-detect the XML has changed, re-load and validate the edited XML.
    6a) Edit again if required and further changes will be auto-detected.
    7) The "Save" option will generate a new BIN file via SERZ from the updated XML (if required).
    7a) Original BIN file can be backed-up first (optional).
    8) Any XML files generated are automatically removed on exit.

    Best option is to use Windows "Open With" set for BIN files, then simply dbl-clicking on a BIN file will open it within TSCM-Edit... This will also work with BIN files inside a .zip/.ap, though can only be a temporary XML file of course.
    ... OR you can drag a BIN file onto the TSCM-Edit.exe...
    ... OR for permanant access to a specific BIN file, setup a shortcut to TSCM-Edit.exe and in "Properties" set the runtime parameter as the full BIN pathname (in double quotes) in the Target field.

    Examples
    Example#1 – Load up a valid BIN file... Your XML editor is started at the same time...
    upload_2026-5-1_14-59-4.png

    Example #2 – Do a bad edit on the XML and Save in editor...
    upload_2026-5-1_14-59-35.png
    TSCM-Edit auto-detects the changed XML file and the bad edit in this example (mis-matched XML tags)...
    upload_2026-5-1_15-0-15.png
    Either re-edit to fix the problem or Save as-is, or abandon...

    System Requirements
    64bit Windows (a 32bit version of TSCM-Edit can be made available if needed).
    Windows .Net Framework 4.8 (circa 2018).
    A valid RailWorks system with SERZ – uses SERZ64.exe by default.
    Standalone .exe – no other files required – does not use registry etc.

    Download
    Download from the Tran Sim Community website here (includes a PDF)
    https://www.trainsimcommunity.com/m...-and-tools/i7629-tscm-edit-binxml-file-editor


    FastLeg 30-Apr-2026 - All rights reserved - No warranty is implied or given
     
    • Like Like x 2

Share This Page